You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a bug in the handling of the max size in numpy2stl.py
When the condition is triggered on one dimension, all the scale values are changed at the same time instead of the dimension in question, meaning that lines like
xsize = facets[:, 3::3].ptp()
if xsize > max_width:
facets = facets * float(max_width) / xsize
Hello
I found a bug in the handling of the max size in numpy2stl.py
When the condition is triggered on one dimension, all the scale values are changed at the same time instead of the dimension in question, meaning that lines like
xsize = facets[:, 3::3].ptp()
if xsize > max_width:
facets = facets * float(max_width) / xsize
should become
Then it fixes the issue (with the proper indices)
Brice
The text was updated successfully, but these errors were encountered: