From 84796898e32af3374f5e8ce22e686e04f6f6d11e Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 1 Jan 2024 23:22:23 +0100 Subject: mech: Add PCB-oriented parameters The long term goal is to switch from case-oriented parameters to PCB-oriented parameters to simplify re-using the pcb_case library. --- mech/assembly.scad | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'mech/assembly.scad') diff --git a/mech/assembly.scad b/mech/assembly.scad index 51338f7..12e68fd 100644 --- a/mech/assembly.scad +++ b/mech/assembly.scad @@ -5,24 +5,7 @@ use use module assembly() { - base_drilling = [3.5, 3.5]; - dx = [23, 0]; - dy = [0, 58]; - pcb( - dim=[30, 65, 1.4], - drillings=[ - base_drilling, - base_drilling + dx, - base_drilling + dy, - base_drilling + dx + dy - ], - margins=[ - [1, 1], - [3.6, 1.7], - [3.5, 27] - ], - t=2 - ); + pcb(pcb_dim, drillings, margins, t); pcb_case_shell_bottom( dim, t, h, [ -- cgit v1.2.3-70-g09d2