Threaded C# in Grasshopper
Demonstrates how to speedup the SrfCP component with threads.
Files for Grasshopper 0.8:
Parameters:
- p: (points) an array of points to project
- s: (surface) surface to project onto
Outputs:
- p: (points) the points projected onto the surface
- uvP: (points) the uv location of the points on the surface
- D: (double) distance the points moved when projected
Notes:
This node demonstrates how to use threads within a C# component. It uses threads to replicate the function of the SrfCP component, and achieves on average a 2X improvement in speed by fully utilising the processor. Full explanation at nzarchitecture.
Component History:
Viewed 2238 times
Created by: @nzarchitecture, 07-May-2011 05:56 am
Last edited by: @nzarchitecture, 13-Feb-2012 04:13 am


threaded_new_C.gh