Work in progress

This commit is contained in:
Matt McWilliams 2023-04-23 21:57:30 -04:00
parent 83fcf665ff
commit 0fef88b46c
2 changed files with 7 additions and 3 deletions

View File

@ -183,10 +183,11 @@ module sprocketed_roller_reinforced (pos = [0, 0, 0], rot = [0, 0, 0], sprockets
}
}
LIBRARY = false;
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);
} 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);
}

View File

@ -846,10 +846,13 @@ module panel (pos = [0, 0, 0]) {
}
}
PART = "";
PART = "sprocketed_roller_reinforced";
LIBRARY = true;
if (PART == "panel") {
panel();
} else if (PART == "sprocketed_roller_reinforced") {
sprocketed_roller(sprockets = 18, bevel = false, model = "gearbox_motor", reinforced = true);
} else {
debug();
}