Corner Break
SheetMetalCornerBreak rounds (FILLET) or bevels (CHAMFER) the corners of
a sheet through its thickness. These are the short edges across the sheet at a
corner of a flange, the ones you break so a part has no sharp corners. The
flat pattern gets the same arc or bevel, so Unfold and the DXF export
include it.
SheetMetalCornerBreak(body, corners, radius, break_type=CornerBreakType.FILLET)corners:Points sketched on one face of a flange, each exactly on a corner of that flange’s outline. All the points of one corner break share a sketch, so use one corner break per face. The sketch can be on either face of the sheet.radius: the fillet radius, or how far the chamfer is set back along both edges.break_type:CornerBreakType.FILLET(default) orCornerBreakType.CHAMFER.
Above, the base’s back corners are rounded 6 mm (points on the base sketch)
and the wall’s top corners are bevelled 4 mm (points on a sketch on the
wall’s outer face). The wall’s top edge is at thickness + bend radius + wall length above the base, because the wall starts above the base and its bend.
The kernel reports a clear error instead of building the part when:
- a point is not on a corner (for example, the middle of an edge);
- a break doesn’t fit, because it needs more straight edge than the corner has;
- a corner is where a bend or another flange joins, so it has no free edge through the thickness.