FreeCAD: master 9cfb84d8

Author Committer Branch Timestamp Parent
furti Yorik van Havre master 2019-05-05 07:30:01 master aaae8297
Changeset Extract Path Array logic into separate functions

The Path Array logic is pretty useful to be used directly by macros.
But until now it was encapsulated in the PathArray class and could only
be used by creating a full PathArray object. So we can't use it inside
other Objects to create a repeated shape.

This commit extracts the logic into a separate function that returns a
list of placements. One can use this placements now to copy a shape and
place it accordingly.
mod - src/Mod/Draft/Draft.py Diff File