@rhinorudi wrote:
I am running a small script to get point coordinates to add to another script.
import rhinoscriptsyntax as rs points = rs.GetPointCoordinates(message="Select Points", preselect=False) for point in points: print point
I create a profile curve by projecting a line onto my template shape. I then put points at each 90º "corner" that I want to get coordinates from. All points should be 0 in the Y-axis. This is what I am getting in my command history.
Here is a shot of my 4 viewports …
I am just printing coordinates for now, then copying into Atom to use as a dict list like this …
pointList1 = [(0,0,0), (-3.6,0,0), (-3.6,0,1.2), (-2.4,0,1.2), (-2.4,0,3.8), (-6,0,3.8), (-6,0,5.5), (-5.3,0,5.5), (-5.3,0,4.5), (0,0,4.5)] pointList2 = [(0,0,0), (-3.6,0,0), (-3.6,0,1.2), (-2.4,0,1.2), (-2.4,0,3.8), (-6,0,3.8), (-6,0,5.5), (0,0,5.5)] pointList3 = [(0,0,0), (-3.6,0,0), (-3.6,0,1.2), (-2.4,0,1.2), (-2.4,0,3.8), (-6,0,3.8), (-6,0,5.5), (-5.5,0,5.5), (-5.5,0,4.5), (0,0,4.5)]
Any ideas why I am not getting 0 for my Y coordinates?
Thanks, «Randy
Posts: 3
Participants: 2