Wyciągnięcie od środkowej płaszczyzny
Midplane Extrusion
Pokazuje, jak wykonać wyciągnięcie od opcji „Środkowa płaszczyzna” (Midplane).
„Kopiuj” (Copy) kod Python

# create the part and then a sketch containing a circleP = Part('Test')S = P.AddSketch('Shape', P.GetPlane('XY-Plane'))S.AddCircle(0, 0, 9, False)
# how far we will extrude from mid-planeExtrudeLength = 10
# extrude itP.AddExtrudeBoss('Cyl', S, ExtrudeLength, False, Part.EndCondition.MidPlane, None, 0, Part.DirectionType.Normal, None, 0, False)Oryginał: Midplane Extrusion