FreeCAD: master 687461cf

Author Committer Branch Timestamp Parent
Roy-043 yorik master 2020-09-10 09:38:48 master 53a500ec
Changeset Draft: added 5 scale unit tests to test_modifications

The added functions are test_scale_part_feature_arcs, test_scale_part_feature_lines, test_scale_rectangle, test_scale_spline and test_scale_wire.
When comparing vectors and floats a tolerance of 1e-8 is used, but only for the midpoints of the arcs in test_scale_part_feature_arcs is this tolerance required. Scaling a part feature is not possible with the Draft_Scale command, but Draft.scale does support it.
mod - src/Mod/Draft/drafttests/test_modification.py Diff File