Saving Sub-group (children) with Their Names Separately

Feel free to ask any question here
Post Reply
imnn
Posts: 7
Joined: Sat Feb 23, 2019 1:37 pm

Saving Sub-group (children) with Their Names Separately

Post by imnn »

Hi Daniel and All,

First of all, thank Daniel for developing such handy software. Here is the question:

- In short:
Is there any way to save/export sub-groups (i.e. all children of a branch) with their name?

Image

- Explanations:
I have several big point cloud that each is manually segmented in many sub-groups (e.g. windows, doors, etc) labelled with their names (attached figured). I need to save them with their names separately. Once I save them all in ASCII format, it actually saves them all separately, but, replace their name with something like 0001, 0002, 0003, ...

Also, saving all branches one by one is very time consuming and almost impossible. Could you please help me with that?

I really appreciate your time and support.

Many thanks
Attachments
Screenshot from 2019-02-23 13-03-43.png
Screenshot from 2019-02-23 13-03-43.png (563.39 KiB) Viewed 1507 times
Last edited by imnn on Sat Feb 23, 2019 6:21 pm, edited 1 time in total.
daniel
Site Admin
Posts: 7712
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Saving Sub-group (children) with Their Names Separately

Post by daniel »

Nope sadly, that's not implemented like this. However if you are able to compile CC yourself (?) I could point you to the right line of code that you could hack to change this behavior.
Daniel, CloudCompare admin
imnn
Posts: 7
Joined: Sat Feb 23, 2019 1:37 pm

Re: Saving Sub-group (children) with Their Names Separately

Post by imnn »

Thanks for your prompt response. Yes, I can compile it, as well. BTW, I am on Ubuntu 18.04.

Could you please let me know how I can do that? (Kindly describe it as much detail as possible as I am still learning things).

Many thanks,
daniel
Site Admin
Posts: 7712
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Saving Sub-group (children) with Their Names Separately

Post by daniel »

Looking at the code, I realize that it may already work if you use 'cloudname' in the output filename for ASCII files. CloudCompare will automatically replace 'cloudname' by the actual cloud name.

Can you try that?
Daniel, CloudCompare admin
imnn
Posts: 7
Joined: Sat Feb 23, 2019 1:37 pm

Re: Saving Sub-group (children) with Their Names Separately

Post by imnn »

That worked Daniel! You are awesome :D

I also noted that all sub-group (children of a branch) should be in the same level, as well.

Thanks again!
Post Reply