pyboxbuilder.compartments.element.svg_solid

pyboxbuilder.compartments.element.svg_solid(shape_file: str, width: float, length: float, depth: float) → Bosl2Solid[source]

Extrude an SVG outline and scale it to fill width x length x depth.

Returned centred on the origin, matching every pybosl2 primitive, so callers can place it the same way they place a cuboid.