DipsScripting 9.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. dips/AnchorPointVal.py +103 -0
  2. dips/AngleDataVal.py +62 -0
  3. dips/AnnotativeTools2DVal.py +273 -0
  4. dips/ApplicationManager.py +89 -0
  5. dips/ArrowToolEntityInfoRef.py +43 -0
  6. dips/ArrowToolEntityInfoVal.py +155 -0
  7. dips/AutomaticClusterAnalysisSettingsVal.py +161 -0
  8. dips/BuiltInDataDescriptors.py +81 -0
  9. dips/BuiltInDataFormatters.py +81 -0
  10. dips/CircularWindowVal.py +103 -0
  11. dips/ClusterWindowVal.py +190 -0
  12. dips/ColorSurrogateVal.py +95 -0
  13. dips/ConeToolEntityInfoRef.py +43 -0
  14. dips/ConeToolEntityInfoVal.py +114 -0
  15. dips/ConeVal.py +92 -0
  16. dips/ContourEntityVisibilityVal.py +132 -0
  17. dips/ContourOptionsVal.py +193 -0
  18. dips/CumulativeChartViewRef.py +42 -0
  19. dips/CumulativeChartViewVal.py +100 -0
  20. dips/CumulativePlotSettingsVal.py +94 -0
  21. dips/CurvedWindowVal.py +102 -0
  22. dips/CustomColumnCollectionVal.py +69 -0
  23. dips/CustomHistogramOptionsVal.py +103 -0
  24. dips/CustomRangeVal.py +84 -0
  25. dips/CustomRowRawDataVal.py +74 -0
  26. dips/DataDescriptorVal.py +83 -0
  27. dips/DataFilterRef.py +23 -0
  28. dips/DataFilterVal.py +73 -0
  29. dips/DataFormatterVal.py +62 -0
  30. dips/DataIdentifierVal.py +62 -0
  31. dips/DipsAPI_pb2.py +817 -0
  32. dips/DipsAPI_pb2_grpc.py +12363 -0
  33. dips/DipsApp.py +81 -0
  34. dips/DiscontinuityDataVal.py +164 -0
  35. dips/EllipseToolEntityInfoRef.py +43 -0
  36. dips/EllipseToolEntityInfoVal.py +153 -0
  37. dips/FillFormatVal.py +83 -0
  38. dips/FoldEntityInfoRef.py +23 -0
  39. dips/FoldEntityInfoVal.py +103 -0
  40. dips/FoldEntityOptionsVal.py +106 -0
  41. dips/FoldEntityVisibilityRef.py +38 -0
  42. dips/FoldEntityVisibilityVal.py +100 -0
  43. dips/FoldWindowEntityInfoVal.py +92 -0
  44. dips/FoldWindowEntityVisibilityRef.py +29 -0
  45. dips/FoldWindowEntityVisibilityVal.py +80 -0
  46. dips/FreehandWindowVal.py +80 -0
  47. dips/FullDataFormatVal.py +92 -0
  48. dips/GlobalPlaneEntityVisibilityVal.py +103 -0
  49. dips/HistogramChartViewRef.py +42 -0
  50. dips/HistogramChartViewVal.py +100 -0
  51. dips/HistogramPlotSettingsVal.py +136 -0
  52. dips/IntersectionEntityVisibilityVal.py +83 -0
  53. dips/IntersectionOptionsVal.py +83 -0
  54. dips/IntervalVal.py +102 -0
  55. dips/JointFrequencyAnalysisSettingsVal.py +102 -0
  56. dips/JointFrequencyChartViewRef.py +42 -0
  57. dips/JointFrequencyChartViewVal.py +100 -0
  58. dips/JointSpacingAnalysisSettingsVal.py +138 -0
  59. dips/JointSpacingChartViewRef.py +42 -0
  60. dips/JointSpacingChartViewVal.py +100 -0
  61. dips/KinematicAnalysisEntityVisibilityVal.py +73 -0
  62. dips/KinematicAnalysisSettingsVal.py +140 -0
  63. dips/LatLongVal.py +84 -0
  64. dips/LengthDataVal.py +83 -0
  65. dips/LineFormatVal.py +83 -0
  66. dips/LineIntersectionCalculatorToolEntityInfoRef.py +43 -0
  67. dips/LineIntersectionCalculatorToolEntityInfoVal.py +133 -0
  68. dips/LineToolEntityInfoRef.py +43 -0
  69. dips/LineToolEntityInfoVal.py +133 -0
  70. dips/LineationVal.py +83 -0
  71. dips/MeasureAngleToolEntityInfoRef.py +43 -0
  72. dips/MeasureAngleToolEntityInfoVal.py +133 -0
  73. dips/OrientationDataSetRef.py +23 -0
  74. dips/OrientationDataSetVal.py +453 -0
  75. dips/PitchGridToolEntityInfoRef.py +43 -0
  76. dips/PitchGridToolEntityInfoVal.py +114 -0
  77. dips/PlaneEntityInfoRef.py +23 -0
  78. dips/PlaneEntityInfoVal.py +92 -0
  79. dips/PlaneEntityVisibilityRef.py +38 -0
  80. dips/PlaneEntityVisibilityVal.py +100 -0
  81. dips/PlaneIntersectionCalculatorToolEntityInfoRef.py +43 -0
  82. dips/PlaneIntersectionCalculatorToolEntityInfoVal.py +133 -0
  83. dips/PlaneOptionsVal.py +117 -0
  84. dips/PlaneVal.py +105 -0
  85. dips/PoleEntityOptionsVal.py +84 -0
  86. dips/PoleEntityVisibilityVal.py +83 -0
  87. dips/PolygonToolEntityInfoRef.py +43 -0
  88. dips/PolygonToolEntityInfoVal.py +131 -0
  89. dips/PolylineToolEntityInfoRef.py +43 -0
  90. dips/PolylineToolEntityInfoVal.py +111 -0
  91. dips/ProcessedDataVal.py +94 -0
  92. dips/ProjStubRef.py +388 -0
  93. dips/ProjStubVal.py +52 -0
  94. dips/ProtobufCollectionWrappers.py +108 -0
  95. dips/QualitativeQuantitativeAnalysisSettingsVal.py +151 -0
  96. dips/QualitativeQuantitativeChartViewRef.py +42 -0
  97. dips/QualitativeQuantitativeChartViewVal.py +111 -0
  98. dips/QuantitativeContourSettingsVal.py +103 -0
  99. dips/RQDAnalysisChartViewRef.py +42 -0
  100. dips/RQDAnalysisChartViewVal.py +100 -0
  101. dips/RQDAnalysisSettingsVal.py +111 -0
  102. dips/RectangleToolEntityInfoRef.py +43 -0
  103. dips/RectangleToolEntityInfoVal.py +153 -0
  104. dips/ReportingConventionResultVal.py +62 -0
  105. dips/RosettePresetOptionsVal.py +227 -0
  106. dips/RosetteSettingsVal.py +174 -0
  107. dips/RosetteViewRef.py +296 -0
  108. dips/RosetteViewVal.py +177 -0
  109. dips/ScatterChartViewRef.py +42 -0
  110. dips/ScatterChartViewVal.py +100 -0
  111. dips/ScatterPlotSettingsVal.py +113 -0
  112. dips/SetEntityInfoRef.py +23 -0
  113. dips/SetEntityInfoVal.py +103 -0
  114. dips/SetEntityOptionsVal.py +133 -0
  115. dips/SetEntityVisibilityRef.py +38 -0
  116. dips/SetEntityVisibilityVal.py +100 -0
  117. dips/SetStatisticsSettingsVal.py +106 -0
  118. dips/SetVersusSetVal.py +82 -0
  119. dips/SetWindowEntityInfoVal.py +183 -0
  120. dips/SetWindowEntityVisibilityRef.py +29 -0
  121. dips/SetWindowEntityVisibilityVal.py +80 -0
  122. dips/StatisticalDistributionFilterVal.py +128 -0
  123. dips/Stereonet2DPresetOptionsVal.py +488 -0
  124. dips/Stereonet2DViewRef.py +612 -0
  125. dips/Stereonet2DViewVal.py +363 -0
  126. dips/Stereonet3DPresetOptionsVal.py +281 -0
  127. dips/Stereonet3DViewRef.py +440 -0
  128. dips/Stereonet3DViewVal.py +303 -0
  129. dips/StereonetOverlayEntityVisibilityVal.py +83 -0
  130. dips/StereonetOverlaySettingsVal.py +103 -0
  131. dips/StereonetProjectionModeVal.py +73 -0
  132. dips/SurveyDataVal.py +103 -0
  133. dips/SymbolDisplaySettingVal.py +124 -0
  134. dips/SymbolicSettingsVal.py +89 -0
  135. dips/TextFormatVal.py +105 -0
  136. dips/TextToolEntityInfoRef.py +43 -0
  137. dips/TextToolEntityInfoVal.py +176 -0
  138. dips/TraverseEntityOptionsVal.py +84 -0
  139. dips/TraverseEntityVisibilityRef.py +38 -0
  140. dips/TraverseEntityVisibilityVal.py +100 -0
  141. dips/TrendLineToolEntityInfoRef.py +43 -0
  142. dips/TrendLineToolEntityInfoVal.py +114 -0
  143. dips/TrendPlungeVal.py +91 -0
  144. dips/UnitSystemResultVal.py +62 -0
  145. dips/UserPlaneEntityOptionsVal.py +100 -0
  146. dips/ValidatableResultVal.py +69 -0
  147. dips/ValidatableResult_ProtoReference_ArrowToolEntityInfoVal.py +86 -0
  148. dips/ValidatableResult_ProtoReference_ConeToolEntityInfoVal.py +86 -0
  149. dips/ValidatableResult_ProtoReference_EllipseToolEntityInfoVal.py +86 -0
  150. dips/ValidatableResult_ProtoReference_FoldEntityInfoVal.py +86 -0
  151. dips/ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfoVal.py +86 -0
  152. dips/ValidatableResult_ProtoReference_LineToolEntityInfoVal.py +86 -0
  153. dips/ValidatableResult_ProtoReference_MeasureAngleToolEntityInfoVal.py +86 -0
  154. dips/ValidatableResult_ProtoReference_OrientationDataSetVal.py +86 -0
  155. dips/ValidatableResult_ProtoReference_PitchGridToolEntityInfoVal.py +86 -0
  156. dips/ValidatableResult_ProtoReference_PlaneEntityInfoVal.py +86 -0
  157. dips/ValidatableResult_ProtoReference_PlaneIntersectionCalculatorToolEntityInfoVal.py +86 -0
  158. dips/ValidatableResult_ProtoReference_PolygonToolEntityInfoVal.py +86 -0
  159. dips/ValidatableResult_ProtoReference_PolylineToolEntityInfoVal.py +86 -0
  160. dips/ValidatableResult_ProtoReference_RectangleToolEntityInfoVal.py +86 -0
  161. dips/ValidatableResult_ProtoReference_SetEntityInfoVal.py +86 -0
  162. dips/ValidatableResult_ProtoReference_TextToolEntityInfoVal.py +86 -0
  163. dips/ValidatableResult_ProtoReference_TrendLineToolEntityInfoVal.py +86 -0
  164. dips/ValidationErrorVal.py +73 -0
  165. dips/Vector2DVal.py +73 -0
  166. dips/Vector3Val.py +84 -0
  167. dips/VectorDensityContourSettingsVal.py +73 -0
  168. dips/WeightingSettingsVal.py +83 -0
  169. dips/WrappedFreehandWindowVal.py +102 -0
  170. dips/__init__.py +29 -0
  171. dipsscripting-9.1.0.dist-info/METADATA +29 -0
  172. dipsscripting-9.1.0.dist-info/RECORD +175 -0
  173. dipsscripting-9.1.0.dist-info/WHEEL +5 -0
  174. dipsscripting-9.1.0.dist-info/licenses/License.txt +20 -0
  175. dipsscripting-9.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,43 @@
1
+ from typing import List
2
+ from . import DipsAPI_pb2_grpc
3
+ from . import DipsAPI_pb2
4
+ from .RectangleToolEntityInfoVal import RectangleToolEntityInfoVal
5
+ from .RectangleToolEntityInfoVal import RectangleToolEntityInfoVal
6
+ from .ValidatableResultVal import ValidatableResultVal
7
+
8
+ class RectangleToolEntityInfoRef:
9
+ def __init__(self, channelToConnectOn, ref: DipsAPI_pb2.ProtoReference_RectangleToolEntityInfo):
10
+ self.__modelRef = ref
11
+ self.__refManagerStub = DipsAPI_pb2_grpc.nSameModuleReferenceAccessorStub(channelToConnectOn)
12
+ self.__channelToConnectOn = channelToConnectOn
13
+ self.__EntityServicesStubLocal = DipsAPI_pb2_grpc.EntityServicesStub(channelToConnectOn)
14
+
15
+
16
+ def GetValue(self) -> RectangleToolEntityInfoVal:
17
+ bytes = self.__refManagerStub.GetValue(self.__modelRef.ID)
18
+ ret = DipsAPI_pb2.RectangleToolEntityInfo()
19
+ ret.MergeFromString(bytes.data)
20
+ return RectangleToolEntityInfoVal.from_proto(ret)
21
+
22
+ def get_model_ref(self):
23
+ """Get the underlying model reference for direct protobuf operations."""
24
+ return self.__modelRef
25
+
26
+ def RemoveRectangleTool(self):
27
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_RectangleToolEntityInfo(This=self.__modelRef)
28
+ ret = self.__EntityServicesStubLocal.RemoveRectangleTool(functionParam)
29
+
30
+
31
+ def SetRectangleToolVisibility(self, Boolean: bool):
32
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_RectangleToolEntityInfo_Boolean(This=self.__modelRef, Input1=Boolean)
33
+ ret = self.__EntityServicesStubLocal.SetRectangleToolVisibility(functionParam)
34
+
35
+
36
+ def UpdateRectangleTool(self, RectangleToolEntityInfo: RectangleToolEntityInfoVal) -> ValidatableResultVal:
37
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_RectangleToolEntityInfo_RectangleToolEntityInfo(This=self.__modelRef, Input1=(RectangleToolEntityInfo.to_proto() if hasattr(RectangleToolEntityInfo, 'to_proto') else RectangleToolEntityInfo))
38
+ ret = self.__EntityServicesStubLocal.UpdateRectangleTool(functionParam)
39
+
40
+ return ValidatableResultVal.from_proto(ret)
41
+
42
+
43
+
@@ -0,0 +1,153 @@
1
+ """Generated wrapper for RectangleToolEntityInfo protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ from .FillFormatVal import FillFormatVal
9
+ from .LineFormatVal import LineFormatVal
10
+ from .Vector2DVal import Vector2DVal
11
+
12
+ class RectangleToolEntityInfoVal:
13
+ """Simple wrapper for RectangleToolEntityInfo with Pythonic getters and setters."""
14
+
15
+ _proto_class = DipsAPI_pb2.RectangleToolEntityInfo
16
+
17
+
18
+ def __init__(self, line_format: Optional[LineFormatVal] = None, fill_format: Optional[FillFormatVal] = None, first_corner: Optional[Vector2DVal] = None, second_corner: Optional[Vector2DVal] = None, proto_message: Optional[Any] = None):
19
+ """Initialize the RectangleToolEntityInfo wrapper."""
20
+ # Initialize the protobuf message
21
+ if proto_message is not None:
22
+ self._proto_message = proto_message
23
+ else:
24
+ self._proto_message = self._proto_class()
25
+
26
+ if line_format is not None:
27
+ self._proto_message.LineFormat.CopyFrom(line_format.to_proto())
28
+ self._line_format_wrapper = line_format
29
+ if fill_format is not None:
30
+ self._proto_message.FillFormat.CopyFrom(fill_format.to_proto())
31
+ self._fill_format_wrapper = fill_format
32
+ if first_corner is not None:
33
+ self._proto_message.FirstCorner.CopyFrom(first_corner.to_proto())
34
+ self._first_corner_wrapper = first_corner
35
+ if second_corner is not None:
36
+ self._proto_message.SecondCorner.CopyFrom(second_corner.to_proto())
37
+ self._second_corner_wrapper = second_corner
38
+
39
+
40
+ # Properties
41
+
42
+ @property
43
+ def is_visible(self) -> bool:
44
+ """Get the IsVisible field value."""
45
+ return self._proto_message.IsVisible
46
+
47
+ @is_visible.setter
48
+ def is_visible(self, value: bool) -> None:
49
+ """Set the IsVisible field value."""
50
+ self._proto_message.IsVisible = value
51
+
52
+
53
+ @property
54
+ def name(self) -> str:
55
+ """Get the Name field value."""
56
+ return self._proto_message.Name
57
+
58
+ @name.setter
59
+ def name(self, value: str) -> None:
60
+ """Set the Name field value."""
61
+ self._proto_message.Name = value
62
+
63
+
64
+ @property
65
+ def line_format(self) -> LineFormatVal:
66
+ """Get the LineFormat field as a wrapper."""
67
+ if not hasattr(self, '_line_format_wrapper'):
68
+ self._line_format_wrapper = LineFormatVal(proto_message=self._proto_message.LineFormat)
69
+ return self._line_format_wrapper
70
+
71
+ @line_format.setter
72
+ def line_format(self, value: LineFormatVal) -> None:
73
+ """Set the LineFormat field to a wrapper."""
74
+ self._proto_message.LineFormat.CopyFrom(value.to_proto())
75
+ # Update the cached wrapper if it exists
76
+ if hasattr(self, '_line_format_wrapper'):
77
+ self._line_format_wrapper._proto_message.CopyFrom(self._proto_message.LineFormat)
78
+
79
+
80
+ @property
81
+ def fill_format(self) -> FillFormatVal:
82
+ """Get the FillFormat field as a wrapper."""
83
+ if not hasattr(self, '_fill_format_wrapper'):
84
+ self._fill_format_wrapper = FillFormatVal(proto_message=self._proto_message.FillFormat)
85
+ return self._fill_format_wrapper
86
+
87
+ @fill_format.setter
88
+ def fill_format(self, value: FillFormatVal) -> None:
89
+ """Set the FillFormat field to a wrapper."""
90
+ self._proto_message.FillFormat.CopyFrom(value.to_proto())
91
+ # Update the cached wrapper if it exists
92
+ if hasattr(self, '_fill_format_wrapper'):
93
+ self._fill_format_wrapper._proto_message.CopyFrom(self._proto_message.FillFormat)
94
+
95
+
96
+ @property
97
+ def first_corner(self) -> Vector2DVal:
98
+ """Get the FirstCorner field as a wrapper."""
99
+ if not hasattr(self, '_first_corner_wrapper'):
100
+ self._first_corner_wrapper = Vector2DVal(proto_message=self._proto_message.FirstCorner)
101
+ return self._first_corner_wrapper
102
+
103
+ @first_corner.setter
104
+ def first_corner(self, value: Vector2DVal) -> None:
105
+ """Set the FirstCorner field to a wrapper."""
106
+ self._proto_message.FirstCorner.CopyFrom(value.to_proto())
107
+ # Update the cached wrapper if it exists
108
+ if hasattr(self, '_first_corner_wrapper'):
109
+ self._first_corner_wrapper._proto_message.CopyFrom(self._proto_message.FirstCorner)
110
+
111
+
112
+ @property
113
+ def second_corner(self) -> Vector2DVal:
114
+ """Get the SecondCorner field as a wrapper."""
115
+ if not hasattr(self, '_second_corner_wrapper'):
116
+ self._second_corner_wrapper = Vector2DVal(proto_message=self._proto_message.SecondCorner)
117
+ return self._second_corner_wrapper
118
+
119
+ @second_corner.setter
120
+ def second_corner(self, value: Vector2DVal) -> None:
121
+ """Set the SecondCorner field to a wrapper."""
122
+ self._proto_message.SecondCorner.CopyFrom(value.to_proto())
123
+ # Update the cached wrapper if it exists
124
+ if hasattr(self, '_second_corner_wrapper'):
125
+ self._second_corner_wrapper._proto_message.CopyFrom(self._proto_message.SecondCorner)
126
+
127
+
128
+ # Utility methods
129
+
130
+ def to_proto(self):
131
+ """Get the underlying protobuf message."""
132
+ return self._proto_message
133
+
134
+ @classmethod
135
+ def from_proto(cls, proto_message):
136
+ """Create wrapper from existing protobuf message."""
137
+ wrapper = cls()
138
+ wrapper._proto_message.CopyFrom(proto_message)
139
+ return wrapper
140
+
141
+ def copy(self):
142
+ """Create a copy of this wrapper."""
143
+ new_wrapper = self.__class__()
144
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
145
+ return new_wrapper
146
+
147
+ def __str__(self) -> str:
148
+ """String representation."""
149
+ return f"{self.__class__.__name__}({self._proto_message})"
150
+
151
+ def __repr__(self) -> str:
152
+ """Detailed string representation."""
153
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,62 @@
1
+ """Generated wrapper for ReportingConventionResult protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ class ReportingConventionResultVal:
9
+ """Simple wrapper for ReportingConventionResult with Pythonic getters and setters."""
10
+
11
+ _proto_class = DipsAPI_pb2.ReportingConventionResult
12
+
13
+
14
+ def __init__(self, proto_message: Optional[Any] = None):
15
+ """Initialize the ReportingConventionResult wrapper."""
16
+ # Initialize the protobuf message
17
+ if proto_message is not None:
18
+ self._proto_message = proto_message
19
+ else:
20
+ self._proto_message = self._proto_class()
21
+
22
+
23
+
24
+ # Properties
25
+
26
+ @property
27
+ def value(self) -> Any:
28
+ """Get the Value field value."""
29
+ return self._proto_message.Value
30
+
31
+ @value.setter
32
+ def value(self, value: Any) -> None:
33
+ """Set the Value field value."""
34
+ self._proto_message.Value = value
35
+
36
+
37
+ # Utility methods
38
+
39
+ def to_proto(self):
40
+ """Get the underlying protobuf message."""
41
+ return self._proto_message
42
+
43
+ @classmethod
44
+ def from_proto(cls, proto_message):
45
+ """Create wrapper from existing protobuf message."""
46
+ wrapper = cls()
47
+ wrapper._proto_message.CopyFrom(proto_message)
48
+ return wrapper
49
+
50
+ def copy(self):
51
+ """Create a copy of this wrapper."""
52
+ new_wrapper = self.__class__()
53
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
54
+ return new_wrapper
55
+
56
+ def __str__(self) -> str:
57
+ """String representation."""
58
+ return f"{self.__class__.__name__}({self._proto_message})"
59
+
60
+ def __repr__(self) -> str:
61
+ """Detailed string representation."""
62
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,227 @@
1
+ """Generated wrapper for RosettePresetOptions protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ class RosettePresetOptionsVal:
9
+ """Simple wrapper for RosettePresetOptions with Pythonic getters and setters."""
10
+
11
+ _proto_class = DipsAPI_pb2.RosettePresetOptions
12
+
13
+
14
+ def __init__(self, proto_message: Optional[Any] = None):
15
+ """Initialize the RosettePresetOptions wrapper."""
16
+ # Initialize the protobuf message
17
+ if proto_message is not None:
18
+ self._proto_message = proto_message
19
+ else:
20
+ self._proto_message = self._proto_class()
21
+
22
+
23
+
24
+ # Properties
25
+
26
+ @property
27
+ def user_plane_entity_group_visibility(self) -> bool:
28
+ """Get the UserPlaneEntityGroupVisibility field value."""
29
+ return self._proto_message.UserPlaneEntityGroupVisibility
30
+
31
+ @user_plane_entity_group_visibility.setter
32
+ def user_plane_entity_group_visibility(self, value: bool) -> None:
33
+ """Set the UserPlaneEntityGroupVisibility field value."""
34
+ self._proto_message.UserPlaneEntityGroupVisibility = value
35
+
36
+
37
+ @property
38
+ def tools_entity_group_visibility(self) -> bool:
39
+ """Get the ToolsEntityGroupVisibility field value."""
40
+ return self._proto_message.ToolsEntityGroupVisibility
41
+
42
+ @tools_entity_group_visibility.setter
43
+ def tools_entity_group_visibility(self, value: bool) -> None:
44
+ """Set the ToolsEntityGroupVisibility field value."""
45
+ self._proto_message.ToolsEntityGroupVisibility = value
46
+
47
+
48
+ @property
49
+ def text_tool_entity_group_visibility(self) -> bool:
50
+ """Get the TextToolEntityGroupVisibility field value."""
51
+ return self._proto_message.TextToolEntityGroupVisibility
52
+
53
+ @text_tool_entity_group_visibility.setter
54
+ def text_tool_entity_group_visibility(self, value: bool) -> None:
55
+ """Set the TextToolEntityGroupVisibility field value."""
56
+ self._proto_message.TextToolEntityGroupVisibility = value
57
+
58
+
59
+ @property
60
+ def arrow_tool_entity_group_visibility(self) -> bool:
61
+ """Get the ArrowToolEntityGroupVisibility field value."""
62
+ return self._proto_message.ArrowToolEntityGroupVisibility
63
+
64
+ @arrow_tool_entity_group_visibility.setter
65
+ def arrow_tool_entity_group_visibility(self, value: bool) -> None:
66
+ """Set the ArrowToolEntityGroupVisibility field value."""
67
+ self._proto_message.ArrowToolEntityGroupVisibility = value
68
+
69
+
70
+ @property
71
+ def line_tool_entity_group_visibility(self) -> bool:
72
+ """Get the LineToolEntityGroupVisibility field value."""
73
+ return self._proto_message.LineToolEntityGroupVisibility
74
+
75
+ @line_tool_entity_group_visibility.setter
76
+ def line_tool_entity_group_visibility(self, value: bool) -> None:
77
+ """Set the LineToolEntityGroupVisibility field value."""
78
+ self._proto_message.LineToolEntityGroupVisibility = value
79
+
80
+
81
+ @property
82
+ def polyline_tool_entity_group_visibility(self) -> bool:
83
+ """Get the PolylineToolEntityGroupVisibility field value."""
84
+ return self._proto_message.PolylineToolEntityGroupVisibility
85
+
86
+ @polyline_tool_entity_group_visibility.setter
87
+ def polyline_tool_entity_group_visibility(self, value: bool) -> None:
88
+ """Set the PolylineToolEntityGroupVisibility field value."""
89
+ self._proto_message.PolylineToolEntityGroupVisibility = value
90
+
91
+
92
+ @property
93
+ def polygon_tool_entity_group_visibility(self) -> bool:
94
+ """Get the PolygonToolEntityGroupVisibility field value."""
95
+ return self._proto_message.PolygonToolEntityGroupVisibility
96
+
97
+ @polygon_tool_entity_group_visibility.setter
98
+ def polygon_tool_entity_group_visibility(self, value: bool) -> None:
99
+ """Set the PolygonToolEntityGroupVisibility field value."""
100
+ self._proto_message.PolygonToolEntityGroupVisibility = value
101
+
102
+
103
+ @property
104
+ def rectangle_tool_entity_group_visibility(self) -> bool:
105
+ """Get the RectangleToolEntityGroupVisibility field value."""
106
+ return self._proto_message.RectangleToolEntityGroupVisibility
107
+
108
+ @rectangle_tool_entity_group_visibility.setter
109
+ def rectangle_tool_entity_group_visibility(self, value: bool) -> None:
110
+ """Set the RectangleToolEntityGroupVisibility field value."""
111
+ self._proto_message.RectangleToolEntityGroupVisibility = value
112
+
113
+
114
+ @property
115
+ def ellipse_tool_entity_group_visibility(self) -> bool:
116
+ """Get the EllipseToolEntityGroupVisibility field value."""
117
+ return self._proto_message.EllipseToolEntityGroupVisibility
118
+
119
+ @ellipse_tool_entity_group_visibility.setter
120
+ def ellipse_tool_entity_group_visibility(self, value: bool) -> None:
121
+ """Set the EllipseToolEntityGroupVisibility field value."""
122
+ self._proto_message.EllipseToolEntityGroupVisibility = value
123
+
124
+
125
+ @property
126
+ def cone_tool_entity_group_visibility(self) -> bool:
127
+ """Get the ConeToolEntityGroupVisibility field value."""
128
+ return self._proto_message.ConeToolEntityGroupVisibility
129
+
130
+ @cone_tool_entity_group_visibility.setter
131
+ def cone_tool_entity_group_visibility(self, value: bool) -> None:
132
+ """Set the ConeToolEntityGroupVisibility field value."""
133
+ self._proto_message.ConeToolEntityGroupVisibility = value
134
+
135
+
136
+ @property
137
+ def trend_line_tool_entity_group_visibility(self) -> bool:
138
+ """Get the TrendLineToolEntityGroupVisibility field value."""
139
+ return self._proto_message.TrendLineToolEntityGroupVisibility
140
+
141
+ @trend_line_tool_entity_group_visibility.setter
142
+ def trend_line_tool_entity_group_visibility(self, value: bool) -> None:
143
+ """Set the TrendLineToolEntityGroupVisibility field value."""
144
+ self._proto_message.TrendLineToolEntityGroupVisibility = value
145
+
146
+
147
+ @property
148
+ def pitch_grid_tool_entity_group_visibility(self) -> bool:
149
+ """Get the PitchGridToolEntityGroupVisibility field value."""
150
+ return self._proto_message.PitchGridToolEntityGroupVisibility
151
+
152
+ @pitch_grid_tool_entity_group_visibility.setter
153
+ def pitch_grid_tool_entity_group_visibility(self, value: bool) -> None:
154
+ """Set the PitchGridToolEntityGroupVisibility field value."""
155
+ self._proto_message.PitchGridToolEntityGroupVisibility = value
156
+
157
+
158
+ @property
159
+ def measure_angle_tool_entity_group_visibility(self) -> bool:
160
+ """Get the MeasureAngleToolEntityGroupVisibility field value."""
161
+ return self._proto_message.MeasureAngleToolEntityGroupVisibility
162
+
163
+ @measure_angle_tool_entity_group_visibility.setter
164
+ def measure_angle_tool_entity_group_visibility(self, value: bool) -> None:
165
+ """Set the MeasureAngleToolEntityGroupVisibility field value."""
166
+ self._proto_message.MeasureAngleToolEntityGroupVisibility = value
167
+
168
+
169
+ @property
170
+ def line_intersection_calculator_tool_entity_group_visibility(self) -> bool:
171
+ """Get the LineIntersectionCalculatorToolEntityGroupVisibility field value."""
172
+ return self._proto_message.LineIntersectionCalculatorToolEntityGroupVisibility
173
+
174
+ @line_intersection_calculator_tool_entity_group_visibility.setter
175
+ def line_intersection_calculator_tool_entity_group_visibility(self, value: bool) -> None:
176
+ """Set the LineIntersectionCalculatorToolEntityGroupVisibility field value."""
177
+ self._proto_message.LineIntersectionCalculatorToolEntityGroupVisibility = value
178
+
179
+
180
+ @property
181
+ def plane_intersection_calculator_tool_entity_group_visibility(self) -> bool:
182
+ """Get the PlaneIntersectionCalculatorToolEntityGroupVisibility field value."""
183
+ return self._proto_message.PlaneIntersectionCalculatorToolEntityGroupVisibility
184
+
185
+ @plane_intersection_calculator_tool_entity_group_visibility.setter
186
+ def plane_intersection_calculator_tool_entity_group_visibility(self, value: bool) -> None:
187
+ """Set the PlaneIntersectionCalculatorToolEntityGroupVisibility field value."""
188
+ self._proto_message.PlaneIntersectionCalculatorToolEntityGroupVisibility = value
189
+
190
+
191
+ @property
192
+ def show_legend(self) -> bool:
193
+ """Get the ShowLegend field value."""
194
+ return self._proto_message.ShowLegend
195
+
196
+ @show_legend.setter
197
+ def show_legend(self, value: bool) -> None:
198
+ """Set the ShowLegend field value."""
199
+ self._proto_message.ShowLegend = value
200
+
201
+
202
+ # Utility methods
203
+
204
+ def to_proto(self):
205
+ """Get the underlying protobuf message."""
206
+ return self._proto_message
207
+
208
+ @classmethod
209
+ def from_proto(cls, proto_message):
210
+ """Create wrapper from existing protobuf message."""
211
+ wrapper = cls()
212
+ wrapper._proto_message.CopyFrom(proto_message)
213
+ return wrapper
214
+
215
+ def copy(self):
216
+ """Create a copy of this wrapper."""
217
+ new_wrapper = self.__class__()
218
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
219
+ return new_wrapper
220
+
221
+ def __str__(self) -> str:
222
+ """String representation."""
223
+ return f"{self.__class__.__name__}({self._proto_message})"
224
+
225
+ def __repr__(self) -> str:
226
+ """Detailed string representation."""
227
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,174 @@
1
+ """Generated wrapper for RosetteSettings protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ from .AngleDataVal import AngleDataVal
9
+ from .TrendPlungeVal import TrendPlungeVal
10
+
11
+ class RosetteSettingsVal:
12
+ """Simple wrapper for RosetteSettings with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.RosetteSettings
15
+
16
+
17
+ def __init__(self, sight_line_orientation: Optional[TrendPlungeVal] = None, min_angle: Optional[AngleDataVal] = None, max_angle: Optional[AngleDataVal] = None, start_bin_strike: Optional[AngleDataVal] = None, proto_message: Optional[Any] = None):
18
+ """Initialize the RosetteSettings wrapper."""
19
+ # Initialize the protobuf message
20
+ if proto_message is not None:
21
+ self._proto_message = proto_message
22
+ else:
23
+ self._proto_message = self._proto_class()
24
+
25
+ if sight_line_orientation is not None:
26
+ self._proto_message.SightLineOrientation.CopyFrom(sight_line_orientation.to_proto())
27
+ self._sight_line_orientation_wrapper = sight_line_orientation
28
+ if min_angle is not None:
29
+ self._proto_message.MinAngle.CopyFrom(min_angle.to_proto())
30
+ self._min_angle_wrapper = min_angle
31
+ if max_angle is not None:
32
+ self._proto_message.MaxAngle.CopyFrom(max_angle.to_proto())
33
+ self._max_angle_wrapper = max_angle
34
+ if start_bin_strike is not None:
35
+ self._proto_message.StartBinStrike.CopyFrom(start_bin_strike.to_proto())
36
+ self._start_bin_strike_wrapper = start_bin_strike
37
+
38
+
39
+ # Properties
40
+
41
+ @property
42
+ def sight_line_orientation(self) -> TrendPlungeVal:
43
+ """Get the SightLineOrientation field as a wrapper."""
44
+ if not hasattr(self, '_sight_line_orientation_wrapper'):
45
+ self._sight_line_orientation_wrapper = TrendPlungeVal(proto_message=self._proto_message.SightLineOrientation)
46
+ return self._sight_line_orientation_wrapper
47
+
48
+ @sight_line_orientation.setter
49
+ def sight_line_orientation(self, value: TrendPlungeVal) -> None:
50
+ """Set the SightLineOrientation field to a wrapper."""
51
+ self._proto_message.SightLineOrientation.CopyFrom(value.to_proto())
52
+ # Update the cached wrapper if it exists
53
+ if hasattr(self, '_sight_line_orientation_wrapper'):
54
+ self._sight_line_orientation_wrapper._proto_message.CopyFrom(self._proto_message.SightLineOrientation)
55
+
56
+
57
+ @property
58
+ def min_angle(self) -> AngleDataVal:
59
+ """Get the MinAngle field as a wrapper."""
60
+ if not hasattr(self, '_min_angle_wrapper'):
61
+ self._min_angle_wrapper = AngleDataVal(proto_message=self._proto_message.MinAngle)
62
+ return self._min_angle_wrapper
63
+
64
+ @min_angle.setter
65
+ def min_angle(self, value: AngleDataVal) -> None:
66
+ """Set the MinAngle field to a wrapper."""
67
+ self._proto_message.MinAngle.CopyFrom(value.to_proto())
68
+ # Update the cached wrapper if it exists
69
+ if hasattr(self, '_min_angle_wrapper'):
70
+ self._min_angle_wrapper._proto_message.CopyFrom(self._proto_message.MinAngle)
71
+
72
+
73
+ @property
74
+ def max_angle(self) -> AngleDataVal:
75
+ """Get the MaxAngle field as a wrapper."""
76
+ if not hasattr(self, '_max_angle_wrapper'):
77
+ self._max_angle_wrapper = AngleDataVal(proto_message=self._proto_message.MaxAngle)
78
+ return self._max_angle_wrapper
79
+
80
+ @max_angle.setter
81
+ def max_angle(self, value: AngleDataVal) -> None:
82
+ """Set the MaxAngle field to a wrapper."""
83
+ self._proto_message.MaxAngle.CopyFrom(value.to_proto())
84
+ # Update the cached wrapper if it exists
85
+ if hasattr(self, '_max_angle_wrapper'):
86
+ self._max_angle_wrapper._proto_message.CopyFrom(self._proto_message.MaxAngle)
87
+
88
+
89
+ @property
90
+ def start_bin_strike(self) -> AngleDataVal:
91
+ """Get the StartBinStrike field as a wrapper."""
92
+ if not hasattr(self, '_start_bin_strike_wrapper'):
93
+ self._start_bin_strike_wrapper = AngleDataVal(proto_message=self._proto_message.StartBinStrike)
94
+ return self._start_bin_strike_wrapper
95
+
96
+ @start_bin_strike.setter
97
+ def start_bin_strike(self, value: AngleDataVal) -> None:
98
+ """Set the StartBinStrike field to a wrapper."""
99
+ self._proto_message.StartBinStrike.CopyFrom(value.to_proto())
100
+ # Update the cached wrapper if it exists
101
+ if hasattr(self, '_start_bin_strike_wrapper'):
102
+ self._start_bin_strike_wrapper._proto_message.CopyFrom(self._proto_message.StartBinStrike)
103
+
104
+
105
+ @property
106
+ def num_bins(self) -> int:
107
+ """Get the NumBins field value."""
108
+ return self._proto_message.NumBins
109
+
110
+ @num_bins.setter
111
+ def num_bins(self, value: int) -> None:
112
+ """Set the NumBins field value."""
113
+ self._proto_message.NumBins = value
114
+
115
+
116
+ @property
117
+ def custom_scaling(self) -> bool:
118
+ """Get the CustomScaling field value."""
119
+ return self._proto_message.CustomScaling
120
+
121
+ @custom_scaling.setter
122
+ def custom_scaling(self, value: bool) -> None:
123
+ """Set the CustomScaling field value."""
124
+ self._proto_message.CustomScaling = value
125
+
126
+
127
+ @property
128
+ def num_planes_per_circle_increment(self) -> int:
129
+ """Get the NumPlanesPerCircleIncrement field value."""
130
+ return self._proto_message.NumPlanesPerCircleIncrement
131
+
132
+ @num_planes_per_circle_increment.setter
133
+ def num_planes_per_circle_increment(self, value: int) -> None:
134
+ """Set the NumPlanesPerCircleIncrement field value."""
135
+ self._proto_message.NumPlanesPerCircleIncrement = value
136
+
137
+
138
+ @property
139
+ def is_weighted(self) -> bool:
140
+ """Get the IsWeighted field value."""
141
+ return self._proto_message.IsWeighted
142
+
143
+ @is_weighted.setter
144
+ def is_weighted(self, value: bool) -> None:
145
+ """Set the IsWeighted field value."""
146
+ self._proto_message.IsWeighted = value
147
+
148
+
149
+ # Utility methods
150
+
151
+ def to_proto(self):
152
+ """Get the underlying protobuf message."""
153
+ return self._proto_message
154
+
155
+ @classmethod
156
+ def from_proto(cls, proto_message):
157
+ """Create wrapper from existing protobuf message."""
158
+ wrapper = cls()
159
+ wrapper._proto_message.CopyFrom(proto_message)
160
+ return wrapper
161
+
162
+ def copy(self):
163
+ """Create a copy of this wrapper."""
164
+ new_wrapper = self.__class__()
165
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
166
+ return new_wrapper
167
+
168
+ def __str__(self) -> str:
169
+ """String representation."""
170
+ return f"{self.__class__.__name__}({self._proto_message})"
171
+
172
+ def __repr__(self) -> str:
173
+ """Detailed string representation."""
174
+ return f"{self.__class__.__name__}({self._proto_message})"