FreeCAD: master 9dd1c2ef

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-05-24 04:11:10 master 835f4b42
Changeset Draft: cleanup logic of PathArray proxy object code

Return early from the `execute` method if no base or path exist.

Add method `get_wires` which internally uses `get_wire_from_subelements`
(renamed method), to get the edges from the path object,
and its subelements, if any. If no wires are found
return early from `execute`.

The final rotation applied to the copies will be the base rotation
of the base object's shape. The only exception is when the
`AlignMode` is `'Tangent'`; in this case, it performs
a pre-rotation with the `TangentVector`.
mod - src/Mod/Draft/draftobjects/patharray.py Diff File