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,86 @@
1
+ """Generated wrapper for ValidatableResult_ProtoReference_ConeToolEntityInfo 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 .ValidationErrorVal import ValidationErrorVal
9
+ from .ConeToolEntityInfoRef import ConeToolEntityInfoRef
10
+
11
+ class ValidatableResult_ProtoReference_ConeToolEntityInfoVal:
12
+ """Simple wrapper for ValidatableResult_ProtoReference_ConeToolEntityInfo with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.ValidatableResult_ProtoReference_ConeToolEntityInfo
15
+
16
+
17
+ def __init__(self, result: Optional[ConeToolEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
18
+ """Initialize the ValidatableResult_ProtoReference_ConeToolEntityInfo 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
+ # Store channel for reference types
26
+ self.__channelToConnectOn = channel_to_connect_on
27
+
28
+ if result is not None:
29
+ self.result = result
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def errors(self) -> List[ValidationErrorVal]:
36
+ """Get the Errors field as a list of wrappers."""
37
+ return _ProtobufListWrapper(self._proto_message.Errors, ValidationErrorVal)
38
+
39
+ @errors.setter
40
+ def errors(self, value: List[ValidationErrorVal]) -> None:
41
+ """Set the Errors field to a list of wrappers."""
42
+ if not isinstance(value, (list, tuple)):
43
+ raise TypeError(f"Expected list or tuple, got {type(value).__name__}")
44
+ # Clear the repeated field using slice assignment
45
+ self._proto_message.Errors[:] = []
46
+ for item in value:
47
+ self._proto_message.Errors.append(item.to_proto())
48
+
49
+
50
+ @property
51
+ def result(self) -> ConeToolEntityInfoRef:
52
+ """Get the Result field as a reference."""
53
+ return ConeToolEntityInfoRef(self.__channelToConnectOn, self._proto_message.Result)
54
+
55
+ @result.setter
56
+ def result(self, value: ConeToolEntityInfoRef) -> None:
57
+ """Set the Result field to a reference."""
58
+ self._proto_message.Result.CopyFrom(value.get_model_ref())
59
+
60
+
61
+ # Utility methods
62
+
63
+ def to_proto(self):
64
+ """Get the underlying protobuf message."""
65
+ return self._proto_message
66
+
67
+ @classmethod
68
+ def from_proto(cls, proto_message):
69
+ """Create wrapper from existing protobuf message."""
70
+ wrapper = cls()
71
+ wrapper._proto_message.CopyFrom(proto_message)
72
+ return wrapper
73
+
74
+ def copy(self):
75
+ """Create a copy of this wrapper."""
76
+ new_wrapper = self.__class__()
77
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
78
+ return new_wrapper
79
+
80
+ def __str__(self) -> str:
81
+ """String representation."""
82
+ return f"{self.__class__.__name__}({self._proto_message})"
83
+
84
+ def __repr__(self) -> str:
85
+ """Detailed string representation."""
86
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,86 @@
1
+ """Generated wrapper for ValidatableResult_ProtoReference_EllipseToolEntityInfo 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 .ValidationErrorVal import ValidationErrorVal
9
+ from .EllipseToolEntityInfoRef import EllipseToolEntityInfoRef
10
+
11
+ class ValidatableResult_ProtoReference_EllipseToolEntityInfoVal:
12
+ """Simple wrapper for ValidatableResult_ProtoReference_EllipseToolEntityInfo with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.ValidatableResult_ProtoReference_EllipseToolEntityInfo
15
+
16
+
17
+ def __init__(self, result: Optional[EllipseToolEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
18
+ """Initialize the ValidatableResult_ProtoReference_EllipseToolEntityInfo 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
+ # Store channel for reference types
26
+ self.__channelToConnectOn = channel_to_connect_on
27
+
28
+ if result is not None:
29
+ self.result = result
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def errors(self) -> List[ValidationErrorVal]:
36
+ """Get the Errors field as a list of wrappers."""
37
+ return _ProtobufListWrapper(self._proto_message.Errors, ValidationErrorVal)
38
+
39
+ @errors.setter
40
+ def errors(self, value: List[ValidationErrorVal]) -> None:
41
+ """Set the Errors field to a list of wrappers."""
42
+ if not isinstance(value, (list, tuple)):
43
+ raise TypeError(f"Expected list or tuple, got {type(value).__name__}")
44
+ # Clear the repeated field using slice assignment
45
+ self._proto_message.Errors[:] = []
46
+ for item in value:
47
+ self._proto_message.Errors.append(item.to_proto())
48
+
49
+
50
+ @property
51
+ def result(self) -> EllipseToolEntityInfoRef:
52
+ """Get the Result field as a reference."""
53
+ return EllipseToolEntityInfoRef(self.__channelToConnectOn, self._proto_message.Result)
54
+
55
+ @result.setter
56
+ def result(self, value: EllipseToolEntityInfoRef) -> None:
57
+ """Set the Result field to a reference."""
58
+ self._proto_message.Result.CopyFrom(value.get_model_ref())
59
+
60
+
61
+ # Utility methods
62
+
63
+ def to_proto(self):
64
+ """Get the underlying protobuf message."""
65
+ return self._proto_message
66
+
67
+ @classmethod
68
+ def from_proto(cls, proto_message):
69
+ """Create wrapper from existing protobuf message."""
70
+ wrapper = cls()
71
+ wrapper._proto_message.CopyFrom(proto_message)
72
+ return wrapper
73
+
74
+ def copy(self):
75
+ """Create a copy of this wrapper."""
76
+ new_wrapper = self.__class__()
77
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
78
+ return new_wrapper
79
+
80
+ def __str__(self) -> str:
81
+ """String representation."""
82
+ return f"{self.__class__.__name__}({self._proto_message})"
83
+
84
+ def __repr__(self) -> str:
85
+ """Detailed string representation."""
86
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,86 @@
1
+ """Generated wrapper for ValidatableResult_ProtoReference_FoldEntityInfo 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 .ValidationErrorVal import ValidationErrorVal
9
+ from .FoldEntityInfoRef import FoldEntityInfoRef
10
+
11
+ class ValidatableResult_ProtoReference_FoldEntityInfoVal:
12
+ """Simple wrapper for ValidatableResult_ProtoReference_FoldEntityInfo with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.ValidatableResult_ProtoReference_FoldEntityInfo
15
+
16
+
17
+ def __init__(self, result: Optional[FoldEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
18
+ """Initialize the ValidatableResult_ProtoReference_FoldEntityInfo 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
+ # Store channel for reference types
26
+ self.__channelToConnectOn = channel_to_connect_on
27
+
28
+ if result is not None:
29
+ self.result = result
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def errors(self) -> List[ValidationErrorVal]:
36
+ """Get the Errors field as a list of wrappers."""
37
+ return _ProtobufListWrapper(self._proto_message.Errors, ValidationErrorVal)
38
+
39
+ @errors.setter
40
+ def errors(self, value: List[ValidationErrorVal]) -> None:
41
+ """Set the Errors field to a list of wrappers."""
42
+ if not isinstance(value, (list, tuple)):
43
+ raise TypeError(f"Expected list or tuple, got {type(value).__name__}")
44
+ # Clear the repeated field using slice assignment
45
+ self._proto_message.Errors[:] = []
46
+ for item in value:
47
+ self._proto_message.Errors.append(item.to_proto())
48
+
49
+
50
+ @property
51
+ def result(self) -> FoldEntityInfoRef:
52
+ """Get the Result field as a reference."""
53
+ return FoldEntityInfoRef(self.__channelToConnectOn, self._proto_message.Result)
54
+
55
+ @result.setter
56
+ def result(self, value: FoldEntityInfoRef) -> None:
57
+ """Set the Result field to a reference."""
58
+ self._proto_message.Result.CopyFrom(value.get_model_ref())
59
+
60
+
61
+ # Utility methods
62
+
63
+ def to_proto(self):
64
+ """Get the underlying protobuf message."""
65
+ return self._proto_message
66
+
67
+ @classmethod
68
+ def from_proto(cls, proto_message):
69
+ """Create wrapper from existing protobuf message."""
70
+ wrapper = cls()
71
+ wrapper._proto_message.CopyFrom(proto_message)
72
+ return wrapper
73
+
74
+ def copy(self):
75
+ """Create a copy of this wrapper."""
76
+ new_wrapper = self.__class__()
77
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
78
+ return new_wrapper
79
+
80
+ def __str__(self) -> str:
81
+ """String representation."""
82
+ return f"{self.__class__.__name__}({self._proto_message})"
83
+
84
+ def __repr__(self) -> str:
85
+ """Detailed string representation."""
86
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,86 @@
1
+ """Generated wrapper for ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfo 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 .ValidationErrorVal import ValidationErrorVal
9
+ from .LineIntersectionCalculatorToolEntityInfoRef import LineIntersectionCalculatorToolEntityInfoRef
10
+
11
+ class ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfoVal:
12
+ """Simple wrapper for ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfo with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfo
15
+
16
+
17
+ def __init__(self, result: Optional[LineIntersectionCalculatorToolEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
18
+ """Initialize the ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfo 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
+ # Store channel for reference types
26
+ self.__channelToConnectOn = channel_to_connect_on
27
+
28
+ if result is not None:
29
+ self.result = result
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def errors(self) -> List[ValidationErrorVal]:
36
+ """Get the Errors field as a list of wrappers."""
37
+ return _ProtobufListWrapper(self._proto_message.Errors, ValidationErrorVal)
38
+
39
+ @errors.setter
40
+ def errors(self, value: List[ValidationErrorVal]) -> None:
41
+ """Set the Errors field to a list of wrappers."""
42
+ if not isinstance(value, (list, tuple)):
43
+ raise TypeError(f"Expected list or tuple, got {type(value).__name__}")
44
+ # Clear the repeated field using slice assignment
45
+ self._proto_message.Errors[:] = []
46
+ for item in value:
47
+ self._proto_message.Errors.append(item.to_proto())
48
+
49
+
50
+ @property
51
+ def result(self) -> LineIntersectionCalculatorToolEntityInfoRef:
52
+ """Get the Result field as a reference."""
53
+ return LineIntersectionCalculatorToolEntityInfoRef(self.__channelToConnectOn, self._proto_message.Result)
54
+
55
+ @result.setter
56
+ def result(self, value: LineIntersectionCalculatorToolEntityInfoRef) -> None:
57
+ """Set the Result field to a reference."""
58
+ self._proto_message.Result.CopyFrom(value.get_model_ref())
59
+
60
+
61
+ # Utility methods
62
+
63
+ def to_proto(self):
64
+ """Get the underlying protobuf message."""
65
+ return self._proto_message
66
+
67
+ @classmethod
68
+ def from_proto(cls, proto_message):
69
+ """Create wrapper from existing protobuf message."""
70
+ wrapper = cls()
71
+ wrapper._proto_message.CopyFrom(proto_message)
72
+ return wrapper
73
+
74
+ def copy(self):
75
+ """Create a copy of this wrapper."""
76
+ new_wrapper = self.__class__()
77
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
78
+ return new_wrapper
79
+
80
+ def __str__(self) -> str:
81
+ """String representation."""
82
+ return f"{self.__class__.__name__}({self._proto_message})"
83
+
84
+ def __repr__(self) -> str:
85
+ """Detailed string representation."""
86
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,86 @@
1
+ """Generated wrapper for ValidatableResult_ProtoReference_LineToolEntityInfo 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 .ValidationErrorVal import ValidationErrorVal
9
+ from .LineToolEntityInfoRef import LineToolEntityInfoRef
10
+
11
+ class ValidatableResult_ProtoReference_LineToolEntityInfoVal:
12
+ """Simple wrapper for ValidatableResult_ProtoReference_LineToolEntityInfo with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.ValidatableResult_ProtoReference_LineToolEntityInfo
15
+
16
+
17
+ def __init__(self, result: Optional[LineToolEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
18
+ """Initialize the ValidatableResult_ProtoReference_LineToolEntityInfo 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
+ # Store channel for reference types
26
+ self.__channelToConnectOn = channel_to_connect_on
27
+
28
+ if result is not None:
29
+ self.result = result
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def errors(self) -> List[ValidationErrorVal]:
36
+ """Get the Errors field as a list of wrappers."""
37
+ return _ProtobufListWrapper(self._proto_message.Errors, ValidationErrorVal)
38
+
39
+ @errors.setter
40
+ def errors(self, value: List[ValidationErrorVal]) -> None:
41
+ """Set the Errors field to a list of wrappers."""
42
+ if not isinstance(value, (list, tuple)):
43
+ raise TypeError(f"Expected list or tuple, got {type(value).__name__}")
44
+ # Clear the repeated field using slice assignment
45
+ self._proto_message.Errors[:] = []
46
+ for item in value:
47
+ self._proto_message.Errors.append(item.to_proto())
48
+
49
+
50
+ @property
51
+ def result(self) -> LineToolEntityInfoRef:
52
+ """Get the Result field as a reference."""
53
+ return LineToolEntityInfoRef(self.__channelToConnectOn, self._proto_message.Result)
54
+
55
+ @result.setter
56
+ def result(self, value: LineToolEntityInfoRef) -> None:
57
+ """Set the Result field to a reference."""
58
+ self._proto_message.Result.CopyFrom(value.get_model_ref())
59
+
60
+
61
+ # Utility methods
62
+
63
+ def to_proto(self):
64
+ """Get the underlying protobuf message."""
65
+ return self._proto_message
66
+
67
+ @classmethod
68
+ def from_proto(cls, proto_message):
69
+ """Create wrapper from existing protobuf message."""
70
+ wrapper = cls()
71
+ wrapper._proto_message.CopyFrom(proto_message)
72
+ return wrapper
73
+
74
+ def copy(self):
75
+ """Create a copy of this wrapper."""
76
+ new_wrapper = self.__class__()
77
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
78
+ return new_wrapper
79
+
80
+ def __str__(self) -> str:
81
+ """String representation."""
82
+ return f"{self.__class__.__name__}({self._proto_message})"
83
+
84
+ def __repr__(self) -> str:
85
+ """Detailed string representation."""
86
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,86 @@
1
+ """Generated wrapper for ValidatableResult_ProtoReference_MeasureAngleToolEntityInfo 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 .ValidationErrorVal import ValidationErrorVal
9
+ from .MeasureAngleToolEntityInfoRef import MeasureAngleToolEntityInfoRef
10
+
11
+ class ValidatableResult_ProtoReference_MeasureAngleToolEntityInfoVal:
12
+ """Simple wrapper for ValidatableResult_ProtoReference_MeasureAngleToolEntityInfo with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.ValidatableResult_ProtoReference_MeasureAngleToolEntityInfo
15
+
16
+
17
+ def __init__(self, result: Optional[MeasureAngleToolEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
18
+ """Initialize the ValidatableResult_ProtoReference_MeasureAngleToolEntityInfo 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
+ # Store channel for reference types
26
+ self.__channelToConnectOn = channel_to_connect_on
27
+
28
+ if result is not None:
29
+ self.result = result
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def errors(self) -> List[ValidationErrorVal]:
36
+ """Get the Errors field as a list of wrappers."""
37
+ return _ProtobufListWrapper(self._proto_message.Errors, ValidationErrorVal)
38
+
39
+ @errors.setter
40
+ def errors(self, value: List[ValidationErrorVal]) -> None:
41
+ """Set the Errors field to a list of wrappers."""
42
+ if not isinstance(value, (list, tuple)):
43
+ raise TypeError(f"Expected list or tuple, got {type(value).__name__}")
44
+ # Clear the repeated field using slice assignment
45
+ self._proto_message.Errors[:] = []
46
+ for item in value:
47
+ self._proto_message.Errors.append(item.to_proto())
48
+
49
+
50
+ @property
51
+ def result(self) -> MeasureAngleToolEntityInfoRef:
52
+ """Get the Result field as a reference."""
53
+ return MeasureAngleToolEntityInfoRef(self.__channelToConnectOn, self._proto_message.Result)
54
+
55
+ @result.setter
56
+ def result(self, value: MeasureAngleToolEntityInfoRef) -> None:
57
+ """Set the Result field to a reference."""
58
+ self._proto_message.Result.CopyFrom(value.get_model_ref())
59
+
60
+
61
+ # Utility methods
62
+
63
+ def to_proto(self):
64
+ """Get the underlying protobuf message."""
65
+ return self._proto_message
66
+
67
+ @classmethod
68
+ def from_proto(cls, proto_message):
69
+ """Create wrapper from existing protobuf message."""
70
+ wrapper = cls()
71
+ wrapper._proto_message.CopyFrom(proto_message)
72
+ return wrapper
73
+
74
+ def copy(self):
75
+ """Create a copy of this wrapper."""
76
+ new_wrapper = self.__class__()
77
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
78
+ return new_wrapper
79
+
80
+ def __str__(self) -> str:
81
+ """String representation."""
82
+ return f"{self.__class__.__name__}({self._proto_message})"
83
+
84
+ def __repr__(self) -> str:
85
+ """Detailed string representation."""
86
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,86 @@
1
+ """Generated wrapper for ValidatableResult_ProtoReference_OrientationDataSet 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 .ValidationErrorVal import ValidationErrorVal
9
+ from .OrientationDataSetRef import OrientationDataSetRef
10
+
11
+ class ValidatableResult_ProtoReference_OrientationDataSetVal:
12
+ """Simple wrapper for ValidatableResult_ProtoReference_OrientationDataSet with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.ValidatableResult_ProtoReference_OrientationDataSet
15
+
16
+
17
+ def __init__(self, result: Optional[OrientationDataSetRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
18
+ """Initialize the ValidatableResult_ProtoReference_OrientationDataSet 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
+ # Store channel for reference types
26
+ self.__channelToConnectOn = channel_to_connect_on
27
+
28
+ if result is not None:
29
+ self.result = result
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def errors(self) -> List[ValidationErrorVal]:
36
+ """Get the Errors field as a list of wrappers."""
37
+ return _ProtobufListWrapper(self._proto_message.Errors, ValidationErrorVal)
38
+
39
+ @errors.setter
40
+ def errors(self, value: List[ValidationErrorVal]) -> None:
41
+ """Set the Errors field to a list of wrappers."""
42
+ if not isinstance(value, (list, tuple)):
43
+ raise TypeError(f"Expected list or tuple, got {type(value).__name__}")
44
+ # Clear the repeated field using slice assignment
45
+ self._proto_message.Errors[:] = []
46
+ for item in value:
47
+ self._proto_message.Errors.append(item.to_proto())
48
+
49
+
50
+ @property
51
+ def result(self) -> OrientationDataSetRef:
52
+ """Get the Result field as a reference."""
53
+ return OrientationDataSetRef(self.__channelToConnectOn, self._proto_message.Result)
54
+
55
+ @result.setter
56
+ def result(self, value: OrientationDataSetRef) -> None:
57
+ """Set the Result field to a reference."""
58
+ self._proto_message.Result.CopyFrom(value.get_model_ref())
59
+
60
+
61
+ # Utility methods
62
+
63
+ def to_proto(self):
64
+ """Get the underlying protobuf message."""
65
+ return self._proto_message
66
+
67
+ @classmethod
68
+ def from_proto(cls, proto_message):
69
+ """Create wrapper from existing protobuf message."""
70
+ wrapper = cls()
71
+ wrapper._proto_message.CopyFrom(proto_message)
72
+ return wrapper
73
+
74
+ def copy(self):
75
+ """Create a copy of this wrapper."""
76
+ new_wrapper = self.__class__()
77
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
78
+ return new_wrapper
79
+
80
+ def __str__(self) -> str:
81
+ """String representation."""
82
+ return f"{self.__class__.__name__}({self._proto_message})"
83
+
84
+ def __repr__(self) -> str:
85
+ """Detailed string representation."""
86
+ return f"{self.__class__.__name__}({self._proto_message})"