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

lsMakeGeometry fails for cylinder with small grid delta using float #69

Open
tobre1 opened this issue Aug 19, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@tobre1
Copy link
Member

tobre1 commented Aug 19, 2021

lsMakeGeometry produces a wrongly meshed cylinder when using a grid delta < 0.5 and floating point single precision.
The problem stems from the function lsConvexHull, which does not work well with multiple points lying on the same plane.

Possible solution: create simple mesh manually for the cylinder.

@XaverKlemenschits
Copy link
Member

This problem was NOT fixed in #70, since the problem stems from a numerical issue during lsFromSurface mesh, which determines a point lying outside the cylinder as inside and thus creates a faulty level set.
This is not a problem for double precision though.

@XaverKlemenschits XaverKlemenschits added the bug Something isn't working label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants