Use updated hex() module (not overloaded). Import takeup module.

This commit is contained in:
Matt McWilliams 2023-04-07 10:55:45 -04:00
parent 582e814ab9
commit 474b7122bb
3 changed files with 6 additions and 2 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "scad/common"]
path = scad/common
url = https://git.sixteenmillimeter.com/modules/common.git
[submodule "scad/takeup"]
path = scad/takeup
url = https://git.sixteenmillimeter.com/modules/takeup.git

View File

@ -74,7 +74,7 @@ module m3_nut_void (pos = [0, 0, 0], rot = [0, 0, 0], H = 20) {
translate(pos) rotate(rot) {
translate([0, 6, -4.25 + (2.75/2)]) cube([6, 12, 2.75], center = true);
cylinder(r = R(3.25), h = H, center = true, $fn = 30);
translate([0, 0, -4.25]) hex(R(6), 2.75);
translate([0, 0, -4.25]) hex(6, 2.75);
translate([0, 0, (H/2)-4.5]) cylinder(r = R(6), h = 5, center = true, $fn = 40);
}
}
@ -89,7 +89,7 @@ module m3_bolt_void (pos = [0, 0, 0]) {
module sprocketed_wheel_m3_nut_void (pos = [0, 0, 0]) {
translate(pos) {
cylinder(r = R(3.25), h = 40, center = true, $fn = 30);
hex(R(6.3), 4);
hex(6.3, 4);
}
}

1
scad/takeup Submodule

@ -0,0 +1 @@
Subproject commit 390f60c1ebd6283b53888666ebd1e65834511e42