julienr / meshcut

Python 3D mesh planar cross-section
MIT License
103 stars 27 forks source link

Holes not sliced properly? #3

Closed Harvie closed 6 years ago

Harvie commented 6 years ago

I have ASCII PLY with holes:

image

But the holes are not present in slices:

image

The code i use is here: https://github.com/Harvie/bCNC/blob/master/plugins/slicemesh.py

The mesh is here: chaos-cam.ply.zip

Any ideas what causes this?

Harvie commented 6 years ago

Nevermind. I was slicing it by wrong plane. Can you please give me some insight in to how planes are defined? I don't really understand what plane_orig and plane_norm means...

image

image