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,155 @@
1
+ """Generated wrapper for ArrowToolEntityInfo 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 .AnchorPointVal import AnchorPointVal
9
+ from .LineFormatVal import LineFormatVal
10
+
11
+ class ArrowToolEntityInfoVal:
12
+ """Simple wrapper for ArrowToolEntityInfo with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.ArrowToolEntityInfo
15
+
16
+
17
+ def __init__(self, anchor_point: Optional[AnchorPointVal] = None, anchor_point_secondary: Optional[AnchorPointVal] = None, line_format: Optional[LineFormatVal] = None, proto_message: Optional[Any] = None):
18
+ """Initialize the ArrowToolEntityInfo 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 anchor_point is not None:
26
+ self._proto_message.AnchorPoint.CopyFrom(anchor_point.to_proto())
27
+ self._anchor_point_wrapper = anchor_point
28
+ if anchor_point_secondary is not None:
29
+ self._proto_message.AnchorPointSecondary.CopyFrom(anchor_point_secondary.to_proto())
30
+ self._anchor_point_secondary_wrapper = anchor_point_secondary
31
+ if line_format is not None:
32
+ self._proto_message.LineFormat.CopyFrom(line_format.to_proto())
33
+ self._line_format_wrapper = line_format
34
+
35
+
36
+ # Properties
37
+
38
+ @property
39
+ def is_visible(self) -> bool:
40
+ """Get the IsVisible field value."""
41
+ return self._proto_message.IsVisible
42
+
43
+ @is_visible.setter
44
+ def is_visible(self, value: bool) -> None:
45
+ """Set the IsVisible field value."""
46
+ self._proto_message.IsVisible = value
47
+
48
+
49
+ @property
50
+ def name(self) -> str:
51
+ """Get the Name field value."""
52
+ return self._proto_message.Name
53
+
54
+ @name.setter
55
+ def name(self, value: str) -> None:
56
+ """Set the Name field value."""
57
+ self._proto_message.Name = value
58
+
59
+
60
+ @property
61
+ def anchor_point(self) -> AnchorPointVal:
62
+ """Get the AnchorPoint field as a wrapper."""
63
+ if not hasattr(self, '_anchor_point_wrapper'):
64
+ self._anchor_point_wrapper = AnchorPointVal(proto_message=self._proto_message.AnchorPoint)
65
+ return self._anchor_point_wrapper
66
+
67
+ @anchor_point.setter
68
+ def anchor_point(self, value: AnchorPointVal) -> None:
69
+ """Set the AnchorPoint field to a wrapper."""
70
+ self._proto_message.AnchorPoint.CopyFrom(value.to_proto())
71
+ # Update the cached wrapper if it exists
72
+ if hasattr(self, '_anchor_point_wrapper'):
73
+ self._anchor_point_wrapper._proto_message.CopyFrom(self._proto_message.AnchorPoint)
74
+
75
+
76
+ @property
77
+ def anchor_point_secondary(self) -> AnchorPointVal:
78
+ """Get the AnchorPointSecondary field as a wrapper."""
79
+ if not hasattr(self, '_anchor_point_secondary_wrapper'):
80
+ self._anchor_point_secondary_wrapper = AnchorPointVal(proto_message=self._proto_message.AnchorPointSecondary)
81
+ return self._anchor_point_secondary_wrapper
82
+
83
+ @anchor_point_secondary.setter
84
+ def anchor_point_secondary(self, value: AnchorPointVal) -> None:
85
+ """Set the AnchorPointSecondary field to a wrapper."""
86
+ self._proto_message.AnchorPointSecondary.CopyFrom(value.to_proto())
87
+ # Update the cached wrapper if it exists
88
+ if hasattr(self, '_anchor_point_secondary_wrapper'):
89
+ self._anchor_point_secondary_wrapper._proto_message.CopyFrom(self._proto_message.AnchorPointSecondary)
90
+
91
+
92
+ @property
93
+ def line_format(self) -> LineFormatVal:
94
+ """Get the LineFormat field as a wrapper."""
95
+ if not hasattr(self, '_line_format_wrapper'):
96
+ self._line_format_wrapper = LineFormatVal(proto_message=self._proto_message.LineFormat)
97
+ return self._line_format_wrapper
98
+
99
+ @line_format.setter
100
+ def line_format(self, value: LineFormatVal) -> None:
101
+ """Set the LineFormat field to a wrapper."""
102
+ self._proto_message.LineFormat.CopyFrom(value.to_proto())
103
+ # Update the cached wrapper if it exists
104
+ if hasattr(self, '_line_format_wrapper'):
105
+ self._line_format_wrapper._proto_message.CopyFrom(self._proto_message.LineFormat)
106
+
107
+
108
+ @property
109
+ def show_arrow(self) -> bool:
110
+ """Get the ShowArrow field value."""
111
+ return self._proto_message.ShowArrow
112
+
113
+ @show_arrow.setter
114
+ def show_arrow(self, value: bool) -> None:
115
+ """Set the ShowArrow field value."""
116
+ self._proto_message.ShowArrow = value
117
+
118
+
119
+ @property
120
+ def show_arrow_secondary(self) -> bool:
121
+ """Get the ShowArrowSecondary field value."""
122
+ return self._proto_message.ShowArrowSecondary
123
+
124
+ @show_arrow_secondary.setter
125
+ def show_arrow_secondary(self, value: bool) -> None:
126
+ """Set the ShowArrowSecondary field value."""
127
+ self._proto_message.ShowArrowSecondary = value
128
+
129
+
130
+ # Utility methods
131
+
132
+ def to_proto(self):
133
+ """Get the underlying protobuf message."""
134
+ return self._proto_message
135
+
136
+ @classmethod
137
+ def from_proto(cls, proto_message):
138
+ """Create wrapper from existing protobuf message."""
139
+ wrapper = cls()
140
+ wrapper._proto_message.CopyFrom(proto_message)
141
+ return wrapper
142
+
143
+ def copy(self):
144
+ """Create a copy of this wrapper."""
145
+ new_wrapper = self.__class__()
146
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
147
+ return new_wrapper
148
+
149
+ def __str__(self) -> str:
150
+ """String representation."""
151
+ return f"{self.__class__.__name__}({self._proto_message})"
152
+
153
+ def __repr__(self) -> str:
154
+ """Detailed string representation."""
155
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,161 @@
1
+ """Generated wrapper for AutomaticClusterAnalysisSettings 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 AutomaticClusterAnalysisSettingsVal:
9
+ """Simple wrapper for AutomaticClusterAnalysisSettings with Pythonic getters and setters."""
10
+
11
+ _proto_class = DipsAPI_pb2.AutomaticClusterAnalysisSettings
12
+
13
+
14
+ def __init__(self, proto_message: Optional[Any] = None):
15
+ """Initialize the AutomaticClusterAnalysisSettings 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 is_weighted(self) -> bool:
28
+ """Get the IsWeighted field value."""
29
+ return self._proto_message.IsWeighted
30
+
31
+ @is_weighted.setter
32
+ def is_weighted(self, value: bool) -> None:
33
+ """Set the IsWeighted field value."""
34
+ self._proto_message.IsWeighted = value
35
+
36
+
37
+ @property
38
+ def min_num_clusters(self) -> int:
39
+ """Get the MinNumClusters field value."""
40
+ return self._proto_message.MinNumClusters
41
+
42
+ @min_num_clusters.setter
43
+ def min_num_clusters(self, value: int) -> None:
44
+ """Set the MinNumClusters field value."""
45
+ self._proto_message.MinNumClusters = value
46
+
47
+
48
+ @property
49
+ def max_num_clusters(self) -> int:
50
+ """Get the MaxNumClusters field value."""
51
+ return self._proto_message.MaxNumClusters
52
+
53
+ @max_num_clusters.setter
54
+ def max_num_clusters(self, value: int) -> None:
55
+ """Set the MaxNumClusters field value."""
56
+ self._proto_message.MaxNumClusters = value
57
+
58
+
59
+ @property
60
+ def minimum_membership_degree_percent(self) -> float:
61
+ """Get the MinimumMembershipDegreePercent field value."""
62
+ return self._proto_message.MinimumMembershipDegreePercent
63
+
64
+ @minimum_membership_degree_percent.setter
65
+ def minimum_membership_degree_percent(self, value: float) -> None:
66
+ """Set the MinimumMembershipDegreePercent field value."""
67
+ self._proto_message.MinimumMembershipDegreePercent = value
68
+
69
+
70
+ @property
71
+ def confidence_interval(self) -> float:
72
+ """Get the ConfidenceInterval field value."""
73
+ return self._proto_message.ConfidenceInterval
74
+
75
+ @confidence_interval.setter
76
+ def confidence_interval(self, value: float) -> None:
77
+ """Set the ConfidenceInterval field value."""
78
+ self._proto_message.ConfidenceInterval = value
79
+
80
+
81
+ @property
82
+ def number_of_runs(self) -> int:
83
+ """Get the NumberOfRuns field value."""
84
+ return self._proto_message.NumberOfRuns
85
+
86
+ @number_of_runs.setter
87
+ def number_of_runs(self, value: int) -> None:
88
+ """Set the NumberOfRuns field value."""
89
+ self._proto_message.NumberOfRuns = value
90
+
91
+
92
+ @property
93
+ def convergence_tolerance(self) -> float:
94
+ """Get the ConvergenceTolerance field value."""
95
+ return self._proto_message.ConvergenceTolerance
96
+
97
+ @convergence_tolerance.setter
98
+ def convergence_tolerance(self, value: float) -> None:
99
+ """Set the ConvergenceTolerance field value."""
100
+ self._proto_message.ConvergenceTolerance = value
101
+
102
+
103
+ @property
104
+ def max_iterations(self) -> int:
105
+ """Get the MaxIterations field value."""
106
+ return self._proto_message.MaxIterations
107
+
108
+ @max_iterations.setter
109
+ def max_iterations(self, value: int) -> None:
110
+ """Set the MaxIterations field value."""
111
+ self._proto_message.MaxIterations = value
112
+
113
+
114
+ @property
115
+ def random_seed(self) -> int:
116
+ """Get the RandomSeed field value."""
117
+ return self._proto_message.RandomSeed
118
+
119
+ @random_seed.setter
120
+ def random_seed(self, value: int) -> None:
121
+ """Set the RandomSeed field value."""
122
+ self._proto_message.RandomSeed = value
123
+
124
+
125
+ @property
126
+ def fuzziness_parameter(self) -> float:
127
+ """Get the FuzzinessParameter field value."""
128
+ return self._proto_message.FuzzinessParameter
129
+
130
+ @fuzziness_parameter.setter
131
+ def fuzziness_parameter(self, value: float) -> None:
132
+ """Set the FuzzinessParameter field value."""
133
+ self._proto_message.FuzzinessParameter = value
134
+
135
+
136
+ # Utility methods
137
+
138
+ def to_proto(self):
139
+ """Get the underlying protobuf message."""
140
+ return self._proto_message
141
+
142
+ @classmethod
143
+ def from_proto(cls, proto_message):
144
+ """Create wrapper from existing protobuf message."""
145
+ wrapper = cls()
146
+ wrapper._proto_message.CopyFrom(proto_message)
147
+ return wrapper
148
+
149
+ def copy(self):
150
+ """Create a copy of this wrapper."""
151
+ new_wrapper = self.__class__()
152
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
153
+ return new_wrapper
154
+
155
+ def __str__(self) -> str:
156
+ """String representation."""
157
+ return f"{self.__class__.__name__}({self._proto_message})"
158
+
159
+ def __repr__(self) -> str:
160
+ """Detailed string representation."""
161
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,81 @@
1
+ from .DataDescriptorVal import DataDescriptorVal
2
+ from .DataIdentifierVal import DataIdentifierVal
3
+
4
+ # Orientation descriptors (Angle type = 8)
5
+ TrendDescriptor = DataDescriptorVal()
6
+ TrendDescriptor.data_type = 8 # eDataType.Angle
7
+ TrendDescriptor.data_name = DataIdentifierVal()
8
+ TrendDescriptor.data_name.data_name = "Trend"
9
+
10
+ PlungeDescriptor = DataDescriptorVal()
11
+ PlungeDescriptor.data_type = 8 # eDataType.Angle
12
+ PlungeDescriptor.data_name = DataIdentifierVal()
13
+ PlungeDescriptor.data_name.data_name = "Plunge"
14
+
15
+ DipDescriptor = DataDescriptorVal()
16
+ DipDescriptor.data_type = 8 # eDataType.Angle
17
+ DipDescriptor.data_name = DataIdentifierVal()
18
+ DipDescriptor.data_name.data_name = "Dip"
19
+
20
+ DipDirectionDescriptor = DataDescriptorVal()
21
+ DipDirectionDescriptor.data_type = 8 # eDataType.Angle
22
+ DipDirectionDescriptor.data_name = DataIdentifierVal()
23
+ DipDirectionDescriptor.data_name.data_name = "Dip Direction"
24
+
25
+ StrikeLeftDescriptor = DataDescriptorVal()
26
+ StrikeLeftDescriptor.data_type = 8 # eDataType.Angle
27
+ StrikeLeftDescriptor.data_name = DataIdentifierVal()
28
+ StrikeLeftDescriptor.data_name.data_name = "Strike (left)"
29
+
30
+ StrikeRightDescriptor = DataDescriptorVal()
31
+ StrikeRightDescriptor.data_type = 8 # eDataType.Angle
32
+ StrikeRightDescriptor.data_name = DataIdentifierVal()
33
+ StrikeRightDescriptor.data_name.data_name = "Strike (right)"
34
+
35
+ # Numeric descriptors (UnitlessNumeric type = 1)
36
+ QuantityDescriptor = DataDescriptorVal()
37
+ QuantityDescriptor.data_type = 1 # eDataType.UnitlessNumeric
38
+ QuantityDescriptor.data_name = DataIdentifierVal()
39
+ QuantityDescriptor.data_name.data_name = "Quantity"
40
+
41
+ TraverseDescriptor = DataDescriptorVal()
42
+ TraverseDescriptor.data_type = 1 # eDataType.UnitlessNumeric
43
+ TraverseDescriptor.data_name = DataIdentifierVal()
44
+ TraverseDescriptor.data_name.data_name = "Traverse"
45
+
46
+ WeightingDescriptor = DataDescriptorVal()
47
+ WeightingDescriptor.data_type = 1 # eDataType.UnitlessNumeric
48
+ WeightingDescriptor.data_name = DataIdentifierVal()
49
+ WeightingDescriptor.data_name.data_name = "Weighting"
50
+
51
+ # Length descriptors (Length type = 3)
52
+ DistanceDescriptor = DataDescriptorVal()
53
+ DistanceDescriptor.data_type = 3 # eDataType.Length
54
+ DistanceDescriptor.data_name = DataIdentifierVal()
55
+ DistanceDescriptor.data_name.data_name = "Distance"
56
+
57
+ XDescriptor = DataDescriptorVal()
58
+ XDescriptor.data_type = 3 # eDataType.Length
59
+ XDescriptor.data_name = DataIdentifierVal()
60
+ XDescriptor.data_name.data_name = "X"
61
+
62
+ YDescriptor = DataDescriptorVal()
63
+ YDescriptor.data_type = 3 # eDataType.Length
64
+ YDescriptor.data_name = DataIdentifierVal()
65
+ YDescriptor.data_name.data_name = "Y"
66
+
67
+ ElevationDescriptor = DataDescriptorVal()
68
+ ElevationDescriptor.data_type = 3 # eDataType.Length
69
+ ElevationDescriptor.data_name = DataIdentifierVal()
70
+ ElevationDescriptor.data_name.data_name = "Elevation"
71
+
72
+ PersistenceDescriptor = DataDescriptorVal()
73
+ PersistenceDescriptor.data_type = 3 # eDataType.Length
74
+ PersistenceDescriptor.data_name = DataIdentifierVal()
75
+ PersistenceDescriptor.data_name.data_name = "Persistence"
76
+
77
+ # Text descriptor (Text type = 0)
78
+ SetDescriptor = DataDescriptorVal()
79
+ SetDescriptor.data_type = 0 # eDataType.Text
80
+ SetDescriptor.data_name = DataIdentifierVal()
81
+ SetDescriptor.data_name.data_name = "Set"
@@ -0,0 +1,81 @@
1
+ from .DataFormatterVal import DataFormatterVal
2
+
3
+ TextDataFormatter = DataFormatterVal()
4
+ TextDataFormatter.data_format = ""
5
+
6
+ UnitlessNumericDataFormmatter = DataFormatterVal()
7
+ UnitlessNumericDataFormmatter.data_format = ""
8
+
9
+ RatioPercentDataFormmatter = DataFormatterVal()
10
+ RatioPercentDataFormmatter.data_format = "%"
11
+
12
+ LengthMeterDataFormmatter = DataFormatterVal()
13
+ LengthMeterDataFormmatter.data_format = "m"
14
+ LengthCentimeterDataFormmatter = DataFormatterVal()
15
+ LengthCentimeterDataFormmatter.data_format = "cm"
16
+ LengthKilometerDataFormmatter = DataFormatterVal()
17
+ LengthKilometerDataFormmatter.data_format = "km"
18
+ LengthMillimeterDataFormmatter = DataFormatterVal()
19
+ LengthMillimeterDataFormmatter.data_format = "mm"
20
+ LengthFootDataFormmatter = DataFormatterVal()
21
+ LengthFootDataFormmatter.data_format = "ft"
22
+ LengthInchDataFormmatter = DataFormatterVal()
23
+ LengthInchDataFormmatter.data_format = "in"
24
+ LengthMileDataFormmatter = DataFormatterVal()
25
+ LengthMileDataFormmatter.data_format = "mi"
26
+
27
+ # Angles
28
+ AngleDegreeDataFormmatter = DataFormatterVal()
29
+ AngleDegreeDataFormmatter.data_format = "°"
30
+ AngleRadianDataFormmatter = DataFormatterVal()
31
+ AngleRadianDataFormmatter.data_format = "rad"
32
+
33
+ # Areas
34
+ AreaSquareKilometerDataFormmatter = DataFormatterVal()
35
+ AreaSquareKilometerDataFormmatter.data_format = "km²"
36
+ AreaSquareMeterDataFormmatter = DataFormatterVal()
37
+ AreaSquareMeterDataFormmatter.data_format = "m²"
38
+ AreaSquareCentimeterDataFormmatter = DataFormatterVal()
39
+ AreaSquareCentimeterDataFormmatter.data_format = "cm²"
40
+ AreaSquareMileDataFormmatter = DataFormatterVal()
41
+ AreaSquareMileDataFormmatter.data_format = "mi²"
42
+ AreaSquareFootDataFormmatter = DataFormatterVal()
43
+ AreaSquareFootDataFormmatter.data_format = "ft²"
44
+ AreaSquareInchDataFormmatter = DataFormatterVal()
45
+ AreaSquareInchDataFormmatter.data_format = "in²"
46
+
47
+ # Volumes
48
+ VolumeCubicMeterDataFormmatter = DataFormatterVal()
49
+ VolumeCubicMeterDataFormmatter.data_format = "m³"
50
+ VolumeCubicFootDataFormmatter = DataFormatterVal()
51
+ VolumeCubicFootDataFormmatter.data_format = "ft³"
52
+
53
+ # Force
54
+ ForceKilonewtonDataFormmatter = DataFormatterVal()
55
+ ForceKilonewtonDataFormmatter.data_format = "kN"
56
+ ForceMeganewtonDataFormmatter = DataFormatterVal()
57
+ ForceMeganewtonDataFormmatter.data_format = "MN"
58
+ ForceTonneForceDataFormmatter = DataFormatterVal()
59
+ ForceTonneForceDataFormmatter.data_format = "tf"
60
+ ForceShortTonForceDataFormmatter = DataFormatterVal()
61
+ ForceShortTonForceDataFormmatter.data_format = "tonf (US)"
62
+ ForcePoundForceDataFormmatter = DataFormatterVal()
63
+ ForcePoundForceDataFormmatter.data_format = "lbf"
64
+ ForcePoundalDataFormmatter = DataFormatterVal()
65
+ ForcePoundalDataFormmatter.data_format = "pdl"
66
+
67
+ # Pressure
68
+ PressureKilopascalDataFormmatter = DataFormatterVal()
69
+ PressureKilopascalDataFormmatter.data_format = "kPa"
70
+ PressureMegapascalDataFormmatter = DataFormatterVal()
71
+ PressureMegapascalDataFormmatter.data_format = "MPa"
72
+ PressureTonneForcePerSquareMeterDataFormmatter = DataFormatterVal()
73
+ PressureTonneForcePerSquareMeterDataFormmatter.data_format = "tf/m²"
74
+ PressureKilopoundForcePerSquareFootDataFormmatter = DataFormatterVal()
75
+ PressureKilopoundForcePerSquareFootDataFormmatter.data_format = "kip/ft²"
76
+ PressureKilopoundForcePerSquareInchDataFormmatter = DataFormatterVal()
77
+ PressureKilopoundForcePerSquareInchDataFormmatter.data_format = "ksi"
78
+ PressurePoundForcePerSquareFootDataFormmatter = DataFormatterVal()
79
+ PressurePoundForcePerSquareFootDataFormmatter.data_format = "psf"
80
+ PressurePoundForcePerSquareInchDataFormmatter = DataFormatterVal()
81
+ PressurePoundForcePerSquareInchDataFormmatter.data_format = "psi"
@@ -0,0 +1,103 @@
1
+ """Generated wrapper for CircularWindow 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 CircularWindowVal:
12
+ """Simple wrapper for CircularWindow with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.CircularWindow
15
+
16
+
17
+ def __init__(self, center: Optional[TrendPlungeVal] = None, cone_angle: Optional[AngleDataVal] = None, proto_message: Optional[Any] = None):
18
+ """Initialize the CircularWindow 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 center is not None:
26
+ self._proto_message.Center.CopyFrom(center.to_proto())
27
+ self._center_wrapper = center
28
+ if cone_angle is not None:
29
+ self._proto_message.ConeAngle.CopyFrom(cone_angle.to_proto())
30
+ self._cone_angle_wrapper = cone_angle
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 center(self) -> TrendPlungeVal:
48
+ """Get the Center field as a wrapper."""
49
+ if not hasattr(self, '_center_wrapper'):
50
+ self._center_wrapper = TrendPlungeVal(proto_message=self._proto_message.Center)
51
+ return self._center_wrapper
52
+
53
+ @center.setter
54
+ def center(self, value: TrendPlungeVal) -> None:
55
+ """Set the Center field to a wrapper."""
56
+ self._proto_message.Center.CopyFrom(value.to_proto())
57
+ # Update the cached wrapper if it exists
58
+ if hasattr(self, '_center_wrapper'):
59
+ self._center_wrapper._proto_message.CopyFrom(self._proto_message.Center)
60
+
61
+
62
+ @property
63
+ def cone_angle(self) -> AngleDataVal:
64
+ """Get the ConeAngle field as a wrapper."""
65
+ if not hasattr(self, '_cone_angle_wrapper'):
66
+ self._cone_angle_wrapper = AngleDataVal(proto_message=self._proto_message.ConeAngle)
67
+ return self._cone_angle_wrapper
68
+
69
+ @cone_angle.setter
70
+ def cone_angle(self, value: AngleDataVal) -> None:
71
+ """Set the ConeAngle field to a wrapper."""
72
+ self._proto_message.ConeAngle.CopyFrom(value.to_proto())
73
+ # Update the cached wrapper if it exists
74
+ if hasattr(self, '_cone_angle_wrapper'):
75
+ self._cone_angle_wrapper._proto_message.CopyFrom(self._proto_message.ConeAngle)
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})"