Hi David,

Thanks!
This will do! (I would have been happy with a VBA or C++ solution
too). This function does not work when Y=0, but that I can work with
it.
Cheers,
Bas

On Jan 19, 8:28 pm, bas <[email protected]> wrote:
> Hi David,
> Vertically liness at the beginning are not a problem at all. I will
> test your solution and let you know.
> Cheers, Bas Goris
>
> On Jan 18, 11:04 pm, David Rutten <[email protected]> wrote:
>
>
>
> > Actually, I tried it with intersection logic and it seems to work.
> > Only problem is your curve has to have vertical bars at the beginning
> > and end.
>
> >http://groups.google.com/group/grasshopper3d/web/Area_Computation.zip
>
> > --
> > David Rutten
> > [email protected]
> > Robert McNeel & Associates
>
> > On Jan 18, 10:40 pm, David Rutten <[email protected]> wrote:
>
> > > Hi Bas,
>
> > > I know you don't want to hear this, but if I had to do this reliably
> > > (i.e. not relying on splitting and trimming operations) I'd plug the
> > > graph into a VB script component and just write the code.
> > > I'll try to come up with a bit of code that does this, but I need to
> > > fix some bugs first otherwise I can't even run the VB component...
>
> > > --
> > > David Rutten
> > > [email protected]
> > > Robert McNeel & Associates
>
> > > On Jan 18, 9:18 pm, bas <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I have made an XY graph in Grasshopper like the upper graph in the
> > > > rhino screendump via below link. The graph is changing with other
> > > > grasshopper functions. The XY values are available in grasshopper via
> > > > a list and via a curve.
> > > > I need to get the positive area (m^3) as well as the negative area
> > > > under the graph. Till now I tried to solve this graphically without
> > > > succes. Can anybody help how I can do this?
>
> > > >http://groups.google.com/group/grasshopper3d/web/xy%20graph.jpg?hl=en
>
> > > > Bas

Reply via email to