ider and a list item component to select a particular brep A or B or C, without selecting a particular breq inside each of them?
It seems the merge function will merge all the breqs inside each of the breps into one flattened list ...…
I don't think I know what you mean. If it is that you want the curve numbers written out as text tags, use the reworked example below and adjust it to your needs.
/Ola
old version that has been fixed by now. I'd ask you to test this on the Rhino6 beta (which I am using to test this), but it looks like you're using a cracked version of Rhino so you probably don't have access to that.…
the various digital design methods and technologies that they employ in their design workflow, highlighted at various scales through their recent work. Organizers and Moderators: Andrew Haas, Program Co-Director, Architectural Association Visiting School New York Alfonso Oliva, Associate/Director, LERA Consulting Structural Engineers Speakers: Luc Wilson, Senior Associate Principal and Director, KPF Urban Interface Dan Levine, Associate Director, Solutions Engineering – United Technologies (UTC) Jan Leenknegt, Architect and BIM Manager, Bjarke Ingels Group (BIG) Introductions by AIANY Technology Committee Co-Chairs: Michael Brotherton, AIA, VP of Operations, Situ Fabrication LLC Alexandra Pollock, AIA, LEED AP BD+C, Director of Design Technology, Senior Associate, FX Collaborative – Due to building security requirements, a state-issued photo ID or valid passport is required to obtain building entry. Advanced registration is required. This event is free and open to the public. Refreshments and pizza will be served.
Register: https://www.facebook.com/events/1019498534923019…
Added by Andrew Haas at 10:42am on October 30, 2018
hreads where Thread I solves object A1 and Thread II solves object A2. As soon as A1 is completed, Thread I can move on to object B1 and as soon as A2 completes, Thread II can move on to object B3 (whichever comes first). When both A1 and A2 are complete, we can spawn a new thread (III) to take care of object B2.
If B2 completes before B3, then Thread III will terminate. If B3 completes before B2, then Thread II terminates. Whichever thread is last will pick up execution of object C3. And so on and so forth.
This sort of threading is actually not guaranteed to help much though, as it is likely that the bottleneck components in the network will still need to be handled by a single thread.
A more efficient solution would be to divvy up the execution per component to multiple threads. If you're trying to compute the Curve Closest Point for 10,000 points and your machine contains 4 cores, then we can assign 2,500 points to the first core, 2,500 points to the second core etc.
This approach will actually work when there's only a few bottleneck components and it also means the order in which components are solved is no longer important.
An even more fine-grained approach to threading would be to make the Curve Closest Point function in the Rhino SDK threaded. There's a lot of looping going on in any given Curve CP computation so the curve could be broken up into loose spans where each span is solved by a different core. Then the partial results get consolidated once all threads finish.
The benefit here is that it would be multi-core for everyone, not just Grasshopper components.
The bad news: Some functions in Rhino are not thread-safe. Meaning that data structures such as NurbsCurves cannot be modified from multiple threads at once as it will compromise their validity. You might well end up with invalid curves and quite possible weird crashes. In very bad cases it might even be that a specific function in our SDK can only be running once, so even if you were to duplicate the curve it would still not work.
Until our SDK is thread-safe there can be no global threading in Grasshopper. I don't know where we're headed with this, but I do know that we've started using some threaded algorithms in the display as of Rhino5, so it seems we're at least getting our feet wet.
--
David Rutten
david@mcneel.com
Seattle, WA…
Added by David Rutten at 5:47pm on November 17, 2010