Convert stp to png with command line

Hello, I need to convert files step / stp to PNG. The transformation has to be in command line. Is it possible?

Thanks you very much,

Kirill Gavrilov's picture

Sure, OCCT provides STEP reader and 3D Viewer.
If screenshot is all you need - this can be even done using existing Draw Harness application (DRAWEXE) by writing a tcl script:
https://dev.opencascade.org/doc/overview/html/occt_user_guides__test_har...