Orthographic projection CLI

Hello,

We are trying to automate the orthographic projection using the CLI commands, and we get some errors.

To give you context, we take about 100+ poses with the same camera position and setup. Align them with the same camera position and reconstruction region.

We currently have working is the calculation of the projection, as we exported .rcortho file from one of the poses, and it has the same settings for all other models from the same batch.

-calculateOrthoProjection “…\orthographic_region.rcortho”

the issue comes when we try to export it with command

-exportOrthoProjection params.xml

What are the parameters that we need to provide as an XML file ( or other) that would make this work correctly?

And after we have this done, we would like to automate the calculation of all six projection sides and output them as images.

Can you assist us with that?

Best Regards,

Hi Ivo,

about the side ortho projections, you can find more info in app Help under Parametric Files of Orthographic Projections. There is also example of the params.rcortho file, where you have to change the boxSideConerIndex to create wanted side export.

About the params.xml file, you can export it from the application, when you are exported ortho by this button:

After export you will get this file, which can be modified by wanted parameters.

<Configuration>

<entry key=“exportOrthoWorldCoordSystemAxesType” value=“1”/>
<entry key=“exportOrthoAsBatch” value=“false”/>
<entry key=“exportDSM” value=“false”/>
<entry key=“exportOrthoInfoFile” value=“false”/>
<entry key=“exportOrthoAsBigTiff” value=“false”/>
<entry key=“exportOrthoCompression” value=“0”/>
<entry key=“exportOrthoWorldFile” value=“-1”/>
</Configuration>

Hi Ondrej,

Thank you for the response, it worked and all renders come out correctly! :v:

The only thing that we encountered as an unfortunate feature is that we could not export the renders without licensing the images.

It would have been good for us to export those renders with watermarks, so we can review the scan quality before we decide to export and license the images. Some scans have issues and cannot be fixed, so there is a waste at the moment when we have to license everything and hope that there are minimal scans with errors.

Is there a solution for this at the moment?

For this you can use Render images in Workflow tab/Output/Render image

Is there a CLI solution for this?

No, but it is in our feature request database, I will add you as another request for this functionality.