Part: Offset2D: rewrite to use FaceMaker
new features supported: * fill offset in collective mode when result wires are closed * offsetting faces in collective mode Remaining TODOs: - collective offset of open wires in "skin" mode
This commit is contained in:
@@ -1515,6 +1515,7 @@ void CmdPartOffset::activated(int iMsg)
|
||||
doCommand(Doc,"App.ActiveDocument.%s.Source = App.ActiveDocument.%s" ,offset.c_str(), shape->getNameInDocument());
|
||||
doCommand(Doc,"App.ActiveDocument.%s.Value = 1.0",offset.c_str());
|
||||
updateActive();
|
||||
doCommand(Gui,"Gui.ActiveDocument.%s.DisplayMode = 'Wireframe'", shape->getNameInDocument());
|
||||
//if (isActiveObjectValid())
|
||||
// doCommand(Gui,"Gui.ActiveDocument.hide(\"%s\")",shape->getNameInDocument());
|
||||
doCommand(Gui,"Gui.ActiveDocument.setEdit('%s')",offset.c_str());
|
||||
|
||||
Reference in New Issue
Block a user