Now you can join multiple wires all at once

This commit is contained in:
Dion Moult
2019-01-29 21:46:49 +11:00
committed by Yorik van Havre
parent 7e7e298efb
commit 954cc2faad
2 changed files with 19 additions and 3 deletions

View File

@@ -3234,7 +3234,7 @@ class Join(Modifier):
print(FreeCADGui.Selection.getSelection())
FreeCADGui.addModule("Draft")
self.commit(translate("draft","Upgrade"),
['Draft.joinWires(FreeCADGui.Selection.getSelection()[0], FreeCADGui.Selection.getSelection()[1])', 'FreeCAD.ActiveDocument.recompute()'])
['Draft.joinWires(FreeCADGui.Selection.getSelection())', 'FreeCAD.ActiveDocument.recompute()'])
self.finish()