Closed DavideBassano closed 5 years ago
So if I understand correctly, you want to make a cross-sectional cut at an arbitrary point?
I guess it can be done by:
Hi Uvar,
thank you very much for your reply. I'll try what you are suggesting.
Thanks, Cheers,
Davide
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello, I have an .stl file with z-coordinates from 0 to ~200 (x and y don't matter) and I would like to cut it in z-direction in order to get a smaller one (e.g. with z-coordinates from 0 to 50). (Please see Image 1 - red line has nothing to do with it, it is used for another purpose)
Now I'm using NetFabb software (https://www.netfabb.com/blog/netfabb-basic-now-just-netfabb) and it works very well (Please see Image 2). Since I'm coding with Python and I'm using that "original" .stl file in my Python code, would be useful to have a code to cut this .stl and to generate a new .stl file from the original one, without using any external software.
Is there a way to do it with numpy-stl?
Thanks, Cheers,
Davide Bassano
Image 1:
Image 2: