Lines Matching refs:Part
27 import Part
108 part = Part.makeBox(float(b['length']), float(b['width']), float(b['height']))
109 obj = app.ActiveDocument.addObject('Part::Box',name)
113 part = Part.makeCylinder(float(b['radius']), float(b['height']))
114 obj = app.ActiveDocument.addObject('Part::Cylinder',name)
118 part = Part.makeCone(float(b['radius1']), float(b['radius2']), float(b['height']))
119 obj = app.ActiveDocument.addObject('Part::Cone',name)
123 part = Part.makeSphere(float(b['radius']), defpnt, defdir, float(b['angle1']),
125 obj = app.ActiveDocument.addObject('Part::Sphere',name)
130 part = Part.makeTorus(float(b['radius1']), float(b['radius2']), defpnt, defdir,
132 obj = app.ActiveDocument.addObject('Part::Torus',name)
136 obj = app.ActiveDocument.addObject('Part::Part2DObjectPython', name)
144 obj = app.ActiveDocument.addObject('Part::Part2DObjectPython', name)
154 obj = addObject('Part::MultiCut',name)
158 obj = addObject('Part::MultiFuse',name)
164 obj = addObject('Part::MultiCommon',name)
168 obj = app.ActiveDocument.addObject('Part::Extrusion', name)
175 obj = app.ActiveDocument.addObject("Part::Part2DObjectPython",name)