three.MF.V3.Settings.Merge
1from MF.V3.Settings.ScanSelection import ScanSelection as MF_V3_Settings_ScanSelection_ScanSelection 2from enum import Enum 3 4 5class Merge: 6 7 """ 8 Scan merge settings. 9 """ 10 class Quality(Enum): 11 12 """ 13 Remesh quality settings. 14 """ 15 VeryLow = "VeryLow" # Very low remesh quality. 16 Low = "Low" # Low remesh quality. 17 Medium = "Medium" # Medium remesh quality. 18 High = "High" # High remesh quality. 19 VeryHigh = "VeryHigh" # Very high remesh quality. 20 21 class Remesh: 22 23 """ 24 Remesh settings. 25 """ 26 def __init__(self, quality: 'Merge.Quality' = None, voxelSize: float = None, depth: int = None, scale: float = None, linearInterpolation: bool = None): 27 # Remesh quality. 28 self.quality = quality 29 # Voxel size. 30 self.voxelSize = voxelSize 31 # Depth. 32 self.depth = depth 33 # Scale. 34 self.scale = scale 35 # Linear Interpolation. 36 self.linearInterpolation = linearInterpolation 37 38 class Simplify: 39 40 """ 41 Simplify settings. 42 """ 43 class Method(Enum): 44 45 """ 46 Remesh method. 47 """ 48 QuadraticDecimation = "QuadraticDecimation" # Quadratic decimation. 49 FlowTriangles = "FlowTriangles" # Flow remesh as triangles. 50 FlowQuads = "FlowQuads" # Flow remesh as quads. 51 FlowQuadDominant = "FlowQuadDominant" # Flow remesh as quad-dominant mesh. 52 53 def __init__(self, method: 'Method' = None, faceCount: int = None): 54 # Simplify method. 55 self.method = method 56 # Target face count. 57 self.faceCount = faceCount 58 59 def __init__(self, selection: MF_V3_Settings_ScanSelection_ScanSelection = None, remesh: 'Remesh' = None, simplify: 'Simplify' = None, texturize: bool = None): 60 # The scan selection. 61 self.selection = selection 62 # Remesh settings. 63 self.remesh = remesh 64 # Simplify settings. 65 self.simplify = simplify 66 # Apply textures to the merged mesh. 67 self.texturize = texturize
class
Merge:
6class Merge: 7 8 """ 9 Scan merge settings. 10 """ 11 class Quality(Enum): 12 13 """ 14 Remesh quality settings. 15 """ 16 VeryLow = "VeryLow" # Very low remesh quality. 17 Low = "Low" # Low remesh quality. 18 Medium = "Medium" # Medium remesh quality. 19 High = "High" # High remesh quality. 20 VeryHigh = "VeryHigh" # Very high remesh quality. 21 22 class Remesh: 23 24 """ 25 Remesh settings. 26 """ 27 def __init__(self, quality: 'Merge.Quality' = None, voxelSize: float = None, depth: int = None, scale: float = None, linearInterpolation: bool = None): 28 # Remesh quality. 29 self.quality = quality 30 # Voxel size. 31 self.voxelSize = voxelSize 32 # Depth. 33 self.depth = depth 34 # Scale. 35 self.scale = scale 36 # Linear Interpolation. 37 self.linearInterpolation = linearInterpolation 38 39 class Simplify: 40 41 """ 42 Simplify settings. 43 """ 44 class Method(Enum): 45 46 """ 47 Remesh method. 48 """ 49 QuadraticDecimation = "QuadraticDecimation" # Quadratic decimation. 50 FlowTriangles = "FlowTriangles" # Flow remesh as triangles. 51 FlowQuads = "FlowQuads" # Flow remesh as quads. 52 FlowQuadDominant = "FlowQuadDominant" # Flow remesh as quad-dominant mesh. 53 54 def __init__(self, method: 'Method' = None, faceCount: int = None): 55 # Simplify method. 56 self.method = method 57 # Target face count. 58 self.faceCount = faceCount 59 60 def __init__(self, selection: MF_V3_Settings_ScanSelection_ScanSelection = None, remesh: 'Remesh' = None, simplify: 'Simplify' = None, texturize: bool = None): 61 # The scan selection. 62 self.selection = selection 63 # Remesh settings. 64 self.remesh = remesh 65 # Simplify settings. 66 self.simplify = simplify 67 # Apply textures to the merged mesh. 68 self.texturize = texturize
Scan merge settings.
Merge( selection: MF.V3.Settings.ScanSelection.ScanSelection = None, remesh: Merge.Remesh = None, simplify: Merge.Simplify = None, texturize: bool = None)
60 def __init__(self, selection: MF_V3_Settings_ScanSelection_ScanSelection = None, remesh: 'Remesh' = None, simplify: 'Simplify' = None, texturize: bool = None): 61 # The scan selection. 62 self.selection = selection 63 # Remesh settings. 64 self.remesh = remesh 65 # Simplify settings. 66 self.simplify = simplify 67 # Apply textures to the merged mesh. 68 self.texturize = texturize
class
Merge.Quality(enum.Enum):
11 class Quality(Enum): 12 13 """ 14 Remesh quality settings. 15 """ 16 VeryLow = "VeryLow" # Very low remesh quality. 17 Low = "Low" # Low remesh quality. 18 Medium = "Medium" # Medium remesh quality. 19 High = "High" # High remesh quality. 20 VeryHigh = "VeryHigh" # Very high remesh quality.
Remesh quality settings.
class
Merge.Remesh:
22 class Remesh: 23 24 """ 25 Remesh settings. 26 """ 27 def __init__(self, quality: 'Merge.Quality' = None, voxelSize: float = None, depth: int = None, scale: float = None, linearInterpolation: bool = None): 28 # Remesh quality. 29 self.quality = quality 30 # Voxel size. 31 self.voxelSize = voxelSize 32 # Depth. 33 self.depth = depth 34 # Scale. 35 self.scale = scale 36 # Linear Interpolation. 37 self.linearInterpolation = linearInterpolation
Remesh settings.
Merge.Remesh( quality: Merge.Quality = None, voxelSize: float = None, depth: int = None, scale: float = None, linearInterpolation: bool = None)
27 def __init__(self, quality: 'Merge.Quality' = None, voxelSize: float = None, depth: int = None, scale: float = None, linearInterpolation: bool = None): 28 # Remesh quality. 29 self.quality = quality 30 # Voxel size. 31 self.voxelSize = voxelSize 32 # Depth. 33 self.depth = depth 34 # Scale. 35 self.scale = scale 36 # Linear Interpolation. 37 self.linearInterpolation = linearInterpolation
class
Merge.Simplify:
39 class Simplify: 40 41 """ 42 Simplify settings. 43 """ 44 class Method(Enum): 45 46 """ 47 Remesh method. 48 """ 49 QuadraticDecimation = "QuadraticDecimation" # Quadratic decimation. 50 FlowTriangles = "FlowTriangles" # Flow remesh as triangles. 51 FlowQuads = "FlowQuads" # Flow remesh as quads. 52 FlowQuadDominant = "FlowQuadDominant" # Flow remesh as quad-dominant mesh. 53 54 def __init__(self, method: 'Method' = None, faceCount: int = None): 55 # Simplify method. 56 self.method = method 57 # Target face count. 58 self.faceCount = faceCount
Simplify settings.
Merge.Simplify( method: Merge.Simplify.Method = None, faceCount: int = None)
class
Merge.Simplify.Method(enum.Enum):
44 class Method(Enum): 45 46 """ 47 Remesh method. 48 """ 49 QuadraticDecimation = "QuadraticDecimation" # Quadratic decimation. 50 FlowTriangles = "FlowTriangles" # Flow remesh as triangles. 51 FlowQuads = "FlowQuads" # Flow remesh as quads. 52 FlowQuadDominant = "FlowQuadDominant" # Flow remesh as quad-dominant mesh.
Remesh method.