RS3Scripting 4.42.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 (393) hide show
  1. rs3/ApplicationManager.py +77 -0
  2. rs3/ColorPicker.py +123 -0
  3. rs3/CommonEnums.py +16 -0
  4. rs3/Compute.py +105 -0
  5. rs3/ExternalVolume.py +48 -0
  6. rs3/Geometry.py +74 -0
  7. rs3/Model.py +795 -0
  8. rs3/ModelEnums.py +9 -0
  9. rs3/RS3Modeler.py +109 -0
  10. rs3/Restraints.py +91 -0
  11. rs3/Selection.py +123 -0
  12. rs3/__init__.py +18 -0
  13. rs3/_client.py +57 -0
  14. rs3/_proxyObject.py +5 -0
  15. rs3/generatedFiles/BFPCommonMessage_pb2.py +38 -0
  16. rs3/generatedFiles/BFPCommonMessage_pb2.pyi +47 -0
  17. rs3/generatedFiles/BFPCommonMessage_pb2_grpc.py +24 -0
  18. rs3/generatedFiles/BeamDataService_pb2.py +37 -0
  19. rs3/generatedFiles/BeamDataService_pb2.pyi +5 -0
  20. rs3/generatedFiles/BeamDataService_pb2_grpc.py +226 -0
  21. rs3/generatedFiles/BeamService_pb2.py +37 -0
  22. rs3/generatedFiles/BeamService_pb2.pyi +5 -0
  23. rs3/generatedFiles/BeamService_pb2_grpc.py +140 -0
  24. rs3/generatedFiles/BeamStageFactorService_pb2.py +37 -0
  25. rs3/generatedFiles/BeamStageFactorService_pb2.pyi +5 -0
  26. rs3/generatedFiles/BeamStageFactorService_pb2_grpc.py +140 -0
  27. rs3/generatedFiles/BeamsResultsQueryService_pb2.py +50 -0
  28. rs3/generatedFiles/BeamsResultsQueryService_pb2.pyi +48 -0
  29. rs3/generatedFiles/BeamsResultsQueryService_pb2_grpc.py +141 -0
  30. rs3/generatedFiles/BoltDataService_pb2.py +37 -0
  31. rs3/generatedFiles/BoltDataService_pb2.pyi +5 -0
  32. rs3/generatedFiles/BoltDataService_pb2_grpc.py +226 -0
  33. rs3/generatedFiles/BoltService_pb2.py +37 -0
  34. rs3/generatedFiles/BoltService_pb2.pyi +5 -0
  35. rs3/generatedFiles/BoltService_pb2_grpc.py +140 -0
  36. rs3/generatedFiles/BoltsResultsQueryService_pb2.py +51 -0
  37. rs3/generatedFiles/BoltsResultsQueryService_pb2.pyi +75 -0
  38. rs3/generatedFiles/BoltsResultsQueryService_pb2_grpc.py +141 -0
  39. rs3/generatedFiles/ClientService_pb2.py +40 -0
  40. rs3/generatedFiles/ClientService_pb2.pyi +15 -0
  41. rs3/generatedFiles/ClientService_pb2_grpc.py +97 -0
  42. rs3/generatedFiles/CommonGeometryMessages_pb2.py +52 -0
  43. rs3/generatedFiles/CommonGeometryMessages_pb2.pyi +92 -0
  44. rs3/generatedFiles/CommonGeometryMessages_pb2_grpc.py +24 -0
  45. rs3/generatedFiles/CommonMessages_pb2.py +66 -0
  46. rs3/generatedFiles/CommonMessages_pb2.pyi +145 -0
  47. rs3/generatedFiles/CommonMessages_pb2_grpc.py +24 -0
  48. rs3/generatedFiles/CompositeLinerDataService_pb2.py +47 -0
  49. rs3/generatedFiles/CompositeLinerDataService_pb2.pyi +51 -0
  50. rs3/generatedFiles/CompositeLinerDataService_pb2_grpc.py +227 -0
  51. rs3/generatedFiles/CompositeLinerResultsQueryService_pb2.py +63 -0
  52. rs3/generatedFiles/CompositeLinerResultsQueryService_pb2.pyi +139 -0
  53. rs3/generatedFiles/CompositeLinerResultsQueryService_pb2_grpc.py +314 -0
  54. rs3/generatedFiles/CompositeLinerService_pb2.py +37 -0
  55. rs3/generatedFiles/CompositeLinerService_pb2.pyi +5 -0
  56. rs3/generatedFiles/CompositeLinerService_pb2_grpc.py +140 -0
  57. rs3/generatedFiles/ComputeService_pb2.py +48 -0
  58. rs3/generatedFiles/ComputeService_pb2.pyi +56 -0
  59. rs3/generatedFiles/ComputeService_pb2_grpc.py +147 -0
  60. rs3/generatedFiles/ExternalVolumesService_pb2.py +45 -0
  61. rs3/generatedFiles/ExternalVolumesService_pb2.pyi +34 -0
  62. rs3/generatedFiles/ExternalVolumesService_pb2_grpc.py +270 -0
  63. rs3/generatedFiles/FieldStressService_pb2.py +37 -0
  64. rs3/generatedFiles/FieldStressService_pb2.pyi +5 -0
  65. rs3/generatedFiles/FieldStressService_pb2_grpc.py +140 -0
  66. rs3/generatedFiles/FieldStressSourceService_pb2.py +85 -0
  67. rs3/generatedFiles/FieldStressSourceService_pb2.pyi +182 -0
  68. rs3/generatedFiles/FieldStressSourceService_pb2_grpc.py +657 -0
  69. rs3/generatedFiles/GaussPointFailureMessage_pb2.py +37 -0
  70. rs3/generatedFiles/GaussPointFailureMessage_pb2.pyi +14 -0
  71. rs3/generatedFiles/GaussPointFailureMessage_pb2_grpc.py +24 -0
  72. rs3/generatedFiles/HydraulicStageFactorService_pb2.py +45 -0
  73. rs3/generatedFiles/HydraulicStageFactorService_pb2.pyi +36 -0
  74. rs3/generatedFiles/HydraulicStageFactorService_pb2_grpc.py +227 -0
  75. rs3/generatedFiles/JointDataService_pb2.py +45 -0
  76. rs3/generatedFiles/JointDataService_pb2.pyi +30 -0
  77. rs3/generatedFiles/JointDataService_pb2_grpc.py +313 -0
  78. rs3/generatedFiles/JointResultsQueryService_pb2.py +54 -0
  79. rs3/generatedFiles/JointResultsQueryService_pb2.pyi +92 -0
  80. rs3/generatedFiles/JointResultsQueryService_pb2_grpc.py +141 -0
  81. rs3/generatedFiles/JointService_pb2.py +45 -0
  82. rs3/generatedFiles/JointService_pb2.pyi +30 -0
  83. rs3/generatedFiles/JointService_pb2_grpc.py +227 -0
  84. rs3/generatedFiles/JointStageFactorService_pb2.py +37 -0
  85. rs3/generatedFiles/JointStageFactorService_pb2.pyi +5 -0
  86. rs3/generatedFiles/JointStageFactorService_pb2_grpc.py +140 -0
  87. rs3/generatedFiles/LinerDataService_pb2.py +37 -0
  88. rs3/generatedFiles/LinerDataService_pb2.pyi +5 -0
  89. rs3/generatedFiles/LinerDataService_pb2_grpc.py +226 -0
  90. rs3/generatedFiles/LinerService_pb2.py +37 -0
  91. rs3/generatedFiles/LinerService_pb2.pyi +5 -0
  92. rs3/generatedFiles/LinerService_pb2_grpc.py +140 -0
  93. rs3/generatedFiles/LinerStageFactorService_pb2.py +37 -0
  94. rs3/generatedFiles/LinerStageFactorService_pb2.pyi +5 -0
  95. rs3/generatedFiles/LinerStageFactorService_pb2_grpc.py +140 -0
  96. rs3/generatedFiles/MaterialDataService_pb2.py +37 -0
  97. rs3/generatedFiles/MaterialDataService_pb2.pyi +5 -0
  98. rs3/generatedFiles/MaterialDataService_pb2_grpc.py +226 -0
  99. rs3/generatedFiles/MaterialDatumService_pb2.py +45 -0
  100. rs3/generatedFiles/MaterialDatumService_pb2.pyi +38 -0
  101. rs3/generatedFiles/MaterialDatumService_pb2_grpc.py +140 -0
  102. rs3/generatedFiles/MaterialHydraulicDataService_pb2.py +93 -0
  103. rs3/generatedFiles/MaterialHydraulicDataService_pb2.pyi +193 -0
  104. rs3/generatedFiles/MaterialHydraulicDataService_pb2_grpc.py +829 -0
  105. rs3/generatedFiles/MaterialHydraulicModelService_pb2.py +55 -0
  106. rs3/generatedFiles/MaterialHydraulicModelService_pb2.pyi +79 -0
  107. rs3/generatedFiles/MaterialHydraulicModelService_pb2_grpc.py +313 -0
  108. rs3/generatedFiles/MaterialInitialConditionsService_pb2.py +37 -0
  109. rs3/generatedFiles/MaterialInitialConditionsService_pb2.pyi +5 -0
  110. rs3/generatedFiles/MaterialInitialConditionsService_pb2_grpc.py +140 -0
  111. rs3/generatedFiles/MaterialJointService_pb2.py +49 -0
  112. rs3/generatedFiles/MaterialJointService_pb2.pyi +52 -0
  113. rs3/generatedFiles/MaterialJointService_pb2_grpc.py +183 -0
  114. rs3/generatedFiles/MaterialJointSetSlipCriterionService_pb2.py +69 -0
  115. rs3/generatedFiles/MaterialJointSetSlipCriterionService_pb2.pyi +130 -0
  116. rs3/generatedFiles/MaterialJointSetSlipCriterionService_pb2_grpc.py +398 -0
  117. rs3/generatedFiles/MaterialJointStageFactorService_pb2.py +45 -0
  118. rs3/generatedFiles/MaterialJointStageFactorService_pb2.pyi +42 -0
  119. rs3/generatedFiles/MaterialJointStageFactorService_pb2_grpc.py +140 -0
  120. rs3/generatedFiles/MaterialStageFactorsService_pb2.py +37 -0
  121. rs3/generatedFiles/MaterialStageFactorsService_pb2.pyi +5 -0
  122. rs3/generatedFiles/MaterialStageFactorsService_pb2_grpc.py +140 -0
  123. rs3/generatedFiles/MaterialStiffnessFormulaService_pb2.py +47 -0
  124. rs3/generatedFiles/MaterialStiffnessFormulaService_pb2.pyi +54 -0
  125. rs3/generatedFiles/MaterialStiffnessFormulaService_pb2_grpc.py +140 -0
  126. rs3/generatedFiles/MaterialStiffnessService_pb2.py +53 -0
  127. rs3/generatedFiles/MaterialStiffnessService_pb2.pyi +66 -0
  128. rs3/generatedFiles/MaterialStiffnessService_pb2_grpc.py +313 -0
  129. rs3/generatedFiles/MaterialStrengthService_pb2.py +105 -0
  130. rs3/generatedFiles/MaterialStrengthService_pb2.pyi +243 -0
  131. rs3/generatedFiles/MaterialStrengthService_pb2_grpc.py +833 -0
  132. rs3/generatedFiles/MaterialUnsaturatedSoilDataService_pb2.py +47 -0
  133. rs3/generatedFiles/MaterialUnsaturatedSoilDataService_pb2.pyi +43 -0
  134. rs3/generatedFiles/MaterialUnsaturatedSoilDataService_pb2_grpc.py +228 -0
  135. rs3/generatedFiles/MeshSettingsService_pb2.py +41 -0
  136. rs3/generatedFiles/MeshSettingsService_pb2.pyi +16 -0
  137. rs3/generatedFiles/MeshSettingsService_pb2_grpc.py +184 -0
  138. rs3/generatedFiles/ModelFunctionService_pb2.py +119 -0
  139. rs3/generatedFiles/ModelFunctionService_pb2.pyi +331 -0
  140. rs3/generatedFiles/ModelFunctionService_pb2_grpc.py +871 -0
  141. rs3/generatedFiles/ModelService_pb2.py +342 -0
  142. rs3/generatedFiles/ModelService_pb2.pyi +962 -0
  143. rs3/generatedFiles/ModelService_pb2_grpc.py +3322 -0
  144. rs3/generatedFiles/PileDataService_pb2.py +55 -0
  145. rs3/generatedFiles/PileDataService_pb2.pyi +63 -0
  146. rs3/generatedFiles/PileDataService_pb2_grpc.py +399 -0
  147. rs3/generatedFiles/PileForepoleResultsQueryService_pb2.py +51 -0
  148. rs3/generatedFiles/PileForepoleResultsQueryService_pb2.pyi +63 -0
  149. rs3/generatedFiles/PileForepoleResultsQueryService_pb2_grpc.py +141 -0
  150. rs3/generatedFiles/PileStageFactorService_pb2.py +37 -0
  151. rs3/generatedFiles/PileStageFactorService_pb2.pyi +5 -0
  152. rs3/generatedFiles/PileStageFactorService_pb2_grpc.py +140 -0
  153. rs3/generatedFiles/PlainStrandCableBoltService_pb2.py +44 -0
  154. rs3/generatedFiles/PlainStrandCableBoltService_pb2.pyi +30 -0
  155. rs3/generatedFiles/PlainStrandCableBoltService_pb2_grpc.py +140 -0
  156. rs3/generatedFiles/ProjectSettingsDataService_pb2.py +69 -0
  157. rs3/generatedFiles/ProjectSettingsDataService_pb2.pyi +119 -0
  158. rs3/generatedFiles/ProjectSettingsDataService_pb2_grpc.py +786 -0
  159. rs3/generatedFiles/RFCApplicationService_pb2.py +34 -0
  160. rs3/generatedFiles/RFCApplicationService_pb2.pyi +27 -0
  161. rs3/generatedFiles/RFCApplicationService_pb2_grpc.py +145 -0
  162. rs3/generatedFiles/RS3ModelerService_pb2.py +50 -0
  163. rs3/generatedFiles/RS3ModelerService_pb2.pyi +45 -0
  164. rs3/generatedFiles/RS3ModelerService_pb2_grpc.py +183 -0
  165. rs3/generatedFiles/RelativeStageFactorService_pb2.py +40 -0
  166. rs3/generatedFiles/RelativeStageFactorService_pb2.pyi +17 -0
  167. rs3/generatedFiles/RelativeStageFactorService_pb2_grpc.py +97 -0
  168. rs3/generatedFiles/RestraintsService_pb2.py +62 -0
  169. rs3/generatedFiles/RestraintsService_pb2.pyi +84 -0
  170. rs3/generatedFiles/RestraintsService_pb2_grpc.py +312 -0
  171. rs3/generatedFiles/ResultsQueryCommonMessage_pb2.py +56 -0
  172. rs3/generatedFiles/ResultsQueryCommonMessage_pb2.pyi +85 -0
  173. rs3/generatedFiles/ResultsQueryCommonMessage_pb2_grpc.py +24 -0
  174. rs3/generatedFiles/ResultsQueryService_pb2.py +87 -0
  175. rs3/generatedFiles/ResultsQueryService_pb2.pyi +185 -0
  176. rs3/generatedFiles/ResultsQueryService_pb2_grpc.py +745 -0
  177. rs3/generatedFiles/SelectionService_pb2.py +49 -0
  178. rs3/generatedFiles/SelectionService_pb2.pyi +51 -0
  179. rs3/generatedFiles/SelectionService_pb2_grpc.py +269 -0
  180. rs3/generatedFiles/SolidsResultsQueryService_pb2.py +93 -0
  181. rs3/generatedFiles/SolidsResultsQueryService_pb2.pyi +213 -0
  182. rs3/generatedFiles/SolidsResultsQueryService_pb2_grpc.py +195 -0
  183. rs3/generatedFiles/StageFactorService_pb2.py +58 -0
  184. rs3/generatedFiles/StageFactorService_pb2.pyi +79 -0
  185. rs3/generatedFiles/StageFactorService_pb2_grpc.py +226 -0
  186. rs3/generatedFiles/StiffnessStageFactorService_pb2.py +37 -0
  187. rs3/generatedFiles/StiffnessStageFactorService_pb2.pyi +5 -0
  188. rs3/generatedFiles/StiffnessStageFactorService_pb2_grpc.py +140 -0
  189. rs3/generatedFiles/StrengthStageFactorService_pb2.py +37 -0
  190. rs3/generatedFiles/StrengthStageFactorService_pb2.pyi +5 -0
  191. rs3/generatedFiles/StrengthStageFactorService_pb2_grpc.py +140 -0
  192. rs3/generatedFiles/WaterByLocationDataService_pb2.py +61 -0
  193. rs3/generatedFiles/WaterByLocationDataService_pb2.pyi +95 -0
  194. rs3/generatedFiles/WaterByLocationDataService_pb2_grpc.py +312 -0
  195. rs3/generatedFiles/WaterPressureGridDataService_pb2.py +63 -0
  196. rs3/generatedFiles/WaterPressureGridDataService_pb2.pyi +107 -0
  197. rs3/generatedFiles/WaterPressureGridDataService_pb2_grpc.py +312 -0
  198. rs3/generatedFiles/__init__.py +3 -0
  199. rs3/loadings/LoadingEnums.py +6 -0
  200. rs3/loadings/Loadings.py +15 -0
  201. rs3/loadings/__init__.py +0 -0
  202. rs3/loadings/fieldStress/AdvancedConstant.py +115 -0
  203. rs3/loadings/fieldStress/AdvancedGravity.py +176 -0
  204. rs3/loadings/fieldStress/Constant.py +119 -0
  205. rs3/loadings/fieldStress/FieldStress.py +38 -0
  206. rs3/loadings/fieldStress/Gravity.py +206 -0
  207. rs3/loadings/fieldStress/_PropertyAccessor.py +41 -0
  208. rs3/loadings/fieldStress/__init__.py +0 -0
  209. rs3/mesh/Graded.py +59 -0
  210. rs3/mesh/Mesh.py +50 -0
  211. rs3/mesh/MeshEnums.py +16 -0
  212. rs3/mesh/Uniform.py +35 -0
  213. rs3/mesh/_PropertyAccessor.py +10 -0
  214. rs3/mesh/__init__.py +0 -0
  215. rs3/projectSettings/Dynamic.py +110 -0
  216. rs3/projectSettings/Groundwater.py +118 -0
  217. rs3/projectSettings/ProjectSettingEnums.py +108 -0
  218. rs3/projectSettings/ProjectSettings.py +43 -0
  219. rs3/projectSettings/ShearStrengthReduction.py +130 -0
  220. rs3/projectSettings/SolverOptions.py +88 -0
  221. rs3/projectSettings/Stages.py +162 -0
  222. rs3/projectSettings/StressAnalysis.py +183 -0
  223. rs3/projectSettings/Units.py +82 -0
  224. rs3/projectSettings/_PropertyAccessor.py +133 -0
  225. rs3/projectSettings/__init__.py +0 -0
  226. rs3/properties/CustomHydraulicModel.py +129 -0
  227. rs3/properties/DiscreteFunction.py +147 -0
  228. rs3/properties/GeneralizedAnisotropicFunction.py +98 -0
  229. rs3/properties/IPropertyGroupAccessors.py +12 -0
  230. rs3/properties/PropertyEnums.py +387 -0
  231. rs3/properties/ShearNormalFunction.py +94 -0
  232. rs3/properties/SnowdenStrengthFunction.py +115 -0
  233. rs3/properties/_PropertyAccessor.py +111 -0
  234. rs3/properties/__init__.py +0 -0
  235. rs3/properties/beam/Beam.py +86 -0
  236. rs3/properties/beam/BeamCommon.py +175 -0
  237. rs3/properties/beam/Standard.py +97 -0
  238. rs3/properties/beam/Truss.py +23 -0
  239. rs3/properties/beam/_PropertyAccessor.py +9 -0
  240. rs3/properties/beam/__init__.py +0 -0
  241. rs3/properties/bolt/Bolt.py +81 -0
  242. rs3/properties/bolt/EndAnchored.py +77 -0
  243. rs3/properties/bolt/FullyBonded.py +78 -0
  244. rs3/properties/bolt/PlainStrandCable.py +151 -0
  245. rs3/properties/bolt/Swellex.py +106 -0
  246. rs3/properties/bolt/Tieback.py +176 -0
  247. rs3/properties/bolt/_PropertyAccessor.py +7 -0
  248. rs3/properties/bolt/__init__.py +0 -0
  249. rs3/properties/groundwater/WaterByLocation.py +83 -0
  250. rs3/properties/groundwater/WaterGrid.py +120 -0
  251. rs3/properties/groundwater/_PropertyAccessor.py +36 -0
  252. rs3/properties/groundwater/__init__.py +0 -0
  253. rs3/properties/joint/BartonBandis.py +118 -0
  254. rs3/properties/joint/GeosyntheticHyperbolic.py +158 -0
  255. rs3/properties/joint/Joint.py +176 -0
  256. rs3/properties/joint/MaterialDependent.py +107 -0
  257. rs3/properties/joint/MohrCoulomb.py +169 -0
  258. rs3/properties/joint/NoneSlip.py +68 -0
  259. rs3/properties/joint/_PropertyAccessor.py +9 -0
  260. rs3/properties/joint/__init__.py +0 -0
  261. rs3/properties/liner/Geosynthetic.py +85 -0
  262. rs3/properties/liner/Liner.py +83 -0
  263. rs3/properties/liner/ReinforcedConcrete.py +216 -0
  264. rs3/properties/liner/Standard.py +183 -0
  265. rs3/properties/liner/_PropertyAccessor.py +7 -0
  266. rs3/properties/liner/__init__.py +0 -0
  267. rs3/properties/liningComposition/LiningComposition.py +244 -0
  268. rs3/properties/liningComposition/_PropertyAccessor.py +7 -0
  269. rs3/properties/liningComposition/__init__.py +0 -0
  270. rs3/properties/material/Material.py +74 -0
  271. rs3/properties/material/__init__.py +0 -0
  272. rs3/properties/material/constitutiveModel/AnisotropicLinear.py +149 -0
  273. rs3/properties/material/constitutiveModel/AnisotropicLinearPlanarBase.py +72 -0
  274. rs3/properties/material/constitutiveModel/BarcelonaBasic.py +158 -0
  275. rs3/properties/material/constitutiveModel/BartonBandis.py +77 -0
  276. rs3/properties/material/constitutiveModel/BaseConstitutiveModel.py +11 -0
  277. rs3/properties/material/constitutiveModel/BoundingSurfacePlasticity.py +88 -0
  278. rs3/properties/material/constitutiveModel/CamClay.py +144 -0
  279. rs3/properties/material/constitutiveModel/ChSoil.py +111 -0
  280. rs3/properties/material/constitutiveModel/ConstitutiveModel.py +87 -0
  281. rs3/properties/material/constitutiveModel/CySoil.py +137 -0
  282. rs3/properties/material/constitutiveModel/DiscreteFunction.py +39 -0
  283. rs3/properties/material/constitutiveModel/DoubleYield.py +130 -0
  284. rs3/properties/material/constitutiveModel/DruckerPrager.py +136 -0
  285. rs3/properties/material/constitutiveModel/GeneralizedAnisotropic.py +39 -0
  286. rs3/properties/material/constitutiveModel/GeneralizedHoekBrown.py +226 -0
  287. rs3/properties/material/constitutiveModel/HardeningSoil.py +156 -0
  288. rs3/properties/material/constitutiveModel/HardeningSoilWithSmallStrain.py +170 -0
  289. rs3/properties/material/constitutiveModel/HoekBrown.py +125 -0
  290. rs3/properties/material/constitutiveModel/Hyperbolic.py +77 -0
  291. rs3/properties/material/constitutiveModel/JointedGeneralizedHoekBrown.py +184 -0
  292. rs3/properties/material/constitutiveModel/JointedMohrCoulomb.py +173 -0
  293. rs3/properties/material/constitutiveModel/ManzariAndDafalias.py +148 -0
  294. rs3/properties/material/constitutiveModel/ModifiedCamClay.py +11 -0
  295. rs3/properties/material/constitutiveModel/MohrCoulomb.py +147 -0
  296. rs3/properties/material/constitutiveModel/MohrCoulombUnsaturatedZoneCalculations.py +80 -0
  297. rs3/properties/material/constitutiveModel/MohrCoulombWithCap.py +154 -0
  298. rs3/properties/material/constitutiveModel/Norsand.py +146 -0
  299. rs3/properties/material/constitutiveModel/PowerCurve.py +119 -0
  300. rs3/properties/material/constitutiveModel/Shansep.py +214 -0
  301. rs3/properties/material/constitutiveModel/ShearNormalFunction.py +34 -0
  302. rs3/properties/material/constitutiveModel/SnowdenAnisotropicLinear.py +108 -0
  303. rs3/properties/material/constitutiveModel/SoftSoil.py +104 -0
  304. rs3/properties/material/constitutiveModel/SoftSoilCreep.py +111 -0
  305. rs3/properties/material/constitutiveModel/SofteningHardening.py +214 -0
  306. rs3/properties/material/constitutiveModel/SwellingRock.py +202 -0
  307. rs3/properties/material/constitutiveModel/UnsaturatedZoneCalculations.py +138 -0
  308. rs3/properties/material/constitutiveModel/VerticalStressRatio.py +113 -0
  309. rs3/properties/material/constitutiveModel/_PropertyAccessor.py +96 -0
  310. rs3/properties/material/constitutiveModel/__init__.py +0 -0
  311. rs3/properties/material/constitutiveModel/jointOption/BartonBandis.py +109 -0
  312. rs3/properties/material/constitutiveModel/jointOption/MaterialJoint.py +48 -0
  313. rs3/properties/material/constitutiveModel/jointOption/MaterialJointOptions.py +32 -0
  314. rs3/properties/material/constitutiveModel/jointOption/MohrCoulomb.py +142 -0
  315. rs3/properties/material/constitutiveModel/jointOption/PlaneOrientationBase.py +92 -0
  316. rs3/properties/material/constitutiveModel/jointOption/SimpleHyperbolic.py +112 -0
  317. rs3/properties/material/constitutiveModel/jointOption/_PropertyAccessor.py +61 -0
  318. rs3/properties/material/constitutiveModel/jointOption/__init__.py +0 -0
  319. rs3/properties/material/constitutiveModel/stiffness/BaseStiffness.py +11 -0
  320. rs3/properties/material/constitutiveModel/stiffness/DuncanChangHyperbolic.py +128 -0
  321. rs3/properties/material/constitutiveModel/stiffness/GeneralizedHoekBrownEstimation.py +50 -0
  322. rs3/properties/material/constitutiveModel/stiffness/LinearIsotropic.py +106 -0
  323. rs3/properties/material/constitutiveModel/stiffness/NonlinearIsotropic.py +104 -0
  324. rs3/properties/material/constitutiveModel/stiffness/Orthotropic.py +296 -0
  325. rs3/properties/material/constitutiveModel/stiffness/TransverselyIsotropic.py +186 -0
  326. rs3/properties/material/constitutiveModel/stiffness/_PropertyAccessor.py +33 -0
  327. rs3/properties/material/constitutiveModel/stiffness/__init__.py +0 -0
  328. rs3/properties/material/constitutiveModel/stiffness/formula/Formula1.py +96 -0
  329. rs3/properties/material/constitutiveModel/stiffness/formula/Formula2.py +136 -0
  330. rs3/properties/material/constitutiveModel/stiffness/formula/Formula3.py +113 -0
  331. rs3/properties/material/constitutiveModel/stiffness/formula/_PropertyAccessor.py +37 -0
  332. rs3/properties/material/constitutiveModel/stiffness/formula/__init__.py +0 -0
  333. rs3/properties/material/datum/CohesionDatumDependency.py +99 -0
  334. rs3/properties/material/datum/Datum.py +23 -0
  335. rs3/properties/material/datum/FrictionAngleDatumDependency.py +99 -0
  336. rs3/properties/material/datum/YoungsModulusDatumDependency.py +78 -0
  337. rs3/properties/material/datum/_PropertyAccessor.py +26 -0
  338. rs3/properties/material/datum/__init__.py +0 -0
  339. rs3/properties/material/hydraulic/FEAGroundwater/Brooks.py +71 -0
  340. rs3/properties/material/hydraulic/FEAGroundwater/Custom.py +79 -0
  341. rs3/properties/material/hydraulic/FEAGroundwater/FEAGroundwater.py +85 -0
  342. rs3/properties/material/hydraulic/FEAGroundwater/Fredlund.py +82 -0
  343. rs3/properties/material/hydraulic/FEAGroundwater/Gardner.py +72 -0
  344. rs3/properties/material/hydraulic/FEAGroundwater/HydraulicMethodVectors.py +97 -0
  345. rs3/properties/material/hydraulic/FEAGroundwater/HydraulicParametersCommon.py +157 -0
  346. rs3/properties/material/hydraulic/FEAGroundwater/Simple.py +37 -0
  347. rs3/properties/material/hydraulic/FEAGroundwater/VanGenuchten.py +94 -0
  348. rs3/properties/material/hydraulic/FEAGroundwater/_PropertyAccessor.py +16 -0
  349. rs3/properties/material/hydraulic/FEAGroundwater/__init__.py +0 -0
  350. rs3/properties/material/hydraulic/Hydraulic.py +111 -0
  351. rs3/properties/material/hydraulic/PhreaticConditions.py +37 -0
  352. rs3/properties/material/hydraulic/StaticGroundwater.py +100 -0
  353. rs3/properties/material/hydraulic/WaterConditions.py +110 -0
  354. rs3/properties/material/hydraulic/_PropertyAccessor.py +31 -0
  355. rs3/properties/material/hydraulic/__init__.py +0 -0
  356. rs3/properties/material/initialConditions/InitialConditions.py +108 -0
  357. rs3/properties/material/initialConditions/_PropertyAccessor.py +11 -0
  358. rs3/properties/material/initialConditions/__init__.py +0 -0
  359. rs3/properties/material/stageFactors/StageFactors.py +77 -0
  360. rs3/properties/material/stageFactors/_PropertyAccessor.py +7 -0
  361. rs3/properties/material/stageFactors/__init__.py +0 -0
  362. rs3/properties/pile/EndCondition.py +109 -0
  363. rs3/properties/pile/Linear.py +69 -0
  364. rs3/properties/pile/MohrCoulomb.py +123 -0
  365. rs3/properties/pile/MultiLinear.py +70 -0
  366. rs3/properties/pile/Pile.py +108 -0
  367. rs3/properties/pile/PileCommon.py +99 -0
  368. rs3/properties/pile/_PropertyAccessor.py +9 -0
  369. rs3/properties/pile/__init__.py +0 -0
  370. rs3/properties/stageFactors/IStageFactorBase.py +10 -0
  371. rs3/properties/stageFactors/StageFactorBaseInterfaces.py +24 -0
  372. rs3/properties/stageFactors/StageFactorInterfaces.py +70 -0
  373. rs3/properties/stageFactors/_StageFactorInterface.py +48 -0
  374. rs3/properties/stageFactors/_StageFactorPropertyAccessor.py +18 -0
  375. rs3/properties/stageFactors/__init__.py +0 -0
  376. rs3/results/BeamResults.py +181 -0
  377. rs3/results/BoltResults.py +214 -0
  378. rs3/results/CompositeLinerResults.py +374 -0
  379. rs3/results/JointResults.py +160 -0
  380. rs3/results/PileForepoleResults.py +219 -0
  381. rs3/results/ResultEnums.py +146 -0
  382. rs3/results/Results.py +661 -0
  383. rs3/results/ResultsCommon.py +66 -0
  384. rs3/results/SolidElementResults.py +175 -0
  385. rs3/results/SolidNodalResults.py +248 -0
  386. rs3/results/SolidResults.py +206 -0
  387. rs3/results/YieldedElement.py +33 -0
  388. rs3/results/__init__.py +0 -0
  389. rs3scripting-4.42.0.dist-info/METADATA +70 -0
  390. rs3scripting-4.42.0.dist-info/RECORD +393 -0
  391. rs3scripting-4.42.0.dist-info/WHEEL +5 -0
  392. rs3scripting-4.42.0.dist-info/licenses/License.txt +20 -0
  393. rs3scripting-4.42.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,387 @@
