parameters: (self, p1, p2, copy=False)
docstring: Mirror the real shapes.
docstring_summary: Mirror the real shapes.
docstring_tokens: Mirror the real shapes .
function: def mirror(self, p1, p2, copy=False):
          """Mirror the real shapes."""
          sel = '['
          for o in self.sel:
              if len(sel) > 1:
                  sel += ', '
              sel += 'FreeCAD.ActiveDocument.' + o.Name
          sel += ']'
          Gui.addModule("Draft")
          _cmd = 'Draft.mirror'
          _cmd += '('
          _cmd += sel + ', '
          _cmd += DraftVecUtils.toString(p1) + ', '
          _cmd += DraftVecUtils.toString(p2)
          _cmd += ')'
          _cmd_list = ['m = ' + _cmd,
                       'FreeCAD.ActiveDocument.recompute()']
          self.commit(translate("draft", "Mirror"),
                      _cmd_list)
function_tokens: def mirror ( self , p1 , p2 , copy = False ) : sel = '[' for o in self . sel : if len ( sel ) > 1 : sel += ', ' sel += 'FreeCAD.ActiveDocument.' + o . Name sel += ']' Gui . addModule ( "Draft" ) _cmd = 'Draft.mirror' _cmd += '(' _cmd += sel + ', ' _cmd += DraftVecUtils . toString ( p1 ) + ', ' _cmd += DraftVecUtils . toString ( p2 ) _cmd += ')' _cmd_list = [ 'm = ' + _cmd , 'FreeCAD.ActiveDocument.recompute()' ] self . commit ( translate ( "draft" , "Mirror" ) , _cmd_list )