algorithmic modeling for Rhino
a new version of the GhPython component is now available on food4Rhino.
import rhinoscriptsyntax as rsThis addition should have minimal negative impact on previous scripts.
a = rs.AddLine((x,x,x), (y,y,y))
And several bugfixes, including:
Please comment here additional questions, suggestions or errors.
Also, please keep in mind that new options are not backwards-compatible, but previously-written components should keep on working unchanged or with very little modifications.
I'm using your ghpython component, and recently updated grasshopper to 0.80050.
There seems to be a problem that 'open editor' doesn't show up the context menu with all the other features.(same as double clicking it)
meaning I can't edit...
before updating grasshopper(0.80013) it was working fine.
Yes, Grasshopper 0.8.50 introduced some SDK changes.
There is a new version now available here that should fix the problem.
Thanks for the great tool!
Could you add an example how to handle with trees.
there is a link to this discussion with some tree example in the Help of the component.
I hope it helps,
I’m new to GhPython and just trying to make a simple loop to copy-rotate a curve using ‘rs.rotateObject’… It didn’t work well.
import rhinoscriptsyntax as rs
pt = rs.PointCoordinates(point)
curves = [curve]
for i in range(numCopy):
newCurve = rs.RotateObject(curves[i],pt,(360/numCopy)*i,None,True)
Could you please tell me what I did wrong?
yes, in certain cases the component would fail at duplicating the geometry before transforming it. It should be fixed in version 0.4.5.1.
Thanks, Giulio. looking forward for the next version.
when it's scheduled to be released?
It should be fixed in the new version (for Grasshopper 0.8.50).