I would like to to turn surfaces and volumes in an i-model into meshes. Is there some way to do that using the i-model SDK?
Hi Peter,
in my opinion it's not possible, I guess i-model SDK was developed to access (or create) i-model content, not to process it. At least I don't see anything close to triangulation in SDK documentation, on the other hand DSK contains plenty of undocumented assemblies (like Bentley.GeometryNET) that maybe provide necessary functionality.
Personally I prefer to use documented API only, so my recommendation is to find some open source NET library with Delunary triangulation functionality (I am pretty sure there are more such libraries available, despite of even more are written in C/C++) with proper documentation and examples.
Maybe somebody from Bentley will be able to provide better insight what can be done using Desktop i-model SDK.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hi Peter Graham (and Jan),
Artur Goldsweer is currently working on a simplified iModelExplorer (text output) example and has been able to make some good progress over the past day. Let us see if he can extend his example to be more specific to various Cell and Solid types and provide MeshElement details. We will keep you posted.
HTH,Bob (and Artur)
Any updates on this?
or does anyone have an alternate solution that doesn't require using a 3rd party modelling library? We are also looking into doing the same thing.