MidPlane Extrusion

MidPlane Extrusion

Compatible with WizoScript 3.00 and later.

Shows how to extrude from the mid-plane.

# 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)

Leave a Reply

Your email address will not be published. Required fields are marked *