Nice work! Besides being "sexy" it also gives a better and clearer
presentation when shapes becomes more complex. I hope to show a
complex example in the near future (if I ever get pythonOCC compiled
on my Fedora box. This still keeps hunting me. Frustrating to see that
it compiles without a problem at a SUSE installation. Of course I am
very happy for you :).

Marco

2009/3/18 Thomas Paviot <thomas.pav...@free.fr>:
> Dear all,
>
> I just added a few other samples releated to 'topology building'. I use now
> another way to develop samples: I base my work on the OpenCascade MFC
> samples, get the C++ source code generated in a text window, copy/paste and
> port it to pythonocc. Beware to the Sandor Racz's pythonCascade samples:
> they were developed with an old release of OCC (5.x), and the 6.3.0 API
> changed a bit since this release.
>
> On the screenshot below (edge.py sample), you can notice that every shape is
> displayed in different colors: I added a "DisplayColoredShape" in the
> OCCViewer.py module: I was fed up with the default yellow color. Very simple
> to use:
> display.DisplayColoredShape(your_shape, 'RED') (I built a dict with string
> keys that avoid to import the Quantity module and use Quantity_NOC_RED_NOC.
>
> Cheers,
>
> Thomas
>
>
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
>

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

Reply via email to