How do hole in object?

hello friends!help me please. For example i have cube, how i can do hole in them?

This functionality is not built into three.js, but you have a couple of options - the easiest is probably to model the shape you want in another application and then load it in your three.js app.

Otherwise, you’ll want to use a csg (constructive solid geometry) library. Have a look through these posts on Stack Overflow to get yourself started. Or this article might help, although it’s very old.

1 Like

Thank you so much! CSG is that’s what I need, because i want do hole dynamically in my application.