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:
BIN
tests/png/printed_pulleys.png
Normal file
BIN
tests/png/printed_pulleys.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user