# Mesh Generation Failed when 'Split Compound Mesh = Yes'

**URL:** <https://prepomax.discourse.group/t/mesh-generation-failed-when-split-compound-mesh-yes/129>\
**Category:** Bug Reports\
**Created:** [March 28, 2022, 5:22am UTC](https://prepomax.discourse.group/t/mesh-generation-failed-when-split-compound-mesh-yes/129 "2022-03-28T05:22:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![oxygenliu](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/oxygenliu/32/222_2.png) [@oxygenliu](https://prepomax.discourse.group/u/oxygenliu)\
**Post date:** [March 28, 2022, 5:22am UTC](https://prepomax.discourse.group/t/mesh-generation-failed-when-split-compound-mesh-yes/129/1 "2022-03-28T05:22:42Z")

</div>

whereas ‘Split Compound Mesh = No’ works fine with identical meshing parameters.

- PrePoMax 1.3.0
- Example file Pin1\_Split\_YES.pmx

[Pin1\_Split\_YES.pmx](https://prepomax.discourse.group/uploads/short-url/7md8Q0kbN8WmXKF6hqzhQ143mUo.pmx) (5.6 MB)

---

<div class="post-metadata">

**Author:** ![PhilippTheEngineer](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@PhilippTheEngineer](https://prepomax.discourse.group/u/PhilippTheEngineer)\
**Post date:** [March 28, 2022, 6:50am UTC](https://prepomax.discourse.group/t/mesh-generation-failed-when-split-compound-mesh-yes/129/2 "2022-03-28T06:50:22Z")

</div>

Please provide your sample model and parameters.  
Cheers

---

<div class="post-metadata">

**Author:** ![oxygenliu](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/oxygenliu/32/222_2.png) [@oxygenliu](https://prepomax.discourse.group/u/oxygenliu)\
**Post date:** [March 28, 2022, 8:12am UTC](https://prepomax.discourse.group/t/mesh-generation-failed-when-split-compound-mesh-yes/129/3 "2022-03-28T08:12:12Z")

</div>

Please find attached [Pin1\_Split\_YES.pmx](https://prepomax.discourse.group/uploads/short-url/7md8Q0kbN8WmXKF6hqzhQ143mUo.pmx)

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 29, 2022, 10:07am UTC](https://prepomax.discourse.group/t/mesh-generation-failed-when-split-compound-mesh-yes/129/4 "2022-03-29T10:07:31Z")

</div>

I have tested the model and I can confirm a bug. A compound mesh is created in netgen, then it is imported into PrePoMax where it is converted to a parabolic mesh and after this, a splitting procedure inside PrePoMax divides the mesh. The problem is obviously in the splitting procedure. I will investigate this further.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 29, 2022, 4:12pm UTC](https://prepomax.discourse.group/t/mesh-generation-failed-when-split-compound-mesh-yes/129/5 "2022-03-29T16:12:24Z")

</div>

I have fixed this problem and I am closing this topic. The fix will be included in the next release version.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 29, 2022, 4:12pm UTC](https://prepomax.discourse.group/t/mesh-generation-failed-when-split-compound-mesh-yes/129/6 "2022-03-29T16:12:29Z")

</div>


