Les scripts Python suivants génèrent des réseaux de points pour plusieurs exemples. Ils doivent être collés dans un nœud de script Python comme suit :
python_points_1
python_points_2
python_points_3
python_points_4
python_points_5
out_points = []for i inrange(11): z =0if (i ==2): z =1 out_points.append(Point.ByCoordinates(i, 0, z))OUT = out_points
out_points = []for i inrange(11): z =0if (i ==7): z =-1 out_points.append(Point.ByCoordinates(i, 5, z))OUT = out_points
out_points = []for i inrange(11): z =0if (i ==5): z =1 out_points.append(Point.ByCoordinates(i, 10, z))OUT = out_points
out_points = []for i inrange(11): sub_points = []for j inrange(11): z =0if (i ==1and j ==1): z =2elif (i ==8and j ==1): z =2elif (i ==2and j ==6): z =2 sub_points.append(Point.ByCoordinates(i, j, z)) out_points.append(sub_points)OUT = out_points
out_points = []for i inrange(11): sub_points = []for j inrange(11): z =0if (i ==5and j ==5): z =1elif (i ==8and j ==2): z =1 sub_points.append(Point.ByCoordinates(i, j, z)) out_points.append(sub_points)OUT = out_points