# Create a rectangular hole in a drawer for a siphon plate

**URL:** https://discourse.threejs.org/t/create-a-rectangular-hole-in-a-drawer-for-a-siphon-plate/43952
**Category:** Questions
**Tags:** geometry
**Created:** [October 24, 2022, 3:01pm UTC](https://discourse.threejs.org/t/create-a-rectangular-hole-in-a-drawer-for-a-siphon-plate/43952 "2022-10-24T15:01:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Otter\_21](https://avatars.discourse-cdn.com/v4/letter/o/439d5e/32.png) [@Otter\_21](https://discourse.threejs.org/u/Otter_21)
#### Post date: [October 24, 2022, 3:01pm UTC](https://discourse.threejs.org/t/create-a-rectangular-hole-in-a-drawer-for-a-siphon-plate/43952/1 "2022-10-24T15:01:38Z")

</div>

Hello Everyone

I’m a beginner with three.js, so please a bit patience 🙂  
I try to make a 3D-Model of a drawer within three.js. Now I want to create a hole (cutout) for the siphon plate. But I don’t know how to do that. Is there a way to cut out a rectangular shape in an imported .gltf file?

Please have a look on the image below. It’s exactly what I am trying to do.

 ![example](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/0/e/0e82ae049b687968e1feaa2b6f6a95f9546fccd0.jpeg)

---

<div class="post-metadata">

### Author: ![tfoller](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@tfoller](https://discourse.threejs.org/u/tfoller)
#### Post date: [October 24, 2022, 10:18pm UTC](https://discourse.threejs.org/t/create-a-rectangular-hole-in-a-drawer-for-a-siphon-plate/43952/2 "2022-10-24T22:18:42Z")

</div>

The easiest way to do it is in the software that produced gltf file or to import the file into Blender cut the hole and re-export.

Another option is to use a third party library that can do Boolean operations on THREE geometry.

---

<div class="post-metadata">

### Author: ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)
#### Post date: [October 25, 2022, 12:23pm UTC](https://discourse.threejs.org/t/create-a-rectangular-hole-in-a-drawer-for-a-siphon-plate/43952/3 "2022-10-25T12:23:48Z")

</div>

> **[GitHub - gkjohnson/three-bvh-csg: A flexible, memory compact, fast and...](https://github.com/gkjohnson/three-bvh-csg)**
>
> A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh - GitHub - gkjohnson/three-bvh-csg: A flexible, memory compact, fast and dynamic CSG implementation on top o...

here’s an example with a glb and cut out shapes, it’s quite fast even [CSG bunny - CodeSandbox](https://codesandbox.io/s/csg-bunny-eckvc1?file=/src/App.js)
