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,113 @@
1
+ """Generated wrapper for ScatterPlotSettings 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 .DataDescriptorVal import DataDescriptorVal
9
+
10
+ class ScatterPlotSettingsVal:
11
+ """Simple wrapper for ScatterPlotSettings with Pythonic getters and setters."""
12
+
13
+ _proto_class = DipsAPI_pb2.ScatterPlotSettings
14
+
15
+
16
+ def __init__(self, selected_column_x: Optional[DataDescriptorVal] = None, selected_column_y: Optional[DataDescriptorVal] = None, proto_message: Optional[Any] = None):
17
+ """Initialize the ScatterPlotSettings wrapper."""
18
+ # Initialize the protobuf message
19
+ if proto_message is not None:
20
+ self._proto_message = proto_message
21
+ else:
22
+ self._proto_message = self._proto_class()
23
+
24
+ if selected_column_x is not None:
25
+ self._proto_message.SelectedColumnX.CopyFrom(selected_column_x.to_proto())
26
+ self._selected_column_x_wrapper = selected_column_x
27
+ if selected_column_y is not None:
28
+ self._proto_message.SelectedColumnY.CopyFrom(selected_column_y.to_proto())
29
+ self._selected_column_y_wrapper = selected_column_y
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def selected_column_x(self) -> DataDescriptorVal:
36
+ """Get the SelectedColumnX field as a wrapper."""
37
+ if not hasattr(self, '_selected_column_x_wrapper'):
38
+ self._selected_column_x_wrapper = DataDescriptorVal(proto_message=self._proto_message.SelectedColumnX)
39
+ return self._selected_column_x_wrapper
40
+
41
+ @selected_column_x.setter
42
+ def selected_column_x(self, value: DataDescriptorVal) -> None:
43
+ """Set the SelectedColumnX field to a wrapper."""
44
+ self._proto_message.SelectedColumnX.CopyFrom(value.to_proto())
45
+ # Update the cached wrapper if it exists
46
+ if hasattr(self, '_selected_column_x_wrapper'):
47
+ self._selected_column_x_wrapper._proto_message.CopyFrom(self._proto_message.SelectedColumnX)
48
+
49
+
50
+ @property
51
+ def selected_column_y(self) -> DataDescriptorVal:
52
+ """Get the SelectedColumnY field as a wrapper."""
53
+ if not hasattr(self, '_selected_column_y_wrapper'):
54
+ self._selected_column_y_wrapper = DataDescriptorVal(proto_message=self._proto_message.SelectedColumnY)
55
+ return self._selected_column_y_wrapper
56
+
57
+ @selected_column_y.setter
58
+ def selected_column_y(self, value: DataDescriptorVal) -> None:
59
+ """Set the SelectedColumnY field to a wrapper."""
60
+ self._proto_message.SelectedColumnY.CopyFrom(value.to_proto())
61
+ # Update the cached wrapper if it exists
62
+ if hasattr(self, '_selected_column_y_wrapper'):
63
+ self._selected_column_y_wrapper._proto_message.CopyFrom(self._proto_message.SelectedColumnY)
64
+
65
+
66
+ @property
67
+ def show_regression_line(self) -> bool:
68
+ """Get the ShowRegressionLine field value."""
69
+ return self._proto_message.ShowRegressionLine
70
+
71
+ @show_regression_line.setter
72
+ def show_regression_line(self, value: bool) -> None:
73
+ """Set the ShowRegressionLine field value."""
74
+ self._proto_message.ShowRegressionLine = value
75
+
76
+
77
+ @property
78
+ def is_weighted(self) -> bool:
79
+ """Get the IsWeighted field value."""
80
+ return self._proto_message.IsWeighted
81
+
82
+ @is_weighted.setter
83
+ def is_weighted(self, value: bool) -> None:
84
+ """Set the IsWeighted field value."""
85
+ self._proto_message.IsWeighted = value
86
+
87
+
88
+ # Utility methods
89
+
90
+ def to_proto(self):
91
+ """Get the underlying protobuf message."""
92
+ return self._proto_message
93
+
94
+ @classmethod
95
+ def from_proto(cls, proto_message):
96
+ """Create wrapper from existing protobuf message."""
97
+ wrapper = cls()
98
+ wrapper._proto_message.CopyFrom(proto_message)
99
+ return wrapper
100
+
101
+ def copy(self):
102
+ """Create a copy of this wrapper."""
103
+ new_wrapper = self.__class__()
104
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
105
+ return new_wrapper
106
+
107
+ def __str__(self) -> str:
108
+ """String representation."""
109
+ return f"{self.__class__.__name__}({self._proto_message})"
110
+
111
+ def __repr__(self) -> str:
112
+ """Detailed string representation."""
113
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,23 @@
1
+ from typing import List
2
+ from . import DipsAPI_pb2_grpc
3
+ from . import DipsAPI_pb2
4
+ from .SetEntityInfoVal import SetEntityInfoVal
5
+
6
+ class SetEntityInfoRef:
7
+ def __init__(self, channelToConnectOn, ref: DipsAPI_pb2.ProtoReference_SetEntityInfo):
8
+ self.__modelRef = ref
9
+ self.__refManagerStub = DipsAPI_pb2_grpc.nSameModuleReferenceAccessorStub(channelToConnectOn)
10
+ self.__channelToConnectOn = channelToConnectOn
11
+
12
+
13
+ def GetValue(self) -> SetEntityInfoVal:
14
+ bytes = self.__refManagerStub.GetValue(self.__modelRef.ID)
15
+ ret = DipsAPI_pb2.SetEntityInfo()
16
+ ret.MergeFromString(bytes.data)
17
+ return SetEntityInfoVal.from_proto(ret)
18
+
19
+ def get_model_ref(self):
20
+ """Get the underlying model reference for direct protobuf operations."""
21
+ return self.__modelRef
22
+
23
+
@@ -0,0 +1,103 @@
1
+ """Generated wrapper for SetEntityInfo 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 .ColorSurrogateVal import ColorSurrogateVal
9
+ from .SetWindowEntityInfoVal import SetWindowEntityInfoVal
10
+
11
+ class SetEntityInfoVal:
12
+ """Simple wrapper for SetEntityInfo with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.SetEntityInfo
15
+
16
+
17
+ def __init__(self, color: Optional[ColorSurrogateVal] = None, set_window_entity_info: Optional[SetWindowEntityInfoVal] = None, proto_message: Optional[Any] = None):
18
+ """Initialize the SetEntityInfo 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 color is not None:
26
+ self._proto_message.Color.CopyFrom(color.to_proto())
27
+ self._color_wrapper = color
28
+ if set_window_entity_info is not None:
29
+ self._proto_message.SetWindowEntityInfo.CopyFrom(set_window_entity_info.to_proto())
30
+ self._set_window_entity_info_wrapper = set_window_entity_info
31
+
32
+
33
+ # Properties
34
+
35
+ @property
36
+ def id(self) -> str:
37
+ """Get the ID field value."""
38
+ return self._proto_message.ID
39
+
40
+ @id.setter
41
+ def id(self, value: str) -> None:
42
+ """Set the ID field value."""
43
+ self._proto_message.ID = value
44
+
45
+
46
+ @property
47
+ def color(self) -> ColorSurrogateVal:
48
+ """Get the Color field as a wrapper."""
49
+ if not hasattr(self, '_color_wrapper'):
50
+ self._color_wrapper = ColorSurrogateVal(proto_message=self._proto_message.Color)
51
+ return self._color_wrapper
52
+
53
+ @color.setter
54
+ def color(self, value: ColorSurrogateVal) -> None:
55
+ """Set the Color field to a wrapper."""
56
+ self._proto_message.Color.CopyFrom(value.to_proto())
57
+ # Update the cached wrapper if it exists
58
+ if hasattr(self, '_color_wrapper'):
59
+ self._color_wrapper._proto_message.CopyFrom(self._proto_message.Color)
60
+
61
+
62
+ @property
63
+ def set_window_entity_info(self) -> SetWindowEntityInfoVal:
64
+ """Get the SetWindowEntityInfo field as a wrapper."""
65
+ if not hasattr(self, '_set_window_entity_info_wrapper'):
66
+ self._set_window_entity_info_wrapper = SetWindowEntityInfoVal(proto_message=self._proto_message.SetWindowEntityInfo)
67
+ return self._set_window_entity_info_wrapper
68
+
69
+ @set_window_entity_info.setter
70
+ def set_window_entity_info(self, value: SetWindowEntityInfoVal) -> None:
71
+ """Set the SetWindowEntityInfo field to a wrapper."""
72
+ self._proto_message.SetWindowEntityInfo.CopyFrom(value.to_proto())
73
+ # Update the cached wrapper if it exists
74
+ if hasattr(self, '_set_window_entity_info_wrapper'):
75
+ self._set_window_entity_info_wrapper._proto_message.CopyFrom(self._proto_message.SetWindowEntityInfo)
76
+
77
+
78
+ # Utility methods
79
+
80
+ def to_proto(self):
81
+ """Get the underlying protobuf message."""
82
+ return self._proto_message
83
+
84
+ @classmethod
85
+ def from_proto(cls, proto_message):
86
+ """Create wrapper from existing protobuf message."""
87
+ wrapper = cls()
88
+ wrapper._proto_message.CopyFrom(proto_message)
89
+ return wrapper
90
+
91
+ def copy(self):
92
+ """Create a copy of this wrapper."""
93
+ new_wrapper = self.__class__()
94
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
95
+ return new_wrapper
96
+
97
+ def __str__(self) -> str:
98
+ """String representation."""
99
+ return f"{self.__class__.__name__}({self._proto_message})"
100
+
101
+ def __repr__(self) -> str:
102
+ """Detailed string representation."""
103
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,133 @@
1
+ """Generated wrapper for SetEntityOptions 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 .ColorSurrogateVal import ColorSurrogateVal
9
+ from .PlaneOptionsVal import PlaneOptionsVal
10
+
11
+ class SetEntityOptionsVal:
12
+ """Simple wrapper for SetEntityOptions with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.SetEntityOptions
15
+
16
+
17
+ def __init__(self, plane_options: Optional[PlaneOptionsVal] = None, confidence_cone_color: Optional[ColorSurrogateVal] = None, variability_cone_color: Optional[ColorSurrogateVal] = None, proto_message: Optional[Any] = None):
18
+ """Initialize the SetEntityOptions 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 plane_options is not None:
26
+ self._proto_message.PlaneOptions.CopyFrom(plane_options.to_proto())
27
+ self._plane_options_wrapper = plane_options
28
+ if confidence_cone_color is not None:
29
+ self._proto_message.ConfidenceConeColor.CopyFrom(confidence_cone_color.to_proto())
30
+ self._confidence_cone_color_wrapper = confidence_cone_color
31
+ if variability_cone_color is not None:
32
+ self._proto_message.VariabilityConeColor.CopyFrom(variability_cone_color.to_proto())
33
+ self._variability_cone_color_wrapper = variability_cone_color
34
+
35
+
36
+ # Properties
37
+
38
+ @property
39
+ def plane_options(self) -> PlaneOptionsVal:
40
+ """Get the PlaneOptions field as a wrapper."""
41
+ if not hasattr(self, '_plane_options_wrapper'):
42
+ self._plane_options_wrapper = PlaneOptionsVal(proto_message=self._proto_message.PlaneOptions)
43
+ return self._plane_options_wrapper
44
+
45
+ @plane_options.setter
46
+ def plane_options(self, value: PlaneOptionsVal) -> None:
47
+ """Set the PlaneOptions field to a wrapper."""
48
+ self._proto_message.PlaneOptions.CopyFrom(value.to_proto())
49
+ # Update the cached wrapper if it exists
50
+ if hasattr(self, '_plane_options_wrapper'):
51
+ self._plane_options_wrapper._proto_message.CopyFrom(self._proto_message.PlaneOptions)
52
+
53
+
54
+ @property
55
+ def show_confidence_cones(self) -> bool:
56
+ """Get the ShowConfidenceCones field value."""
57
+ return self._proto_message.ShowConfidenceCones
58
+
59
+ @show_confidence_cones.setter
60
+ def show_confidence_cones(self, value: bool) -> None:
61
+ """Set the ShowConfidenceCones field value."""
62
+ self._proto_message.ShowConfidenceCones = value
63
+
64
+
65
+ @property
66
+ def confidence_cone_color(self) -> ColorSurrogateVal:
67
+ """Get the ConfidenceConeColor field as a wrapper."""
68
+ if not hasattr(self, '_confidence_cone_color_wrapper'):
69
+ self._confidence_cone_color_wrapper = ColorSurrogateVal(proto_message=self._proto_message.ConfidenceConeColor)
70
+ return self._confidence_cone_color_wrapper
71
+
72
+ @confidence_cone_color.setter
73
+ def confidence_cone_color(self, value: ColorSurrogateVal) -> None:
74
+ """Set the ConfidenceConeColor field to a wrapper."""
75
+ self._proto_message.ConfidenceConeColor.CopyFrom(value.to_proto())
76
+ # Update the cached wrapper if it exists
77
+ if hasattr(self, '_confidence_cone_color_wrapper'):
78
+ self._confidence_cone_color_wrapper._proto_message.CopyFrom(self._proto_message.ConfidenceConeColor)
79
+
80
+
81
+ @property
82
+ def show_variability_cones(self) -> bool:
83
+ """Get the ShowVariabilityCones field value."""
84
+ return self._proto_message.ShowVariabilityCones
85
+
86
+ @show_variability_cones.setter
87
+ def show_variability_cones(self, value: bool) -> None:
88
+ """Set the ShowVariabilityCones field value."""
89
+ self._proto_message.ShowVariabilityCones = value
90
+
91
+
92
+ @property
93
+ def variability_cone_color(self) -> ColorSurrogateVal:
94
+ """Get the VariabilityConeColor field as a wrapper."""
95
+ if not hasattr(self, '_variability_cone_color_wrapper'):
96
+ self._variability_cone_color_wrapper = ColorSurrogateVal(proto_message=self._proto_message.VariabilityConeColor)
97
+ return self._variability_cone_color_wrapper
98
+
99
+ @variability_cone_color.setter
100
+ def variability_cone_color(self, value: ColorSurrogateVal) -> None:
101
+ """Set the VariabilityConeColor field to a wrapper."""
102
+ self._proto_message.VariabilityConeColor.CopyFrom(value.to_proto())
103
+ # Update the cached wrapper if it exists
104
+ if hasattr(self, '_variability_cone_color_wrapper'):
105
+ self._variability_cone_color_wrapper._proto_message.CopyFrom(self._proto_message.VariabilityConeColor)
106
+
107
+
108
+ # Utility methods
109
+
110
+ def to_proto(self):
111
+ """Get the underlying protobuf message."""
112
+ return self._proto_message
113
+
114
+ @classmethod
115
+ def from_proto(cls, proto_message):
116
+ """Create wrapper from existing protobuf message."""
117
+ wrapper = cls()
118
+ wrapper._proto_message.CopyFrom(proto_message)
119
+ return wrapper
120
+
121
+ def copy(self):
122
+ """Create a copy of this wrapper."""
123
+ new_wrapper = self.__class__()
124
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
125
+ return new_wrapper
126
+
127
+ def __str__(self) -> str:
128
+ """String representation."""
129
+ return f"{self.__class__.__name__}({self._proto_message})"
130
+
131
+ def __repr__(self) -> str:
132
+ """Detailed string representation."""
133
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,38 @@
1
+ from typing import List
2
+ from . import DipsAPI_pb2_grpc
3
+ from . import DipsAPI_pb2
4
+ from .SetEntityVisibilityVal import SetEntityVisibilityVal
5
+ from .SetEntityVisibilityVal import SetEntityVisibilityVal
6
+ from .ValidatableResultVal import ValidatableResultVal
7
+
8
+ class SetEntityVisibilityRef:
9
+ def __init__(self, channelToConnectOn, ref: DipsAPI_pb2.ProtoReference_SetEntityVisibility):
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) -> SetEntityVisibilityVal:
17
+ bytes = self.__refManagerStub.GetValue(self.__modelRef.ID)
18
+ ret = DipsAPI_pb2.SetEntityVisibility()
19
+ ret.MergeFromString(bytes.data)
20
+ return SetEntityVisibilityVal.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 SetMeanSetPlaneEntityOptions(self, SetEntityVisibility: SetEntityVisibilityVal) -> ValidatableResultVal:
27
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_SetEntityVisibility_SetEntityVisibility(This=self.__modelRef, Input1=(SetEntityVisibility.to_proto() if hasattr(SetEntityVisibility, 'to_proto') else SetEntityVisibility))
28
+ ret = self.__EntityServicesStubLocal.SetMeanSetPlaneEntityOptions(functionParam)
29
+
30
+ return ValidatableResultVal.from_proto(ret)
31
+
32
+
33
+ def SetMeanSetPlaneEntityVisibility(self, Boolean: bool):
34
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_SetEntityVisibility_Boolean(This=self.__modelRef, Input1=Boolean)
35
+ ret = self.__EntityServicesStubLocal.SetMeanSetPlaneEntityVisibility(functionParam)
36
+
37
+
38
+
@@ -0,0 +1,100 @@
1
+ """Generated wrapper for SetEntityVisibility 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 .SetEntityOptionsVal import SetEntityOptionsVal
9
+ from .SetEntityInfoRef import SetEntityInfoRef
10
+
11
+ class SetEntityVisibilityVal:
12
+ """Simple wrapper for SetEntityVisibility with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.SetEntityVisibility
15
+
16
+
17
+ def __init__(self, options: Optional[SetEntityOptionsVal] = None, set_entity_reference: Optional[SetEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
18
+ """Initialize the SetEntityVisibility 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 options is not None:
29
+ self._proto_message.Options.CopyFrom(options.to_proto())
30
+ self._options_wrapper = options
31
+ if set_entity_reference is not None:
32
+ self.set_entity_reference = set_entity_reference
33
+
34
+
35
+ # Properties
36
+
37
+ @property
38
+ def is_visible(self) -> bool:
39
+ """Get the IsVisible field value."""
40
+ return self._proto_message.IsVisible
41
+
42
+ @is_visible.setter
43
+ def is_visible(self, value: bool) -> None:
44
+ """Set the IsVisible field value."""
45
+ self._proto_message.IsVisible = value
46
+
47
+
48
+ @property
49
+ def options(self) -> SetEntityOptionsVal:
50
+ """Get the Options field as a wrapper."""
51
+ if not hasattr(self, '_options_wrapper'):
52
+ self._options_wrapper = SetEntityOptionsVal(proto_message=self._proto_message.Options)
53
+ return self._options_wrapper
54
+
55
+ @options.setter
56
+ def options(self, value: SetEntityOptionsVal) -> None:
57
+ """Set the Options field to a wrapper."""
58
+ self._proto_message.Options.CopyFrom(value.to_proto())
59
+ # Update the cached wrapper if it exists
60
+ if hasattr(self, '_options_wrapper'):
61
+ self._options_wrapper._proto_message.CopyFrom(self._proto_message.Options)
62
+
63
+
64
+ @property
65
+ def set_entity_reference(self) -> SetEntityInfoRef:
66
+ """Get the SetEntityReference field as a reference."""
67
+ return SetEntityInfoRef(self.__channelToConnectOn, self._proto_message.SetEntityReference)
68
+
69
+ @set_entity_reference.setter
70
+ def set_entity_reference(self, value: SetEntityInfoRef) -> None:
71
+ """Set the SetEntityReference field to a reference."""
72
+ self._proto_message.SetEntityReference.CopyFrom(value.get_model_ref())
73
+
74
+
75
+ # Utility methods
76
+
77
+ def to_proto(self):
78
+ """Get the underlying protobuf message."""
79
+ return self._proto_message
80
+
81
+ @classmethod
82
+ def from_proto(cls, proto_message):
83
+ """Create wrapper from existing protobuf message."""
84
+ wrapper = cls()
85
+ wrapper._proto_message.CopyFrom(proto_message)
86
+ return wrapper
87
+
88
+ def copy(self):
89
+ """Create a copy of this wrapper."""
90
+ new_wrapper = self.__class__()
91
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
92
+ return new_wrapper
93
+
94
+ def __str__(self) -> str:
95
+ """String representation."""
96
+ return f"{self.__class__.__name__}({self._proto_message})"
97
+
98
+ def __repr__(self) -> str:
99
+ """Detailed string representation."""
100
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,106 @@
1
+ """Generated wrapper for SetStatisticsSettings 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 SetStatisticsSettingsVal:
9
+ """Simple wrapper for SetStatisticsSettings with Pythonic getters and setters."""
10
+
11
+ _proto_class = DipsAPI_pb2.SetStatisticsSettings
12
+
13
+
14
+ def __init__(self, proto_message: Optional[Any] = None):
15
+ """Initialize the SetStatisticsSettings 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 one_std_dev(self) -> bool:
28
+ """Get the OneStdDev field value."""
29
+ return self._proto_message.OneStdDev
30
+
31
+ @one_std_dev.setter
32
+ def one_std_dev(self, value: bool) -> None:
33
+ """Set the OneStdDev field value."""
34
+ self._proto_message.OneStdDev = value
35
+
36
+
37
+ @property
38
+ def two_std_dev(self) -> bool:
39
+ """Get the TwoStdDev field value."""
40
+ return self._proto_message.TwoStdDev
41
+
42
+ @two_std_dev.setter
43
+ def two_std_dev(self, value: bool) -> None:
44
+ """Set the TwoStdDev field value."""
45
+ self._proto_message.TwoStdDev = value
46
+
47
+
48
+ @property
49
+ def three_std_dev(self) -> bool:
50
+ """Get the ThreeStdDev field value."""
51
+ return self._proto_message.ThreeStdDev
52
+
53
+ @three_std_dev.setter
54
+ def three_std_dev(self, value: bool) -> None:
55
+ """Set the ThreeStdDev field value."""
56
+ self._proto_message.ThreeStdDev = value
57
+
58
+
59
+ @property
60
+ def use_custom_interval(self) -> bool:
61
+ """Get the UseCustomInterval field value."""
62
+ return self._proto_message.UseCustomInterval
63
+
64
+ @use_custom_interval.setter
65
+ def use_custom_interval(self, value: bool) -> None:
66
+ """Set the UseCustomInterval field value."""
67
+ self._proto_message.UseCustomInterval = value
68
+
69
+
70
+ @property
71
+ def custom_interval(self) -> float:
72
+ """Get the CustomInterval field value."""
73
+ return self._proto_message.CustomInterval
74
+
75
+ @custom_interval.setter
76
+ def custom_interval(self, value: float) -> None:
77
+ """Set the CustomInterval field value."""
78
+ self._proto_message.CustomInterval = value
79
+
80
+
81
+ # Utility methods
82
+
83
+ def to_proto(self):
84
+ """Get the underlying protobuf message."""
85
+ return self._proto_message
86
+
87
+ @classmethod
88
+ def from_proto(cls, proto_message):
89
+ """Create wrapper from existing protobuf message."""
90
+ wrapper = cls()
91
+ wrapper._proto_message.CopyFrom(proto_message)
92
+ return wrapper
93
+
94
+ def copy(self):
95
+ """Create a copy of this wrapper."""
96
+ new_wrapper = self.__class__()
97
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
98
+ return new_wrapper
99
+
100
+ def __str__(self) -> str:
101
+ """String representation."""
102
+ return f"{self.__class__.__name__}({self._proto_message})"
103
+
104
+ def __repr__(self) -> str:
105
+ """Detailed string representation."""
106
+ return f"{self.__class__.__name__}({self._proto_message})"