Convert with command line

Hey guys,

 

I need to convert some STEP-files in OBJ or OFF files. I just found this great program "CAD Assistant" that is able to do so on this website. Since I need to convert several hundreds it would take much time to convert them manually. Is there an easy way to convert the files with the command window or something like that? I would really appreciate an answer, since I need this for my bachelor's thesis (I got files from a company in the wrong format and I really need those files :D).

 

Best

Fabian Ohm

John Bijnens's picture

I don't think you need or want OpenCascade to do this. OpenCascade is a CAD kernel and is a programmers library that you can use in your own C/C++/Python programs.
I think what you need is something like FreeCAD that uses OpenCascade. FreeCAD is an open source CAD system build on top of OpenCascade.
You could take a look at https://forum.freecadweb.org/viewtopic.php?t=2642

Best regards,

    John Bijnens

fabian.ohm_149535's picture

Thank you very much, I will look into it :) .

Kirill Gavrilov's picture

The batch conversion using CAD Assistant is currently offered only to commercial users.
https://www.opencascade.com/content/cad-assistant

jiangming_chen_152611's picture

Hello,
Im wondering if it is possible to convert a .IGES file to a .OBJ file in my own application? only call several functions in DLL you have provided.
I only need the convertion function.
Thank you!

nicola basso's picture

Hello,
I want to convert a .IGS file a .OBJ file.

I used this command: OccCad2Obj.exe "inputFile.igs" "outputFile.obj" -groupByColor 1

But it generates an .OBJ file without color.
How can I do it?

Thanks a lot.
Best Regard,
Nicola