generative modeling for Rhino
Hi guys, I have a bunch of curves in a list and a bunch of 3dpoints in a list.some of the 3dpoints are on the curve and some are not.I am writting a script that whenever the point is on the curve, it…Continue
Started this discussion. Last reply by Giulio Piacentino May 10, 2012.
Hi Guys,I'm using python for rhino currently. When i run the explode command (rs.ExplodeCurves) or when i just normally explode my curve(which is generated from a dupborder command off a surface) the…Continue
Started this discussion. Last reply by Giulio Piacentino May 10, 2012.
Hi all! lets go straight to the point. I have a list within a list. so therefore i have a few braches, and each branch has a list inside it. Is there a way to shift the whole branch list, instead of…Continue
Started this discussion. Last reply by Stan Carroll Jul 31, 2011.
Hi guys,I have ogt a set of points and i plug them into the kinky curve, they do have kinks at certain area which is what i want , but i want the curve to close up like a periodic curve that is…Continue
Started this discussion. Last reply by to] May 25, 2010.
babym replied to Guan Xiong's discussion cap fail
Giulio Piacentino replied to Guan Xiong's discussion Explode Curves problem!
Giulio Piacentino replied to Guan Xiong's discussion SplitCurve command doesnt work in nested list
Guan Xiong replied to Guan Xiong's discussion SplitCurve command doesnt work in nested list
Giulio Piacentino replied to Guan Xiong's discussion SplitCurve command doesnt work in nested list
Guan Xiong replied to Guan Xiong's discussion SplitCurve command doesnt work in nested list
Michael Pryor replied to Guan Xiong's discussion Shift a branch instead of the list within it?
Michael Pryor replied to Guan Xiong's discussion Shift a branch instead of the list within it?
Michael Pryor replied to Guan Xiong's discussion Shift a branch instead of the list within it?Hi
I got a problem with spliting curve in python, simply like this:
import rhinoscriptsyntax as rs
import Rhino as rc
curve01=rs.coercegeometry(x)
curve01.Domain = rc.Geometry.Interval(0,1)
print (rs.CurveDomain(curve01))
a=rs.SplitCurve(curve01,y)
and i get this eror:
[0.0, 1.0]
Runtime error (TypeErrorException): Parameter must be a Guid or string representing a Guid
Traceback:
line 467, in coerceguid, "C:\Users\91hag\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py"
line 2404, in SplitCurve, "C:\Users\91hag\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\curve.py"
line 6, in script
Since i found your post i thought maybe you already found out the answer!
any idea?
Thanks,
Matt Gaydon said…
© 2013 Created by Scott Davidson.
Powered by