# Meshes won't process in SPHARM-PDM Generator

**URL:** <https://discourse.slicer.org/t/meshes-wont-process-in-spharm-pdm-generator/18085>\
**Category:** Support\
**Tags:** spharm-pdm\
**Created:** [June 11, 2021, 9:47pm UTC](https://discourse.slicer.org/t/meshes-wont-process-in-spharm-pdm-generator/18085 "2021-06-11T21:47:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![quan](https://avatars.discourse-cdn.com/v4/letter/q/7cd45c/32.png) [@quan](https://discourse.slicer.org/u/quan)\
**Post date:** [June 11, 2021, 9:47pm UTC](https://discourse.slicer.org/t/meshes-wont-process-in-spharm-pdm-generator/18085/1 "2021-06-11T21:47:12Z")

</div>

Hi!! I’m trying to run a few meshes through the SPHARM-PDM generator. My process is as follow:

1. Import .stl files
2. Convert .stl to binary label map .nrrd
3. Input the .nrrd into the SPHARM-PDM generator pipeline
4. Change some settings (Subdivision level and SPHARM deg)
5. Run  
While this process works for some meshes, others just run for a long time without finishing. I have cells run for more than 5 hours with no result.

The pipeline generates 3 output folders for each corresponding step: Post Processed Segmentation, Generate Mesh Parameters, and Parameters to SPHARM Mesh. I’ve observed that the folder gets filled out in the order of the step finishing. I think the software might be stuck on the “Post Processed Segmentation” step since this folder is empty for all non-working cells.

The meshes that cannot be processed seem to have a Y-shape or very complicated structure, seen below.

Any help is great! Thank you.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/a/0a19da3b934370be2b6539d5a7b9ab15b878f5b8.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/b/ab2b17dd194cba30520946bcfc562f48a3666cf3.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/a/3a7dc05cadfeaf5c3c9149f0bcc716a67a84759e.png)
