three.MF.V3.Settings.Export

 1from MF.V3.Settings.ScanSelection import ScanSelection as MF_V3_Settings_ScanSelection_ScanSelection
 2from enum import Enum
 3
 4
 5class Export:
 6
 7    """
 8     Export settings.
 9    """
10    class Format(Enum):
11
12        """
13         Scan export formats.
14        """
15        ply = "ply"  # Polygon format.
16        dae = "dae"  # Digital asset exchange format.
17        fbx = "fbx"  # Autodesk format.
18        glb = "glb"  # GL transmission format.
19        obj = "obj"  # Wavefront format.
20        stl = "stl"  # Stereolithography format.
21        xyz = "xyz"  # Chemical format.
22
23    class Color:
24        """Settings for mapping the vertex quality to a vertex color.
25        The specific meaning of 'quality' depends on the broader context.
26        In the case heat maps, the quality is the point-to-mesh distance of the vertex."""
27        def __init__(self, scale: float = None, offset: float = None, min: float = None, max: float = None):
28            # The scale in `normalizedQuality = quality * scale + offset` that normalizes the quality value to the range [0, 1] which maps to the color range [blue, red] .  `offset` must also be specified.
29            self.scale = scale
30            # The offset in `normalizedQuality = quality * scale + offset` that normalizes the quality value to the range [0, 1] which maps to the color range [blue, red] .  `scale` must also be specified.
31            self.offset = offset
32            # The quality value that is mapped to the minimum color (blue).  `max` must also be specified.
33            self.min = min
34            # The quality value that is mapped to the maximum color (red).   `min` must also be specified.
35            self.max = max
36
37    def __init__(self, selection: MF_V3_Settings_ScanSelection_ScanSelection = None, texture: bool = None, merge: bool = None, format: 'Format' = None, scale: float = None, color: 'Color' = None):
38        # The scan selection.
39        self.selection = selection
40        # Export textures.
41        self.texture = texture
42        # Merge the scans into a single file.
43        self.merge = merge
44        # The export format.
45        self.format = format
46        # Scale factor of the exported geometry.
47        self.scale = scale
48        self.color = color
class Export:
 6class Export:
 7
 8    """
 9     Export settings.
10    """
11    class Format(Enum):
12
13        """
14         Scan export formats.
15        """
16        ply = "ply"  # Polygon format.
17        dae = "dae"  # Digital asset exchange format.
18        fbx = "fbx"  # Autodesk format.
19        glb = "glb"  # GL transmission format.
20        obj = "obj"  # Wavefront format.
21        stl = "stl"  # Stereolithography format.
22        xyz = "xyz"  # Chemical format.
23
24    class Color:
25        """Settings for mapping the vertex quality to a vertex color.
26        The specific meaning of 'quality' depends on the broader context.
27        In the case heat maps, the quality is the point-to-mesh distance of the vertex."""
28        def __init__(self, scale: float = None, offset: float = None, min: float = None, max: float = None):
29            # The scale in `normalizedQuality = quality * scale + offset` that normalizes the quality value to the range [0, 1] which maps to the color range [blue, red] .  `offset` must also be specified.
30            self.scale = scale
31            # The offset in `normalizedQuality = quality * scale + offset` that normalizes the quality value to the range [0, 1] which maps to the color range [blue, red] .  `scale` must also be specified.
32            self.offset = offset
33            # The quality value that is mapped to the minimum color (blue).  `max` must also be specified.
34            self.min = min
35            # The quality value that is mapped to the maximum color (red).   `min` must also be specified.
36            self.max = max
37
38    def __init__(self, selection: MF_V3_Settings_ScanSelection_ScanSelection = None, texture: bool = None, merge: bool = None, format: 'Format' = None, scale: float = None, color: 'Color' = None):
39        # The scan selection.
40        self.selection = selection
41        # Export textures.
42        self.texture = texture
43        # Merge the scans into a single file.
44        self.merge = merge
45        # The export format.
46        self.format = format
47        # Scale factor of the exported geometry.
48        self.scale = scale
49        self.color = color

Export settings.

Export( selection: MF.V3.Settings.ScanSelection.ScanSelection = None, texture: bool = None, merge: bool = None, format: Export.Format = None, scale: float = None, color: Export.Color = None)
38    def __init__(self, selection: MF_V3_Settings_ScanSelection_ScanSelection = None, texture: bool = None, merge: bool = None, format: 'Format' = None, scale: float = None, color: 'Color' = None):
39        # The scan selection.
40        self.selection = selection
41        # Export textures.
42        self.texture = texture
43        # Merge the scans into a single file.
44        self.merge = merge
45        # The export format.
46        self.format = format
47        # Scale factor of the exported geometry.
48        self.scale = scale
49        self.color = color
selection
texture
merge
format
scale
color
class Export.Format(enum.Enum):
11    class Format(Enum):
12
13        """
14         Scan export formats.
15        """
16        ply = "ply"  # Polygon format.
17        dae = "dae"  # Digital asset exchange format.
18        fbx = "fbx"  # Autodesk format.
19        glb = "glb"  # GL transmission format.
20        obj = "obj"  # Wavefront format.
21        stl = "stl"  # Stereolithography format.
22        xyz = "xyz"  # Chemical format.

Scan export formats.

ply = <Format.ply: 'ply'>
dae = <Format.dae: 'dae'>
fbx = <Format.fbx: 'fbx'>
glb = <Format.glb: 'glb'>
obj = <Format.obj: 'obj'>
stl = <Format.stl: 'stl'>
xyz = <Format.xyz: 'xyz'>
class Export.Color:
24    class Color:
25        """Settings for mapping the vertex quality to a vertex color.
26        The specific meaning of 'quality' depends on the broader context.
27        In the case heat maps, the quality is the point-to-mesh distance of the vertex."""
28        def __init__(self, scale: float = None, offset: float = None, min: float = None, max: float = None):
29            # The scale in `normalizedQuality = quality * scale + offset` that normalizes the quality value to the range [0, 1] which maps to the color range [blue, red] .  `offset` must also be specified.
30            self.scale = scale
31            # The offset in `normalizedQuality = quality * scale + offset` that normalizes the quality value to the range [0, 1] which maps to the color range [blue, red] .  `scale` must also be specified.
32            self.offset = offset
33            # The quality value that is mapped to the minimum color (blue).  `max` must also be specified.
34            self.min = min
35            # The quality value that is mapped to the maximum color (red).   `min` must also be specified.
36            self.max = max

Settings for mapping the vertex quality to a vertex color. The specific meaning of 'quality' depends on the broader context. In the case heat maps, the quality is the point-to-mesh distance of the vertex.

Export.Color( scale: float = None, offset: float = None, min: float = None, max: float = None)
28        def __init__(self, scale: float = None, offset: float = None, min: float = None, max: float = None):
29            # The scale in `normalizedQuality = quality * scale + offset` that normalizes the quality value to the range [0, 1] which maps to the color range [blue, red] .  `offset` must also be specified.
30            self.scale = scale
31            # The offset in `normalizedQuality = quality * scale + offset` that normalizes the quality value to the range [0, 1] which maps to the color range [blue, red] .  `scale` must also be specified.
32            self.offset = offset
33            # The quality value that is mapped to the minimum color (blue).  `max` must also be specified.
34            self.min = min
35            # The quality value that is mapped to the maximum color (red).   `min` must also be specified.
36            self.max = max
scale
offset
min
max