From f333e4282cb6b5ff1c49d3ea68b0af7422a9548e Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 22 Dec 2023 22:08:57 +0100 Subject: mech: pcb_case: Separate bolt and nut to own files Having named files for these parts makes them more visible inside the project. They used to be in the `common.scad` file which does not explain anything by its name. --- mech/pcb_case/common.scad | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'mech/pcb_case/common.scad') diff --git a/mech/pcb_case/common.scad b/mech/pcb_case/common.scad index 0f79e16..dfcf909 100644 --- a/mech/pcb_case/common.scad +++ b/mech/pcb_case/common.scad @@ -1,8 +1,5 @@ -nut_h = 3; -nut_d = 4.15; -nut_r = nut_d / 2; -bolt_d = 3; -bolt_r = bolt_d / 2; +use +use module rounded_cube(dim, radius) { range_y = [radius, dim[1]-radius]; -- cgit v1.2.3-70-g09d2