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 draw.sh 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

Hi,

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

www.opencascade.com

Copyright 2011-2017
OPEN CASCADE SAS
Contact us