diff options
Diffstat (limited to 'mech/pcb_case/pcb.scad')
-rw-r--r-- | mech/pcb_case/pcb.scad | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mech/pcb_case/pcb.scad b/mech/pcb_case/pcb.scad new file mode 100644 index 0000000..ba211ac --- /dev/null +++ b/mech/pcb_case/pcb.scad @@ -0,0 +1,11 @@ +module pcb(dim, drillings) { + translate([15, 5, 15]) { + difference() { + cube([dim[0], dim[1], dim[2]]); + for (drilling = drillings) { + translate([drilling[0], drilling[1], 0]) + cylinder(d=3, h=dim[2], $fn=30); + } + } + } +} |