CSharp Import IGES Export OBJ

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.

Dmitrii Pasukhin's picture

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.

Fran Garcia's picture

Thank you very much, I will await your update eagerly.
Best regards, Fran.

Dmitrii Pasukhin's picture

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.

Fran Garcia's picture

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

gkv311 n's picture

Fran wrote:

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).

CSharp sample is intended to demonstrate one of approaches to using C++ OCCT libraries from C# application - by writing manual C++/CLI code similar to OCCTProxy. 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 extend OCCTProxy / develop your own proxy-library doing the same thing. Or you may wait until somebody will extend CSharp 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#.

Fran Garcia's picture

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.