three.MF.V3.Descriptors.Project

 1from typing import List
 2
 3
 4class Project:
 5
 6    """
 7     V3 project descriptor.
 8    """
 9    class Brief:
10
11        """
12         V3 project brief descriptor.
13        """
14        def __init__(self, index: int, name: str, size: int, modified: List[int] = None):
15            # Project index.
16            self.index = index
17            # Project name.
18            self.name = name
19            # Size in bytes.
20            self.size = size
21            # Project last modified date and time [year, month, day, hour, minute, second].
22            self.modified = modified
23
24    class Group:
25
26        """
27         V3 project scan group tree descriptor.
28        """
29        def __init__(self, index: int, name: str, visible: bool, collapsed: bool, color: List[float] = None, rotation: List[float] = None, translation: List[float] = None, scan: int = None, groups: List['Project.Group'] = None):
30            # Group index.
31            self.index = index
32            # Group name.
33            self.name = name
34            # Visibility in the renderer.
35            self.visible = visible
36            # Collapsed state in the group tree.
37            self.collapsed = collapsed
38            # Color in the renderer.
39            self.color = color
40            # Axis-angle rotation vector.  The direction of the vector is the rotation axis.  The magnitude of the vector is rotation angle in radians.
41            self.rotation = rotation
42            # Translation vector.
43            self.translation = translation
44            # The scan index. If defined this group is a scan and cannot have subgroups.
45            self.scan = scan
46            # Subgroups.
47            self.groups = groups
48
49    def __init__(self, index: int, name: str, groups: 'Group'):
50        # Project index.
51        self.index = index
52        # Project name.
53        self.name = name
54        self.groups = groups
class Project:
 5class Project:
 6
 7    """
 8     V3 project descriptor.
 9    """
10    class Brief:
11
12        """
13         V3 project brief descriptor.
14        """
15        def __init__(self, index: int, name: str, size: int, modified: List[int] = None):
16            # Project index.
17            self.index = index
18            # Project name.
19            self.name = name
20            # Size in bytes.
21            self.size = size
22            # Project last modified date and time [year, month, day, hour, minute, second].
23            self.modified = modified
24
25    class Group:
26
27        """
28         V3 project scan group tree descriptor.
29        """
30        def __init__(self, index: int, name: str, visible: bool, collapsed: bool, color: List[float] = None, rotation: List[float] = None, translation: List[float] = None, scan: int = None, groups: List['Project.Group'] = None):
31            # Group index.
32            self.index = index
33            # Group name.
34            self.name = name
35            # Visibility in the renderer.
36            self.visible = visible
37            # Collapsed state in the group tree.
38            self.collapsed = collapsed
39            # Color in the renderer.
40            self.color = color
41            # Axis-angle rotation vector.  The direction of the vector is the rotation axis.  The magnitude of the vector is rotation angle in radians.
42            self.rotation = rotation
43            # Translation vector.
44            self.translation = translation
45            # The scan index. If defined this group is a scan and cannot have subgroups.
46            self.scan = scan
47            # Subgroups.
48            self.groups = groups
49
50    def __init__(self, index: int, name: str, groups: 'Group'):
51        # Project index.
52        self.index = index
53        # Project name.
54        self.name = name
55        self.groups = groups

V3 project descriptor.

Project( index: int, name: str, groups: Project.Group)
50    def __init__(self, index: int, name: str, groups: 'Group'):
51        # Project index.
52        self.index = index
53        # Project name.
54        self.name = name
55        self.groups = groups
index
name
groups
class Project.Brief:
10    class Brief:
11
12        """
13         V3 project brief descriptor.
14        """
15        def __init__(self, index: int, name: str, size: int, modified: List[int] = None):
16            # Project index.
17            self.index = index
18            # Project name.
19            self.name = name
20            # Size in bytes.
21            self.size = size
22            # Project last modified date and time [year, month, day, hour, minute, second].
23            self.modified = modified

V3 project brief descriptor.

Project.Brief(index: int, name: str, size: int, modified: List[int] = None)
15        def __init__(self, index: int, name: str, size: int, modified: List[int] = None):
16            # Project index.
17            self.index = index
18            # Project name.
19            self.name = name
20            # Size in bytes.
21            self.size = size
22            # Project last modified date and time [year, month, day, hour, minute, second].
23            self.modified = modified
index
name
size
modified
class Project.Group:
25    class Group:
26
27        """
28         V3 project scan group tree descriptor.
29        """
30        def __init__(self, index: int, name: str, visible: bool, collapsed: bool, color: List[float] = None, rotation: List[float] = None, translation: List[float] = None, scan: int = None, groups: List['Project.Group'] = None):
31            # Group index.
32            self.index = index
33            # Group name.
34            self.name = name
35            # Visibility in the renderer.
36            self.visible = visible
37            # Collapsed state in the group tree.
38            self.collapsed = collapsed
39            # Color in the renderer.
40            self.color = color
41            # Axis-angle rotation vector.  The direction of the vector is the rotation axis.  The magnitude of the vector is rotation angle in radians.
42            self.rotation = rotation
43            # Translation vector.
44            self.translation = translation
45            # The scan index. If defined this group is a scan and cannot have subgroups.
46            self.scan = scan
47            # Subgroups.
48            self.groups = groups

V3 project scan group tree descriptor.

Project.Group( index: int, name: str, visible: bool, collapsed: bool, color: List[float] = None, rotation: List[float] = None, translation: List[float] = None, scan: int = None, groups: List[Project.Group] = None)
30        def __init__(self, index: int, name: str, visible: bool, collapsed: bool, color: List[float] = None, rotation: List[float] = None, translation: List[float] = None, scan: int = None, groups: List['Project.Group'] = None):
31            # Group index.
32            self.index = index
33            # Group name.
34            self.name = name
35            # Visibility in the renderer.
36            self.visible = visible
37            # Collapsed state in the group tree.
38            self.collapsed = collapsed
39            # Color in the renderer.
40            self.color = color
41            # Axis-angle rotation vector.  The direction of the vector is the rotation axis.  The magnitude of the vector is rotation angle in radians.
42            self.rotation = rotation
43            # Translation vector.
44            self.translation = translation
45            # The scan index. If defined this group is a scan and cannot have subgroups.
46            self.scan = scan
47            # Subgroups.
48            self.groups = groups
index
name
visible
collapsed
color
rotation
translation
scan
groups