> display.DisplayColoredShape(a_topods_shape, the_color)
>
> the_color is a string which can take the following values :  
> 'WHITE','BLUE', 'RED', 'GREEN', 'YELLOW', 'CYAN', 'BLACK', 'ORANGE'
>
> Nothing was implemented on top of OCC regarding opacity.

Its easy ( and useful ) to set the transparency:

     offB = display.DisplayColoredShape(S2, 'BLUE')
     display.Context.SetTransparency( offB, 0.3 )


-jelle

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to