Hi thomas, I've seen that you made a many commits recently relative to SimpleGUI, I have updated pythonOcc trunk to the last revision. It seems that many samples have don't work anymore. To be accurate if for example I call >>python Level2/PAF/test_box.py it wil throw me "" from OCC.Display.SimpleGui import start_display, display ImportError: cannot import name start_display "" the same for Level1/Mesh/simple_mesh.py Level1/Animation/animation.py and I guess many others (didn't try all of them).
I also have a related problem with other scripts like Level1/Dimensions/dimensions.py where there si first a statement: >> from OCC.Display.SimpleGui import * and then at some point >> display.Context.Display(ais7.GetHandle()) Then I get the following error: ""NameError: name 'display' is not defined"" Are the samples uptodate and I simply did something wrong? Cheers, Loïc
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users