# Can Meshes.jl do boolean operations?

**URL:** <https://discourse.julialang.org/t/can-meshes-jl-do-boolean-operations/100808>\
**Category:** General Usage\
**Created:** [June 25, 2023, 11:24am UTC](https://discourse.julialang.org/t/can-meshes-jl-do-boolean-operations/100808 "2023-06-25T11:24:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [June 25, 2023, 11:24am UTC](https://discourse.julialang.org/t/can-meshes-jl-do-boolean-operations/100808/1 "2023-06-25T11:24:07Z")

</div>

Hello!

I would just like to know from someone more experienced if this operation is possible:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/9/3/932332f9a00018ab61b654d7604193b9eeedd196.jpeg)

To the left I have a cube. To the right I have the cube cut by an arbitrary plane, black.

Any example of how to do this in Julia? Does not have to be Meshes.jl, can be any other package in Julia.

Kind regards

---

<div class="post-metadata">

**Author:** ![empet](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/empet/32/221303_2.png) [@empet](https://discourse.julialang.org/u/empet)\
**Post date:** [June 26, 2023, 5:48pm UTC](https://discourse.julialang.org/t/can-meshes-jl-do-boolean-operations/100808/2 "2023-06-26T17:48:11Z")

</div>

Descartes.jl [https://github.com/JuliaGeometry/Descartes.jl](https://github.com/JuliaGeometry/Descartes.jl) can perform `union, diff, and intersect` of two solid geometry models.
