Grasshopper component

Hi,

Is there a grasshopper component that gets point on surface by u,v values ?

Like this:

  private void RunScript(Surface x, object y, ref object A)
  {
    Point3d point = x.PointAt(0.5, 0.5);
  }

Evaluate Surface?

1 Like

It takes 3D point.

Maybe I’m misunderstanding, but if you enter {.5,.5} using a panel or MD slider, it will accept that.

Ah, ok if you reparametrize surface from 0 to 1, then you can literally use Point3d that will be casted to 2D domain by x and y coord thanks…

I assume you want native component so the Eval Surface works as said, but in case Pufferfish has parameter components and the one for surface when using single numbers can do it.

No, it takes an (x,y,z) point but it treats it as a (u,v) coordinate. Grasshopper doesn’t have a 2D point as a native type so it must use the 3D version.