Seeking Assistance for Implementing Object Transformation Features in C++ With IfcOpenShell #4079
Replies: 1 comment 1 reply
-
I think you have two options: either use C++ and compile to WASM, but also consider this https://github.com/IfcOpenShell/wasm-preview/ which allows you to use the full extent of all python code from within JS, which might really be beneficial if you consider using the high level editing functionality. Over time we'll likely find ways to make the pyodide approach lighter. Most of the high level python code doesn't have a direct equivalent in C++, but would require reimplementing it using the low-level entity instance manipulation that the C++ ifcopenshell library offers. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently aiming to develop a utility feature that manipulates IFC files directly using IfcOpenShell.
I am interested in adjusting the dimensions and scale of specific objects through C++ code. My goal is to convert the relevant code to WebAssembly (wasm) and execute this on a web platform.
In my research, I noticed that the BlenderBIM tool seems to offer this functionality through its transform feature, being able to adjust scale and dimensions. However, it appears that this feature is implemented in Python.
I am seeking advice on identifying the corresponding C++ code. I have attempted to peruse the BlenderBIM source code, however, it is rather difficult to ascertain exactly which code corresponds to this feature.
I would greatly appreciate any advice or guidance you could provide.
Beta Was this translation helpful? Give feedback.
All reactions