I'v tried this with CC 2.8 and 2.7 on 64bit windows. What I did:
I used the RANSAC plugin to find a bunch of planes from a point cloud, this worked fine. After that I wanted to save these clouds to one or more E57 files. I managed to save them as ascii files (CC automatically named the fiels with xxxx_000000.txt and so on), but trying the same procedure, but setting output format to E57 yields an error (console: [10:08:28] [E57] LibE57 has thrown an exception: namespace prefix already defined (E57_ERROR_DUPLICATE_NAMESPACE_PREFIX) ). I can save the individual planes by selecting each child tree in turn, but te amount of them makes this a bad solution.
So, how can I circumvent this issue?
Saving to E57 from RANSAC plugin
Re: Saving to E57 from RANSAC plugin
Can you save the exact same selection you are trying to save as E57 but as a BIN file and send it to me? (cloudcompare [at] danielgm.net). I'll try to reproduce the issue on my side (it's probably a bug).
Daniel, CloudCompare admin
-
- Posts: 9
- Joined: Fri Sep 16, 2016 7:01 am
Re: Saving to E57 from RANSAC plugin
Sure enough, saving as a single .bin worked. I'll try with some other cloud that's not work related and if I can replicate it, I'll send that bin.
Re: Saving to E57 from RANSAC plugin
This was indeed a bug. You can download the online 2.8 beta version. It's fixed.
Thanks for the feedback.
Thanks for the feedback.
Daniel, CloudCompare admin
-
- Posts: 9
- Joined: Fri Sep 16, 2016 7:01 am
Re: Saving to E57 from RANSAC plugin
Okay, now the (7z version) beta version wont run for me anymore. Popup error message:
"
...(path)...\CloudCompare_c2.8.0.beta_bin_x64\CloudCompare.exe
The application failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
"
"
...(path)...\CloudCompare_c2.8.0.beta_bin_x64\CloudCompare.exe
The application failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
"
Re: Saving to E57 from RANSAC plugin
Ah yes, I forgot to remove the 'CloudCompare.exe.manifest' file (next to CloudCompare.exe).
Daniel, CloudCompare admin
-
- Posts: 9
- Joined: Fri Sep 16, 2016 7:01 am
Re: Saving to E57 from RANSAC plugin
Ok, that was he glitch.
Managed to open the bin I sent and save it as E57. Although I had to change the path as it contained spaces and non-latin characters. Bin saving did not mind that though.
Anyway, now exporting is working, thanks.
Managed to open the bin I sent and save it as E57. Although I had to change the path as it contained spaces and non-latin characters. Bin saving did not mind that though.
Anyway, now exporting is working, thanks.
Re: Saving to E57 from RANSAC plugin
Yes, libE57 (the library that handles the E57 file creation) doesn't support special characters. While BIN files are saved by CC itself (with Qt, that does support special characters).
Daniel, CloudCompare admin
-
- Posts: 9
- Joined: Fri Sep 16, 2016 7:01 am
Re: Saving to E57 from RANSAC plugin
Hmm.. so how come before this fix I could export e57 to the same directory that now throws an exception?
Also I can no longer open files from it, previously there was no problem whether it was from file->open or drag&drop.
Is this a trade-off situation, you can export or open but not both =)
Also I can no longer open files from it, previously there was no problem whether it was from file->open or drag&drop.
Is this a trade-off situation, you can export or open but not both =)
Re: Saving to E57 from RANSAC plugin
No it's because there was no protection against special characters before (it's a recent addition).
What error do you get when opening files now?
What error do you get when opening files now?
Daniel, CloudCompare admin