Extrusion end conditions
Extrusion(..., end_condition=ExtrudeEndCondition.X) controls how far the
extrusion goes:
end_condition | Meaning |
|---|---|
BLIND (default) | from start to end |
SYMMETRIC | total depth end, centred on the sketch plane |
THROUGH_ALL | through everything built so far, in the direction of end’s sign |
THROUGH_ALL_BOTH | through everything, on both sides of the sketch plane |
thin_wall=t extrudes only a band of thickness t inside the profile outline.
That turns a square into a square tube without a second cut.
In the bracket above, the holes are sketched on the plate’s mid-plane and cut
both ways with THROUGH_ALL_BOTH. The slot is sketched 100 mm above the part
and cut downward with THROUGH_ALL (negative end). The rib is a SYMMETRIC
4 mm extrusion centred on the XZ plane.