Hi Dingle, I've got a simple solution worked up. I've uploaded the definition file and the Rhino file in a zipped folder:
http://groups.google.com/group/grasshopper3d/web/CullPointsOutsideBoundary.zip And a couple screen shots: http://groups.google.com/group/grasshopper3d/web/CullPointsOutsideBoundary-Grab1.jpg http://groups.google.com/group/grasshopper3d/web/CullPointsOutsideBoundary-Grab2.jpg This is just creating a YZ plane at each point and intersecting this plane with the two boundary curves, to get two more points for each of the original points. Then it compares the y-coordinates of the original points (which are randomly placed in my example, but will work the same for your grid of points). If the y-value is less than the upper boundary and greater than the lower boundary y-value, then it culls based on this. Hope that works for you, Chris On Jan 2, 1:28 pm, dingle <[email protected]> wrote: > hi all, > new to grasshopper, no stranger to rhino. i manually created a non- > rectangular point grid and i'm seeking to get rid of all of the points > which lie outside (actually, above and below) two arbitrary curves. > the curves are more or less parallel to the x-axis, so maybe we could > do something like subtracting the deviations between them and a line > along the x-axis? > i think i could script my way around this but would love to keep it in > grasshopper... > try these images (hope i uploaded them correctly): > > http://groups.google.com/group/grasshopper3d/web/pointgridcrvbound_01...http://groups.google.com/group/grasshopper3d/web/pointgridcrvbound_02...http://groups.google.com/group/grasshopper3d/web/pointgridcrvbound_03... > > thanks all > dingle
