1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-16 12:24:09 +02:00

Made hflip and vflip conditional.

This commit is contained in:
Martin Budden
2020-11-20 08:46:17 +00:00
parent d70ddf5359
commit 25dceee20a
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ module belt_test() {
screw = find_screw(hs_cs_cap, pulley_bore(pulley));
insert = screw_insert(screw);
rotate([0, flip ? 180 : 0, 0]) {
hflip(flip) {
pulley_assembly(pulley);
translate_z(pulley_height(pulley) + pulley_offset(pulley) + screw_head_depth(screw, pulley_bore(pulley)))
screw(screw, 20);