algorithmic modeling for Rhino
Hi
Trying to "pack" a huge definition into couple of ghpython components and having a difficulties.
In this simple example I've done offset curve and afterwards want to tween offset curve with input curve...
As you can see offset works just fine but tween gives me null :(
What should I do? Spent about half a day trying to figure this out :/
Tags:
Thank you Marcus
rhinoscriptsyntax is somewhat different in the meaning "you can't use it as a ghcomp input"? In that case wouldn't I get runtime error?
OK Marcus you've already solved it in another post ;)
rs.coercecurve did the trick
Note that the RhinoCommon Curve class has three tween methods (A,B,C). Not sure if these are the same methods the Grasshopper component implement. Only noticed these methods after writing my own, doh!
Yes I've noticed that too :/ tried only 1 last night but wasn't happy with result(for the time being used offset instead)
Now having fun with offsetting array of curves...
actually CIRCLES to be very precise ;)
"Runtime error (ArgumentTypeException): expected Curve, got Circle
Traceback:
line 57, in script"
Oh well
Looks good I'll try again later on.
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
© 2024 Created by Scott Davidson. Powered by