XbimGeometry icon indicating copy to clipboard operation
XbimGeometry copied to clipboard

IfcSweptDiskSolid trimming (#50)

Open gyorm opened this issue 2 years ago • 2 comments

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!

gyorm avatar Apr 24 '23 13:04 gyorm

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

andyward avatar Apr 25 '23 11:04 andyward

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!

gyorm avatar Apr 25 '23 13:04 gyorm