Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to do when input triangle quality is too bad? #260

Open
jdumas opened this issue Apr 15, 2024 · 0 comments
Open

What to do when input triangle quality is too bad? #260

jdumas opened this issue Apr 15, 2024 · 0 comments

Comments

@jdumas
Copy link
Contributor

jdumas commented Apr 15, 2024

Hi. I often encounter situations where trying to run mmgs to remesh a bad triangle mesh hits a snag at the following assertion:

Error: MMG5_minQualCheck: too bad quality for the worst element: (elt 21790 ->    0.000000e+00)

Which is ironic because the reason I want to run my mesh through mmgs in the first place is that I have bad quality elements that I want to fix...

What would be your suggested way of dealing with this issue? Can you point me to the code calculating element quality so I can try to filter them beforehand? I'm afraid it would leave holes but maybe that's not an issue for mmgs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant