# Tips and/or documentation to help working with advanced mesh manipulation

**URL:** <https://forum.babylonjs.com/t/tips-and-or-documentation-to-help-working-with-advanced-mesh-manipulation/11187>\
**Category:** Questions\
**Created:** [May 27, 2020, 2:53pm UTC](https://forum.babylonjs.com/t/tips-and-or-documentation-to-help-working-with-advanced-mesh-manipulation/11187 "2020-05-27T14:53:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaorodrigues](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joaorodrigues/32/8686_2.png) [@joaorodrigues](https://forum.babylonjs.com/u/joaorodrigues)\
**Post date:** [May 27, 2020, 2:53pm UTC](https://forum.babylonjs.com/t/tips-and-or-documentation-to-help-working-with-advanced-mesh-manipulation/11187/1 "2020-05-27T14:53:15Z")

</div>

Hello.

First, I have to say that this question is very specific and maybe it doesn’t even belong here.

So, I am trying to build a PWA (Progressive Web App) with Babylon.js and Angular. This app should allow the user to import a .stl or .obj file and then manipulate the imported mesh. I read the documentation and the import function is working.

The problem is that the manipulation that I want to do is quite complex. For example, I want the user to draw an area in the mesh and “cut” it, detect colisions between meshes with something like a “heat map” and so on. This is a problem because I don’t seem to find docs/examples/tips for this kind of mesh manipulation and user interaction. So, does anyone have some kind of documentation on this?

Thank you.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [May 27, 2020, 6:35pm UTC](https://forum.babylonjs.com/t/tips-and-or-documentation-to-help-working-with-advanced-mesh-manipulation/11187/2 "2020-05-27T18:35:06Z")

</div>

Hello and welcome!

for mesh manipulation you may have a look to CSG: [https://www.babylonjs-playground.com/#T6NP3F#0](https://www.babylonjs-playground.com/#T6NP3F#0)

For heat maps and so on I think shaders could be the good candidates and thus NME can be your friend: [How To use the Node Material - Babylon.js Documentation](https://doc.babylonjs.com/how_to/node_material)

---

<div class="post-metadata">

**Author:** ![joaorodrigues](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joaorodrigues/32/8686_2.png) [@joaorodrigues](https://forum.babylonjs.com/u/joaorodrigues)\
**Post date:** [May 28, 2020, 8:51am UTC](https://forum.babylonjs.com/t/tips-and-or-documentation-to-help-working-with-advanced-mesh-manipulation/11187/3 "2020-05-28T08:51:16Z")

</div>

Thank you very much that will help me.

Maybe I am asking too much but do you happen to have some playground or docs regarding allowing the user to draw lines on a mesh?

---

<div class="post-metadata">

**Author:** ![JohnK](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/johnk/32/26764_2.png) [@JohnK](https://forum.babylonjs.com/u/JohnK)\
**Post date:** [May 28, 2020, 10:55am UTC](https://forum.babylonjs.com/t/tips-and-or-documentation-to-help-working-with-advanced-mesh-manipulation/11187/4 "2020-05-28T10:55:22Z")

</div>

gridMaterial draws lines [Grid - Babylon.js Documentation](https://doc.babylonjs.com/extensions/grid), you might be able to use the source docs referenced on this page to help create your own line drawing material.
