xBimTeam / XbimGeometry

XbimGeometry contains the CLR interop libraries and the c++ engine used to compute the 3D geometry of models.
https://xbimteam.github.io/
Other
255 stars 128 forks source link

IfcSweptDiskSolid trimming (#50) #423

Open gyorm opened 1 year ago

gyorm commented 1 year ago

Hi!

I'm experiencing the bug described in #50. If I switch the parameters from deg to rad in the IFC manually, it works fine.

So far, I have tried using the latest NuGet version, I have downloaded, and compiled the development, and the master branch, nothing has worked so far. Can somebody point me to a version where this is fixed, if it is?

Thank you in advance!

andyward commented 1 year ago

Can you supply a test case? That #50 issue is closed and seems fixed in master, so there may be another issue.

gyorm commented 1 year ago

I can:

  1. assuming Xbim Xplorer uses the fixed version, load the following IFC: rebar_isolated.zip

  2. verify that the bending is displayed asymmetric at the top part. image

  3. Edit the ifc file manually: Perform deg to rad conversion in the sweptsolid parameter. The bending will be displayed correctly, after re-opening the modified IFC. image

Here is the manually edited ifc: (it's completely the same, only the mentioned conversion has been performed in the sweptsolid parameter) rebar_isolated_modified.zip

Correct display using the radian parameter: image

It is exactly the same problem described in #50 as far as I can see!

Thanks for looking into it!