jimy-byerley / pymadcad

Simple yet powerful CAD (Computer Aided Design) library, written with Python.
https://madcad.netlify.app/
GNU Lesser General Public License v3.0
210 stars 16 forks source link

Minor bug fix to pass opts to stl writer #108

Closed FoamScience closed 1 month ago

FoamScience commented 1 month ago

Can't believe I PR'd this but here we go. I originally mutated the pip-package files which made sharing my scripts a pain. I'm doing this for the sole purpose of being able to:

write(mesh=msh, name='msh.stl', type="stl", mode=Mode.ASCII)

As right now, the mode argument wouldn't be passed to the actual STL writer.

jimy-byerley commented 1 month ago

Damn you are right. Thanks for the fix, even if it is a small one ;)