Closed dmadison closed 3 years ago
Okay. With the addition of the alignment indicators (PR #111) I think we've reached the point where it no longer makes sense to mirror the individual etched portions. Instead, I've updated the etch function to prevent rendering the laser etches if the mirror option is set.
I've also updated the generate_2d.py
and projection_renderer.py
scripts to pass OpenSCAD components that don't return geometry instead of raising an exception, and added an additional --no-etch
option for exporting the unmirrored design without the etched portions.
This adds the option to mirror the 2D laser-cut design so that the outside faces are facing 'up' / towards the laser when cut. This is useful for materials with a special finish on only one side like Ponoko's matte black acrylic, which is cut with the matte finish facing towards the laser.
The mirroring can be set with the
render_2d_mirror
flag, or with the--mirror
option in thegenerate_2d.py
script.This continues the conversation from PR #100, and offers an alternate solution to the same issue.