From cf84aee9fd1be17891e6f0a0e93f3e2ad653a10d Mon Sep 17 00:00:00 2001 From: Fabien Servant Date: Thu, 25 Jan 2024 11:16:42 +0100 Subject: [PATCH] E57 importer --- meshroom/nodes/aliceVision/ImportE57.py | 57 +++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 meshroom/nodes/aliceVision/ImportE57.py diff --git a/meshroom/nodes/aliceVision/ImportE57.py b/meshroom/nodes/aliceVision/ImportE57.py new file mode 100644 index 00000000..e7186694 --- /dev/null +++ b/meshroom/nodes/aliceVision/ImportE57.py @@ -0,0 +1,57 @@ +__version__ = "1.0" + +from meshroom.core import desc + + +class ImportE57(desc.AVCommandLineNode): + commandLine = 'aliceVision_importe57 {allParams}' + size = desc.DynamicNodeSize('input') + + category = 'Utils' + documentation = ''' +Import an e57 file and generate a sfmData +''' + + inputs = [ + desc.ListAttribute( + elementDesc=desc.File( + name="inputFile", + label="e57 File", + description="Path to a e57 file.", + value="", + uid=[0], + ), + name="input", + label="Input Files", + description="Set of e57 files in the same reference frame." + ), + desc.ChoiceParam( + name="verboseLevel", + label="Verbose Level", + description="Verbosity level (fatal, error, warning, info, debug, trace).", + value="info", + values=["fatal", "error", "warning", "info", "debug", "trace"], + exclusive=True, + uid=[], + ), + + desc.FloatParam( + name="maxDensity", + label="Points density", + description="Make sure no points has no neighboor closer than maxDensity meters", + value=0.01, + range=(0.0, 0.2, 0.001), + uid=[0] + ) + ] + + outputs = [ + desc.File( + name="output", + label="Output", + description="Path to the output SfMData file.", + value=desc.Node.internalFolder + "sfm.abc", + uid=[], + ), + ] +