FreeCAD: master 96d81c77

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-06-13 22:47:23 master 4ef20637
Changeset Draft: add prototype function to AngularDimension to link objects

At the moment the user must manually modify `FirstAngle`
and `LastAngle` to obtain a new `Angle`, but since the values
are manually entered the result is not tied to any actual object
in the document.

We introduce a function `measure_two_obj_angles`
to calculate the corresponding parameters from a pair of objects
and their edges.
Currently this function is deactivated because it is intended
for testing purposes only.

This needs to be improved because at the moment it only gives
two possible angles. We should be able to get the four angles
of a two-line intersection. Maybe a new property is required
to indicate the quadrant to choose and display.
mod - src/Mod/Draft/draftobjects/dimension.py Diff File