2010/4/30 Sebastian Barthmes <sebastian.barth...@googlemail.com>

> Hi,
>
> I made some representations of shapes. Is there a way to modify the color
> or even the opacity (just for visualization)?
>
> Thanks,
> Sebastian
>
>
Hi Sebastian,

To display colored shape:
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.

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

Reply via email to