Component Wish: Surface Direction.

Hi David,

Probably too late for next build, but please can you add the ability to inquire what a surfaces U and V directions are and to swap them in necessary.

Many thanks,
Danny

  • up

    Gennifer E Munoz

    you can use the evaluate surface component (surface>analysis>evaluate surface) to get a normal vector and frame of the surface at any point. it may help to reparametrize the surface in order to evaluate it on a 0-1, 0-1 scale. the x direction of the frame is the u direction of the surface and the y direction of the frame is the v direction of the surface. the normal vector is the overall direction of the surface itself.

    test this out and compare it to what you get using the DIR command in rhino.

    hope this helps.

    gm
    3
    • up

      Danny Boyes

      What I would like to do.......

      I have a number of points generated from a surface division that then create curves to loft panels on this surface. Some panels are created from pairs of curves that are orientated 90 degrees out from the other curves depending on the re-ordering of the points. [If you're not with me so far see Simon Vorhammer's thread about finding the lowest point elsewhere.] After these new surfaces are created I would like to swap the U and V directions of the surfaces that do not correspond to the original surface.

      There is a Rhino command for this Direction->swapUV and like the GH flip component where a guide curve can be used to get the direction I thought this would be quite a useful addition to Grasshopper. Any thoughts?

      Danny
      3