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:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user