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
In this example the coordination matrix is supplied to the load function on Fragment, but this function only takes two arguments load(geometryURL: string, dataURL: string).
Actually, what I was after was to be able to place multiple models in the same coordinate system. For this use case, it is probably better to just make sure that the same coordination matrix is used in all models and then when loading the fragments they are all just placed as is. Or what do you think?
Hey, sorry for the late reply. Well, when you convert IFC to fragments, the coordination matrix is the transformation that was applied to the IFC to bring the geometry to the center of the scene. Therefore, to align model B to model A, you will need to:
Apply the inverse of matrixB to B
Apply the matrixA to B
Nevertheless, coordination might be more complex than this, requiring extra transformations on top of this, so we will likely create a component to handle this more or less automatically.
agviegas
changed the title
Coordination matrix is not applied
Component to easily handle the coordination of multiple models
Jun 12, 2023
In this example the coordination matrix is supplied to the load function on Fragment, but this function only takes two arguments
load(geometryURL: string, dataURL: string)
.https://github.com/IFCjs/components/blob/278bab5592e6875f0a7128823790a90c65d9e41b/examples/fragment-loader.html#LL115C5-L115C5
The text was updated successfully, but these errors were encountered: