Work in progress
This commit is contained in:
parent
83fcf665ff
commit
0fef88b46c
|
@ -183,10 +183,11 @@ module sprocketed_roller_reinforced (pos = [0, 0, 0], rot = [0, 0, 0], sprockets
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LIBRARY = false;
|
||||||
PART = "sprocketed_roller_reinforced";
|
PART = "sprocketed_roller_reinforced";
|
||||||
if (PART == "sprocketed_roller_reinforced") {
|
if (!LIBRARY && PART == "sprocketed_roller_reinforced") {
|
||||||
rotate([180, 0, 0]) sprocketed_roller(sprockets = 18, bevel = false, model = "gearbox_motor", reinforced = true, bolts = true);
|
rotate([180, 0, 0]) sprocketed_roller(sprockets = 18, bevel = false, model = "gearbox_motor", reinforced = true, bolts = true);
|
||||||
} else if (PART == "sprocketed_wheel") {
|
} else if (!LIBRARY && PART == "sprocketed_wheel") {
|
||||||
rotate([180, 0, 0]) color("red") sprocketed_roller_reinforced(sprockets = 18, bevel = false, model = "gearbox_motor", bolts = true);
|
rotate([180, 0, 0]) color("red") sprocketed_roller_reinforced(sprockets = 18, bevel = false, model = "gearbox_motor", bolts = true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -846,10 +846,13 @@ module panel (pos = [0, 0, 0]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PART = "";
|
PART = "sprocketed_roller_reinforced";
|
||||||
|
LIBRARY = true;
|
||||||
|
|
||||||
if (PART == "panel") {
|
if (PART == "panel") {
|
||||||
panel();
|
panel();
|
||||||
|
} else if (PART == "sprocketed_roller_reinforced") {
|
||||||
|
sprocketed_roller(sprockets = 18, bevel = false, model = "gearbox_motor", reinforced = true);
|
||||||
} else {
|
} else {
|
||||||
debug();
|
debug();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue