You printed the values of UdirectionVector and VdirectionVector variables from post #5 in this topic, and then once printed you manually created that blue text in Rhino based on those values?
Is this correct?
If this is so, then either the blue numerical values in your post #15 do not correspond to the visual U and V direction vectors, or you’ve been using some inconsistent labeling methodology which was the reason for the confusion:
This looks like some sort of bug.
For some reason the surface is not affected by the swap of U and V directions which occurred in Rhino.
Converting it to nurbs surface works:
import rhinoscriptsyntax as rs
srfID = rs.GetObject("Select a surface", rs.filter.surface)
if rs.IsSurface(srfID):
pointID = rs.GetPointOnSurface(srfID, "Pick a test point")
if pointID:
uv = rs.SurfaceClosestPoint(srfID, pointID)
srf = rs.coercesurface(srfID)
nurbsSrf = srf.ToNurbsSurface()
plane = rs.SurfaceFrame(nurbsSrf, uv)
#plane = rs.SurfaceFrame(srfID, uv) # if "srfID" got its U and V directions swapped in Rhino (_Dir _SwapUV) the swapping will not be registered
print "srfU: ", plane.XAxis
print "srfV: ", plane.YAxis
Just to make sure I didn’t mess something up I’ll post the model as well (I’ve been reorganizing my HD - up to GDrive - while we were talking, so I couldn’t upload the model before now)