How I can get some specific data out of NURBS solids drawn in Rhino in a .txt Format? Data like coordinates of control Points, their respective weights and knot vectors.
Finding from the earlier question, I can get some data out of NURBS curves and surfaces.
For example, to get the data of NURBS surface, the following code can be used:
import rhinoscriptsyntax as rs
print ‘NURBS Data’
points = rs.SurfacePoints(surface)
weights = rs.SurfaceWeights(surface)
knots = rs.SurfaceKnots(surface)
Please let me know if anyone knows how to get this. Thank you.