If you want to “cut” things in certain forms, you may be interested in this post in the library of constructive solid geometry. It comes with a wrapper for THREE.js objects.
It allows you to do things like this:
var cube = new CSG.cube(); var sphere = CSG.sphere({radius: 1.3, stacks: 16}); var geometry = cube.subtract(sphere);
=>

Here is another short tutorial on this.
source share