three.MF.V3.Settings.Smooth
1from MF.V3.Settings.ScanSelection import ScanSelection as MF_V3_Settings_ScanSelection_ScanSelection 2 3 4class Smooth: 5 6 """ 7 Mesh smoothing settings. 8 """ 9 class Taubin: 10 11 """ 12 Taubin smoothing settings. 13 """ 14 def __init__(self, iterations: int = None, lambda_: float = None, mu: float = None): 15 # Number of smoothing iterations. 16 self.iterations = iterations 17 # First laplacian smoothing filter parameter. Must be greater than zero. 18 self.lambda_ = lambda_ 19 """Second laplacian smoothing filter parameter. 20 Must be negative and have magnitude greater or equal to lambda .""" 21 self.mu = mu 22 23 def __init__(self, selection: MF_V3_Settings_ScanSelection_ScanSelection = None, taubin: 'Taubin' = None): 24 # The scan selection. 25 self.selection = selection 26 # Taubin smoothing. 27 self.taubin = taubin
class
Smooth:
5class Smooth: 6 7 """ 8 Mesh smoothing settings. 9 """ 10 class Taubin: 11 12 """ 13 Taubin smoothing settings. 14 """ 15 def __init__(self, iterations: int = None, lambda_: float = None, mu: float = None): 16 # Number of smoothing iterations. 17 self.iterations = iterations 18 # First laplacian smoothing filter parameter. Must be greater than zero. 19 self.lambda_ = lambda_ 20 """Second laplacian smoothing filter parameter. 21 Must be negative and have magnitude greater or equal to lambda .""" 22 self.mu = mu 23 24 def __init__(self, selection: MF_V3_Settings_ScanSelection_ScanSelection = None, taubin: 'Taubin' = None): 25 # The scan selection. 26 self.selection = selection 27 # Taubin smoothing. 28 self.taubin = taubin
Mesh smoothing settings.
Smooth( selection: MF.V3.Settings.ScanSelection.ScanSelection = None, taubin: Smooth.Taubin = None)
class
Smooth.Taubin:
10 class Taubin: 11 12 """ 13 Taubin smoothing settings. 14 """ 15 def __init__(self, iterations: int = None, lambda_: float = None, mu: float = None): 16 # Number of smoothing iterations. 17 self.iterations = iterations 18 # First laplacian smoothing filter parameter. Must be greater than zero. 19 self.lambda_ = lambda_ 20 """Second laplacian smoothing filter parameter. 21 Must be negative and have magnitude greater or equal to lambda .""" 22 self.mu = mu
Taubin smoothing settings.
Smooth.Taubin(iterations: int = None, lambda_: float = None, mu: float = None)
15 def __init__(self, iterations: int = None, lambda_: float = None, mu: float = None): 16 # Number of smoothing iterations. 17 self.iterations = iterations 18 # First laplacian smoothing filter parameter. Must be greater than zero. 19 self.lambda_ = lambda_ 20 """Second laplacian smoothing filter parameter. 21 Must be negative and have magnitude greater or equal to lambda .""" 22 self.mu = mu