SetPt in Grasshopper

Hi, I want to use the rhino “setpt” command in Grasshopper for some surface(such as make a surface flatten zero in Z ),Is there any ways to achieve this?C# or other script?

Is your goal to planarize a surface by manipulating its control points?

Yes,in rhino,any curve surface or polysurface can use setpt to planarize, but in gh can’t find the same way.

OK, I didn’t know about SetPt, but couldn’t you get a similar behaviour in Grasshopper by projecting the surface to a desired plane?

Have a look at this demo…


SetPt Demo_re.gh (10.5 KB)

1 Like

Thanks! It works perfectly!