Point File Export

Feel free to ask any question here
Post Reply
Jim Kennelly
Posts: 4
Joined: Tue Dec 04, 2012 1:25 pm

Point File Export

Post by Jim Kennelly »

Great Program!

I am having trouble with the export of .pts or .txt

When importing .pts the file format is xyzirgb
When exporting the format is xyzrgbi

Files are from Leica Cyclone. Does leica have the wrong format?

Maybe a customizable output format for the wish list.

Thanks,

Jim Kennelly
daniel
Site Admin
Posts: 7366
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point File Export

Post by daniel »

Thanks.

In fact there's no 'official' format. Everyone does as he pleases. This is why CC provides an import wizard.

Do you mean that Cyclone can't load back the ASCII files of CC?
Daniel, CloudCompare admin
Jim Kennelly
Posts: 4
Joined: Tue Dec 04, 2012 1:25 pm

Re: Point File Export

Post by Jim Kennelly »

Daniel,
We are primarily using your software to subsample large point clouds. We have found that Cloud Compare does an excellent job and the point clouds produced are more intuitive due to the even spacing.

We were hoping to go straight from cloud compare to Autocad to create a .pcg file. Autocad also expects xyzirgb.

Our work around is to re-import into cyclone which has a customizable import format like yours and then exporting to pts for Autocad.

A customizable export option would save the extra step.

Thanks again for a great product,
Jim
Jim Kennelly
Posts: 4
Joined: Tue Dec 04, 2012 1:25 pm

Re: Point File Export

Post by Jim Kennelly »

The solution might already be possible using the E57 format. All the software we use supports it and a plugin for autocad can be found here:

http://apps.exchange.autodesk.com/ACD/L ... collection

Thanks,
Jim
daniel
Site Admin
Posts: 7366
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point File Export

Post by daniel »

Indeed, E57 is a very good exchange format.

Otherwise, we could add a small hack: if you use a particular extension for your exported ASCII file (.pts for instance) it would be easy to invert the default order in this case.
Daniel, CloudCompare admin
Jim Kennelly
Posts: 4
Joined: Tue Dec 04, 2012 1:25 pm

Re: Point File Export

Post by Jim Kennelly »

Daniel,
The only drawback with e57 is the default units of meter. Most of the time we are working in inches.

Perhaps next build we could put in a .pts format of xyzirgb.

Thanks again,
Jim
MattPW
Posts: 3
Joined: Tue Sep 11, 2012 2:49 am

Re: Point File Export

Post by MattPW »

Daniel,
Would the hack you speak of be something that would require sourcecode modifications or is it something that could be done over a standard build downloaded from the website (I run in windows)
Just curious as I find myself in a similar position to Jim needing a specific order for exported .pts points.
Many thanks,
Matt
daniel
Site Admin
Posts: 7366
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point File Export

Post by daniel »

Yes I'll have to make small modifications to the code.

It will be available in the next official release version (hopefully before the end of the world ;).

Meanwhile you can use powerful text editors (such as Notepad++ on Windows) to swap columns (with ALT + SHIFT keys to select portions of text).
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7366
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point File Export

Post by daniel »

Ok, so I've updated the code, this hack will be available in the next release.

However I realized that there's still something that might "annoy" other programs: as CC handles multiple scalar fields, the 'xyzirgb' format can become xyzi1i2i3rgb. So make sure to have only one SF per cloud...
Daniel, CloudCompare admin
Post Reply