Create Points on Surface

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,

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

Thanks, that’s what I was looking for.

Hi,

Does “on surface” osnap in python code?

rs.GetPointOnSurface() does…

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

HTH, --Mitch

Thank you for your help.

It work done.