three.MF.V3.Tasks.Smooth

 1from MF.V3.Settings.Smooth import Smooth as MF_V3_Settings_Smooth_Smooth
 2from MF.V3.Task import TaskState as MF_V3_Task_TaskState
 3from typing import List
 4
 5
 6class Smooth:
 7    """*
 8    Smooth a set of scans.
 9
10    > Request example:
11
12    ```json
13    {
14    "Task":{
15    "Index":1,
16    "Type":"Smooth",
17    "Input":{
18    "selection":{"mode":"visible"},
19    "taubin":{"iterations": 3, "lambda": 0.5, "mu": -0.53}
20    }
21    }
22    }
23    ```
24
25    > Response example:
26
27    ```json
28    {
29    "Task":{
30    "Index":1,
31    "Type":"Smooth",
32    "Input":{
33    "selection":{"mode":"visible"},
34    "taubin":{"iterations": 3, "lambda": 0.5, "mu": -0.53}
35    },
36    "Output":{[1, 2, 3]},
37    "State":"Completed"
38    }
39    }
40    ```
41    """
42    class Request:
43
44        """
45         Client request for the `Smooth` task.
46        """
47        def __init__(self, Index: int, Type: str, Input: MF_V3_Settings_Smooth_Smooth):
48            # A unique identifier generated by the client.
49            self.Index = Index
50            # "Smooth"
51            self.Type = Type
52            # The Smooth settings.
53            self.Input = Input
54
55    class Response:
56
57        """
58         Server response for the `Smooth` task.
59        """
60        def __init__(self, Index: int, Type: str, Input: MF_V3_Settings_Smooth_Smooth, Output: List[int] = None, State: MF_V3_Task_TaskState = None, Error: str = None):
61            # The unique identifier generated by the client.
62            self.Index = Index
63            # "Smooth"
64            self.Type = Type
65            # The requested Smooth settings.
66            self.Input = Input
67            # The index of each modified scan.
68            self.Output = Output
69            # The current state of the task.
70            self.State = State
71            # A string describing the error if the task has failed.
72            self.Error = Error
73
74    def __init__(self):
75        pass
class Smooth:
 7class Smooth:
 8    """*
 9    Smooth a set of scans.
10
11    > Request example:
12
13    ```json
14    {
15    "Task":{
16    "Index":1,
17    "Type":"Smooth",
18    "Input":{
19    "selection":{"mode":"visible"},
20    "taubin":{"iterations": 3, "lambda": 0.5, "mu": -0.53}
21    }
22    }
23    }
24    ```
25
26    > Response example:
27
28    ```json
29    {
30    "Task":{
31    "Index":1,
32    "Type":"Smooth",
33    "Input":{
34    "selection":{"mode":"visible"},
35    "taubin":{"iterations": 3, "lambda": 0.5, "mu": -0.53}
36    },
37    "Output":{[1, 2, 3]},
38    "State":"Completed"
39    }
40    }
41    ```
42    """
43    class Request:
44
45        """
46         Client request for the `Smooth` task.
47        """
48        def __init__(self, Index: int, Type: str, Input: MF_V3_Settings_Smooth_Smooth):
49            # A unique identifier generated by the client.
50            self.Index = Index
51            # "Smooth"
52            self.Type = Type
53            # The Smooth settings.
54            self.Input = Input
55
56    class Response:
57
58        """
59         Server response for the `Smooth` task.
60        """
61        def __init__(self, Index: int, Type: str, Input: MF_V3_Settings_Smooth_Smooth, Output: List[int] = None, State: MF_V3_Task_TaskState = None, Error: str = None):
62            # The unique identifier generated by the client.
63            self.Index = Index
64            # "Smooth"
65            self.Type = Type
66            # The requested Smooth settings.
67            self.Input = Input
68            # The index of each modified scan.
69            self.Output = Output
70            # The current state of the task.
71            self.State = State
72            # A string describing the error if the task has failed.
73            self.Error = Error
74
75    def __init__(self):
76        pass

* Smooth a set of scans.

Request example:

{
"Task":{
"Index":1,
"Type":"Smooth",
"Input":{
"selection":{"mode":"visible"},
"taubin":{"iterations": 3, "lambda": 0.5, "mu": -0.53}
}
}
}

Response example:

{
"Task":{
"Index":1,
"Type":"Smooth",
"Input":{
"selection":{"mode":"visible"},
"taubin":{"iterations": 3, "lambda": 0.5, "mu": -0.53}
},
"Output":{[1, 2, 3]},
"State":"Completed"
}
}
class Smooth.Request:
43    class Request:
44
45        """
46         Client request for the `Smooth` task.
47        """
48        def __init__(self, Index: int, Type: str, Input: MF_V3_Settings_Smooth_Smooth):
49            # A unique identifier generated by the client.
50            self.Index = Index
51            # "Smooth"
52            self.Type = Type
53            # The Smooth settings.
54            self.Input = Input

Client request for the Smooth task.

Smooth.Request(Index: int, Type: str, Input: MF.V3.Settings.Smooth.Smooth)
48        def __init__(self, Index: int, Type: str, Input: MF_V3_Settings_Smooth_Smooth):
49            # A unique identifier generated by the client.
50            self.Index = Index
51            # "Smooth"
52            self.Type = Type
53            # The Smooth settings.
54            self.Input = Input
Index
Type
Input
class Smooth.Response:
56    class Response:
57
58        """
59         Server response for the `Smooth` task.
60        """
61        def __init__(self, Index: int, Type: str, Input: MF_V3_Settings_Smooth_Smooth, Output: List[int] = None, State: MF_V3_Task_TaskState = None, Error: str = None):
62            # The unique identifier generated by the client.
63            self.Index = Index
64            # "Smooth"
65            self.Type = Type
66            # The requested Smooth settings.
67            self.Input = Input
68            # The index of each modified scan.
69            self.Output = Output
70            # The current state of the task.
71            self.State = State
72            # A string describing the error if the task has failed.
73            self.Error = Error

Server response for the Smooth task.

Smooth.Response( Index: int, Type: str, Input: MF.V3.Settings.Smooth.Smooth, Output: List[int] = None, State: MF.V3.Task.TaskState = None, Error: str = None)
61        def __init__(self, Index: int, Type: str, Input: MF_V3_Settings_Smooth_Smooth, Output: List[int] = None, State: MF_V3_Task_TaskState = None, Error: str = None):
62            # The unique identifier generated by the client.
63            self.Index = Index
64            # "Smooth"
65            self.Type = Type
66            # The requested Smooth settings.
67            self.Input = Input
68            # The index of each modified scan.
69            self.Output = Output
70            # The current state of the task.
71            self.State = State
72            # A string describing the error if the task has failed.
73            self.Error = Error
Index
Type
Input
Output
State
Error