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

Left pulleys on BOM when show_pulleys true.

This commit is contained in:
Martin Budden
2021-03-06 16:32:36 +00:00
parent 769cb44207
commit d80fc5709e
2 changed files with 5 additions and 6 deletions

View File

@@ -109,12 +109,11 @@ module coreXY_half(type, size, pos, separation_y = 0, x_gap = 0, plain_idler_off
p6 = [ pos.x - size.x / 2, -size.y / 2 + pos.y - separation_y / 2 ];
module show_pulleys(show_pulleys) {// Allows the pulley colour to be set for debugging
not_on_bom()
if (is_list(show_pulleys))
color(show_pulleys)
children();
else if (show_pulleys)
if (is_list(show_pulleys))
color(show_pulleys)
children();
else if (show_pulleys)
children();
}
show_pulleys(show_pulleys) {