autodesk viewer – How are units of converted IFC files handled
I’ve got two IFC models. One is in meters and the other in millimeters. It seems as though if I submit a translation job to SVF2 to developer.api.autodesk.com/modelderivative/v2/designdata/job no processing on units is done.
So following the basic viewer tutorial here: tutorials.autodesk.io/tutorials/simple-viewer/viewer – this means that one model is 1000x smaller/larger than the other.
How are unit differences meant to be canonicalised? I see this question Loading models with different units into Forge viewer from 2019 which suggests I could change it viewer-side with an undocumented function but I don’t know how to use this for the latest viewer (7.*).
In addition, if I had to write code / options to scale it viewer-side, what call can I make to retrieve the units?
Sample models to help testing:
- FZK-Haus sample model (meters) lendlease-my.sharepoint.com/:u:/p/dion_moult/EUcZq9MzOoNJkyJad1X3q6cBvkt7vNR6dTZ3fFHKK26llA?e=jWHt1C
- RAC sample model (millimeters) lendlease-my.sharepoint.com/:u:/p/dion_moult/EVHJilz9QalAmBjwBoceJvoB6-4co0__zNW0lpQT4p_wuA?e=feDztx
- RAC sample model (meters) lendlease-my.sharepoint.com/:u:/p/dion_moult/EZURKxHFCplOloBeiz94NvABzTIiyCX0pZuHnR-1bk5y9Q?e=wGSb6N
Read more here: Source link
