예제 #1
0
 def finish(self):
     ## TODO Make sure it finishes when push "Close" or escape
     FreeCAD.activeDocument().recompute()
     self.call_sel = None
     self.call_key = None
     self.call_status = None
     Modifier.finish(self)
예제 #2
0
 def finish(self,closed=False,cont=False):
     if self.ghost:
         for typ in self.ghost:
             for g in [i for i in self.ghost[typ]]:
                 if g.switch:
                     g.off()
                 g.finalize()
     if cont and self.ui:
         if self.ui.continueMode:
             todo.delayAfter(self.Activated,[])
     Modifier.finish(self)
예제 #3
0
 def finish(self,closed=False,cont=False):
     "finishes the arc"
     if self.arctrack:
         self.arctrack.finalize()
     if self.ghost:
         for typ in self.ghost:
             for g in [i for i in self.ghost[typ]]:
                 if g.switch:
                     g.off()
                 g.finalize()
     if cont and self.ui:
         if self.ui.continueMode:
             todo.delayAfter(self.Activated,[])
     Modifier.finish(self)
     if self.doc:
         self.doc.recompute()
예제 #4
0
 def finish(self,closed=False,cont=False):
     Modifier.finish(self)
     if self.ghost:
         self.ghost.finalize()