Some examples of holes with three.js
https://discourse.threejs.org/t/restrict-an-object-to-another/1780
https://discourse.threejs.org/t/in-the-orb-shaders/3286
https://discourse.threejs.org/t/experiment-geometry-holes/5555
https://discourse.threejs.org/t/how-to-allow-duplicate-vertices-in-extrudegeometry/6333/3
https://jsfiddle.net/Lg458tof/
https://discourse.threejs.org/t/looking-for-updated-plug-in-for-csg/6785
My contribution are two variants of a sphere with up to 6 coordinate planes parallel holes. One variant is completely symmetrical, the other variant is more efficient.
See Updated April 29 (There was a typo. Only one m in symmetry.)
http://discourse.threejs.hofk.de/2019/SphereCut/SphereCutSymmetric.html
http://discourse.threejs.hofk.de/2019/SphereCut/SphereCut.html
With these spheres you can e.g. create a labyrinth similar to https://discourse.threejs.org/t/addon-to-create-special-extended-geometries/1855/4 , but with round shapes.
These properties are helpful for this.
g.cutRadius = []; // calculated radius of cut circles px, nx, py, ny, pz, nz - for external use
g.cutDistance = []; // calculated distance of the cut circles to the center px, nx, py, ny, pz, nz - for external use
g.cutSegments = []; // segments of the cut circles - for external use
Iām gonna put the spheres in the addon.