Create Points on Surface


(David Cockey) #1

I need to create points at arbitrary locations on a surface, similar to InterpCrvOnSrf except for points, not curves. Is there a simple method to do so?

My current method is to use InterpCurvOnSrf to create a temporary line on the surface which goes through the desired point locations, and then use Point with the Near Osnap to create points on the temporary curve on the surface at the desired location,


#2

You can use the persistent “on surface” osnap combined with the Points command to place any number of points on a given surface…

HTH, – Mitch


(David Cockey) #3

Thanks, that’s what I was looking for.


#4

Hi,

Does “on surface” osnap in python code?


#5

rs.GetPointOnSurface() does…

Also in RhinoCommon, the general GetPoint class has a Constrain(surface,boolean) method.

HTH, --Mitch


How can I mark a point in a surface like that?
#6

Thank you for your help.

It work done.