FreeCAD: master 984de3b3

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-06-09 23:03:10 master e81ca586
Changeset Draft: new make_linear_dimension functions for more precision

A single `make_dimension` handles three types of dimensions,
(1) simple linear, (2) linear linked to an object, and (3) linked
to a circular edge.

So, we provide two new functions, `make_linear_dimension`
and `make_linear_dimension_obj`, to handle the first two cases.
In this way we can check the input parameters much better.

We adjust the `Draft_Dimension` Gui Command accordingly.
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/draftguitools/gui_dimensions.py Diff File
mod - src/Mod/Draft/draftmake/make_dimension.py Diff File
mod - src/Mod/Draft/drafttests/draft_test_objects.py Diff File
mod - src/Mod/Draft/drafttests/test_creation.py Diff File