Miter Flange
Renders the 3D model in your browser. The first run downloads the Python runtime (≈30 MB).
SheetMetalMiterFlange(body, edges, profile) sweeps a cross-section you
draw yourself, in (outward, up) coordinates on a plane at right angles to the
edge, along one edge or a chain of edges.
- Miters. List the edges head-to-tail (here counter-clockwise around the base). Where two edges share an endpoint, the walls meet in a true miter on the corner’s bisector plane, with no overlap and no gap. The tray above sweeps one wall-with-lip section around all four edges.
flange_positionshifts the section outward:MATERIAL_INSIDE(default) keeps it on the edge,MATERIAL_OUTSIDEmoves it one thickness out, andBEND_OUTSIDEmoves it thickness + bend radius out.gap,start_offset,end_offsetpull the free (un-mitred) ends back.- Flat pattern. Each edge records a bend to a wall as tall as the section,
so
Unfoldlays the walls out around the base (right, orange).