SOLVED, partly.
Polyline command ends when a duplicate point is encountered because this makes a closed shape.
Original question:
I have created a coordinate list from 3 columns of X,Y,Z in Excel. Rhino will draw using the coords when pressing Ctrl-V.
However Rhino is stopping with error message of
"Unknown command: w640.677366,-374.692546,-99.819431"
My question is how to debug this?
Paste from Clipboard is
! Polyline
w640.677366,-666.119886,-44.371086
w640.82707384736,-825.182079042423,0
w394.945561058404,-647.815037647826,0
w394.945561058404,-647.815037647826,0
w333.775750473092,-600.602528956317,0
w640.677366,-666.119886,-44.371086
w640.677366,-374.692546,-99.819431 FAILS here
w640.677366,-666.119886,-44.371086
w333.775750473092,-600.602528956317,0
w640.677366,-666.119886,-44.371086
w333.775750473092,-600.602528956317,0
w82.3738707361729,-355.899062282474,0
w82.3738707361729,-355.899062282474,0
w-71.3394439743399,-210.077802934351,0
I’m stumped because this has been successful previously and creating another random list in the same worksheet is OK.
I’ve tried many things - making “wX,Y,Z” string in Excel, macro to make string, multiplying by 1, --(value), truncating to 4 decimal places, rebooting…
The only thing that has worked is adding a tiny random number (~.000001) to each value!
The most frustrating thing is not knowing how to debug this problem.
Any help gratefully accepted, Mike