mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-02-04 05:52:45 -05:00
Enabled the two belt version.
This commit is contained in:
parent
b342549d74
commit
072c38f955
@ -62,13 +62,13 @@ module belt_test() {
|
|||||||
belt = GT2x6;
|
belt = GT2x6;
|
||||||
belt(belt, path, 80, [0, 0]);
|
belt(belt, path, 80, [0, 0]);
|
||||||
pulleys();
|
pulleys();
|
||||||
*translate_z(20)
|
translate_z(20)
|
||||||
hflip() {
|
hflip() {
|
||||||
belt(belt, path, 80, [0, 0], belt_colour = grey(90), tooth_colour = grey(50));
|
belt(belt, path, 80, [0, 0], belt_colour = grey(90), tooth_colour = grey(50));
|
||||||
pulleys(flip=true);
|
pulleys(flip=true);
|
||||||
}
|
}
|
||||||
|
|
||||||
translate([-25, 0])
|
translate([-25, 0, 10])
|
||||||
layout([for(b = belts) belt_width(b)], 10)
|
layout([for(b = belts) belt_width(b)], 10)
|
||||||
rotate([0, 90, 0])
|
rotate([0, 90, 0])
|
||||||
belt(belts[$i], [[0, 0, 20], [0, 1, 20]], belt_colour = $i%2==0 ? grey(90) : grey(20), tooth_colour = $i%2==0 ? grey(70) : grey(50));
|
belt(belts[$i], [[0, 0, 20], [0, 1, 20]], belt_colour = $i%2==0 ? grey(90) : grey(20), tooth_colour = $i%2==0 ? grey(70) : grey(50));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user