algorithmic modeling for Rhino
Hi,
I've been using the ghPython Component, and recently tried the new 0.5.0 version.
Other then the interface change, I noticed that its not able to change the 'rhinoscriptsyntax usage'.
Is it possible to emulate the 'add to Rhino Document' using the new one?
I read the new Components help, but thought if there was a working example.
I found it useful when I wanted to bake and apply textures.Maybe somthing like this.
import rhinoscriptsyntax as rs
srfPoints = surface.DuplicateVertices()
newSurface = rs.AddSrfPt(srfPoints)
matId = rs.AddMaterialToObject(newSurface)
rs.MaterialTexture(matId,pathToSomeWhere+name)
If it's hard I think I will revert to version 0.4.6
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by