Exporting camera setting as text file and script for automation

Feel free to ask any question here
Post Reply
Ingsayyad
Posts: 97
Joined: Fri Oct 25, 2013 9:17 am

Exporting camera setting as text file and script for automation

Post by Ingsayyad »

I have a question.
My task:
I have over 100 clouds or view port (don't know view port and camera parameters are same)

What I 'm doing:
rotating point cloud to have viewport.
Writing the camera setting as text file separately.
Removing double point from current view port:
Exporting point cloud for this view port.

As I need to do it for 100 times, it make sense to write script to automate whole process ( don't know how)
Idea is:
1: first I will save one view port for each scan.
2: Then i will run script.
The script remove hidden points from this camera settings and export point cloud and camera settings as text file.
It should work for all clouds that have view ports.
Is it possible in CC? if yes how.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Exporting camera setting as text file and script for automation

Post by daniel »

Sadly no as none of the tools you are using is accessible via the command line. And worst, even though you could hack CC's code, plugins can't be accessed at all via the command line (if you are indeed using the qHPR plugin to remove the hidden points)
Daniel, CloudCompare admin
Ingsayyad
Posts: 97
Joined: Fri Oct 25, 2013 9:17 am

Re: Exporting camera setting as text file and script for automation

Post by Ingsayyad »

very sad... Camera setting can't be exported as text?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Exporting camera setting as text file and script for automation

Post by daniel »

Nope.
Daniel, CloudCompare admin
Post Reply