1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-31 19:13:33 +02:00

Replaced grey constants with a function grey().

Done to reduced the number of global constants.
This commit is contained in:
Chris Palmer
2020-06-20 10:17:29 +01:00
parent c88472121e
commit 184f19ef04
38 changed files with 71 additions and 78 deletions

View File

@@ -33,7 +33,7 @@ module rails()
nut = screw_nut(screw);
washer = screw_washer(screw);
rail_assembly(rail, length, rail_travel(rail, length) / 2, $i<2 ? grey20 : "green", $i<2 ? grey20 : "red");
rail_assembly(rail, length, rail_travel(rail, length) / 2, $i<2 ? grey(20) : "green", $i<2 ? grey(20) : "red");
rail_screws(rail, length, sheet + nut_thickness(nut, true) + washer_thickness(washer));