FreeCAD: master 868435bf

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-04-12 02:27:00 master 81d77e2c
Changeset Draft: move Scale GuiCommand to gui_scale module

The scale operation can be used with subelements, vertices
and edges, but in this case this only works with polylines
(wires) because internally the functions `scaleVertex`
and `scaleEdges` only work with polylines that have a `Points`
property.

When doing a copy and scale, it also calls `copyScaledEdges`
which calls `joinWires`, so problems with joining wires
may also be present when performing this operation.
mod - src/Mod/Draft/CMakeLists.txt Diff File
mod - src/Mod/Draft/DraftTools.py Diff File
add - src/Mod/Draft/draftguitools/gui_scale.py Diff File