Box templates are one of the most popular models in OpenSCAD. This thread attempts to create one teaching / using ChatGPT
View article
View summary
To define all the dimensions required to create a flip top box template, you will need to consider the following measurements:
Overall Length (L): The total length of the box, including both the top and bottom sections.
Overall Width (W): The total width of the box, including both the top and bottom sections.
Overall Height (H): The total height of the box, including both the top and bottom sections.
Bottom Length (BL): The length of the bottom section of the box.
Bottom Width (BW): The width of the bottom section of the box.
Bottom Height (BH): The height of the bottom section of the box.
Lid Length (LL): The length of the lid section of the box.
Lid Width (LW): The width of the lid section of the box.
Lid Height (LH): The height of the lid section of the box.
Flap Length (FL): The length of the flaps that will connect the lid and bottom sections.
Flap Width (FW): The width of the flaps that will connect the lid and bottom sections.
Additionally, you may also consider the material thickness (MT) if you want to account for the thickness of the cardboard or material you are using to create the box.
Once you have the desired values for these dimensions, you can use them to design and customize your flip top box template in OpenSCAD or any other software of your choice.