DipsScripting 9.1.0__tar.gz

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 (185) hide show
  1. dipsscripting-9.1.0/License.txt +20 -0
  2. dipsscripting-9.1.0/PKG-INFO +29 -0
  3. dipsscripting-9.1.0/README.md +9 -0
  4. dipsscripting-9.1.0/pyproject.toml +32 -0
  5. dipsscripting-9.1.0/setup.cfg +4 -0
  6. dipsscripting-9.1.0/src/DipsScripting.egg-info/PKG-INFO +29 -0
  7. dipsscripting-9.1.0/src/DipsScripting.egg-info/SOURCES.txt +183 -0
  8. dipsscripting-9.1.0/src/DipsScripting.egg-info/dependency_links.txt +1 -0
  9. dipsscripting-9.1.0/src/DipsScripting.egg-info/requires.txt +4 -0
  10. dipsscripting-9.1.0/src/DipsScripting.egg-info/top_level.txt +1 -0
  11. dipsscripting-9.1.0/src/dips/AnchorPointVal.py +103 -0
  12. dipsscripting-9.1.0/src/dips/AngleDataVal.py +62 -0
  13. dipsscripting-9.1.0/src/dips/AnnotativeTools2DVal.py +273 -0
  14. dipsscripting-9.1.0/src/dips/ApplicationManager.py +89 -0
  15. dipsscripting-9.1.0/src/dips/ArrowToolEntityInfoRef.py +43 -0
  16. dipsscripting-9.1.0/src/dips/ArrowToolEntityInfoVal.py +155 -0
  17. dipsscripting-9.1.0/src/dips/AutomaticClusterAnalysisSettingsVal.py +161 -0
  18. dipsscripting-9.1.0/src/dips/BuiltInDataDescriptors.py +81 -0
  19. dipsscripting-9.1.0/src/dips/BuiltInDataFormatters.py +81 -0
  20. dipsscripting-9.1.0/src/dips/CircularWindowVal.py +103 -0
  21. dipsscripting-9.1.0/src/dips/ClusterWindowVal.py +190 -0
  22. dipsscripting-9.1.0/src/dips/ColorSurrogateVal.py +95 -0
  23. dipsscripting-9.1.0/src/dips/ConeToolEntityInfoRef.py +43 -0
  24. dipsscripting-9.1.0/src/dips/ConeToolEntityInfoVal.py +114 -0
  25. dipsscripting-9.1.0/src/dips/ConeVal.py +92 -0
  26. dipsscripting-9.1.0/src/dips/ContourEntityVisibilityVal.py +132 -0
  27. dipsscripting-9.1.0/src/dips/ContourOptionsVal.py +193 -0
  28. dipsscripting-9.1.0/src/dips/CumulativeChartViewRef.py +42 -0
  29. dipsscripting-9.1.0/src/dips/CumulativeChartViewVal.py +100 -0
  30. dipsscripting-9.1.0/src/dips/CumulativePlotSettingsVal.py +94 -0
  31. dipsscripting-9.1.0/src/dips/CurvedWindowVal.py +102 -0
  32. dipsscripting-9.1.0/src/dips/CustomColumnCollectionVal.py +69 -0
  33. dipsscripting-9.1.0/src/dips/CustomHistogramOptionsVal.py +103 -0
  34. dipsscripting-9.1.0/src/dips/CustomRangeVal.py +84 -0
  35. dipsscripting-9.1.0/src/dips/CustomRowRawDataVal.py +74 -0
  36. dipsscripting-9.1.0/src/dips/DataDescriptorVal.py +83 -0
  37. dipsscripting-9.1.0/src/dips/DataFilterRef.py +23 -0
  38. dipsscripting-9.1.0/src/dips/DataFilterVal.py +73 -0
  39. dipsscripting-9.1.0/src/dips/DataFormatterVal.py +62 -0
  40. dipsscripting-9.1.0/src/dips/DataIdentifierVal.py +62 -0
  41. dipsscripting-9.1.0/src/dips/DipsAPI_pb2.py +817 -0
  42. dipsscripting-9.1.0/src/dips/DipsAPI_pb2_grpc.py +12363 -0
  43. dipsscripting-9.1.0/src/dips/DipsApp.py +81 -0
  44. dipsscripting-9.1.0/src/dips/DiscontinuityDataVal.py +164 -0
  45. dipsscripting-9.1.0/src/dips/EllipseToolEntityInfoRef.py +43 -0
  46. dipsscripting-9.1.0/src/dips/EllipseToolEntityInfoVal.py +153 -0
  47. dipsscripting-9.1.0/src/dips/FillFormatVal.py +83 -0
  48. dipsscripting-9.1.0/src/dips/FoldEntityInfoRef.py +23 -0
  49. dipsscripting-9.1.0/src/dips/FoldEntityInfoVal.py +103 -0
  50. dipsscripting-9.1.0/src/dips/FoldEntityOptionsVal.py +106 -0
  51. dipsscripting-9.1.0/src/dips/FoldEntityVisibilityRef.py +38 -0
  52. dipsscripting-9.1.0/src/dips/FoldEntityVisibilityVal.py +100 -0
  53. dipsscripting-9.1.0/src/dips/FoldWindowEntityInfoVal.py +92 -0
  54. dipsscripting-9.1.0/src/dips/FoldWindowEntityVisibilityRef.py +29 -0
  55. dipsscripting-9.1.0/src/dips/FoldWindowEntityVisibilityVal.py +80 -0
  56. dipsscripting-9.1.0/src/dips/FreehandWindowVal.py +80 -0
  57. dipsscripting-9.1.0/src/dips/FullDataFormatVal.py +92 -0
  58. dipsscripting-9.1.0/src/dips/GlobalPlaneEntityVisibilityVal.py +103 -0
  59. dipsscripting-9.1.0/src/dips/HistogramChartViewRef.py +42 -0
  60. dipsscripting-9.1.0/src/dips/HistogramChartViewVal.py +100 -0
  61. dipsscripting-9.1.0/src/dips/HistogramPlotSettingsVal.py +136 -0
  62. dipsscripting-9.1.0/src/dips/IntersectionEntityVisibilityVal.py +83 -0
  63. dipsscripting-9.1.0/src/dips/IntersectionOptionsVal.py +83 -0
  64. dipsscripting-9.1.0/src/dips/IntervalVal.py +102 -0
  65. dipsscripting-9.1.0/src/dips/JointFrequencyAnalysisSettingsVal.py +102 -0
  66. dipsscripting-9.1.0/src/dips/JointFrequencyChartViewRef.py +42 -0
  67. dipsscripting-9.1.0/src/dips/JointFrequencyChartViewVal.py +100 -0
  68. dipsscripting-9.1.0/src/dips/JointSpacingAnalysisSettingsVal.py +138 -0
  69. dipsscripting-9.1.0/src/dips/JointSpacingChartViewRef.py +42 -0
  70. dipsscripting-9.1.0/src/dips/JointSpacingChartViewVal.py +100 -0
  71. dipsscripting-9.1.0/src/dips/KinematicAnalysisEntityVisibilityVal.py +73 -0
  72. dipsscripting-9.1.0/src/dips/KinematicAnalysisSettingsVal.py +140 -0
  73. dipsscripting-9.1.0/src/dips/LatLongVal.py +84 -0
  74. dipsscripting-9.1.0/src/dips/LengthDataVal.py +83 -0
  75. dipsscripting-9.1.0/src/dips/LineFormatVal.py +83 -0
  76. dipsscripting-9.1.0/src/dips/LineIntersectionCalculatorToolEntityInfoRef.py +43 -0
  77. dipsscripting-9.1.0/src/dips/LineIntersectionCalculatorToolEntityInfoVal.py +133 -0
  78. dipsscripting-9.1.0/src/dips/LineToolEntityInfoRef.py +43 -0
  79. dipsscripting-9.1.0/src/dips/LineToolEntityInfoVal.py +133 -0
  80. dipsscripting-9.1.0/src/dips/LineationVal.py +83 -0
  81. dipsscripting-9.1.0/src/dips/MeasureAngleToolEntityInfoRef.py +43 -0
  82. dipsscripting-9.1.0/src/dips/MeasureAngleToolEntityInfoVal.py +133 -0
  83. dipsscripting-9.1.0/src/dips/OrientationDataSetRef.py +23 -0
  84. dipsscripting-9.1.0/src/dips/OrientationDataSetVal.py +453 -0
  85. dipsscripting-9.1.0/src/dips/PitchGridToolEntityInfoRef.py +43 -0
  86. dipsscripting-9.1.0/src/dips/PitchGridToolEntityInfoVal.py +114 -0
  87. dipsscripting-9.1.0/src/dips/PlaneEntityInfoRef.py +23 -0
  88. dipsscripting-9.1.0/src/dips/PlaneEntityInfoVal.py +92 -0
  89. dipsscripting-9.1.0/src/dips/PlaneEntityVisibilityRef.py +38 -0
  90. dipsscripting-9.1.0/src/dips/PlaneEntityVisibilityVal.py +100 -0
  91. dipsscripting-9.1.0/src/dips/PlaneIntersectionCalculatorToolEntityInfoRef.py +43 -0
  92. dipsscripting-9.1.0/src/dips/PlaneIntersectionCalculatorToolEntityInfoVal.py +133 -0
  93. dipsscripting-9.1.0/src/dips/PlaneOptionsVal.py +117 -0
  94. dipsscripting-9.1.0/src/dips/PlaneVal.py +105 -0
  95. dipsscripting-9.1.0/src/dips/PoleEntityOptionsVal.py +84 -0
  96. dipsscripting-9.1.0/src/dips/PoleEntityVisibilityVal.py +83 -0
  97. dipsscripting-9.1.0/src/dips/PolygonToolEntityInfoRef.py +43 -0
  98. dipsscripting-9.1.0/src/dips/PolygonToolEntityInfoVal.py +131 -0
  99. dipsscripting-9.1.0/src/dips/PolylineToolEntityInfoRef.py +43 -0
  100. dipsscripting-9.1.0/src/dips/PolylineToolEntityInfoVal.py +111 -0
  101. dipsscripting-9.1.0/src/dips/ProcessedDataVal.py +94 -0
  102. dipsscripting-9.1.0/src/dips/ProjStubRef.py +388 -0
  103. dipsscripting-9.1.0/src/dips/ProjStubVal.py +52 -0
  104. dipsscripting-9.1.0/src/dips/ProtobufCollectionWrappers.py +108 -0
  105. dipsscripting-9.1.0/src/dips/QualitativeQuantitativeAnalysisSettingsVal.py +151 -0
  106. dipsscripting-9.1.0/src/dips/QualitativeQuantitativeChartViewRef.py +42 -0
  107. dipsscripting-9.1.0/src/dips/QualitativeQuantitativeChartViewVal.py +111 -0
  108. dipsscripting-9.1.0/src/dips/QuantitativeContourSettingsVal.py +103 -0
  109. dipsscripting-9.1.0/src/dips/RQDAnalysisChartViewRef.py +42 -0
  110. dipsscripting-9.1.0/src/dips/RQDAnalysisChartViewVal.py +100 -0
  111. dipsscripting-9.1.0/src/dips/RQDAnalysisSettingsVal.py +111 -0
  112. dipsscripting-9.1.0/src/dips/RectangleToolEntityInfoRef.py +43 -0
  113. dipsscripting-9.1.0/src/dips/RectangleToolEntityInfoVal.py +153 -0
  114. dipsscripting-9.1.0/src/dips/ReportingConventionResultVal.py +62 -0
  115. dipsscripting-9.1.0/src/dips/RosettePresetOptionsVal.py +227 -0
  116. dipsscripting-9.1.0/src/dips/RosetteSettingsVal.py +174 -0
  117. dipsscripting-9.1.0/src/dips/RosetteViewRef.py +296 -0
  118. dipsscripting-9.1.0/src/dips/RosetteViewVal.py +177 -0
  119. dipsscripting-9.1.0/src/dips/ScatterChartViewRef.py +42 -0
  120. dipsscripting-9.1.0/src/dips/ScatterChartViewVal.py +100 -0
  121. dipsscripting-9.1.0/src/dips/ScatterPlotSettingsVal.py +113 -0
  122. dipsscripting-9.1.0/src/dips/SetEntityInfoRef.py +23 -0
  123. dipsscripting-9.1.0/src/dips/SetEntityInfoVal.py +103 -0
  124. dipsscripting-9.1.0/src/dips/SetEntityOptionsVal.py +133 -0
  125. dipsscripting-9.1.0/src/dips/SetEntityVisibilityRef.py +38 -0
  126. dipsscripting-9.1.0/src/dips/SetEntityVisibilityVal.py +100 -0
  127. dipsscripting-9.1.0/src/dips/SetStatisticsSettingsVal.py +106 -0
  128. dipsscripting-9.1.0/src/dips/SetVersusSetVal.py +82 -0
  129. dipsscripting-9.1.0/src/dips/SetWindowEntityInfoVal.py +183 -0
  130. dipsscripting-9.1.0/src/dips/SetWindowEntityVisibilityRef.py +29 -0
  131. dipsscripting-9.1.0/src/dips/SetWindowEntityVisibilityVal.py +80 -0
  132. dipsscripting-9.1.0/src/dips/StatisticalDistributionFilterVal.py +128 -0
  133. dipsscripting-9.1.0/src/dips/Stereonet2DPresetOptionsVal.py +488 -0
  134. dipsscripting-9.1.0/src/dips/Stereonet2DViewRef.py +612 -0
  135. dipsscripting-9.1.0/src/dips/Stereonet2DViewVal.py +363 -0
  136. dipsscripting-9.1.0/src/dips/Stereonet3DPresetOptionsVal.py +281 -0
  137. dipsscripting-9.1.0/src/dips/Stereonet3DViewRef.py +440 -0
  138. dipsscripting-9.1.0/src/dips/Stereonet3DViewVal.py +303 -0
  139. dipsscripting-9.1.0/src/dips/StereonetOverlayEntityVisibilityVal.py +83 -0
  140. dipsscripting-9.1.0/src/dips/StereonetOverlaySettingsVal.py +103 -0
  141. dipsscripting-9.1.0/src/dips/StereonetProjectionModeVal.py +73 -0
  142. dipsscripting-9.1.0/src/dips/SurveyDataVal.py +103 -0
  143. dipsscripting-9.1.0/src/dips/SymbolDisplaySettingVal.py +124 -0
  144. dipsscripting-9.1.0/src/dips/SymbolicSettingsVal.py +89 -0
  145. dipsscripting-9.1.0/src/dips/TextFormatVal.py +105 -0
  146. dipsscripting-9.1.0/src/dips/TextToolEntityInfoRef.py +43 -0
  147. dipsscripting-9.1.0/src/dips/TextToolEntityInfoVal.py +176 -0
  148. dipsscripting-9.1.0/src/dips/TraverseEntityOptionsVal.py +84 -0
  149. dipsscripting-9.1.0/src/dips/TraverseEntityVisibilityRef.py +38 -0
  150. dipsscripting-9.1.0/src/dips/TraverseEntityVisibilityVal.py +100 -0
  151. dipsscripting-9.1.0/src/dips/TrendLineToolEntityInfoRef.py +43 -0
  152. dipsscripting-9.1.0/src/dips/TrendLineToolEntityInfoVal.py +114 -0
  153. dipsscripting-9.1.0/src/dips/TrendPlungeVal.py +91 -0
  154. dipsscripting-9.1.0/src/dips/UnitSystemResultVal.py +62 -0
  155. dipsscripting-9.1.0/src/dips/UserPlaneEntityOptionsVal.py +100 -0
  156. dipsscripting-9.1.0/src/dips/ValidatableResultVal.py +69 -0
  157. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_ArrowToolEntityInfoVal.py +86 -0
  158. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_ConeToolEntityInfoVal.py +86 -0
  159. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_EllipseToolEntityInfoVal.py +86 -0
  160. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_FoldEntityInfoVal.py +86 -0
  161. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfoVal.py +86 -0
  162. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_LineToolEntityInfoVal.py +86 -0
  163. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_MeasureAngleToolEntityInfoVal.py +86 -0
  164. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_OrientationDataSetVal.py +86 -0
  165. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_PitchGridToolEntityInfoVal.py +86 -0
  166. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_PlaneEntityInfoVal.py +86 -0
  167. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_PlaneIntersectionCalculatorToolEntityInfoVal.py +86 -0
  168. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_PolygonToolEntityInfoVal.py +86 -0
  169. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_PolylineToolEntityInfoVal.py +86 -0
  170. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_RectangleToolEntityInfoVal.py +86 -0
  171. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_SetEntityInfoVal.py +86 -0
  172. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_TextToolEntityInfoVal.py +86 -0
  173. dipsscripting-9.1.0/src/dips/ValidatableResult_ProtoReference_TrendLineToolEntityInfoVal.py +86 -0
  174. dipsscripting-9.1.0/src/dips/ValidationErrorVal.py +73 -0
  175. dipsscripting-9.1.0/src/dips/Vector2DVal.py +73 -0
  176. dipsscripting-9.1.0/src/dips/Vector3Val.py +84 -0
  177. dipsscripting-9.1.0/src/dips/VectorDensityContourSettingsVal.py +73 -0
  178. dipsscripting-9.1.0/src/dips/WeightingSettingsVal.py +83 -0
  179. dipsscripting-9.1.0/src/dips/WrappedFreehandWindowVal.py +102 -0
  180. dipsscripting-9.1.0/src/dips/__init__.py +29 -0
  181. dipsscripting-9.1.0/tests/test_application.py +95 -0
  182. dipsscripting-9.1.0/tests/test_entity_services.py +1138 -0
  183. dipsscripting-9.1.0/tests/test_project_management.py +317 -0
  184. dipsscripting-9.1.0/tests/test_rosette_and_3d_stereonet.py +519 -0
  185. dipsscripting-9.1.0/tests/test_wrappers.py +179 -0
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2026 Rocscience Inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: DipsScripting
3
+ Version: 9.1.0
4
+ Summary: Client library for interacting with Dips through python
5
+ Author: Rocscience
6
+ Project-URL: Homepage, https://www.rocscience.com/software/dips
7
+ Project-URL: Documentation, https://www.rocscience.com/help/dips/overview
8
+ Keywords: Rocscience,Dips,Scripting,RocScript,Geotechnical
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Topic :: Scientific/Engineering
12
+ Requires-Python: >=3.7
13
+ Description-Content-Type: text/markdown
14
+ License-File: License.txt
15
+ Requires-Dist: grpcio
16
+ Requires-Dist: protobuf<6.0
17
+ Requires-Dist: pytest>=7.0.0
18
+ Requires-Dist: pytest-mock>=3.0.0
19
+ Dynamic: license-file
20
+
21
+ ## Introduction
22
+ This project is a library that can be used to interact with Dips 9 through python.
23
+
24
+ ## Getting Started
25
+
26
+ **First Tutorial**
27
+ https://www.rocscience.com/help/dips/v9/tutorials/tutorials-overview/10-scripting
28
+ **Reference Manual**
29
+ https://rocscience.github.io/dips-scripting/
@@ -0,0 +1,9 @@
1
+ ## Introduction
2
+ This project is a library that can be used to interact with Dips 9 through python.
3
+
4
+ ## Getting Started
5
+
6
+ **First Tutorial**
7
+ https://www.rocscience.com/help/dips/v9/tutorials/tutorials-overview/10-scripting
8
+ **Reference Manual**
9
+ https://rocscience.github.io/dips-scripting/
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "DipsScripting"
7
+ version = "9.1.0"
8
+ dependencies = [
9
+ "grpcio",
10
+ "protobuf<6.0",
11
+ "pytest>=7.0.0",
12
+ "pytest-mock>=3.0.0"
13
+ ]
14
+ authors = [
15
+ { name="Rocscience"},
16
+ ]
17
+ description = "Client library for interacting with Dips through python"
18
+ readme = "README.md"
19
+ requires-python = ">=3.7"
20
+ classifiers = [
21
+ "Programming Language :: Python :: 3",
22
+ "License :: OSI Approved :: MIT License",
23
+ "Topic :: Scientific/Engineering",
24
+ ]
25
+
26
+ license-files = ["License.txt"]
27
+ keywords = ["Rocscience", "Dips", "Scripting", "RocScript", "Geotechnical"]
28
+
29
+ [project.urls]
30
+ Homepage = "https://www.rocscience.com/software/dips"
31
+ Documentation = "https://www.rocscience.com/help/dips/overview"
32
+
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: DipsScripting
3
+ Version: 9.1.0
4
+ Summary: Client library for interacting with Dips through python
5
+ Author: Rocscience
6
+ Project-URL: Homepage, https://www.rocscience.com/software/dips
7
+ Project-URL: Documentation, https://www.rocscience.com/help/dips/overview
8
+ Keywords: Rocscience,Dips,Scripting,RocScript,Geotechnical
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Topic :: Scientific/Engineering
12
+ Requires-Python: >=3.7
13
+ Description-Content-Type: text/markdown
14
+ License-File: License.txt
15
+ Requires-Dist: grpcio
16
+ Requires-Dist: protobuf<6.0
17
+ Requires-Dist: pytest>=7.0.0
18
+ Requires-Dist: pytest-mock>=3.0.0
19
+ Dynamic: license-file
20
+
21
+ ## Introduction
22
+ This project is a library that can be used to interact with Dips 9 through python.
23
+
24
+ ## Getting Started
25
+
26
+ **First Tutorial**
27
+ https://www.rocscience.com/help/dips/v9/tutorials/tutorials-overview/10-scripting
28
+ **Reference Manual**
29
+ https://rocscience.github.io/dips-scripting/
@@ -0,0 +1,183 @@
1
+ License.txt
2
+ README.md
3
+ pyproject.toml
4
+ src/DipsScripting.egg-info/PKG-INFO
5
+ src/DipsScripting.egg-info/SOURCES.txt
6
+ src/DipsScripting.egg-info/dependency_links.txt
7
+ src/DipsScripting.egg-info/requires.txt
8
+ src/DipsScripting.egg-info/top_level.txt
9
+ src/dips/AnchorPointVal.py
10
+ src/dips/AngleDataVal.py
11
+ src/dips/AnnotativeTools2DVal.py
12
+ src/dips/ApplicationManager.py
13
+ src/dips/ArrowToolEntityInfoRef.py
14
+ src/dips/ArrowToolEntityInfoVal.py
15
+ src/dips/AutomaticClusterAnalysisSettingsVal.py
16
+ src/dips/BuiltInDataDescriptors.py
17
+ src/dips/BuiltInDataFormatters.py
18
+ src/dips/CircularWindowVal.py
19
+ src/dips/ClusterWindowVal.py
20
+ src/dips/ColorSurrogateVal.py
21
+ src/dips/ConeToolEntityInfoRef.py
22
+ src/dips/ConeToolEntityInfoVal.py
23
+ src/dips/ConeVal.py
24
+ src/dips/ContourEntityVisibilityVal.py
25
+ src/dips/ContourOptionsVal.py
26
+ src/dips/CumulativeChartViewRef.py
27
+ src/dips/CumulativeChartViewVal.py
28
+ src/dips/CumulativePlotSettingsVal.py
29
+ src/dips/CurvedWindowVal.py
30
+ src/dips/CustomColumnCollectionVal.py
31
+ src/dips/CustomHistogramOptionsVal.py
32
+ src/dips/CustomRangeVal.py
33
+ src/dips/CustomRowRawDataVal.py
34
+ src/dips/DataDescriptorVal.py
35
+ src/dips/DataFilterRef.py
36
+ src/dips/DataFilterVal.py
37
+ src/dips/DataFormatterVal.py
38
+ src/dips/DataIdentifierVal.py
39
+ src/dips/DipsAPI_pb2.py
40
+ src/dips/DipsAPI_pb2_grpc.py
41
+ src/dips/DipsApp.py
42
+ src/dips/DiscontinuityDataVal.py
43
+ src/dips/EllipseToolEntityInfoRef.py
44
+ src/dips/EllipseToolEntityInfoVal.py
45
+ src/dips/FillFormatVal.py
46
+ src/dips/FoldEntityInfoRef.py
47
+ src/dips/FoldEntityInfoVal.py
48
+ src/dips/FoldEntityOptionsVal.py
49
+ src/dips/FoldEntityVisibilityRef.py
50
+ src/dips/FoldEntityVisibilityVal.py
51
+ src/dips/FoldWindowEntityInfoVal.py
52
+ src/dips/FoldWindowEntityVisibilityRef.py
53
+ src/dips/FoldWindowEntityVisibilityVal.py
54
+ src/dips/FreehandWindowVal.py
55
+ src/dips/FullDataFormatVal.py
56
+ src/dips/GlobalPlaneEntityVisibilityVal.py
57
+ src/dips/HistogramChartViewRef.py
58
+ src/dips/HistogramChartViewVal.py
59
+ src/dips/HistogramPlotSettingsVal.py
60
+ src/dips/IntersectionEntityVisibilityVal.py
61
+ src/dips/IntersectionOptionsVal.py
62
+ src/dips/IntervalVal.py
63
+ src/dips/JointFrequencyAnalysisSettingsVal.py
64
+ src/dips/JointFrequencyChartViewRef.py
65
+ src/dips/JointFrequencyChartViewVal.py
66
+ src/dips/JointSpacingAnalysisSettingsVal.py
67
+ src/dips/JointSpacingChartViewRef.py
68
+ src/dips/JointSpacingChartViewVal.py
69
+ src/dips/KinematicAnalysisEntityVisibilityVal.py
70
+ src/dips/KinematicAnalysisSettingsVal.py
71
+ src/dips/LatLongVal.py
72
+ src/dips/LengthDataVal.py
73
+ src/dips/LineFormatVal.py
74
+ src/dips/LineIntersectionCalculatorToolEntityInfoRef.py
75
+ src/dips/LineIntersectionCalculatorToolEntityInfoVal.py
76
+ src/dips/LineToolEntityInfoRef.py
77
+ src/dips/LineToolEntityInfoVal.py
78
+ src/dips/LineationVal.py
79
+ src/dips/MeasureAngleToolEntityInfoRef.py
80
+ src/dips/MeasureAngleToolEntityInfoVal.py
81
+ src/dips/OrientationDataSetRef.py
82
+ src/dips/OrientationDataSetVal.py
83
+ src/dips/PitchGridToolEntityInfoRef.py
84
+ src/dips/PitchGridToolEntityInfoVal.py
85
+ src/dips/PlaneEntityInfoRef.py
86
+ src/dips/PlaneEntityInfoVal.py
87
+ src/dips/PlaneEntityVisibilityRef.py
88
+ src/dips/PlaneEntityVisibilityVal.py
89
+ src/dips/PlaneIntersectionCalculatorToolEntityInfoRef.py
90
+ src/dips/PlaneIntersectionCalculatorToolEntityInfoVal.py
91
+ src/dips/PlaneOptionsVal.py
92
+ src/dips/PlaneVal.py
93
+ src/dips/PoleEntityOptionsVal.py
94
+ src/dips/PoleEntityVisibilityVal.py
95
+ src/dips/PolygonToolEntityInfoRef.py
96
+ src/dips/PolygonToolEntityInfoVal.py
97
+ src/dips/PolylineToolEntityInfoRef.py
98
+ src/dips/PolylineToolEntityInfoVal.py
99
+ src/dips/ProcessedDataVal.py
100
+ src/dips/ProjStubRef.py
101
+ src/dips/ProjStubVal.py
102
+ src/dips/ProtobufCollectionWrappers.py
103
+ src/dips/QualitativeQuantitativeAnalysisSettingsVal.py
104
+ src/dips/QualitativeQuantitativeChartViewRef.py
105
+ src/dips/QualitativeQuantitativeChartViewVal.py
106
+ src/dips/QuantitativeContourSettingsVal.py
107
+ src/dips/RQDAnalysisChartViewRef.py
108
+ src/dips/RQDAnalysisChartViewVal.py
109
+ src/dips/RQDAnalysisSettingsVal.py
110
+ src/dips/RectangleToolEntityInfoRef.py
111
+ src/dips/RectangleToolEntityInfoVal.py
112
+ src/dips/ReportingConventionResultVal.py
113
+ src/dips/RosettePresetOptionsVal.py
114
+ src/dips/RosetteSettingsVal.py
115
+ src/dips/RosetteViewRef.py
116
+ src/dips/RosetteViewVal.py
117
+ src/dips/ScatterChartViewRef.py
118
+ src/dips/ScatterChartViewVal.py
119
+ src/dips/ScatterPlotSettingsVal.py
120
+ src/dips/SetEntityInfoRef.py
121
+ src/dips/SetEntityInfoVal.py
122
+ src/dips/SetEntityOptionsVal.py
123
+ src/dips/SetEntityVisibilityRef.py
124
+ src/dips/SetEntityVisibilityVal.py
125
+ src/dips/SetStatisticsSettingsVal.py
126
+ src/dips/SetVersusSetVal.py
127
+ src/dips/SetWindowEntityInfoVal.py
128
+ src/dips/SetWindowEntityVisibilityRef.py
129
+ src/dips/SetWindowEntityVisibilityVal.py
130
+ src/dips/StatisticalDistributionFilterVal.py
131
+ src/dips/Stereonet2DPresetOptionsVal.py
132
+ src/dips/Stereonet2DViewRef.py
133
+ src/dips/Stereonet2DViewVal.py
134
+ src/dips/Stereonet3DPresetOptionsVal.py
135
+ src/dips/Stereonet3DViewRef.py
136
+ src/dips/Stereonet3DViewVal.py
137
+ src/dips/StereonetOverlayEntityVisibilityVal.py
138
+ src/dips/StereonetOverlaySettingsVal.py
139
+ src/dips/StereonetProjectionModeVal.py
140
+ src/dips/SurveyDataVal.py
141
+ src/dips/SymbolDisplaySettingVal.py
142
+ src/dips/SymbolicSettingsVal.py
143
+ src/dips/TextFormatVal.py
144
+ src/dips/TextToolEntityInfoRef.py
145
+ src/dips/TextToolEntityInfoVal.py
146
+ src/dips/TraverseEntityOptionsVal.py
147
+ src/dips/TraverseEntityVisibilityRef.py
148
+ src/dips/TraverseEntityVisibilityVal.py
149
+ src/dips/TrendLineToolEntityInfoRef.py
150
+ src/dips/TrendLineToolEntityInfoVal.py
151
+ src/dips/TrendPlungeVal.py
152
+ src/dips/UnitSystemResultVal.py
153
+ src/dips/UserPlaneEntityOptionsVal.py
154
+ src/dips/ValidatableResultVal.py
155
+ src/dips/ValidatableResult_ProtoReference_ArrowToolEntityInfoVal.py
156
+ src/dips/ValidatableResult_ProtoReference_ConeToolEntityInfoVal.py
157
+ src/dips/ValidatableResult_ProtoReference_EllipseToolEntityInfoVal.py
158
+ src/dips/ValidatableResult_ProtoReference_FoldEntityInfoVal.py
159
+ src/dips/ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfoVal.py
160
+ src/dips/ValidatableResult_ProtoReference_LineToolEntityInfoVal.py
161
+ src/dips/ValidatableResult_ProtoReference_MeasureAngleToolEntityInfoVal.py
162
+ src/dips/ValidatableResult_ProtoReference_OrientationDataSetVal.py
163
+ src/dips/ValidatableResult_ProtoReference_PitchGridToolEntityInfoVal.py
164
+ src/dips/ValidatableResult_ProtoReference_PlaneEntityInfoVal.py
165
+ src/dips/ValidatableResult_ProtoReference_PlaneIntersectionCalculatorToolEntityInfoVal.py
166
+ src/dips/ValidatableResult_ProtoReference_PolygonToolEntityInfoVal.py
167
+ src/dips/ValidatableResult_ProtoReference_PolylineToolEntityInfoVal.py
168
+ src/dips/ValidatableResult_ProtoReference_RectangleToolEntityInfoVal.py
169
+ src/dips/ValidatableResult_ProtoReference_SetEntityInfoVal.py
170
+ src/dips/ValidatableResult_ProtoReference_TextToolEntityInfoVal.py
171
+ src/dips/ValidatableResult_ProtoReference_TrendLineToolEntityInfoVal.py
172
+ src/dips/ValidationErrorVal.py
173
+ src/dips/Vector2DVal.py
174
+ src/dips/Vector3Val.py
175
+ src/dips/VectorDensityContourSettingsVal.py
176
+ src/dips/WeightingSettingsVal.py
177
+ src/dips/WrappedFreehandWindowVal.py
178
+ src/dips/__init__.py
179
+ tests/test_application.py
180
+ tests/test_entity_services.py
181
+ tests/test_project_management.py
182
+ tests/test_rosette_and_3d_stereonet.py
183
+ tests/test_wrappers.py
@@ -0,0 +1,4 @@
1
+ grpcio
2
+ protobuf<6.0
3
+ pytest>=7.0.0
4
+ pytest-mock>=3.0.0
@@ -0,0 +1,103 @@
1
+ """Generated wrapper for AnchorPoint 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 .TrendPlungeVal import TrendPlungeVal
9
+ from .Vector2DVal import Vector2DVal
10
+
11
+ class AnchorPointVal:
12
+ """Simple wrapper for AnchorPoint with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.AnchorPoint
15
+
16
+
17
+ def __init__(self, spherical_point: Optional[TrendPlungeVal] = None, logical_point: Optional[Vector2DVal] = None, proto_message: Optional[Any] = None):
18
+ """Initialize the AnchorPoint 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 spherical_point is not None:
26
+ self._proto_message.SphericalPoint.CopyFrom(spherical_point.to_proto())
27
+ self._spherical_point_wrapper = spherical_point
28
+ if logical_point is not None:
29
+ self._proto_message.LogicalPoint.CopyFrom(logical_point.to_proto())
30
+ self._logical_point_wrapper = logical_point
31
+
32
+
33
+ # Properties
34
+
35
+ @property
36
+ def coordinate_option(self) -> Any:
37
+ """Get the CoordinateOption field value."""
38
+ return self._proto_message.CoordinateOption
39
+
40
+ @coordinate_option.setter
41
+ def coordinate_option(self, value: Any) -> None:
42
+ """Set the CoordinateOption field value."""
43
+ self._proto_message.CoordinateOption = value
44
+
45
+
46
+ @property
47
+ def spherical_point(self) -> TrendPlungeVal:
48
+ """Get the SphericalPoint field as a wrapper."""
49
+ if not hasattr(self, '_spherical_point_wrapper'):
50
+ self._spherical_point_wrapper = TrendPlungeVal(proto_message=self._proto_message.SphericalPoint)
51
+ return self._spherical_point_wrapper
52
+
53
+ @spherical_point.setter
54
+ def spherical_point(self, value: TrendPlungeVal) -> None:
55
+ """Set the SphericalPoint field to a wrapper."""
56
+ self._proto_message.SphericalPoint.CopyFrom(value.to_proto())
57
+ # Update the cached wrapper if it exists
58
+ if hasattr(self, '_spherical_point_wrapper'):
59
+ self._spherical_point_wrapper._proto_message.CopyFrom(self._proto_message.SphericalPoint)
60
+
61
+
62
+ @property
63
+ def logical_point(self) -> Vector2DVal:
64
+ """Get the LogicalPoint field as a wrapper."""
65
+ if not hasattr(self, '_logical_point_wrapper'):
66
+ self._logical_point_wrapper = Vector2DVal(proto_message=self._proto_message.LogicalPoint)
67
+ return self._logical_point_wrapper
68
+
69
+ @logical_point.setter
70
+ def logical_point(self, value: Vector2DVal) -> None:
71
+ """Set the LogicalPoint field to a wrapper."""
72
+ self._proto_message.LogicalPoint.CopyFrom(value.to_proto())
73
+ # Update the cached wrapper if it exists
74
+ if hasattr(self, '_logical_point_wrapper'):
75
+ self._logical_point_wrapper._proto_message.CopyFrom(self._proto_message.LogicalPoint)
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,62 @@
1
+ """Generated wrapper for AngleData 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 AngleDataVal:
9
+ """Simple wrapper for AngleData with Pythonic getters and setters."""
10
+
11
+ _proto_class = DipsAPI_pb2.AngleData
12
+
13
+
14
+ def __init__(self, proto_message: Optional[Any] = None):
15
+ """Initialize the AngleData 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 angle_radians(self) -> float:
28
+ """Get the AngleRadians field value."""
29
+ return self._proto_message.AngleRadians
30
+
31
+ @angle_radians.setter
32
+ def angle_radians(self, value: float) -> None:
33
+ """Set the AngleRadians field value."""
34
+ self._proto_message.AngleRadians = value
35
+
36
+
37
+ # Utility methods
38
+
39
+ def to_proto(self):
40
+ """Get the underlying protobuf message."""
41
+ return self._proto_message
42
+
43
+ @classmethod
44
+ def from_proto(cls, proto_message):
45
+ """Create wrapper from existing protobuf message."""
46
+ wrapper = cls()
47
+ wrapper._proto_message.CopyFrom(proto_message)
48
+ return wrapper
49
+
50
+ def copy(self):
51
+ """Create a copy of this wrapper."""
52
+ new_wrapper = self.__class__()
53
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
54
+ return new_wrapper
55
+
56
+ def __str__(self) -> str:
57
+ """String representation."""
58
+ return f"{self.__class__.__name__}({self._proto_message})"
59
+
60
+ def __repr__(self) -> str:
61
+ """Detailed string representation."""
62
+ return f"{self.__class__.__name__}({self._proto_message})"