You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears BSpline representations aren't working across a handful of test files I've tried. I've sent the test files to @beachtom but they are below for reference:
What happened?
It appears BSpline representations aren't working across a handful of test files I've tried. I've sent the test files to @beachtom but they are below for reference:
Link 1: https://github.com/buildingSMART/IFC/blob/master/Examples/Advanced%20geometric%20shape/Examples/Basin%20advanced%20brep/File.ifc
Link 2: https://github.com/buildingSMART/IFC/blob/master/Examples/Advanced%20geometric%20shape/Examples/Cube%20advanced%20Brep/File.ifc
I'm currently doing a deep dive in trying to identify the issue, so far I've noticed this:
It appears BSplineSurface.WeightPoints are set here: https://github.com/IFCjs/web-ifc/blob/689fde101c807a0b8474f014561f153a1a637722/src/wasm/geometry/IfcGeometryProcessor.cpp#L1383
But in TriangulateBspline, it is trying to iterate over the "Weights" field, which is never set as far as I can tell: https://github.com/IFCjs/web-ifc/blob/689fde101c807a0b8474f014561f153a1a637722/src/wasm/geometry/operations/mesh_utils.h#L623
Will update as I glean some more information.
Version
Latest
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: