1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-30 10:39:58 +02:00

Parameterised coloring of linear rail carriage.

This commit is contained in:
Martin Budden
2020-01-12 10:20:10 +00:00
parent 03c97e8b6a
commit 75747687d9
2 changed files with 7 additions and 7 deletions

View File

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