STEP Viewer with Color

abberOCT's picture

Please if anyone could guide how to import step file in openCascade and display with exact colors defined in step file.

Its urgent.

Thanks in advance :)

abv's picture

DRAW example

Start DRAW (draw.bat or or "Test Draw Harness" from Start menu), then give the following commands in its prompt (replacing "file/path.stp" by full path to your file; make sure to use direct slashes as directory separator):

pload ALL
ReadStep D "file/path.stp"
XShow D

abberOCT's picture

.Stp Viewer with Qt and Opencascade


Thanks for your reply, I meant the viewer using qt and opencascade. Just like FreeCad displays it with colors

Copyright 2011-2017
Contact us