Parametric Sliding Lid Box

A customizable support-free box with sliding lid
7
165
0
763
updated June 25, 2023

Description

PDF

A simple parametric box with a sliding lid that requires no supports (45 degree angles).

sliding-lid-box.scad can be customized using OpenSCAD's Customizer.

sliding-lid-box-modules.scad can be imported into other OpenSCAD using the use <filename> or include <filename> commands. The modules and parameters are:

box(
    boxWidth,
    boxLength,
    boxHeight,
    wallThickness,
    cutoutSize
)

lid(
    boxWidth,
    boxLength,
    boxHeight,
    wallThickness,
    cutoutSize,
    freedom,
    bumpHeight,
    notchWidth
)

Brief descriptions of each parameter:

  • boxWidth - total width (x) of the box/lid (in mm)
  • boxLength - total length (y) of the box/lid (in mm)
  • boxHeight - total height (z) of the box/lid (in mm)
  • wallThickness - total thickness of the wall/lid (in mm)
  • cutoutSize - height and width of the cutout for the slide (in mm)
  • freedom - amount of freedom between the slide and cutout (in mm)
  • bumpHeight - height of the latch bump (in mm)
  • notchWidth - width of the notch on the lid (in terms of total width)

Here is how the example STL can be generated:

use <sliding-lid-box-modules.scad>

box(
    boxWidth = 50,
    boxLength = 80,
    boxHeight = 30,
    wallThickness = 3.2,
    cutoutSize = 2
);

translate([55, 0, 0])
lid(
    boxWidth = 50,
    boxLength = 80,
    boxHeight = 30,
    wallThickness = 3.2,
    cutoutSize = 2,
    freedom = 0.2,
    bumpHeight = 0.8,
    notchWidth = 0.7
);

Note - the box currents gives the following warning: “WARNING: Object may not be a valid 2-manifold and may need repair!” However, PrusaSlicer detects no errors. If anyone can identify how exactly to fix the model so this warning no longer appears, please let me know in the comments.

Tags



Model origin

The author marked this model as their own original creation.

License


Highlighted models from creator

View more