#1
|
|||
|
|||
export point coordinates
Dear all,
I would like to export point coordinates as text format for cam software. how can I do this? Please find below example file. -39.0280 19.9090 -1.0720 #0 255 0 -0.1290 46.1730 2.4260 #0 255 0 39.0820 19.8260 0.0000 #0 255 0 41.1190 -22.8030 0.0000 #0 255 0 -0.3080 -47.4540 0.0000 #0 255 0 -41.2460 -22.9500 0.0000 #0 255 0 Thanks. Sonat |
#2
|
|||
|
|||
Re: export point coordinates
Hi Sonat,
Something like this should work: (with-open-file (stream PATHTOFILE :direction utput :if-exists :supersede :external-format :system) (dolist (coordinate coordinateslist) (write-line (format nil "~A ~A ~A #0 255 0" (gpnt3d_x coordinate) (gpnt3d_y coordinate) (gpnt3d_z coordinate)) stream) );end dolist ) Regards, Marten Verhoeven |
#3
|
|||
|
|||
Re: export point coordinates
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|