; }
DA.SetDataList(0, crvS);
distance << is "double (input)".
But... still have error.
Even all there below have error.
crvList[0].OffsetOnSurface(brep.Faces[0], distance, 0.001));
crvList[0].OffsetOnSurface(brep.Faces[1], distance, 0.001));
crvList[0].OffsetOnSurface(brep.Faces[2], distance, 0.001));
crvList[0].OffsetOnSurface(brep.Faces[3], distance, 0.001));
crvList[0].OffsetOnSurface(brep.Faces[4], distance, 0.001));
I don't know why it's still doesn't work.
…
ingularity" (as same with nurb curves), but this will mess up the topology and probably cause other problems.
(here in pic, 8 point moved to the central one, degree 3 require 3 points for a singularity in both U and V so 3x3=9 , 8+1)
Also, in your first pic (the red GH preview), the corners are "flat" and not smooth because of the low mesh quality, with a higher one it should be like you need.
Why you need a single surface with "singularities"?
I'm curious, keep us updated :D…
, 502, 503, 504, 505, 506] patternList = [502, 503, 506] editList = ['wData1', 'wData2', 'wData3']
d = defaultdict(int) # default value of int is 0
# assign the availabe values for k, v in izip(patternList, editList): d[k] = v # get the final list finList = [d[i] for i in leadList] print finList # [0, 'wData1', 'wData2', 0, 0, 'wData3']…