Draw hole in cube

I want to draw path by clicking and make hole with that shape in my cube. Is that possible?
is there any example?

with a csg library yes GitHub - gkjohnson/three-bvh-csg: A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh

i used it recently for a small house building prototype, it’s not vanilla but gives you an idea how fast the bvh-csg library is CSG house - CodeSandbox

1 Like