You will need to repeat steps 6-8 for each part you want to export (the box and the lid)
You can select between the box and lid under the Preview/Export Settings tab
I suggest printing a small test box first to check the tolerance setting.
Once you've selected a shape type, check the corresponding group for the settings for that shape.
The Corner Rounding and Measurement Type settings apply to all shapes
Circle/Rectangle - Set the Height and Width setting
Polygon - Set the number of sides and size by either side length, radius or inside radius
Text - Use any font - including icon fonts (more info below)
SVG - Import an SVG file (more info below)
Vector - Advanced setting for users with OpenSCAD knowledge
---Custom Box Shape (Text)---
You can use logo fonts for this also (more info below), but you may get mixed results
---Custom Box Shape (SVG)---
You can use a SVG file to set a custom shape. You'll need to use a file that doesn't have any holes. For example, this will work - https://iconmonstr.com/favorite-3-svg/
But not this one - https://iconmonstr.com/heart-thin-svg/
Some good ones to use are:
Heart
Star
Tear Drop
What ever this thing is
Icon Monstr is a good site to find pre-made shapes in the correct format
You can also convert images to SCAD files using sites like this one - https://convertio.co/png-svg/
You can use this to manually fill in a shape, then use the original as the lid pattern:
Once you've got the SVG file ready, put it in the same folder as the .SCAD file (from this page), then in the customizer settings:
You can highlight parts of the model - this should be helpful for working out how all the settings change the box/lid. There is also an option to enable a preview box or STL file, so you can make sure an item fits.
A lot of the pattern, text and logo settings are taking from my Fan Grill Cover Customizer, so if stuck please check the instructions on that page until I fill this section out more, or ask in the comments.
If using a SVG or vector for the box shape, you'll need to manually set the pattern size by using the X or Y values under Circle/Rectangle Settings
You can import an SVG file:
Note: Setting thickness to 0 will draw a block item, anything above that will draw an outline. This usually looks better if using a pattern. The same is true for Pattern Text.
---Logo Fonts---
Adding logos/icons is easy thanks to icon fonts - you can install any fonts to OpenSCAD.
A good place to start looking is here - https://www.dafont.com/theme.php?cat=717&page=1
Once installed, you can go to Help > Font List (in OpenSCAD) to get the names
---On Windows---
Once you've downloaded one you want:
Go to C:\Users\YOUR-USERNAME\
If the folder doesn't exist, create it (there is a fullstop in front of the word font, don't miss it)
Copy the font file into that folder
If you have OpenSCAD open, close it and re-open the file.
---Other OSes---
Install the fonts normally to the system, then re-open OpenSCAD.
Use Raised/Cutout for layer-change. You can also export the invert of the pattern to use as an inlay or with a multi-colour printer.
I'll add more multi-color settings soon
The author marked this model as their own original creation. Imported from Thingiverse.