Hi , so i wrote a step to glb converter and tried it out on some step files and it works really well .
I then tried some more consistent files and found out that the STEPCAFControl_Reader class can't read them , i although found out that STEPControl_Reader can read them so i had the idea to convert the main step file to many sub files (and preserving the hierarchy) , convert them to glb and then merge the glb files .
Do you know if there is another way to do this ?
help would be really appreciated .
Discussion
5 archived replies
Posts are displayed in their archived order.
01Commenter-1
It is unclear, on what kind of STEP files you have issues - sharing a model may clarify this.
Regarding STEPControl_Reader/STEPCAFControl_Reader - they both rely on the same STEP reader, so that they should fail/not fail consistently. The latter one converts not only a geometry, but document structure. If it crashes / fails then it is probably a bug.
My apologies . It turns out that i used compromised step files . The files i used were shared via microsoft teams . ( do Microsoft even do checksums .. )
My apologies again and thank you
05Commenter-2
This brings up a good point about file serialization - does STEP include a checksum to ensure validity?