Here is a simple slide box where the length, width, and depth can be set in the generating openSCAD file. It is only semi-parametric as the wall thickness is fixed at 2 mm and the slide slot is 3 mm wide to accept a 2 mm thick lid. The image at the left shows a collection of boxes.
The lid is a simple 2 mm thick rectangle that lies flat on the build surface. This is the position where a dual strusion machine should work best. The lid was used as a base for a number of decorations. One, shown in the image at the lower left, is a scanned Gerbera daisy petal repeatedly duplicated to approximate the original flower.
Most of the boxes are 50 mm wide and 60 mm long but vary in height so that they accept the same lid. The stl file, parametric_box.stl, makes such a box 30 mm high. Three lids are provided, a parametric one, a 2 mm rectangle with a raised image of the Gerbera daisy, and the same raised image in two colors. OpenSCAD files for the parametric box and lid are below. The two zip files, box_scad.zip and box_stl.zip contain all the scad and stl files. The zip files include four additional two color lids: a holly leaf, a geranium leaf, a Japanese Crest and a pattern of diamonds.
Print parametric_box.stl to get a 50 x 60 x 30 mm box.
Print either parametric_lid.stl or lid_plus_flower.stl to obtain a lid for the box.
To make boxes of other sizes open parametric_box.scad and change the width, length, and depth parameters; execute, and print the resulting stl file.
For the lid: open parametric_lid.scad, enter the width and length; execute, and print the stl file.
Dual strusion machines:
Merge lid_less_flower.stl and flower stl and print to obtain a two color lid.
Four other pairs of stl files are included in box_stl.zip. They can be merged and printed to produce other lids.
Note that the floors of the boxes are the same thickness, 2 mm, as the lids. It is not difficult to add a decoration to the floor of the boxes.