algorithmic modeling for Rhino
I have a toggle that activates two components. The first component bakes points in the rhino environment. The second component (a vb script) then uses these baked points and creates a mesh. I therefore need the second component to be activated say 5 seconds after the toggle is activated. I have used the timer but this results in multiple meshes being created as the second component is activated by the timer.
I have tried using the meshfrompoints C# component but the problem is when the number of points exceed 1000, it tends to slow the process down.
I attach a screenshot to explain what I am trying to do.
Regards
WT
Tags:
hi,
you may try the data dam component
You may check this one too:
http://www.grasshopper3d.com/forum/topics/set-store-and-refresh-an-...
Cheers,
Raul
Why 5 seconds? Can't the script run as soon as the other one finishes?
Or, for that matter, why not combine the Bake and MeshFromPoints code into a single script. That way you can bake the points, select the points, run the command, delete the points, harvest the mesh geometry, delete the mesh and return the geometry out of the script component.
Sure it would take a couple dozen lines of code instead of 3, but it would make the whole thing entirely automatic and contained.
Isn't the time all spend inside the _MeshFromPoints command? Adding points should be a fairly quick operation, especially with the viewport redraw switched off. I think the command is simply slow and there's nothing you can do about that.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by