Updated to latest common.scad usage. Fixed render error.

This commit is contained in:
Matt McWilliams 2023-04-23 18:18:48 -04:00
parent 018896dffe
commit 83fcf665ff
2 changed files with 10 additions and 4 deletions

View File

@ -154,7 +154,7 @@ module sprocketed_roller_body (pos = [0, 0, 0], rot = [0, 0, 0], sprockets = 8,
}
}
module sprocketed_roller (pos = [0, 0, 0], rot = [0, 0, 0], sprockets = 8, bevel = false, reinforced = false, , bolts = false, model = "") {
module sprocketed_roller (pos = [0, 0, 0], rot = [0, 0, 0], sprockets = 8, bevel = false, reinforced = false, bolts = false, model = "") {
D = (FrameC * sprockets) / PI;
difference () {
union () {

View File

@ -1,13 +1,19 @@
include <16mm_sprocketed_roller_var.scad>
include <./16mm_sprocketed_roller_var.scad>
include <./lamp.scad>;
include <./box_laser.scad>
include <./common/common.scad>
include <./common/motors.scad>
IN = 25.4;
DaylightW = 92;
DaylightH = 18;
PanelX = 200;
PanelY = 150;
PanelZ = 5;
PanelDimensions = [PanelX, PanelY, PanelZ];
MotorZ = -16;
RollerY = -20;
@ -836,7 +842,7 @@ module lamp (pos = [0, 0, 0]) {
module panel (pos = [0, 0, 0]) {
translate (pos) {
translate([20, 0, 0]) color("green") cube([200, 150, 5], center = true);
translate([20, 0, 0]) color("green") cube(PanelDimensions, center = true);
}
}