Midplane Extrusion

Shows how to extrude from the Midplane.

# create the part and then a sketch containing a circle
P = Part('Test')
S = P.AddSketch('Shape', P.GetPlane('XY-Plane'))
S.AddCircle(0, 0, 9, False)

# how far we will extrude from mid-plane
ExtrudeLength = 10

# extrude it
P.AddExtrudeBoss('Cyl', S, ExtrudeLength, False, Part.EndCondition.MidPlane, None, 0, Part.DirectionType.Normal, None, 0, False)

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.