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

GLTF and GLB import in open cascade

Penko Ivanov's picture


I would like to evaluate the import for some gltf and glb files in open cascade. I saw that in TKRWMesh module there is an interface for reading gltf (not sure if glb is suported). Is there any example in open cascade sources of its usage? Can you provide some code snippet for that?  Looking at the ImportExport mfc sample it looks like a good hook to test the gltf import there (the example already support BREP, STEP and IGES import). Thanks in advance.


Kirill Gavrilov's picture

If you need just evaluating glTF reader - you may check CAD Assistant or Draw Harness:

ReadGltf D PathToGltf.glb
XDisplay -dispMode 1 D

And yes, glb files are supported.

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.