Cutting model into 2 objects

Hello,

I have 3d editor (written on threejs). It uses different 3d models - gltf file loaded from server.
I need to add feature “cutting” of object(3d model) by surface and getting 2 objects.
It should be visual “cutting”, not real, similar to this https://threejs.org/examples/webgl_clipping.html
So, user should set cutting surface. Then object can be copied. 1st object will apply clipping one side, 2nd object - other side.

Thank you

Can you use https://github.com/tdhooper/threejs-slice-geometry

1 Like

Hi Anton,
If you are still looking out for someone to help you out on this, I would be interested as this is well within my skill set.
You can reach me on andrewjohnson56782@gmail.com
Best Wishes,
Andrew

Thank you for all.
This topic is closed

Would something like this work?

If you need the user to be able to move the clipping planes you could probably use TransformControls.

2 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.