Convert from Solid
SheetMetalFromSolid(solid, thickness, base_face) turns an ordinary solid
into sheet metal. That’s handy when it’s easier to model the outside of an
enclosure first.
- The face picked by
base_face(aFaceFinder) becomes the base flange, with the materialthicknessinside the solid. - Every planar side face that meets the base face at a right angle becomes a wall bent up from that edge. The wall’s outer face lies on the side face and it ends at the solid’s height.
- Faces that don’t touch the base face, such as the box’s top, are left open.
- Corners are ripped: walls stop short of each corner by
rip_gap / 2plus the bend zone, so neighbouring walls never collide and the body unfolds (right, orange).