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

Tessellation is done in floats, resulting in loss of precision #113

Closed
AlainBolduc opened this issue Oct 23, 2017 · 5 comments
Closed

Tessellation is done in floats, resulting in loss of precision #113

AlainBolduc opened this issue Oct 23, 2017 · 5 comments
Labels
bug Confirmed bug in progress
Milestone

Comments

@AlainBolduc
Copy link

Hi XBim Team,

one of our colleagues made a pull request to fix an issue where some prcision was lost when the project units are in milimeters.

Is it possible for you to take a look to his pull request (PR #103)?

Some customers are waiting or this fix, so it is important to us!

Thank you very much!

@martin1cerny
Copy link
Member

Merged now.

@CBenghi CBenghi reopened this Oct 30, 2017
@CBenghi
Copy link
Member

CBenghi commented Oct 30, 2017

Hi @AlainBolduc, @martin1cerny ,

I think this merge might break the format, I've not got a lot of time to check right now, but there are a couple of unit tests that fail after the merge.
We probably need to have a more comprehensive look at the changes, as we must retain compatibility of the xbim formats that other people have already produced,

I think we need to store in the model information that differentiates the float vs. double size.

The tests that fail are:
Test Name: GeometryBinaryRead
Test Name: ReadAndWriteWexBimFile

Claudio

@hansmei
Copy link

hansmei commented Mar 6, 2018

Bump, any official release to support this yet?

@martin1cerny
Copy link
Member

Did you try the latest develop branch? It should be fixed in there.

@andyward andyward added this to the 5.0.0 milestone Nov 8, 2018
@andyward
Copy link
Member

Fixed in 5.0

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

No branches or pull requests

5 participants