julienr / meshcut

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

Fix missing line segment on non-manifold meshes #21

Closed julienr closed 2 years ago

julienr commented 2 years ago

This is a work in progress to fix the issue in #20.

Todo:

julienr commented 2 years ago

With these changes, we get a single polyline, which looks good

Screenshot from 2022-01-04 22-53-33

julienr commented 2 years ago

On the sphere, there is still the missing segment, which is a different issue (closing the line by making last point being first point). I feel for this, the best may be to have an option 'close_line'. Or just a helper function.

Screenshot from 2022-01-04 22-53-07