>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
> 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(..
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 ...: