# Shell mesh from Stl files can not maintain model edge (Gmsh)

**URL:** <https://prepomax.discourse.group/t/shell-mesh-from-stl-files-can-not-maintain-model-edge-gmsh/1423>\
**Category:** Bug Reports\
**Created:** [January 18, 2024, 5:26pm UTC](https://prepomax.discourse.group/t/shell-mesh-from-stl-files-can-not-maintain-model-edge-gmsh/1423 "2024-01-18T17:26:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [January 18, 2024, 5:26pm UTC](https://prepomax.discourse.group/t/shell-mesh-from-stl-files-can-not-maintain-model-edge-gmsh/1423/1 "2024-01-18T17:26:09Z")

</div>

i get different result when meshing of shell from Stl files, latest development version (v2.0.2) with Gmsh mesher option can not maintain model edge. The corner edge is not sharp as original model.

 ![2024-01-19 00_18_46-](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/f/f239d57d940c70a3a2f01c8df8b7f558c53de29c.png)

![2024-01-19 00_15_05-Edit Mesh Setup Item_ Meshing_Parameters-1](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/7/712deca03c0ec1ef90e6d0248ecbce2209f3f649.png)

 ![2024-01-19 00_19_05-](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/4/45cbb0cd0975a50dee1591b7c540ce7f4546ad16.png)

this is normal and given mesh result as expected in previous stable versions (v2.0.0), probably some codes incidentally changes or maybe another reason.

 ![2024-01-19 00_22_29-](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/f/f3cc6e4a9bdf8ac0a6dec6d88764cf1e69b8da74.png)

---

<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:** [January 18, 2024, 8:39pm UTC](https://prepomax.discourse.group/t/shell-mesh-from-stl-files-can-not-maintain-model-edge-gmsh/1423/2 "2024-01-18T20:39:59Z")

</div>

I did test some settings, so ti might be a bug. Can you share the model, please?

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [January 18, 2024, 9:44pm UTC](https://prepomax.discourse.group/t/shell-mesh-from-stl-files-can-not-maintain-model-edge-gmsh/1423/3 "2024-01-18T21:44:30Z")

</div>

thanks for look up to the problem and concerning to further investigate, below an attachment of example files.

[stl\_shell.pmx](https://prepomax.discourse.group/uploads/short-url/5OsF8ddZrGMhwDQPPmMPSGyGWip.pmx) (62.0 KB)

---

<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:** [January 19, 2024, 10:02am UTC](https://prepomax.discourse.group/t/shell-mesh-from-stl-files-can-not-maintain-model-edge-gmsh/1423/4 "2024-01-19T10:02:07Z")

</div>

Thank you for the model. I have fixed the problem.

---

<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:** [June 2, 2024, 5:27pm UTC](https://prepomax.discourse.group/t/shell-mesh-from-stl-files-can-not-maintain-model-edge-gmsh/1423/5 "2024-06-02T17:27:32Z")

</div>


