External components with clipping functionality

I created six planes and attached TransformControls to each one. Then, for all the meshes in the glb file, I individually assigned the six planes as clipping planes and moved the planes according to the TransformControls’ arrow movement to make it look like the meshes were being clipped.

This was a very crude and amateurish implementation because I’ve only recently started using three.js and was working based on my own ideas.

If there are any more reliable components created by more experienced developers, I would appreciate it if you could let me know.