VB 程序改为 Python 求过路大虾瞧瞧.我这出问题了.
#这都是简写的代码.求大家帮忙解答下ForiTo60ForjTo60paramU=DomainU[0]+i*((DomainU[1]-DomainU[0]/secu))p...
#这都是简写的代码.求大家 帮忙解答下
For i To 60
For j To 60
paramU = DomainU[0] + i * ((DomainU[1]-DomainU[0]/secu))
paramV = DomainV[0] + j * ((DomainV[1]-DomainV[0]/secv))
arrpoints = Rhino.EvaluateSurface(surface,paramU,paramV)
collec(i,j)=arrpoints # 这里是什么意思 这怎么转换
Next
Next
For i To 59 Step 4
For j =0 To 59 Step 3
If j Mod 2 = 0
l=i+2
Else
l = i
End If
point1 = collec(i,j) # 能不能换一种方式,点的坐标应该是三个呀
point2 = collec(l,J+2)
point3 = collec(l+2,j+2)
point4 = collec(l+2,j)
point5 = collec(l+1,j+1) 展开
For i To 60
For j To 60
paramU = DomainU[0] + i * ((DomainU[1]-DomainU[0]/secu))
paramV = DomainV[0] + j * ((DomainV[1]-DomainV[0]/secv))
arrpoints = Rhino.EvaluateSurface(surface,paramU,paramV)
collec(i,j)=arrpoints # 这里是什么意思 这怎么转换
Next
Next
For i To 59 Step 4
For j =0 To 59 Step 3
If j Mod 2 = 0
l=i+2
Else
l = i
End If
point1 = collec(i,j) # 能不能换一种方式,点的坐标应该是三个呀
point2 = collec(l,J+2)
point3 = collec(l+2,j+2)
point4 = collec(l+2,j)
point5 = collec(l+1,j+1) 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询