almost 10 years ago by Yun Sun, Park
I don't know why my python script has errorIt is same with the videoblow is a script I writtenimport ghpythonlib.components as melghrange=melgh.Range(1,samples)curvature=melgh.Curvature(curves,range)radius=melgh.DeconstructArc(curvature[2])logarithm=melgh.Logarithm(radius[1])addition=melgh.MassAddition(logarithm)division=melgh.Division(logarithm,addition[0])domains=melgh.ConsecutiveDomains(division,True)decompose=melgh.DeconstructDomain(domains)split=decompose[0]shatter=melgh.Shatter(curves,split)print len(shatter)ptA=[]ptB=[]ptC=[]for i in range(0,len(shatter)): divCrv=melgh.DivideCurve(shatter[i],2,False) pt1=melgh.ListItem(divCrv[0],0,False) ptA.append(pt1) pt2=melgh.ListItem(divCrv[0],1,False) ptB.append(pt2) pt3=melgh.ListItem(divCrv[0],2,False) ptC.append(pt3)arcs=melgh.Arc3Pt(ptA,ptB,ptC)segments=arcs[0]and error message is here
Yun Sun, Park almost 10 years ago
Rodrigo Medina Garcia almost 10 years ago
Yun Sun, Park almost 10 years ago
Zuqiang Qu almost 10 years ago
Rodrigo Medina Garcia almost 10 years ago
Victor Vargas Amaral almost 10 years ago
Rodrigo Medina Garcia almost 10 years ago
Victor Vargas Amaral almost 10 years ago