Bryan Cole a écrit : > Now I've got an XDE-compliant document going, I'm trying to figure out > how to display it in a viewer (colors and all). Can anyone give me some > tips? > > I can use the Viewer3d.DisplayColoredShape() method to do this manually > but I'm hoping there's an easier way. >
Byran, I also work on the same issue. I currently get shapes from ocaf and use DisplayShapes(). It seems it's possible to render an ocaf document by using XCAFPrs and TPrsStd OCC packages. You can have look at this thread on the OpenCascade forum: http://www.opencascade.org/org/forum/thread_15706/ or explorer the OCAF MFC sample that comes with OCC6.3.0 distribution. > thanks, > Bryan > Thomas _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users