1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-31 11:01:55 +02:00

Fixed orientation of inverted pulley.

Added stl and assembly calls.
Same render handling as pulleys.
Updated pics and readme.
This commit is contained in:
Chris Palmer
2021-01-10 12:11:03 +00:00
parent a8b634de39
commit c3fc352288
4 changed files with 160 additions and 66 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

View File

@@ -23,15 +23,23 @@ include <../printed/printed_pulleys.scad>
use <../utils/layout.scad>
module PrintedPulley_test() {
layout([for (p = pulleys) pulley_flange_dia(p)]) {
rotate(-135)
printed_pulley_assembly(pulleys[$i]);
translate([0, 20, 0])
rotate(45)
pulley_assembly(pulleys[$i]);
module printed_pulley_test(show_metal = false) {
layout([for (p = pulleys) pulley_flange_dia(p)]) let(p = pulleys[$i]) {
rotate(-145)
if($preview)
printed_pulley_assembly(p);
else
printed_pulley(p);
if(show_metal)
not_on_bom()
translate([0, 20])
rotate(-145)
pulley_assembly(p);
}
}
if ($preview)
PrintedPulley_test();
if($preview)
printed_pulley_test(true);
else
printed_pulley_test();