From 220d692384555120f246e0d856a614be31e776bb Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 23 Dec 2023 16:43:07 +0100 Subject: 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 --- mech/common.scad | 3 --- 1 file changed, 3 deletions(-) (limited to 'mech') 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 use -$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]; -- cgit v1.2.3-70-g09d2