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

export2obj() introduces irregular precision for x, y, z coordinates #134

Closed
Dobberzoon opened this issue Mar 14, 2022 · 0 comments
Closed

Comments

@Dobberzoon
Copy link

The function export2obj() seems to handle precision somewhat irregularly. In some cases, truncated, some not. This results in problem for later processing of obj, ie slightly inaccurate volume calculations. A snippet from a result:
v 85227.43 446522.05700000003 17.398
v 85227.43 446522.05700000003 18.578
v 85183.59 446507.93700000003 18.582
v 85183.59 446507.93700000003 17.381
v 85184.16299999999 446508.17600000004 17.381
v 85184.16299999999 446508.17600000004 18.551000000000002
v 85182.48599999999 446512.243 17.381
v 85182.48599999999 446512.243 19.294

hugoledoux added a commit that referenced this issue Mar 15, 2022
and fixed the bug where the model wasn't compressed after OBJ export

fixes #134
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