dealing with huge numbers. Integer math tends to overflow and floating point math tends to be a lot less accurate far away from zero.
The attached file uses Galapagos to try and find the densest circle with a fixed radius. I do not believe that this approach can be easily extended to instead find the N densest circles including a separation constraint.…
points is lower than 10k, maybe I'd go with the Vector > Point > Closest Points component. and feed your point cloud to the first two inputs. The distance result will be a data tree with the n closest points (third input). The first result should be zero, since the component will find the same point. I'd shift this value out of the distance results, and then you can do something with the remaining distances such as add them together, average them, etc. Then you have one distance value for each point. You can take the min/max of these and feed this into your gradient.…
Added by Luis Fraguada at 2:08am on October 27, 2017
spiral.
Updates to the state of the document have to happen 'from the outside'. This is usually accomplished in one of two ways:
A UI event handler, for example a button or menu click. This involves creating custom UI on your part. Not necessarily a lot of work, but more work than not.
A solution schedule with registered callbacks. You can schedule new solutions on the GH_Document instance to happen N milliseconds after the current solution completes. Then, before this scheduled solution starts your callback method is invoked and this is where you modify the sliders.
…
Added by David Rutten at 4:20am on November 8, 2017
lysurface component. After installing the pufferfish2-3.gha, please close Rhino completely one time to avoid potential assembly reference errors with the "Twisted Box" components. Make sure to first remove any other versions of Pufferfish you may have installed. Pufferfish V2.3 works with Rhino 5, Rhino 6, and Rhino Mac. Some components require at least Rhino 5 SR14. Some versions of Rhino 6 Grasshopper have a mesh display issue not related to Pufferfish, if you see a weird mesh, try Recomputing Grasshopper until it goes away. …
Lapland. You're welcome to drop by our cottage* if you're in the neighbourhood, but let's face it, chances are pretty slim.
Cheers,
David
--
David Rutten
david@mcneel.com
Poprad, Slovakia (on my way out though)
* 69°02'18"N 20°48'55"E…
Added by David Rutten at 2:10pm on January 24, 2010
0 from list 2 etc. i dont know how to generate it, if I set multiple items into the item index it doesnt work - it does cross-connections instead and lofts the curves from the same list. same problem if i just try using shortest list etc. it doesnt work.
maybe its not a complicated question??
but I would appreciate any help a lot!! thank you!! …
corners (nodes?) but not at the centres of the cells.- The Hexgrid and Trigrid puts their points at the centres, not at the corners (nodes).The icon of these components kinda suggests the points would be at the corners rather than the centres.It's not causing me any problems but I'm just curious why it's like that.Can I suggest letting the components output BOTH the nodes and the centres? Can we have the P outputs centres and a new output N for the nodes? Just an idea.Thanks,Ching…
ession:
If(x>A, 1, If(x<B, 1, 0))
and two sliders connected to the function, with slider A set to 200 and slider B set to 300. But what it does is output everything 1, because it changes the items with value less than 200 to 1, and then in the second if, well everything is smaller than 300.
Is there a way to apply multiple conditional statements in the function editor, as can be done in Excel? …
set of circles offset at -1 from the initial circles each time. divided those into points (N*2) , used cull pattern to delete the half.
What i want to do is connect the points of the outer circles to the points of the inner ones so that they create a zig zag form. (Trying to do corrugation on a surface)
Does anyone know how to do that?
thanks! …
Added by AmiPeanuts at 4:36am on November 15, 2013