Retrieves the position of a point from the program’s point list at a specified index and returns it as a Python list of nine floating‐point values representing the point’s coordinates.
If the index is out of bounds, the function returns Python None.
planetcnc.points_get(idx)
#! /usr/bin/env python import planetcnc # Retrieve the coordinates of the point at index 2. point_coords = planetcnc.points_get(2) if point_coords is not None: print("Point coordinates:", point_coords) else: print("No point found at that index.")