FreeCAD: master f6654c8a

Author Committer Branch Timestamp Parent
sliptonic yorik master 2016-07-08 15:45:38 master 19306c6d
Changeset Dressup to add dragknife corner actions to a path

Dragknives have an offset so paths must be extended to complete the cut.
They also require special handling if the incident angle between two segments
is small. This dressup provides properties for the filter angle, offset
distance, and pivot height. One known area still needs to be addressed:

If the segment being processed is shorter than the offset distance, the
extension may be added incorrectly.

Additional corner strategies could also be added in the future to enhance drag
knife performance.

Some of the files also got a pep8 cleanup.

PathKurveUtils: logic around line 0000460 to always pass Z value.
Previously, the Z was only passed if it changed. This caused some downstream
problems for dressup functions.

Changes to Dressup so it works with parent objects correctly.
mod - src/Mod/Path/CMakeLists.txt Diff File
mod - src/Mod/Path/InitGui.py Diff File
add - src/Mod/Path/PathScripts/DragknifeDressup.py Diff File
mod - src/Mod/Path/PathScripts/PathDressup.py Diff File
mod - src/Mod/Path/PathScripts/PathKurveUtils.py Diff File
mod - src/Mod/Path/PathScripts/PathUtils.py Diff File