For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

shading with Draw

Anonymous's picture
Forums: 

Hello I have computed the intersecting shape between two cylinders. I would like to display it with shading. I use HLRBRep_Algo to compute hidden lines but i don t know how to display this shape seen with shading. Thanks for your answer.

philippe poncot's picture

There is a Viewer Test Harness named AISViewer . It allow to use Draw with a V3d_Viewer . To use it : in the Draw Context :

vinit ;;; Create a Viewer

vdisplay myObject

( for example : box myObjext 12 34 56 )

to see available fonction for Viewer , use :

help v

in the Viewer , tape S to use the shading mode

Hopes it help you

Philippe

Jerome DUFAURE's picture

thanks for your help but in Draw I can t use vinit When I use help v , vinit function does not exist best regards Jerome

philippe poncot's picture

The " vinit " command is only available in in the :

Viewer Test Harness ( the executable is named AISViewer )

This fonctionnality is not available in Topoloy Test Harness ( named Draw ) or Data Exchange Test Harness

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.