Cut
SheetMetalCut(body, profile) cuts a closed profile (a hole, slot or
cut-out) straight through the sheet. The assembly above shows the same bracket
folded (left, blue) and as its flat pattern (right, orange). The four mounting
holes and the wall slot appear in both.
Draw the profile on a sketch that lies on either face of the flange you want to cut:
- for the base flange, the XY plane (its bottom face) or the plane
thicknessabove it; - for a wall, a plane coincident with the wall’s inner or outer face — here
self.xz().get_parallel_plane(depth / 2).
Unlike an Extrusion(..., cut=True) applied after SheetMetalToSolid, a
SheetMetalCut is remembered by the flange it goes through. Unfold lays the
cut-out out with that flange, so it ends up in the right place on the flat
pattern and in the DXF export as an inner contour. If the sketch doesn’t lie on
any flange face, the cut fails with an error that lists each flange’s plane, so
you can see which offset to use.