Hi Thomas,

Thanks for looking into this.  I'm afraid I over-sold the fix.  I'm seeing 
Segmentation Faults when I close a window under ipython.  It works fine until I 
close.  I was about to advise not using it until I saw your latest post.  I'll 
try it some more this weekend.  However, if this was hard to get working across 
all platforms, and if you want to release 0.6 soon, it may be better to wait.

If you recall my August 2012 posts, I actually was using 2D visualization.  I'm 
afraid I missed your user query.  However, it was never much good without 
AIS2D_Presentation.  I found a workaround for drafting-level 2D drawings by 
calling HLRAlgo within a 3D window, outputting the generated lines as 3D Wires 
and displaying them on a 3D window.  Because AIS_Presentation is available in 
Linux pythonocc, I can adjust line color, weight, and type.  So, to make a long 
story short, removing 2D visualization is now okay with me too.  I can 
visualize 
2D in a 3D window.

This brings me to my final point: I've been working on a Level 2 pythonocc 
wrapper for sometime now.  It's capabilities are slightly beyond Runar's 
published occmodel and considerably beyond Jayesh's published Cadmium.  
Nevertheless, it's still limited in comparison to the entire OCC library.  It's 
a python-only wrapper to pythonocc--no C code.  I actually moved my viewer from 
wx/qt to gtk, because that's the windowing system that I'm most comfortable 
with.  Yes, pythonocc does work with gtk.  Threads also seem to be considerably 
more stable in it, for some reason.  I'll release it once it's fairly strong.  
It seems like these alpha opensource projects don't gain traction if released 
too soon.  If you or any other pythonocc user would like to see it in its 
current alpha stage, I'm happy to zip it up and send a copy.  Anyway, all 
that's 
to say that I don't care too much if the OCCViewer.py fix doesn't make the cut; 
I'm using a viewer that's independent of the Display/ and Visualization/ 
modules.  I only thought others may benefit from my findings.

Thanks for all your work.  I really appreciate you.

- Charles





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

Reply via email to