# \[Closed\] How to split/separate a single ShapeGeometry into individual Geometries base on faces?

**URL:** <https://discourse.threejs.org/t/closed-how-to-split-separate-a-single-shapegeometry-into-individual-geometries-base-on-faces/4809>\
**Category:** Questions\
**Tags:** geometry\
**Created:** [November 5, 2018, 8:08pm UTC](https://discourse.threejs.org/t/closed-how-to-split-separate-a-single-shapegeometry-into-individual-geometries-base-on-faces/4809 "2018-11-05T20:08:41Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![prisoner849](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/prisoner849/32/535_2.png) [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Post date:** [November 6, 2018, 8:19pm UTC](https://discourse.threejs.org/t/closed-how-to-split-separate-a-single-shapegeometry-into-individual-geometries-base-on-faces/4809/9 "2018-11-06T20:19:42Z")

</div>

So, just out of curiousity, I’ve looked for a library that can do boolean operations on polygons and found [`polybooljs`](https://github.com/voidqk/polybooljs).  
If you work with Three.js, it doesn’t mean that you have to do all the things with it. There are many good stuff around 🙂

I wrote a simple example of using polybooljs + Three.js:

[https://jsfiddle.net/prisoner849/g3qdz90r/](https://jsfiddle.net/prisoner849/g3qdz90r/)

 ![polybooljs](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/c/c32c52c4aadb05fdfc932cb00d32bdeebce3e2a7.png)

---

_[View the full topic](https://discourse.threejs.org/t/closed-how-to-split-separate-a-single-shapegeometry-into-individual-geometries-base-on-faces/4809)._
