# Create extrusion
body = model.addExtrusion(part, sketch.selectFace(), "E")
- model.do()
-
return body
def bottom_body():
sketch.setCoincident(left_e.startPoint(), left.endPoint())
sketch.setCoincident(left_e.endPoint(), left.startPoint())
- model.do() #!!!
-
# Dimensions
- sketch.setLength(v1, 16)
+ #sketch.setLength(v1, 16)
+ sketch.setLength(v2, 32)
sketch.setLength(h2, 20)
sketch.setLength(right, 16)
sketch.setLength(top, "P")
# Create extrusion
body = model.addExtrusion(part, sketch.selectFace(), "-(L-22)")
- model.do() #!!!
-
return body
def body_4():
# Create extrusion
body = model.addExtrusion(part, sketch.selectFace(), "-12")
- model.do() #!!!
-
return body