Hi,
I am struggling with slow Rhino add methods. The redraw function is run only once at the end.
The curves are simple rectangle polylines, each call of rhino of AddCurve or AddMesh takes about 10ms.
doc.Objects.AddMesh/AddCurve per object — 2400 × ~10ms = 24s
Is there anything we can do to make it fast? Does it make more sense to write geometry to 3dm and import that ?
- file3dm.Objects.AddCurve(curve, attr) — for polylines
- file3dm.Objects.AddMesh(mesh, attr)
- file3dm.Objects.AddPoint(point) — for points
- file3dm.Objects.AddBrep(brep, attr) — for breps
- file3dm.Objects.AddSurface(surface, attr) — for surfaces
Why rhino does not support adding collections?