For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Can openCascade export to OBJ?

rasmus si's picture
Forums: 

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.

jelle's picture

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? 

rasmus si's picture

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

Forum supervisor's picture

Dear rasmus,

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.

 

Forum supervisor's picture

Dear rasmus,

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

Patrik Mueller's picture

Hi rasmus,

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,

Patrik

Rahman Abber Tahir's picture

Hi,

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

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.