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