Spectacular. Simple and works perfectly. Thanks man!
On Jan 3, 4:43 pm, Chris Wilkins <[email protected]> wrote: > 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/CullPointsOutsideBou... > > And a couple screen shots: > > http://groups.google.com/group/grasshopper3d/web/CullPointsOutsideBou...http://groups.google.com/group/grasshopper3d/web/CullPointsOutsideBou... > > 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...... > > > thanks all > > dingle
