I have a array of points which created with arrayr like points_g=g_i.arrayr((1,2,3),2,(4,5,6),3(7,8,9)) i want to create a surface with this array of points can i call surface command with this array or is there another way to create surface with array of points i tried g_i.surface(points_g) and g_i.surface(g_i.tabulate(points_g))
The point declarations one by one is not what i need for example :
point1=g_i.point(1,2,3)
point2=g_i.point(1,2,3)
point3=g_i.point(1,2,3)
g_i.surface(point1,point2,point3)
i want to get every point than i want to create a surface.
Dear Emre,
If the points_g is a list of points, you can use the unpacking feature in Python that uses the asterisk (*) for lists.
Eventually, you can do:
g_i.surface(*points_g)