Use updated hex() module
This commit is contained in:
parent
b687357c8a
commit
6c2a640489
|
@ -32,7 +32,7 @@ FILTER_VOID_X = FILTER_X - 9 + ((4.5 - 2.34) * 2);
|
|||
ROLLER_SPACING = 95;
|
||||
|
||||
module m5_nut () {
|
||||
cylinder(r = R(9.4), h = 4, center = true, $fn = 6);
|
||||
hex(9.4, 4);
|
||||
}
|
||||
|
||||
module block () {
|
||||
|
|
20
takeup.scad
20
takeup.scad
|
@ -15,10 +15,6 @@ MOTOR_MOUNT_Y = 17.5 + 0.1;
|
|||
|
||||
M4 = 4.1;
|
||||
|
||||
module hex (diag = 10, h = 1) {
|
||||
cylinder(r = diag / 2, h = h, center = true, $fn = 6);
|
||||
}
|
||||
|
||||
module motor_shaft () {
|
||||
difference () {
|
||||
cylinder(r = R(MOTOR_SHAFT_D), h = MOTOR_SHAFT_H, center = true, $fn = 60);
|
||||
|
@ -123,9 +119,11 @@ module motor_mount_void (D, Z) {
|
|||
translate([0, 0, 4.75]) cylinder(r = R(6), h = 3.5, center = true, $fn = 40);
|
||||
}
|
||||
|
||||
module mount_plate_void () {
|
||||
cylinder(r = R(4.25), h = 20, center = true, $fn = 40);
|
||||
translate([0, 0, 0.5]) cylinder(r = R(8), h = 3, center = true, $fn = 40);
|
||||
module mount_plate_void (pos = [0, 0, 0]) {
|
||||
translate(pos) {
|
||||
cylinder(r = R(4.25), h = 20, center = true, $fn = 40);
|
||||
translate([0, 0, 0.5]) cylinder(r = R(8), h = 3, center = true, $fn = 40);
|
||||
}
|
||||
}
|
||||
|
||||
module mount_plate () {
|
||||
|
@ -159,10 +157,10 @@ module mount_plate () {
|
|||
translate([-8 + 12.5 + 1, 0, 0]) cube([8, 17, Z], center = true);
|
||||
}
|
||||
|
||||
translate([MOUNT_X / 2, MOUNT_Y / 2, 0]) mount_plate_void();
|
||||
translate([-MOUNT_X / 2, MOUNT_Y / 2, 0]) mount_plate_void();
|
||||
translate([MOUNT_X / 2, -MOUNT_Y / 2, 0]) mount_plate_void();
|
||||
translate([-MOUNT_X / 2,-MOUNT_Y / 2, 0]) mount_plate_void();
|
||||
mount_plate_void([MOUNT_X / 2, MOUNT_Y / 2, 0]);
|
||||
mount_plate_void([-MOUNT_X / 2, MOUNT_Y / 2, 0]);
|
||||
mount_plate_void([MOUNT_X / 2, -MOUNT_Y / 2, 0]);
|
||||
mount_plate_void([-MOUNT_X / 2,-MOUNT_Y / 2, 0]);
|
||||
|
||||
translate([X_CORNER, Y_CORNER, 3.26 - .5]) cube([CORNER, CORNER, 8], center = true);
|
||||
translate([-X_CORNER, Y_CORNER, 3.26 - .5]) cube([CORNER, CORNER, 8], center = true);
|
||||
|
|
Loading…
Reference in New Issue