Re: [Pythonocc-users] speed up display of some 1000 wires

2010-08-10 Thread Free Cad
>1) display.DisplayShape can also take a list of shapes >2) use display.DisplayShape(aShape, update=False) > >That should speed thing up dramatically. It does :-) ___ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo

Re: [Pythonocc-users] speed up display of some 1000 wires

2010-08-10 Thread Jelle Feringa
> the display of some 1000 wires, each consisting of about 5-20 edges is very > slow. > My code is structured as follows: > > -- > display, start_display, add_menu, add_function_to_menu = init_display() > > wires=[] > while True: > wires.append(BRepBuilderAPI_MakeWire(..

[Pythonocc-users] speed up display of some 1000 wires

2010-08-10 Thread Free Cad
Heya, the display of some 1000 wires, each consisting of about 5-20 edges is very slow. My code is structured as follows: -- display, start_display, add_menu, add_function_to_menu = init_display() wires=[] while True: wires.append(BRepBuilderAPI_MakeWire(...) if ...: