three.MF.V3.Settings.NewGroup
1from typing import List 2 3 4class NewGroup: 5 6 """ 7 Scan group settings. 8 """ 9 def __init__(self, parentIndex: int = None, baseName: str = None, color: List[float] = None, visible: bool = None, collapsed: bool = None, rotation: List[float] = None, translation: List[float] = None): 10 """ 11 The index of the parent group in which the new group is created. 12 If unspecified the new group is added to the root of the group tree. 13 """ 14 self.parentIndex = parentIndex 15 """ 16 Group base name. 17 The new group name will start with the base name followed by a unique index number chosen by the backend. 18 """ 19 self.baseName = baseName 20 # Group color. 21 self.color = color 22 # Group visibility. 23 self.visible = visible 24 # Collapsed state in the group tree. 25 self.collapsed = collapsed 26 """ 27 Group axis-angle rotation vector. 28 The direction of the vector is the rotation axis. 29 The magnitude of the vector is rotation angle in radians. 30 """ 31 self.rotation = rotation 32 # Group translation vector. 33 self.translation = translation
class
NewGroup:
5class NewGroup: 6 7 """ 8 Scan group settings. 9 """ 10 def __init__(self, parentIndex: int = None, baseName: str = None, color: List[float] = None, visible: bool = None, collapsed: bool = None, rotation: List[float] = None, translation: List[float] = None): 11 """ 12 The index of the parent group in which the new group is created. 13 If unspecified the new group is added to the root of the group tree. 14 """ 15 self.parentIndex = parentIndex 16 """ 17 Group base name. 18 The new group name will start with the base name followed by a unique index number chosen by the backend. 19 """ 20 self.baseName = baseName 21 # Group color. 22 self.color = color 23 # Group visibility. 24 self.visible = visible 25 # Collapsed state in the group tree. 26 self.collapsed = collapsed 27 """ 28 Group axis-angle rotation vector. 29 The direction of the vector is the rotation axis. 30 The magnitude of the vector is rotation angle in radians. 31 """ 32 self.rotation = rotation 33 # Group translation vector. 34 self.translation = translation
Scan group settings.
NewGroup( parentIndex: int = None, baseName: str = None, color: List[float] = None, visible: bool = None, collapsed: bool = None, rotation: List[float] = None, translation: List[float] = None)
10 def __init__(self, parentIndex: int = None, baseName: str = None, color: List[float] = None, visible: bool = None, collapsed: bool = None, rotation: List[float] = None, translation: List[float] = None): 11 """ 12 The index of the parent group in which the new group is created. 13 If unspecified the new group is added to the root of the group tree. 14 """ 15 self.parentIndex = parentIndex 16 """ 17 Group base name. 18 The new group name will start with the base name followed by a unique index number chosen by the backend. 19 """ 20 self.baseName = baseName 21 # Group color. 22 self.color = color 23 # Group visibility. 24 self.visible = visible 25 # Collapsed state in the group tree. 26 self.collapsed = collapsed 27 """ 28 Group axis-angle rotation vector. 29 The direction of the vector is the rotation axis. 30 The magnitude of the vector is rotation angle in radians. 31 """ 32 self.rotation = rotation 33 # Group translation vector. 34 self.translation = translation
The index of the parent group in which the new group is created. If unspecified the new group is added to the root of the group tree.
parentIndex
Group base name. The new group name will start with the base name followed by a unique index number chosen by the backend.