Loading Partial STEP Files for Conversion to GLB?

Hi everyone,

I'm working on converting STEP files to multiple GLB files using OCCT. One of my STEP files is extremely large (around 9GB), and my current machine isn't powerful enough to load the entire file at once.

Is there any way to load only parts of the STEP file, such as specific sub assemblies, instead of loading the whole file at once? I've been exploring options like pre-processing the STEP file to extract sub assemblies or customizing the transfer process, but I'm not sure if there’s an established approach or best practice for this.

Any advice, suggestions, or experiences would be greatly appreciated!

Thanks in advance.

Dmitrii Pasukhin's picture

Dear Amar. OCCT have ability to have partially importing of the model. But that functionality is not available from the box.

There are 3 ways - read by the roots, which are done and can be used. But usually STP file have single root. Second way - have pre-processing of the tree and then collect reading process and split it by the iterations. (any way need to have enough memory to parse whole file each of the time). Create STP separator to have single time parsing and then re-group by files.

1 option can be implemented based on available API, using STEPCAFControl_Reader::TransferOneRoot

2 and 3 require STP and OCCT experience . Here OCCT offers a few options:

1 - Technical consulting, where we will design the architecture and all the important steps - and your developers will develop the solutions based on it.

2 - Custom development fully done by OCCT team

For more details, you can contact us in the Technical Support - OCCT3D

Best regards, Dmitrii.