OpenSCAD code to convert an SVG image into a hatbox-style container.
The attached OpenSCAD code can take an SVG image (I use Inkscape to trace bitmaps and export to SVG) and turn it into a hatbox-style container (top slips over bottom). The code allows you to specify the source image, and the size.
If your image contains multiple, unconnected objects, you can add a tray that connects the container bottoms.
Hand.stl | 1.4MB | |
hand.svg | 13.5KB | |
Heart.stl | 649.8KB | |
heart.svg | 44.6KB | |
ShapeBox.scad | 3.0KB | |
traybox.svg | 45.8KB | |
TrayDemo.stl | 1.8MB |