hi Dave, this was an issue with occ.utils.topology.py, which has been fixed in the SVN some time ago. it would be best if you can upgrade to: http://pythonocc.org/Releases/daily/pythonOCC-PDE2009.win32-py2.5.exe
cheers, -jelle On Wed, May 6, 2009 at 4:05 AM, Dave Cowden <dave.cow...@gmail.com> wrote: > Hello, everyone: > > I could use some assistance. I know little about swig and subtle python/c++ > binding details, but I suspect some subtle thing I'm doing wron g is kicking > my butt. > > I am getting 'hard crashes' when I attempt to store object proxies into a > list. > > Attached is an example script. in the script, I do the following steps: > > (1) create a box > (2) dump the topology, using a function that will print the object tree-- > solid, then faces, then wires, then edges. this works > (3) iterate through the box finding the faces, and print them out one at a > time. this also works > (4) use the same code as (3), but instead of directly using the objects, put > them into a list, and return them > (5) attempt to loop through the list, dumping the them exactly as in (4). > > in step 5, i get a hard crash every time. it seems like the object proxies > are going out of scope or something. I'm completely lost. > > Can anyone else duplicate these results, and/or tell me if i'm doing > something obviously wrong? > > Platform: windows xp > occ version 6.3.0 > pyocc version wo0.2 ( from prebuilt binaries ) > > as always help is appreciated. > _______________________________________________ > 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