Converts a normalized surface parameter to a surface parameter; one within the surface's domain.
rhinoscriptsyntax.SurfaceParameter (surface_id, parameter)
rhinoscript.surface.SurfaceParameter (surface_id, parameter)
surface_id |
Required. String or Guid. The object's identifier. |
parameter |
Required. List of two numbers. The normalized surface parameter to convert. |
Tuple |
The surface parameter if successful. |
None |
On error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select surface")
if obj:
normalized = (0.5, 0.5)
print "Normalized parameter: ", normalized
parameter = rs.SurfaceParameter(obj, normalized)
print "Surface parameter: ", parameter