Wed, 11/13/2024 - 14:13
Hi, new here.
I've been trying to do some format conversions based on what CAD Assistant can do. I've done some tests using the CSharp sample but I can't do the OBJ conversion as it doesn't appear in the enumeration (BREP, STEP, IGES, VRML, STL, IMAGE). Do I need to update the OCCTProxy or is the OBJ conversion not possible with C#?
Any and all pointers would be appreciated.
Thanks and regards.
Thu, 11/14/2024 - 14:56
My apologies, I will return to you with some C# DE Wrapping functionality. It will handle all format and will be able to catch the commercial OCCT data exchange components.
I will change a little update the sample soon (current week, probably weekends).
Best regards, Dmitrii.
Fri, 11/15/2024 - 12:36
Thank you very much, I will await your update eagerly.
Best regards, Fran.
Mon, 11/18/2024 - 17:57
My apologies, will be a little delayed (will be ready soon). It will be a DE_Wrapper-Sample open source lib update with C# extension (cross platform). But it is only for DE conversion. Anything ahead is on CSharpWrapper.
Wed, 11/27/2024 - 12:24
Hi, thank you for the help. Is it done, and if it is, where do I find it in the git repo?
Kind regards,
Fran
Fri, 11/15/2024 - 16:43
Fran wrote:
CSharp
sample is intended to demonstrate one of approaches to using C++ OCCT libraries from C# application - by writing manual C++/CLI code similar toOCCTProxy
. This approach is not limited to particular OCCT functionality, but sample itself demonstrates only a small fraction of OCCT capabilities.So that, practically speaking, extending
OCCTProxy
would require both C++ and C# expertise. Just find a C++ sample that could read OBJ file in OCCT, and you should be able to extendOCCTProxy
/ develop your own proxy-library doing the same thing. Or you may wait until somebody will extendCSharp
sample ;)...However, if you are looking into developing application solely in C#, and don't want to deal with OCCT API in C++ directly, then you better consider existing C# wrappers over OCCT that make accessible a wide range of framework API directly in C#.
Wed, 11/27/2024 - 12:26
I'll probably try what you say of using a C++ sample that does the conversion to OBJ and adding it to the Proxy.
Thanks for the suggestion and kind regards,
Fran.