cgg-bern / quadwild-bimdf

QuadWild extended with BiMDF solver
GNU General Public License v3.0
35 stars 7 forks source link

Vector subcript out of range while running "quadrangulate" #15

Closed hongbin-y closed 5 months ago

hongbin-y commented 5 months ago

image And the stack info is : image My test model is non-manfild:

House.zip

mheistermann commented 5 months ago

Hi! Thanks for the bug report, I'll fix this crash (this can get triggered too for meshes with boundary in debug builds).

However afterwards it still won't produce a non-manifold quad mesh, that's unfortunately not supported (and non-trivial to add). The QuadWild preprocessing (from the original QuadWild, not my code) might try to fix non-manifoldness, I'm not sure - but even if so, depending on the input the results may not be what you expect.

mheistermann commented 5 months ago

Fixed! I'm getting some mesh out, not sure how useful for your purposes.

Screenshot 2024-01-29 at 13 22 36

The issues most likely stem from the non-manifoldness.