Python 點產生器
以下 Python 指令碼會為多個範例產生點陣列。請將這些指令碼貼至 Python Script 節點,如下所示:

python_points_1
out_points = []
for i in range(11):
sub_points = []
for j in range(11):
z = 0
if (i == 5 and j == 5):
z = 1
elif (i == 8 and j == 2):
z = 1
sub_points.append(Point.ByCoordinates(i, j, z))
out_points.append(sub_points)
OUT = out_pointspython_points_2
python_points_3
python_points_4
python_points_5
Last updated