openscad/README.org

1001 B

OpenSCAD Models

My collection of 3D-printable models designed using OpenSCAD.

Project Box

A parametric box for electronics projects using perforated circuit boards. The board is held above the bottom of the box by four corner supports, and snaps into place to hold it snugly while allowing easy removal.

  use <correl/project_box.scad>
  $fn=50;

  mode = "case"; // ["case", "lid", "all"]
  box = [50,  // Board width
         70,  // Board length
         20]; // Project height

  rotate([0,0,180])
  project_box(box,
              below=10,
              mode=mode) {
    cutout_front(box)
      translate([10, 5, 0])
      square([15,10]);
    cutout_back(box)
      translate([10, 5, 0])
      circle(5);
  }

/correlr/openscad/media/branch/master/project-box.png

Generating a project box for a 5x7cm board with front and back cutouts.