three.MF.V3.Descriptors.RemoveVertices

 1from MF.V3.Descriptors.Project import Project as MF_V3_Descriptors_Project_Project
 2from typing import List
 3
 4
 5class RemoveVertices:
 6
 7    """
 8     Descriptor a remove vertices task.
 9    """
10    class Scan:
11
12        """
13         Scan vertex and triangle removal metadata.
14        """
15        def __init__(self, index: int, vertices: int, triangles: int):
16            # The scan index.
17            self.index = index
18            # The number of vertices after the removal.
19            self.vertices = vertices
20            # The number of triangles after the removal.
21            self.triangles = triangles
22
23    def __init__(self, scans: List['Scan'] = None, groups: MF_V3_Descriptors_Project_Project.Group = None):
24        # The list of scans whose vertices were removed.
25        self.scans = scans
26        """
27        The updated project data after undo or redo.
28        If undefined, then there was no change to the project.
29        """
30        self.groups = groups
class RemoveVertices:
 6class RemoveVertices:
 7
 8    """
 9     Descriptor a remove vertices task.
10    """
11    class Scan:
12
13        """
14         Scan vertex and triangle removal metadata.
15        """
16        def __init__(self, index: int, vertices: int, triangles: int):
17            # The scan index.
18            self.index = index
19            # The number of vertices after the removal.
20            self.vertices = vertices
21            # The number of triangles after the removal.
22            self.triangles = triangles
23
24    def __init__(self, scans: List['Scan'] = None, groups: MF_V3_Descriptors_Project_Project.Group = None):
25        # The list of scans whose vertices were removed.
26        self.scans = scans
27        """
28        The updated project data after undo or redo.
29        If undefined, then there was no change to the project.
30        """
31        self.groups = groups

Descriptor a remove vertices task.

RemoveVertices( scans: List[RemoveVertices.Scan] = None, groups: MF.V3.Descriptors.Project.Project.Group = None)
24    def __init__(self, scans: List['Scan'] = None, groups: MF_V3_Descriptors_Project_Project.Group = None):
25        # The list of scans whose vertices were removed.
26        self.scans = scans
27        """
28        The updated project data after undo or redo.
29        If undefined, then there was no change to the project.
30        """
31        self.groups = groups
scans

The updated project data after undo or redo. If undefined, then there was no change to the project.

groups
class RemoveVertices.Scan:
11    class Scan:
12
13        """
14         Scan vertex and triangle removal metadata.
15        """
16        def __init__(self, index: int, vertices: int, triangles: int):
17            # The scan index.
18            self.index = index
19            # The number of vertices after the removal.
20            self.vertices = vertices
21            # The number of triangles after the removal.
22            self.triangles = triangles

Scan vertex and triangle removal metadata.

RemoveVertices.Scan(index: int, vertices: int, triangles: int)
16        def __init__(self, index: int, vertices: int, triangles: int):
17            # The scan index.
18            self.index = index
19            # The number of vertices after the removal.
20            self.vertices = vertices
21            # The number of triangles after the removal.
22            self.triangles = triangles
index
vertices
triangles