Forum archiveIssue archiveOther usage issues

Archived discussion

Can openCascade export to OBJ?

Other usage issuesWed, 10/28/2015 - 12:216 replies

Browse this forum
QuestionAuthor

Hello, Im wondering if it is possible to export to a .OBJ file? This old post says there is an extension for it?
http://www.opencascade.com/content/wavefront-obj-file

I have not been able to locate it in the source code if it is there. What I want is to make a FBX to OBJ converter and I dont know what to do after I've imported and read the FBX file.

Discussion

6 archived replies

Posts are displayed in their archived order.

01Commenter-1

Possible OCC might not the best tool for the job, since neither format is supported out of the box. Assimp supports both obj and fbx, so your changes might be better over there? 

02Author

Sorry I meant STEP, not FBX. And Assimp doesnt support STEP as far as I know.

03Commenter-2

Dear Author,

In addition I would like to inform you that OCC CAD Assistant (for Android & iOS only, see http://www.opencascade.com/content/cad-assistant) is a good example of application that can read STEP and export to OBJ. You can download and test it.
In case if you will find it intersting contact us via the  Contact Form - http://www.opencascade.com/contact.
We are ready to help you and develop a solution exactly for your needs on the basis of CAD Assistance.

Best regards

FSR.

 

04Commenter-2

Dear Author,

Open CasCade Mesh Framework (OMF - http://www.opencascade.com/content/mesh-framework) supports writing to OBJ format.

In case of need you can contact us via the Contact Form (http://www.opencascade.com/contact).

Best regards

FSR

05Commenter-3

Hi Author,

take a look here: http://sourceforge.net/projects/salomegeometry/

It contains an OBJ exporter. Should be easy to use without SALOME Geometry.

As a remark: it just writes out the geometry. if you need colors too, I'll recommend study this code and do a converter depending on the STEPCAF_Reader!

Greets,

Commenter-3

06Commenter-4

Hi,

Can some one please share code for converting a AIS_Shape into .Obj file using smesh?