summaryrefslogtreecommitdiff
path: root/mech
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-12-23 16:43:07 +0100
committerxengineering <me@xengineering.eu>2024-01-02 14:24:06 +0100
commit220d692384555120f246e0d856a614be31e776bb (patch)
treee2b91a71d6fa7333fd781b738513c29dbaca673c /mech
parentc9705864963f4a3a3c946bf55e657211009daeff (diff)
downloadsoundbox-220d692384555120f246e0d856a614be31e776bb.tar
soundbox-220d692384555120f246e0d856a614be31e776bb.tar.zst
soundbox-220d692384555120f246e0d856a614be31e776bb.zip
mech: Remove global $fa und $fs variables
According to the 'Mastering OpenSCAD' [1] book it is not recommended to set these variables globally. They should be used as local as possible and only if needed. This rule makes sense to allow making the model as rough as possible and only increase the detail level if required to reduce build times. [1]: https://mastering-openscad.eu
Diffstat (limited to 'mech')
-rw-r--r--mech/common.scad3
1 files changed, 0 insertions, 3 deletions
diff --git a/mech/common.scad b/mech/common.scad
index 4e05a72..cfb27f2 100644
--- a/mech/common.scad
+++ b/mech/common.scad
@@ -1,9 +1,6 @@
use <pcb_case/shell.scad>
use <pcb_case/panel.scad>
-$fa = 12; // default is 12
-$fs = 0.5; // default is 2
-
t = 2;
tol = 1;
base_socket = [3/2+2.3+2*t+tol,3/2+2.1+2.7+t+tol];