It's been a while, but i'm back to work on my slicer project finally.

Hi Dave,

Good to have you back ;')

i have made good progress the last couple of days-- i hope to upload what I have soon. i have sliced a shape and viewed in a viewer window ( thanks for samples, Thomas!).

Great, did you see the parallel slicer we made?
Its using all the computational capacity available; useful when slicing more complex objects.

What I would like to do is provide a '2-d' display of a slice when it is selected. The default 3d viewer prints "Something Selected" in the console. I was unable to find the documentation for the Viewer3d class, which is where i think I would override the appropriate method.

Yes indeed.
You basically need to add another display window, where in the other window you'd show the element from the Top view. It can be easily implemented with a callback, such that when an object is selected this Top view is cleared and showing the selected object.

 Where could I find the documenation for this class?

I don't think its particularly documented, but the module is pretty simple.
Let us know if you have particular questions.

I encourage you to have a look as well on the work that Bryan Cole did ( samples/Level2/OCAF ).
Traits ( enthought.com ) meshes really well with pythonOCC.

Cheers,

-jelle


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

Reply via email to