Hi Steve
i have two point at coordinate -2,0,0 and 0,12,0
the below Python code:
import rhinoscriptsyntax as rs
#points=rs.GetPoints(" get points")
pp=rs.GetObjects("seleziona punti")
points=[]
for p in pp:
cc=rs.PointCoordinates(p)
points.append(cc)
newp=[]
for el in points:
u=points.pop()
points.insert(0,u)
print points
newp.append(points) # append only last points
for xx in newp:
print xx
return this result :
<Rhino.Geometry.Point3d object at 0x0000000000000560 [0,12,0]>, <Rhino.Geometry.Point3d object at 0x0000000000000561 [-2,0,0]>]
[<Rhino.Geometry.Point3d object at 0x0000000000000562 [-2,0,0]>, <Rhino.Geometry.Point3d object at 0x0000000000000563 [0,12,0]>]
[<Rhino.Geometry.Point3d object at 0x0000000000000564 [-2,0,0]>, <Rhino.Geometry.Point3d object at 0x0000000000000565 [0,12,0]>]
[<Rhino.Geometry.Point3d object at 0x0000000000000566 [-2,0,0]>, <Rhino.Geometry.Point3d object at 0x0000000000000567 [0,12,0]>]
but for me as Bug because print xx print only the last point
Ciao Vittorio