# Subtract Cylinder from another CSG

**URL:** <https://forum.babylonjs.com/t/subtract-cylinder-from-another-csg/28619>\
**Category:** Questions\
**Created:** [March 21, 2022, 3:23pm UTC](https://forum.babylonjs.com/t/subtract-cylinder-from-another-csg/28619 "2022-03-21T15:23:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gladiator-media](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/gladiator-media/32/22809_2.png) [@gladiator-media](https://forum.babylonjs.com/u/gladiator-media)\
**Post date:** [March 21, 2022, 3:23pm UTC](https://forum.babylonjs.com/t/subtract-cylinder-from-another-csg/28619/1 "2022-03-21T15:23:55Z")

</div>

I’ve put together a simple test using CSG in Babylon. I am trying to subtract the cylinder “hole” from the “upright” panel that I have created. However, It’s not working properly. I feel that I am missing something.

Here’s my playground [Babylon.js Playground](https://playground.babylonjs.com/#4489EV)

Thanks for the help

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 21, 2022, 3:32pm UTC](https://forum.babylonjs.com/t/subtract-cylinder-from-another-csg/28619/2 "2022-03-21T15:32:06Z")

</div>

[https://playground.babylonjs.com/#4489EV#1](https://playground.babylonjs.com/#4489EV#1) basically you need to create a mesh from the CSG result

---

<div class="post-metadata">

**Author:** ![gladiator-media](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/gladiator-media/32/22809_2.png) [@gladiator-media](https://forum.babylonjs.com/u/gladiator-media)\
**Post date:** [March 21, 2022, 3:58pm UTC](https://forum.babylonjs.com/t/subtract-cylinder-from-another-csg/28619/3 "2022-03-21T15:58:44Z")

</div>

Ah I get it now. Thank you very much
