I’ve had a lot of help in the past (thanks mainly to Helvetosaur) in writing a script which splits a solid into layers of constant thickness. Then it creates a silhouette outline on each layer from which I derive an offset outline (used for CNC machining the final solid when it’s all put back together). I’ve used this a lot, and it sometimes has trouble getting the silhouette for some shapes. But the latest solid I’m using it seems to fail with every layer. I don’t know if the shape is too complex, but there’s no benefit in using the script if it fails for all layers. And when it works, it’s wonderful and saves lots of time. I’ll copy the script in and the solid I’m using to see if anyone can help point out a way to make this more reliable. There’s a bit of other stuff going on in the script, but it’s the CreateOffsetOutlines which fails (it needs to be run taking the slices from the Top View as that’s what the machine and I do.
Thanks, Ben
Combined Slices and Outline.py (4.2 KB)
Test Model.3dm (5.3 MB)
3 posts - 2 participants