{"id":1266,"date":"2009-10-21T21:20:48","date_gmt":"2009-10-22T02:20:48","guid":{"rendered":"http:\/\/gracefulspoon.com\/blog\/?p=1266"},"modified":"2011-02-26T12:08:28","modified_gmt":"2011-02-26T17:08:28","slug":"closest-point-on-a-curve","status":"publish","type":"post","link":"http:\/\/gracefulspoon.com\/blog\/2009\/10\/21\/closest-point-on-a-curve\/","title":{"rendered":"closest point on a curve"},"content":{"rendered":"
<\/a> The “Curve CP” node in Grasshopper allows a curve to act in a similar manner to a point attractor, but checks the distance for the closest points along the entire length of the curve as opposed to one single, solitary point. Here, the curves are generated from a text object. It basically becomes multiple attractor curves, something that could be used for super graphics or possible a glazing frit pattern. Things get a little hairy in the grasshopper definition (see below) when you start getting a lot of letters, so that needs to get resolved for this to work with an entire sentence, or anything longer than four letters. A script font that creates one continuous line would work perfect, but is something of a cop-out, so in the meantime I may have to consult the pros on the grasshopper forum<\/a>. <\/p>\n
\n<\/a><\/p>\n