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

Added HGH15CA and HGH20CA rails.

This commit is contained in:
Chris Palmer
2021-08-31 22:04:12 +01:00
parent b893c9069a
commit 485184f092
5 changed files with 40 additions and 22 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 165 KiB

View File

@@ -29,7 +29,7 @@ pos = 1; //[-1 : 0.1 : 1]
function rail_carriages(rail) = [for(c = carriages) if(carriage_rail(c) == rail) c];
module rails()
layout([for(r = rails) carriage_width(rail_carriages(r)[0])], 20)
layout([for(r = rails) carriage_width(rail_carriages(r)[0])], 10)
rotate(-90) {
rail = rails[$i];
carriages = rail_carriages(rail);