On Thu, 2009-04-30 at 11:42 +0200, Jelle Feringa wrote:
> > Just updated the FeatureTreeDemo in SVN. My understanding of TNaming
> > has
> > improved (one should track shape faces, rather than edges). It's now
> > much more robust. Let me know if you experience problems.
>
> What's strange is that it seems that we're not glancing the same
> program?
> Is your SVN confused perhaps?
> When I launch the script, it fails to solve for an edge:
>
> File "/Volumes/DATA/Src/OCC/pythonocc/pythonocc_SVN/samples/Level2/
> InteractiveFeatureTree/occ_model.py", line 103, in _get_shape
> shape = self.execute()
> File "/Volumes/DATA/Src/OCC/pythonocc/pythonocc_SVN/samples/Level2/
> InteractiveFeatureTree/occ_model.py", line 392, in execute
> raise Exception("Failed to solve for edge")
> Exception: Failed to solve for edge
>
> Weird, right?
Yes, weird. I've just checked, by current version is r312 in SVN. All
works fine for me. You can verify you're using the right file: look in
occ_model.py, all the update_naming methods should now be using faces
rather than edges.
What version of Traits are you running? I wonder if this is something to
do with trait change handler execution order (could be GUI / traits.ui
related, although you're using WX/wxGTK same as me).
Bryan
>
> -jelle
>
> _______________________________________________
> Pythonocc-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/pythonocc-users
--
Group Leader, Technical Development Group - Teraview Ltd.
Platinum Builiding, St. John's Innovation Park, Cambridge CB4 0WS, UK.
tel: +44 (0)1223 435386, fax: +44 (0)1223 435382, web: www.teraview.com
Registered Number: 04126946, VAT Number: 770 8883 84
...prefered document formats: ODF (ISO/IEC 26300:2006), PDF
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users