ThatOpen / engine_web-ifc

Reading and writing IFC files with Javascript, at native speeds.
https://thatopen.github.io/engine_web-ifc/demo
Mozilla Public License 2.0
611 stars 186 forks source link

[Bug]: Data from flatTransformation returns shifted values since 0.0.51 #850

Closed hellghostx closed 4 months ago

hellghostx commented 4 months ago

What happened?

For a given model with several meshes (cca12) all meshes have wrong data for their geometries. Or rather shifted by a half of their length. Here is example of one of such geometry where first tube is correct and others are shifted by half of their length to the right.

obrazek

I have tracked data from flatTransformation of geometry and there I was able to see this shift as well.

This behaviour started after upgrade from 0.0.47 into 0.0.51 and is still present in 0.0.54.

Also model from issue #420 is rendered like this:

obrazek

Version

0.0.51-0.0.54

What browsers are you seeing the problem on?

Firefox, Chrome

Relevant log output

No response

Anything else?

No response

beachtom commented 4 months ago

Is it happening on the demo live on this repo right now? Or can you share the IFC file can I can check?

hellghostx commented 4 months ago

Is it happening on the demo live on this repo right now? Or can you share the IFC file can I can check?

Demo is loading the model correctly. I am not sure if you run master or 0.0.54 on the demo since there is no version in console anymore. If you want model I can share it via email or you can use the model which I have already sent you for #420

beachtom commented 4 months ago

ok great - that means it should work with the next release