I am trying to display a list 1600 polylines in compas_view2.
But display is very laggy. What can I do to speed up the preview (no computation in happening is python itself for this code)?
This is my first try using compas_view2, so I am sure I can do something wrong.
I just add polylines to the viewer:
import compas.geometry as cg from compas_view2.app import App from compas.geometry import Polyline from compas.geometry import Point from PolylineSetAnnen import GetAnnenPolyline viewer = App() for p in GetAnnenPolyline(): viewer.add(p) viewer.run()