# Splitmesh in 3D

**URL:** https://community.freefem.org/t/splitmesh-in-3d/1170
**Category:** General Discussion
**Created:** [August 23, 2021, 3:30pm UTC](https://community.freefem.org/t/splitmesh-in-3d/1170 "2021-08-23T15:30:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yongxing](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/yongxing/32/3632_2.png) [@yongxing](https://community.freefem.org/u/yongxing)
#### Post date: [August 23, 2021, 3:30pm UTC](https://community.freefem.org/t/splitmesh-in-3d/1170/1 "2021-08-23T15:30:46Z")

</div>

In 3D, is there a similar command as 2D splitmesh() or trunc() which can locally split a mesh as shown in following figures? More generally, can we locally refine a mesh in FreeFem (without changing the elements far away) ?

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/1X/d1637304026075e14c4983c9e9756fc0800f0b05.png)

---

<div class="post-metadata">

### Author: ![yongxing](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/yongxing/32/3632_2.png) [@yongxing](https://community.freefem.org/u/yongxing)
#### Post date: [August 24, 2021, 2:35pm UTC](https://community.freefem.org/t/splitmesh-in-3d/1170/2 "2021-08-24T14:35:57Z")

</div>

I have found that

> tetgreconstruction()

could do the job.
