three.MF.V3.Descriptors.Export
1from MF.V3.Settings.Export import Export as MF_V3_Settings_Export_Export 2from enum import Enum 3from typing import List 4 5 6class Export: 7 8 """ 9 Scan data descriptor. 10 """ 11 class Face(Enum): 12 13 """ 14 Geometry face types. 15 """ 16 NoFace = "NoFace" # No faces. 17 Point = "Point" # Point faces. 18 Line = "Line" # Line faces. 19 Triangle = "Triangle" # Triangle faces. 20 Quad = "Quad" # Quad faces. 21 22 class Texture(Enum): 23 24 """ 25 Texture support types. 26 """ 27 Empty = "None" # The format does not support textures. 28 Single = "Single" # The format supports a single texture only. 29 Multiple = "Multiple" # The format supports multiple textures. 30 31 def __init__(self, format: MF_V3_Settings_Export_Export.Format, extension: str, description: str, normals: bool, colors: bool, textures: 'Texture', faces: List['Face'] = None): 32 # Export format. 33 self.format = format 34 # Export file extension. e.g. ".ply" 35 self.extension = extension 36 # Export format description. e.g. "Polygon format" 37 self.description = description 38 # Vertex normal support. 39 self.normals = normals 40 # Vertex color support. 41 self.colors = colors 42 # Texture (UV) support. 43 self.textures = textures 44 # Types of supported faces. 45 self.faces = faces
class
Export:
7class Export: 8 9 """ 10 Scan data descriptor. 11 """ 12 class Face(Enum): 13 14 """ 15 Geometry face types. 16 """ 17 NoFace = "NoFace" # No faces. 18 Point = "Point" # Point faces. 19 Line = "Line" # Line faces. 20 Triangle = "Triangle" # Triangle faces. 21 Quad = "Quad" # Quad faces. 22 23 class Texture(Enum): 24 25 """ 26 Texture support types. 27 """ 28 Empty = "None" # The format does not support textures. 29 Single = "Single" # The format supports a single texture only. 30 Multiple = "Multiple" # The format supports multiple textures. 31 32 def __init__(self, format: MF_V3_Settings_Export_Export.Format, extension: str, description: str, normals: bool, colors: bool, textures: 'Texture', faces: List['Face'] = None): 33 # Export format. 34 self.format = format 35 # Export file extension. e.g. ".ply" 36 self.extension = extension 37 # Export format description. e.g. "Polygon format" 38 self.description = description 39 # Vertex normal support. 40 self.normals = normals 41 # Vertex color support. 42 self.colors = colors 43 # Texture (UV) support. 44 self.textures = textures 45 # Types of supported faces. 46 self.faces = faces
Scan data descriptor.
Export( format: MF.V3.Settings.Export.Export.Format, extension: str, description: str, normals: bool, colors: bool, textures: Export.Texture, faces: List[Export.Face] = None)
32 def __init__(self, format: MF_V3_Settings_Export_Export.Format, extension: str, description: str, normals: bool, colors: bool, textures: 'Texture', faces: List['Face'] = None): 33 # Export format. 34 self.format = format 35 # Export file extension. e.g. ".ply" 36 self.extension = extension 37 # Export format description. e.g. "Polygon format" 38 self.description = description 39 # Vertex normal support. 40 self.normals = normals 41 # Vertex color support. 42 self.colors = colors 43 # Texture (UV) support. 44 self.textures = textures 45 # Types of supported faces. 46 self.faces = faces
class
Export.Face(enum.Enum):
12 class Face(Enum): 13 14 """ 15 Geometry face types. 16 """ 17 NoFace = "NoFace" # No faces. 18 Point = "Point" # Point faces. 19 Line = "Line" # Line faces. 20 Triangle = "Triangle" # Triangle faces. 21 Quad = "Quad" # Quad faces.
Geometry face types.
class
Export.Texture(enum.Enum):
23 class Texture(Enum): 24 25 """ 26 Texture support types. 27 """ 28 Empty = "None" # The format does not support textures. 29 Single = "Single" # The format supports a single texture only. 30 Multiple = "Multiple" # The format supports multiple textures.
Texture support types.