-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat]: GetLocalPlacement from typescript instead of wasmModule #872
Comments
We can - but it may not do what you think - because the LocalPlace is then changed using various scalings and other things - to be the final placement. What is it you are wanting to do? |
hi @beachtom , i want to get all IfcGrid ( as i remember the library has not integrated get geometry2D yet). Now i can get all IfcGridAxis2D . but i need to move it to coordination.
|
Hi - not that won't do it. You need to run it through all the transforms. You would need to add it to the GeometryProcessor and then return it as a 2D mesh. Can you list all of the IFC types that are needed? Then I can look at it... or someone else can. Whoever gets time |
hi @beachtom when i call api.GetLineIdWithType(modelID,WEBIFC.IFCGRID) here : From each i get 1(start) and 2(end) point then i can draw a line in threejs. Looks like this : The issue is now when i get all, but they are not match with origin coordination of IfcBuilding or IfcSite. |
Can you try multiplying it by the model wide coordination matrix ifcApi.GetCoordinationMatrix(modelId) does that work? |
Well, it only worked with rotation but point did't. I have a post in community. , and here is logic (worked with rotation) |
Hmm ok - I will need to look in more detail |
What is your idea?
I'm integrating this feature. For example, i want to move a model to objectPlacement with this info :
From typescript, i can not get it, so is there any vase that wasmModule can export this. for typescript to use ?
The text was updated successfully, but these errors were encountered: