Skip to content

Commit

Permalink
Merge pull request #1536 from KevKeating/iss1535
Browse files Browse the repository at this point in the history
now setting $orig and $idx in both branches of mirror_copy() module
  • Loading branch information
adrianVmariano authored Jan 5, 2025
2 parents 32ffac1 + bd058d9 commit fc09ec2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions distributors.scad
Original file line number Diff line number Diff line change
Expand Up @@ -1823,8 +1823,16 @@ module mirror_copy(v=[0,0,1], offset=0, cp)
children();
}
} else {
translate(off) children();
translate(cp) mirror(nv) translate(-cp) translate(off) children();
translate(off) {
$orig = true;
$idx = 0;
children();
}
translate(cp) mirror(nv) translate(-cp) translate(off) {
$orig = false;
$idx = 1;
children();
}
}
}

Expand Down

0 comments on commit fc09ec2

Please sign in to comment.