1
+ from enum import Enum
2
+
3
+ # stage factors
4
+ class StageFactorMethodType(Enum):
5
+ ABSOLUTE_STAGE_FACTOR = 0
6
+ RELATIVE_STAGE_FACTOR = 1
7
+
8
+ # bolts
9
+ class BoltTypes(Enum):
10
+ END_ANCHORED = "END_ANCHORED"
11
+ FULLY_BONDED = "FULLY_BONDED"
12
+ PLAIN_STRAND_CABLE = "PLAIN_STRAND_CABLE"
13
+ SWELLEX = "SWELLEX_BOLT"
14
+ TIEBACK = "TIEBACK_BOLT"
15
+ class BulgeTypes(Enum):
16
+ GARFORD_BULB_25MM = "twentyfive_GARFORD_BULB"
17
+ NUT_CASE_21MM = "twentyone_NUT_CASE"
18
+ class BondLengthType(Enum):
19
+ PERCENT_OF_LENGTH = 0
20
+ LENGTH = 1
21
+ class SecondaryBondLengthType(Enum): # int values below are directly associated with constants in RS3BoltData.cs - do not change
22
+ PERCENTAGE_OF_LENGTH = 1
23
+ LENGTH = 2
24
+ FULLY_BONDED = 3
25
+
26
+ # beams
27
+ class BeamType(Enum):
28
+ STANDARD_BEAM = "STANDARD"
29
+ TRUSS = "TRUSS"
30
+ class BeamElementFormulation(Enum):
31
+ BERNOULLI = "BERNOULLI"
32
+ TIMOSHENKO = "TIMOSHENKO"
33
+
34
+ # liners
35
+ class LinerTypes(Enum):
36
+ STANDARD = "STANDARD"
37
+ GEOSYNTHETIC = "GEOSYNTHETIC"
38
+ REINFORCED_CONCRETE = "REINFORCED_CONCRETE"
39
+
40
+ # joints
41
+ class JointConstitutiveModelTypes(Enum):
42
+ NONE = "NONE"
43
+ MOHR_COULOMB = "MOHR_COULOMB"
44
+ BARTON_BANDIS = "BARTON_BANDIS"
45
+ GEOSYNTHETIC_HYPERBOLIC = "GEOSYNTHETIC_HYPERBOLIC"
46
+ MATERIAL_DEPENDENT = "MATERIAL_DEPENDENT"
47
+
48
+ class AdditionalPressureType(Enum):
49
+ PRESSURE = False
50
+ PIEZOMETRIC_SURFACE = True
51
+
52
+ # pile
53
+ class PileSkinResistanceType(Enum):
54
+ LINEAR = "LINEAR"
55
+ MOHR_COULOMB = "CANDPHI"
56
+ MULTI_LINEAR = "MULTILINEAR"
57
+
58
+ class ConnectionType(Enum):
59
+ FREE = "FREE"
60
+ HINGED = "HINGED"
61
+ RIGID = "RIGID"
62
+
63
+ class LiningConnectionType(Enum):
64
+ FIRST_LINER_AT_INSTALL = "FIRST_LINER_AT_INSTALL"
65
+ ALL_LINERS = "ALL_LINERS"
66
+
67
+ class EndConditionType(Enum):
68
+ NONE = False
69
+ FORCE = "FORCE"
70
+ DISPLACEMENT = "DISPLACEMENT"
71
+
72
+ class EndConditionPlacementPoint(Enum):
73
+ TOP = "TOP"
74
+ BOTTOM = "BOTTOM"
75
+
76
+ # groundwater
77
+ class GroundwaterInterpolationMethodType(Enum):
78
+ INVERSE_DISTANCE = "InverseDistance"
79
+ THIN_PLATE_SPLINE = "ThinPlateSpline"
80
+ CHUGH = "Chugh"
81
+ LOCAL_THIN_PLATE_SPLINE = "LocalThinPlateSpline"
82
+ LINEAR_TRIANGULATION = "TINTriangulation"
83
+ GAUSSIAN = "Gaussian"
84
+ MULTI_QUADRATIC = "MultiQuadratic"
85
+ POLYHARMONIC_SPLINE = "PolyharmonicSpline"
86
+ COMPACTLY_SUPPORTED = "CompactlySupported"
87
+
88
+ class GroundwaterResolutionMethodType(Enum):
89
+ COARSE = "Coarse"
90
+ STANDARD = "Standard"
91
+ FINE = "Fine"
92
+
93
+ class WaterGridPlane2DType(Enum):
94
+ XZ_PLANE = "XZ_PLANE"
95
+ YZ_PLANE = "YZ_PLANE"
96
+
97
+ class WaterGridInterpolationMethodType(Enum):
98
+ HYBRID = "HybridAuto"
99
+ THIN_PLATE_SPLINE = "ThinPlateSpline"
100
+ HARDYS_MULTI_QUADRATIC = "HardysMultiQuadratic"
101
+ KRIGING = "Kriging"
102
+ INVERSE_DISTANCE = "InverseDistance"
103
+
104
+ class WaterGridPointSetType(Enum):
105
+ PORE_PRESSURE = "PorePressure"
106
+ PRESSURE_HEAD = "PressureHead"
107
+ TOTAL_HEAD = "TotalHead"
108
+
109
+ # materials
110
+ class InitialElementLoadingType(Enum):
111
+ FIELD_STRESS_ONLY = "FIELD_STRESS_ONLY"
112
+ FIELD_STRESS_AND_BODY_FORCE = "BOTH_FIELD_AND_BODY"
113
+ BODY_FORCE_ONLY = "BODY_FORCE_ONLY"
114
+ NONE = "NONE"
115
+
116
+ class MaterialElasticityTypes(Enum):
117
+ LINEAR_ISOTROPIC = "ISOTROPIC"
118
+ TRANSVERSELY_ISOTROPIC = "TRANSVERSELY_ISOTROPIC"
119
+ ORTHOTROPIC = "ORTHOTROPIC"
120
+ DUNCAN_CHANG_HYPERBOLIC = "DUNCAN_CHANG_HYPERBOLIC"
121
+ NON_LINEAR_ISOTROPIC = "NON_LINEAR_ISOTROPIC"
122
+
123
+ class UnloadingConditions(Enum):
124
+ MEAN_STRESS = "LU_p"
125
+ DEVIATORIC_STRESS = "LU_q"
126
+ VOLUMETRIC_STRAIN = "LU_EpsV"
127
+ DEVIATORIC_STRAIN = "LU_Epqscan"
128
+
129
+ class NonlinearIsotropicFormulaType(Enum):
130
+ FORMULA_1 = "FORMULA_1"
131
+ FORMULA_2 = "FORMULA_2"
132
+ FORMULA_3 = "FORMULA_3"
133
+
134
+ class PoissonRatioType(Enum):
135
+ CONSTANT = "CONSTANT"
136
+ STRESS_DEPENDENT = "STRESS_DEPENDENT"
137
+
138
+ class ElasticParametersType(Enum):
139
+ CONSTANT_SHEAR_MODULUS = "CONSTANT_SHEAR_MODULUS"
140
+ CONSTANT_POISSON_RATIO = "CONSTANT_POISSON_RATIO"
141
+
142
+ class PlanarDirectionType(Enum):
143
+ DIP_DIRECTION_AND_DIP = "DIP_DIRECTION_AND_DIP"
144
+ NORMAL_VECTOR = "NORMAL_VECTOR"
145
+
146
+ class GeneralizedHoekBrownEstimationMethodType(Enum):
147
+ GENERALIZED_HOEK_DIEDERICHS = "GENERALIZED_HOEK_DIEDERICHS"
148
+ SIMPLIFIED_HOEK_DIEDERICHS = "SIMPLIFIED_HOEK_DIEDERICHS"
149
+ HOEK_CARRANZA_TORRES_CORKUM = "HOEK_CARRANZA_TORRES_CORKUM"
150
+
151
+ class ConstitutiveModelTypes(Enum):
152
+ MOHR_COULOMB = "MOHR_COULOMB"
153
+ HOEK_BROWN = "HOEK_BROWN"
154
+ DRUCKER_PRAGER = "DRUCKER_PRAGER"
155
+ GENERALIZED_HOEK_BROWN = "GENERALIZED_HOEK_BROWN"
156
+ CAM_CLAY = "CAM_CLAY"
157
+ MODIFIED_CAM_CLAY = "MODIFIED_CAM_CLAY"
158
+ DISCRETE_FUNCTION = "DISCRETE_FUNCTION"
159
+ MOHR_COULOMB_WITH_CAP = "MOHR_COULOMB_WITH_CAP"
160
+ SOFTENING_HARDENING_MODEL = "SOFTENING_HARDENING_MODEL"
161
+ BOUNDING_SURFACE_PLASTICITY = "BOUNDING_SURFACE_PLASTICITY"
162
+ MANZARI_AND_DAFALIAS = "MANZARI_AND_DAFALIAS"
163
+ JOINTED_MOHR_COULOMB = "JOINTED_MOHR_COULOMB"
164
+ JOINTED_GENERALIZED_HOEK_BROWN = "JOINTED_GENERALIZED_HOEK_BROWN"
165
+ BARTON_BANDIS = "BARTON_BANDIS"
166
+ HYPERBOLIC = "HYPERBOLIC"
167
+ POWER_CURVE = "POWER_CURVE"
168
+ CH_SOIL = "CH_SOIL"
169
+ CY_SOIL = "CY_SOIL"
170
+ DOUBLE_YIELD = "DOUBLE_YIELD"
171
+ HARDENING_SOIL = "HARDENING_SOIL"
172
+ HARDENING_SOIL_SMALL_STRAIN_STIFFNESS = "HARDENING_SOIL_SMALL_STRAIN_STIFFNESS"
173
+ SOFT_SOIL = "SOFT_SOIL"
174
+ SOFT_SOIL_CREEP = "SOFT_SOIL_CREEP"
175
+ SWELLING_ROCK = "SWELLING_ROCK"
176
+ SHANSEP = "SHANSEP"
177
+ BARCELONA_BASIC = "BARCELONA_BASIC"
178
+ NORSAND = "NORSAND"
179
+ SHEAR_NORMAL_FUNCTION = "SHEAR_NORMAL_FUNCTION"
180
+ SNOWDEN_MODIFIED_ANISOTROPIC_LINEAR = "SNOWDEN_MODIFIED_ANISOTROPIC_LINEAR"
181
+ ANISOTROPIC_LINEAR = "ANISOTROPIC_LINEAR"
182
+ GENERALIZED_ANISOTROPIC = "GENERALIZED_ANISOTROPIC"
183
+ VERTICAL_STRESS_RATIO = "VERTICAL_STRESS_RATIO"
184
+
185
+ class MaterialType(Enum):
186
+ ELASTIC = False
187
+ PLASTIC = True
188
+
189
+ class GeneralizedHoekBrownDefinedType(Enum):
190
+ MB_S_A = "MB_S_A"
191
+ GSIType = "GSIType"
192
+
193
+ class SpecificVolumeAtUnitPressureType(Enum):
194
+ NORMAL_COMPRESSION_LINE_N = "NORMAL_COMPRESSION_LINE_N"
195
+ CRITICAL_STATE_LINE_GAMMA = "CRITICAL_STATE_LINE_GAMMA"
196
+
197
+ class InitialStateOfConsolidationType(Enum):
198
+ OVERCONSOLIDATION_RATIO_OCR = "OVERCONSOLIDATION_RATIO_OCR"
199
+ PRECONSOLIDATION_PRESSURE_PO = "PRECONSOLIDATION_PRESSURE_PO"
200
+
201
+ class CapType(Enum):
202
+ NONE = "NONE"
203
+ VERTICAL = "VERTICAL"
204
+ ELLIPTICAL = "ELLIPTICAL"
205
+
206
+ class CapHardeningTypes(Enum):
207
+ TABULAR = 0
208
+ EXPONENTIAL = 1
209
+
210
+ class ConeHardeningTypes(Enum):
211
+ TABULAR = 0
212
+ HARDENING_PROPERTY = 1
213
+
214
+ class DilationTypes(Enum):
215
+ DILATION_ANGLE = 0
216
+ DILATION_COMPACTION = 1
217
+
218
+ class CySoilCapOption(Enum):
219
+ NONE = "NONE"
220
+ ELLIPTICAL = "ELLIPTICAL"
221
+
222
+ class DoubleYieldCapType(Enum):
223
+ NONE = "NONE"
224
+ VERTICAL = "VERTICAL"
225
+
226
+ class DilationOption(Enum):
227
+ DILATION_ONLY = "DILATION_ONLY"
228
+ DILATION_ROWES = "ROWES"
229
+
230
+ class PlaxisDilationOptionType(Enum):
231
+ CONDITIONAL = "CONDITIONAL"
232
+ ROWES = "ROWES"
233
+
234
+ class InitialConsolidationConditionType(Enum):
235
+ OVER_CONSOLIDATION_RATIO = "OVER_CONSOLIDATION_RATIO"
236
+ INITIAL_MEAN_STRESS = "INITIAL_MEAN_STRESS"
237
+
238
+ class NorsandInitialConsolidationConditionType(Enum):
239
+ OVER_CONSOLIDATION_RATIO = "OVERCONSOLIDATION_RATIO"
240
+ INITIAL_MEAN_STRESS = "INITIAL_MEAN_STRESS"
241
+
242
+ class Dilatancy(Enum):
243
+ DILATANCY_DEACTIVATED = "DEACVTIVATED"
244
+ DILATANCY_ACTIVATED = "ACTIVATED"
245
+
246
+ class SwellingForm(Enum):
247
+ WITTKE = "WITTKE"
248
+ ANAGNOSTOU = "ANAGNOSTOU"
249
+
250
+ class WaterCondition(Enum):
251
+ SWELLING = "SWELLING"
252
+ SWELLING_WITH_WATER = "SWELLING_AT_WATER"
253
+
254
+ class StressHistoryTypes(Enum):
255
+ OVER_CONSOLIDATION_OCR = "OVERCONSOLIDATION_RATIO"
256
+ PRECONSOLIDATION_PRESSURE_PC = "PRECONSOLIDATION_PRESSURE"
257
+
258
+ class StressHistoryDefinitionMethods(Enum):
259
+ STRESS_HISTORY_CONSTANT = "CONSTANT"
260
+ STRESS_HISTORY_DEPTH = "DEPTH"
261
+ STRESS_HISTORY_ELEVATION = "ELEVATION"
262
+
263
+ class AnisotropyDefinitionType(Enum):
264
+ PLANE_DEFINITION = "PLANE_DEFINITION"
265
+ SURFACE = "SURFACE"
266
+
267
+ class GeneralizedAnisotropyDefinitionType(Enum):
268
+ DIP_DIPDIR = "DIP_DIPDIR"
269
+ SURFACE = "SURFACE"
270
+
271
+ class TensileCutoffOptions(Enum):
272
+ NONE = "NONE"
273
+ HOEK_MARTIN = "HOEK_MARTIN"
274
+ USER_DEFINED = "USER_DEFINED"
275
+
276
+ class DiscreteDrainedMode(Enum):
277
+ UNDRAINED = "DF_UNDRAINED"
278
+ DRAINED = "DF_DRAINED"
279
+
280
+ class Plane2DType(Enum):
281
+ XZ_PLANE = "XZ_PLANE"
282
+ YZ_PLANE = "YZ_PLANE"
283
+
284
+ class DiscreteFunctionInterpolationMethodType(Enum):
285
+ HYBRID = "HybridAuto"
286
+ THIN_PLATE_SPLINE = "ThinPlateSpline"
287
+ KRIGING = "Kriging"
288
+ INVERSE_DISTANCE = "InverseDistance"
289
+ MODIFIED_CHUGH = "ModifiedChugh"
290
+
291
+ class PlaneOrientationType(Enum):
292
+ LINEAR_DIRECTION_TREND_PLUNGE = "LINEAR_DIRECTION_TREND_PLUNGE"
293
+ DIP_DIRECTION_AND_DIP = "DIP_DIRECTION_AND_DIP"
294
+ NORMAL_VECTOR = "LINEAR_DIRECTION_VECTOR"
295
+
296
+ class MaterialJointSlipCriterionType(Enum):
297
+ MOHR_COULOMB = "MOHR_COULOMB"
298
+ BARTON_BANDIS = "BARTON_BANDIS"
299
+ HYPERBOLIC_SIMPLE = "HYPERBOLIC_SIMPLE"
300
+
301
+ class SnowdenStrengthFunctionType(Enum):
302
+ SHEAR_NORMAL = "SHEAR_NORMAL"
303
+ COHESION_FRICTION = "COHESION_FRICTION"
304
+
305
+ class MaterialBehaviours(Enum):
306
+ DRAINED = "DRAINED"
307
+ UNDRAINED = "UNDRAINED"
308
+
309
+ class PorosityType(Enum):
310
+ POROSITY = "POROSITY"
311
+ VOID_RATIO = "VOID_RATIO"
312
+
313
+ class HydraulicMethodType(Enum):
314
+ LINEAR_ISOTROPIC = "ISOTROPIC"
315
+ TRANSVERSELY_ISOTROPIC = "TRANSVERSELY_ISOTROPIC"
316
+ ORTHOTROPIC = "ORTHOTROPIC"
317
+
318
+ class EnhancedSimpleSoilTypes(Enum):
319
+ CLAY = "CLAY"
320
+ GENERAL = "GENERAL"
321
+ LOAM = "LOAM"
322
+ SAND = "SAND"
323
+ SILT = "SILT"
324
+
325
+ class HydraulicModelType(Enum):
326
+ BROOKS_AND_COREY = 0
327
+ FREDLUND_AND_XING = 1
328
+ GARDNER = 2
329
+ SIMPLE = 3
330
+ VAN_GENUCHTEN = 4
331
+ CUSTOM = -1
332
+
333
+ class HuTypes(Enum):
334
+ CUSTOM = "Custom"
335
+ AUTO = "Auto"
336
+
337
+ class HydraulicParameterType(Enum):
338
+ PWP = "PWP"
339
+ RU = "RU"
340
+
341
+ class StaticWaterModes(Enum):
342
+ DRY = "DRY"
343
+ WATER_SURFACE = "WATER_SURFACE"
344
+ PWP_INTERPOLATION_SURFACE = "PWP_INTERPOLATION_SURFACE"
345
+ USER_DEFINED_VALUE = "USER_DEFINED_VALUE"
346
+ PWP_POINT_SET = "PWP_POINT_SET"
347
+
348
+ class WCInputType(Enum):
349
+ BY_WATER_CONTENT = 'WATERCONTENT'
350
+ BY_DEGREE_OF_SATURATION = 'DEGREEOFSATURATION'
351
+
352
+ class DatumType(Enum):
353
+ DEPTH = "Depth"
354
+ RADIAL = "Radial"
355
+
356
+ class DatumDependencyIndex(Enum):
357
+ YOUNGS_MODULUS = "YOUNGS_MODULUS"
358
+ COHESION = "COHESION"
359
+ FRICTION_ANGLE = "FRICTION_ANGLE"
360
+ UNLOADING_YOUNGS_MODULUS = "UNLOADING_YOUNGS_MODULUS"
361
+
362
+ class UnsaturatedParameterType(Enum):
363
+ NONE = "NONE"
364
+ SINGLE_EFFECTIVE_STRESS = "SINGLE_EFFECTIVE_STRESS"
365
+
366
+ class MohrCoulombUnsaturatedParameterType(Enum):
367
+ NONE = "NONE"
368
+ UNSATURATED_SHEAR_STRENGTH = "UNSATURATED_SHEAR_STRENGTH"
369
+ SINGLE_EFFECTIVE_STRESS = "SINGLE_EFFECTIVE_STRESS"
370
+
371
+ class UnsaturatedShearStrengthType(Enum):
372
+ FREDLUND = "FREDLUND"
373
+ VANAPALLI = "VANAPALLI"
374
+
375
+ class UnsaturatedSingleEffectiveStressMethod(Enum):
376
+ BISHOP = "BISHOP"
377
+ TABULAR_VALUE = "TABULAR"
378
+ GUDEHUS_1995 = "GUDEHUS"
379
+ KHALILI_2004 = "KHALILI"
380
+ BOLZON_1996 = "BOLTZON"
381
+ AITCHISON_1960 = "AITCHISON"
382
+ KOHGO_1993 = "KOHGO"
383
+
384
+ class UnsaturatedTabularValueMethod(Enum):
385
+ WITH_RESPECT_TO_SUCTION = "SUCTION"
386
+ WITH_RESPECT_TO_DEGREE_OF_SATURATION = "DEGREE_OF_SATURATION"
387
+ WITH_RESPECT_TO_EFFECTIVE_DEGREE_OF_SATURATION = "EFFECTIVE_DEGREE_OF_SATURATION"
@@ -0,0 +1,94 @@
1
+ import rs3.generatedFiles.ModelFunctionService_pb2_grpc as ModelFunctionService_pb2_grpc
2
+ import rs3.generatedFiles.ModelFunctionService_pb2 as ModelFunctionService_pb2
3
+ from rs3._client import Client
4
+ from rs3.properties.PropertyEnums import *
5
+ from rs3._proxyObject import _ProxyObject
6
+ from rs3.properties.material.constitutiveModel._PropertyAccessor import MaterialStrengthFunctionDataPropertyAccessor
7
+
8
+ class ShearNormalFunction(_ProxyObject):
9
+ def __init__(self, client : Client, shearNormalFunctionID : str):
10
+ super().__init__(client, shearNormalFunctionID)
11
+ self._shearNormalFunctionDataService = ModelFunctionService_pb2_grpc.ModelFunctionServiceStub(self._client.channel)
12
+ self._propertyAccessor = MaterialStrengthFunctionDataPropertyAccessor(client, shearNormalFunctionID, ConstitutiveModelTypes.SHEAR_NORMAL_FUNCTION)
13
+
14
+ def getName(self) -> str:
15
+ return self._propertyAccessor.getStringValue("Name")
16
+ def setName(self, name):
17
+ self._propertyAccessor.setStringValue("Name", name)
18
+
19
+ def setFunctionPoints(self, value: list[tuple[float, float]] | list[tuple[float, float, float]]):
20
+ """
21
+ Set shear-normal function data points.
22
+
23
+ Parameters:
24
+ value : list of tuples
25
+ Each data point may be provided as:
26
+
27
+ - (normal, shear) for elastic material
28
+ - (normal, shear, residual_shear) for plastic material
29
+
30
+ Example:
31
+ >>> shearNormalFunction = self.model.getShearNormalFunctions()[0]
32
+ >>> shearNormalFunction.setFunctionPoints([(1.1, 2.2), (4.4, 5.5), (7.7, 8.8)])
33
+ >>> shearNormalFunction.setFunctionPoints([(1.1, 2.2, 3.3), (4.4, 5.5, 6.6), (7.7, 8.8, 9.9)])
34
+
35
+ """
36
+ pointlist = []
37
+ for point in value:
38
+ if len(point) == 2:
39
+ normal, shear = point
40
+ residualShear = 0.0
41
+ elif len(point) == 3:
42
+ normal, shear, residualShear = point
43
+ else:
44
+ raise ValueError("Each point must contain either 2 or 3 values: (normal, shear[, residual_shear])")
45
+
46
+ pointlist.append(ModelFunctionService_pb2.ShearNormalPoints(normalVal=normal,shearVal=shear,residualShearVal=residualShear))
47
+ request = ModelFunctionService_pb2.SetShearNormalFunctionDataPointsRequest(objectId=self._objectId, value=pointlist)
48
+ self._client.callFunction(self._shearNormalFunctionDataService.SetShearNormalFunctionDataPointsProperty, request)
49
+
50
+ def getFunctionPoints(self) -> list[tuple[float, float]] | list[tuple[float, float, float]]:
51
+ """
52
+ Get shear-normal function points.
53
+
54
+ Return:
55
+ - a list of (normal, shear) data points for elastic material
56
+ - a list of (normal, shear, residual_shear) data points for plastic material
57
+
58
+ """
59
+ request = ModelFunctionService_pb2.GetShearNormalFunctionDataPointsRequest(objectId=self._objectId)
60
+ response : ModelFunctionService_pb2.GetShearNormalFunctionDataPointsResponse = self._client.callFunction(self._shearNormalFunctionDataService.GetShearNormalFunctionDataPointsProperty, request)
61
+ materialType = self.getMaterialType()
62
+ if materialType == MaterialType.PLASTIC:
63
+ return list((p.normalVal, p.shearVal, p.residualShearVal) for p in response.value)
64
+ elif materialType == MaterialType.ELASTIC:
65
+ return list((p.normalVal, p.shearVal) for p in response.value)
66
+ else:
67
+ raise ValueError("Invalid material type.")
68
+
69
+ def getMaterialType(self) -> MaterialType:
70
+ return MaterialType(self._propertyAccessor.getBoolValue("IsPlastic"))
71
+ def setMaterialType(self, materialType: MaterialType):
72
+ return self._propertyAccessor.setBoolValue("IsPlastic", materialType.value)
73
+
74
+ def getAutoCalcTensile(self) -> bool:
75
+ return self._propertyAccessor.getBoolValue("AutoCalcTensile")
76
+ def setAutoCalcTensile(self, autoCalcTensile: bool):
77
+ return self._propertyAccessor.setBoolValue("AutoCalcTensile", autoCalcTensile)
78
+
79
+ def getTensileStrength(self) -> float:
80
+ return self._propertyAccessor.getDoubleProperty("PeakTensile")
81
+ def setTensileStrength(self, tensileStrength: float):
82
+ return self._propertyAccessor.setDoubleProperty("PeakTensile", tensileStrength)
83
+
84
+ def getResidualTensileStrength(self) -> float:
85
+ return self._propertyAccessor.getDoubleProperty("ResidualTensile")
86
+ def setResidualTensileStrength(self, residualTensileStrength: float):
87
+ return self._propertyAccessor.setDoubleProperty("ResidualTensile", residualTensileStrength)
88
+
89
+ def getDilationRatiio(self) -> float:
90
+ return self._propertyAccessor.getDoubleProperty("DilationRatiio")
91
+ def setDilationRatiio(self, dilationRatiio: float):
92
+ return self._propertyAccessor.setDoubleProperty("DilationRatiio", dilationRatiio)
93
+
94
+
@@ -0,0 +1,115 @@
1
+ from rs3.properties.material.constitutiveModel._PropertyAccessor import MaterialStrengthSnowdenAnisotropicLinearPropertyAccessor
2
+ import rs3.generatedFiles.ModelFunctionService_pb2_grpc as ModelFunctionService_pb2_grpc
3
+ import rs3.generatedFiles.ModelFunctionService_pb2 as ModelFunctionService_pb2
4
+ from rs3._client import Client
5
+ from rs3.properties.PropertyEnums import *
6
+ from rs3._proxyObject import _ProxyObject
7
+
8
+ class SnowdenStrengthFunction(_ProxyObject):
9
+ def __init__(self, client : Client, materialID : str, isBeddingFunction : bool):
10
+ super().__init__(client, materialID)
11
+ self._stub = ModelFunctionService_pb2_grpc.ModelFunctionServiceStub(self._client.channel)
12
+ self._propertyAccessor = MaterialStrengthSnowdenAnisotropicLinearPropertyAccessor(client, materialID, isBeddingFunction)
13
+ self._isBeddingFunction = isBeddingFunction
14
+
15
+ def getFunctionType(self) -> SnowdenStrengthFunctionType:
16
+ return self._propertyAccessor.getEnumValue("BeddingFunctionType", SnowdenStrengthFunctionType)
17
+ def setFunctionType(self, value: SnowdenStrengthFunctionType):
18
+ self._propertyAccessor.setEnumValue("BeddingFunctionType", value.value)
19
+
20
+ def getDilationRatio(self) -> float:
21
+ return self._propertyAccessor.getDoubleProperty("DilationRatio")
22
+ def setDilationRatio(self, dilationRatio: float):
23
+ self._propertyAccessor.setDoubleProperty("DilationRatio", dilationRatio)
24
+
25
+ def getTensileStrength(self) -> float:
26
+ return self._propertyAccessor.getDoubleProperty("PeakTensileStrength")
27
+ def setTensileStrength(self, tensileStrength: float):
28
+ self._propertyAccessor.setDoubleProperty("PeakTensileStrength", tensileStrength)
29
+
30
+ def getResidualTensileStrength(self) -> float:
31
+ return self._propertyAccessor.getDoubleProperty("ResidualTensileStrength")
32
+ def setResidualTensileStrength(self, residualTensileStrength: float):
33
+ self._propertyAccessor.setDoubleProperty("ResidualTensileStrength", residualTensileStrength)
34
+
35
+ def setShearNormalFunction(self, normalStress : list[float], shearStress : list[float]):
36
+ request = ModelFunctionService_pb2.SetShearNormalFunctionRequest(objectId=self._objectId,
37
+ isBeddingFunction=self._isBeddingFunction,
38
+ isResidualFunction=False,
39
+ normalStress=normalStress,
40
+ shearStress=shearStress,
41
+ residualShearStress=shearStress)
42
+ self._client.callFunction(self._stub.SetShearNormalFunction, request)
43
+
44
+ def setShearNormalFunctionWithResidual(self, normalStress : list[float], shearStress : list[float], residualShearStress : list[float]):
45
+ request = ModelFunctionService_pb2.SetShearNormalFunctionRequest(objectId=self._objectId,
46
+ isBeddingFunction=self._isBeddingFunction,
47
+ isResidualFunction=True,
48
+ normalStress=normalStress,
49
+ shearStress=shearStress,
50
+ residualShearStress=residualShearStress)
51
+ self._client.callFunction(self._stub.SetShearNormalFunction, request)
52
+
53
+ def setCohesionFrictionFunction(self, normalStress : list[float], cohesion : list[float], frictionAngle : list[float]):
54
+ request = ModelFunctionService_pb2.SetCohesionFrictionFunctionRequest(objectId=self._objectId,
55
+ isBeddingFunction=self._isBeddingFunction,
56
+ isResidualFunction=False,
57
+ normalStress=normalStress,
58
+ cohesion=cohesion,
59
+ frictionAngle=frictionAngle,
60
+ residualCohesion=cohesion,
61
+ residualFrictionAngle=frictionAngle)
62
+ self._client.callFunction(self._stub.SetCohesionFrictionFunction, request)
63
+
64
+ def setCohesionFrictionFunctionWithResidual(self, normalStress : list[float], cohesion : list[float], frictionAngle : list[float], residualCohesion : list[float], residualFrictionAngle : list[float]):
65
+ request = ModelFunctionService_pb2.SetCohesionFrictionFunctionRequest(objectId=self._objectId,
66
+ isBeddingFunction=self._isBeddingFunction,
67
+ isResidualFunction=True,
68
+ normalStress=normalStress,
69
+ cohesion=cohesion,
70
+ frictionAngle=frictionAngle,
71
+ residualCohesion=residualCohesion,
72
+ residualFrictionAngle=residualFrictionAngle)
73
+ self._client.callFunction(self._stub.SetCohesionFrictionFunction, request)
74
+
75
+ def getShearNormalFunctionNormalStress(self) -> list[float]:
76
+ request = ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnRequest(objectId=self._objectId, propertyName="Normal", isBeddingFunction=self._isBeddingFunction, isShearNormal=True)
77
+ response : ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnResponse = self._client.callFunction(self._stub.GetSnowdenStrengthFunctionColumn, request)
78
+ return [v.doubleValue for v in response.value if v.WhichOneof("value") == "doubleValue"]
79
+
80
+ def getShearStress(self) -> list[float]:
81
+ request = ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnRequest(objectId=self._objectId, propertyName="Shear", isBeddingFunction=self._isBeddingFunction, isShearNormal=True)
82
+ response : ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnResponse = self._client.callFunction(self._stub.GetSnowdenStrengthFunctionColumn, request)
83
+ return [v.doubleValue for v in response.value if v.WhichOneof("value") == "doubleValue"]
84
+
85
+ def getResidualShearStress(self) -> list[float]:
86
+ request = ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnRequest(objectId=self._objectId, propertyName="ResidualShear", isBeddingFunction=self._isBeddingFunction, isShearNormal=True)
87
+ response : ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnResponse = self._client.callFunction(self._stub.GetSnowdenStrengthFunctionColumn, request)
88
+ return [v.doubleValue for v in response.value if v.WhichOneof("value") == "doubleValue"]
89
+
90
+ def getCohesionFrictionFunctionNormalStress(self) -> list[float]:
91
+ request = ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnRequest(objectId=self._objectId, propertyName="Normal", isBeddingFunction=self._isBeddingFunction, isShearNormal=False)
92
+ response : ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnResponse = self._client.callFunction(self._stub.GetSnowdenStrengthFunctionColumn, request)
93
+ return [v.doubleValue for v in response.value if v.WhichOneof("value") == "doubleValue"]
94
+
95
+ def getCohesionStress(self) -> list[float]:
96
+ request = ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnRequest(objectId=self._objectId, propertyName="Cohesion", isBeddingFunction=self._isBeddingFunction, isShearNormal=False)
97
+ response : ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnResponse = self._client.callFunction(self._stub.GetSnowdenStrengthFunctionColumn, request)
98
+ return [v.doubleValue for v in response.value if v.WhichOneof("value") == "doubleValue"]
99
+
100
+ def getFrictionAngleStress(self) -> list[float]:
101
+ request = ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnRequest(objectId=self._objectId, propertyName="FrictionAngle", isBeddingFunction=self._isBeddingFunction, isShearNormal=False)
102
+ response : ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnResponse = self._client.callFunction(self._stub.GetSnowdenStrengthFunctionColumn, request)
103
+ return [v.doubleValue for v in response.value if v.WhichOneof("value") == "doubleValue"]
104
+
105
+ def getResidualCohesionStress(self) -> list[float]:
106
+ request = ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnRequest(objectId=self._objectId, propertyName="ResidualCohesion", isBeddingFunction=self._isBeddingFunction, isShearNormal=False)
107
+ response : ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnResponse = self._client.callFunction(self._stub.GetSnowdenStrengthFunctionColumn, request)
108
+ return [v.doubleValue for v in response.value if v.WhichOneof("value") == "doubleValue"]
109
+
110
+ def getResidualFrictionAngleStress(self) -> list[float]:
111
+ request = ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnRequest(objectId=self._objectId, propertyName="ResidualFrictionAngle", isBeddingFunction=self._isBeddingFunction, isShearNormal=False)
112
+ response : ModelFunctionService_pb2.GetSnowdenStrengthFunctionColumnResponse = self._client.callFunction(self._stub.GetSnowdenStrengthFunctionColumn, request)
113
+ return [v.doubleValue for v in response.value if v.WhichOneof("value") == "doubleValue"]
114
+
115
+