Show messages: All
1
2-9
From: BurrMan
I’ve done it before with Notepads “find and replace”
I think i resorted to excel once also. More powerful options for tuples..
I didn't ask Michael about it though. Maybe he has a more eloquent way…
From: Frenchy Pilou (PILOU)
A cool free prog about cloud points! ;)
http://cloudcompare.org
From: Michael Gibson
Hi Matadem, here's a modified version of the ImportPointFile script which should handle your CAM program's point output.
This one should skip the G1 at the start of a line and will remove any X or Y label on the coordinates.
Instructions for
installing a plugin here.
Hope this helps,
- Michael
Attachments:
ImportPointFileMatadem.zip
From: Matadem
Michael can it do z as well?
I tried the script and it works fast and efficient as always.
Tnx!
From: Michael Gibson
Hi Matadem,
re:
> Michael can it do z as well?
I didn't see any z coordinates in your example, but it if it has a 'Z' label on it like it does for X and Y you can update the script to handle that.
Open the ImportPointFilematadem.js file in a text editor and on line 112 which currently has this:
code:
if ( val[0].toUpperCase() == 'X' || val[0].toUpperCase() == 'Y' )
Change it to this instead:
code:
if ( val[0].toUpperCase() == 'X' || val[0].toUpperCase() == 'Y' || val[0].toUpperCase() == 'Z' )
- Michael
From: Matadem
Works good!
Tnx!
From: KENMO
Sorry if I am interrupting this thread, but can this script import point clouds created via photogrammeyry. I use Zephyr3D for my photscans.
Cheers
Ken
From: Michael Gibson
Hi Ken,
re:
> Sorry if I am interrupting this thread, but can this script import point clouds created via
> photogrammeyry. I use Zephyr3D for my photscans.
The script can import points that are listed in .csv file.
It should be a text file with the x,y,z coordinates for one point on each line of the file.
- Michael
Show messages: All
1
2-9