Skip to content

ellemenno/slide_top_box

Repository files navigation

slide_top_box

openscad module for a sliding dovetail lidded box

sliding dovetail lidded box

usage

use <slide_top_box.scad>

slide_top_box(
  size=[80, 110, 30],
  thickness=4,
  lid_inset=0,
  has_finger_recess=true,
  is_interior_size=false,
)

parameters

  • size - an x,y,z vector defining dimensions of the box
  • thickness - thickness of the walls and lid (reduces interior volume unless is_interior_size is true)
  • lid_inset - distance from top of box to top of lid; 0 for flush
  • has_finger_recess - true to add finger grip on lid, false for none
  • is_interior_size - when true, size defines interior volume, walls extend beyond

installation

  • ensure OPENSCADPATH is set (see docs, requires restarting OpenSCAD)
  • save slide_top_box.scad to a directory in the path
  • add use <slide_top_box.scad> to your scad file