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,202 @@
1
+ # Generated by RPCBinder in RFC_Common.
2
+ from rs3._client import Client
3
+ from ._PropertyAccessor import StiffnessPropertyAccessor, StrengthPropertyAccessor
4
+ from rs3._proxyObject import _ProxyObject
5
+ from rs3.properties.IPropertyGroupAccessors import IPropertyGroupAccessors
6
+ class SwellingRockBase(_ProxyObject, IPropertyGroupAccessors):
7
+ def __init__(self, client: Client, id: str):
8
+ super().__init__(client, id)
9
+ self._stiffnessPropertyAccessor = StiffnessPropertyAccessor(client, id)
10
+ self._strengthPropertyAccessor = StrengthPropertyAccessor(client, id)
11
+ def getElasticModulusTangentialToBeddingPlane(self) -> float:
12
+ return self._stiffnessPropertyAccessor.getDoubleProperty("ElasticModTangential")
13
+ def setElasticModulusTangentialToBeddingPlane(self, value: float):
14
+ self._stiffnessPropertyAccessor.setDoubleProperty("ElasticModTangential", value)
15
+ def getElasticModulusNormalToBeddingPlane(self) -> float:
16
+ return self._stiffnessPropertyAccessor.getDoubleProperty("ElasticModNormal")
17
+ def setElasticModulusNormalToBeddingPlane(self, value: float):
18
+ self._stiffnessPropertyAccessor.setDoubleProperty("ElasticModNormal", value)
19
+ def getPoissonsRatioOutOfBeddingPlanes(self) -> float:
20
+ return self._stiffnessPropertyAccessor.getDoubleProperty("PoissonsRatioOutBedding")
21
+ def setPoissonsRatioOutOfBeddingPlanes(self, value: float):
22
+ self._stiffnessPropertyAccessor.setDoubleProperty("PoissonsRatioOutBedding", value)
23
+ def getPoissonsRatioWithinBeddingPlanes(self) -> float:
24
+ return self._stiffnessPropertyAccessor.getDoubleProperty("PoissonsRatioInBedding")
25
+ def setPoissonsRatioWithinBeddingPlanes(self, value: float):
26
+ self._stiffnessPropertyAccessor.setDoubleProperty("PoissonsRatioInBedding", value)
27
+ def getShearModulus(self) -> float:
28
+ return self._stiffnessPropertyAccessor.getDoubleProperty("ShearModulus")
29
+ def setShearModulus(self, value: float):
30
+ self._stiffnessPropertyAccessor.setDoubleProperty("ShearModulus", value)
31
+ def getA0(self) -> float:
32
+ return self._strengthPropertyAccessor.getDoubleProperty("A0")
33
+ def setA0(self, value: float):
34
+ self._strengthPropertyAccessor.setDoubleProperty("A0", value)
35
+ def getAElastic(self) -> float:
36
+ return self._strengthPropertyAccessor.getDoubleProperty("AElastic")
37
+ def setAElastic(self, value: float):
38
+ self._strengthPropertyAccessor.setDoubleProperty("AElastic", value)
39
+ def getAPlastic(self) -> float:
40
+ return self._strengthPropertyAccessor.getDoubleProperty("APlastic")
41
+ def setAPlastic(self, value: float):
42
+ self._strengthPropertyAccessor.setDoubleProperty("APlastic", value)
43
+ def getMaximumPlasticVolumetricStrainForAPlastic(self) -> float:
44
+ return self._strengthPropertyAccessor.getDoubleProperty("MaxVolumetricStrainAPlastic")
45
+ def setMaximumPlasticVolumetricStrainForAPlastic(self, value: float):
46
+ self._strengthPropertyAccessor.setDoubleProperty("MaxVolumetricStrainAPlastic", value)
47
+ def getKSwellNormal(self) -> float:
48
+ return self._strengthPropertyAccessor.getDoubleProperty("KSwellNormal")
49
+ def setKSwellNormal(self, value: float):
50
+ self._strengthPropertyAccessor.setDoubleProperty("KSwellNormal", value)
51
+ def getKSwellTangential(self) -> float:
52
+ return self._strengthPropertyAccessor.getDoubleProperty("KSwellTangential")
53
+ def setKSwellTangential(self, value: float):
54
+ self._strengthPropertyAccessor.setDoubleProperty("KSwellTangential", value)
55
+ def getMaximumSwellingStressNormal(self) -> float:
56
+ return self._strengthPropertyAccessor.getDoubleProperty("MaxSwellStressNormal")
57
+ def setMaximumSwellingStressNormal(self, value: float):
58
+ self._strengthPropertyAccessor.setDoubleProperty("MaxSwellStressNormal", value)
59
+ def getMaximumSwellingStressTangential(self) -> float:
60
+ return self._strengthPropertyAccessor.getDoubleProperty("MaxSwellStressTangential")
61
+ def setMaximumSwellingStressTangential(self, value: float):
62
+ self._strengthPropertyAccessor.setDoubleProperty("MaxSwellStressTangential", value)
63
+ def getMinimumSwellingStress(self) -> float:
64
+ return self._strengthPropertyAccessor.getDoubleProperty("MinSwellStress")
65
+ def setMinimumSwellingStress(self, value: float):
66
+ self._strengthPropertyAccessor.setDoubleProperty("MinSwellStress", value)
67
+ def getSigmaCoupling(self) -> float:
68
+ return self._strengthPropertyAccessor.getDoubleProperty("SigmaCoupling")
69
+ def setSigmaCoupling(self, value: float):
70
+ self._strengthPropertyAccessor.setDoubleProperty("SigmaCoupling", value)
71
+ def getDilationAngle(self) -> float:
72
+ return self._strengthPropertyAccessor.getDoubleProperty("DilationAngle")
73
+ def setDilationAngle(self, value: float):
74
+ self._strengthPropertyAccessor.setDoubleProperty("DilationAngle", value)
75
+ def getFrictionAngle(self) -> float:
76
+ return self._strengthPropertyAccessor.getDoubleProperty("FrictionAngle")
77
+ def setFrictionAngle(self, value: float):
78
+ self._strengthPropertyAccessor.setDoubleProperty("FrictionAngle", value)
79
+ def getCohesion(self) -> float:
80
+ return self._strengthPropertyAccessor.getDoubleProperty("Cohesion")
81
+ def setCohesion(self, value: float):
82
+ self._strengthPropertyAccessor.setDoubleProperty("Cohesion", value)
83
+ def getTensileStrength(self) -> float:
84
+ return self._strengthPropertyAccessor.getDoubleProperty("TensileStrength")
85
+ def setTensileStrength(self, value: float):
86
+ self._strengthPropertyAccessor.setDoubleProperty("TensileStrength", value)
87
+ def getProperties(self):
88
+ return {
89
+ "ElasticModulusTangentialToBeddingPlane": self.getElasticModulusTangentialToBeddingPlane(),
90
+ "ElasticModulusNormalToBeddingPlane": self.getElasticModulusNormalToBeddingPlane(),
91
+ "PoissonsRatioOutOfBeddingPlanes": self.getPoissonsRatioOutOfBeddingPlanes(),
92
+ "PoissonsRatioWithinBeddingPlanes": self.getPoissonsRatioWithinBeddingPlanes(),
93
+ "ShearModulus": self.getShearModulus(),
94
+ "A0": self.getA0(),
95
+ "AElastic": self.getAElastic(),
96
+ "APlastic": self.getAPlastic(),
97
+ "MaximumPlasticVolumetricStrainForAPlastic": self.getMaximumPlasticVolumetricStrainForAPlastic(),
98
+ "KSwellNormal": self.getKSwellNormal(),
99
+ "KSwellTangential": self.getKSwellTangential(),
100
+ "MaximumSwellingStressNormal": self.getMaximumSwellingStressNormal(),
101
+ "MaximumSwellingStressTangential": self.getMaximumSwellingStressTangential(),
102
+ "MinimumSwellingStress": self.getMinimumSwellingStress(),
103
+ "SigmaCoupling": self.getSigmaCoupling(),
104
+ "DilationAngle": self.getDilationAngle(),
105
+ "FrictionAngle": self.getFrictionAngle(),
106
+ "Cohesion": self.getCohesion(),
107
+ "TensileStrength": self.getTensileStrength(),
108
+ }
109
+ def setProperties(self, ElasticModulusTangentialToBeddingPlane: float = None, ElasticModulusNormalToBeddingPlane: float = None, PoissonsRatioOutOfBeddingPlanes: float = None, PoissonsRatioWithinBeddingPlanes: float = None, ShearModulus: float = None, A0: float = None, AElastic: float = None, APlastic: float = None, MaximumPlasticVolumetricStrainForAPlastic: float = None, KSwellNormal: float = None, KSwellTangential: float = None, MaximumSwellingStressNormal: float = None, MaximumSwellingStressTangential: float = None, MinimumSwellingStress: float = None, SigmaCoupling: float = None, DilationAngle: float = None, FrictionAngle: float = None, Cohesion: float = None, TensileStrength: float = None):
110
+ if ElasticModulusTangentialToBeddingPlane is not None:
111
+ self.setElasticModulusTangentialToBeddingPlane(ElasticModulusTangentialToBeddingPlane)
112
+ if ElasticModulusNormalToBeddingPlane is not None:
113
+ self.setElasticModulusNormalToBeddingPlane(ElasticModulusNormalToBeddingPlane)
114
+ if PoissonsRatioOutOfBeddingPlanes is not None:
115
+ self.setPoissonsRatioOutOfBeddingPlanes(PoissonsRatioOutOfBeddingPlanes)
116
+ if PoissonsRatioWithinBeddingPlanes is not None:
117
+ self.setPoissonsRatioWithinBeddingPlanes(PoissonsRatioWithinBeddingPlanes)
118
+ if ShearModulus is not None:
119
+ self.setShearModulus(ShearModulus)
120
+ if A0 is not None:
121
+ self.setA0(A0)
122
+ if AElastic is not None:
123
+ self.setAElastic(AElastic)
124
+ if APlastic is not None:
125
+ self.setAPlastic(APlastic)
126
+ if MaximumPlasticVolumetricStrainForAPlastic is not None:
127
+ self.setMaximumPlasticVolumetricStrainForAPlastic(MaximumPlasticVolumetricStrainForAPlastic)
128
+ if KSwellNormal is not None:
129
+ self.setKSwellNormal(KSwellNormal)
130
+ if KSwellTangential is not None:
131
+ self.setKSwellTangential(KSwellTangential)
132
+ if MaximumSwellingStressNormal is not None:
133
+ self.setMaximumSwellingStressNormal(MaximumSwellingStressNormal)
134
+ if MaximumSwellingStressTangential is not None:
135
+ self.setMaximumSwellingStressTangential(MaximumSwellingStressTangential)
136
+ if MinimumSwellingStress is not None:
137
+ self.setMinimumSwellingStress(MinimumSwellingStress)
138
+ if SigmaCoupling is not None:
139
+ self.setSigmaCoupling(SigmaCoupling)
140
+ if DilationAngle is not None:
141
+ self.setDilationAngle(DilationAngle)
142
+ if FrictionAngle is not None:
143
+ self.setFrictionAngle(FrictionAngle)
144
+ if Cohesion is not None:
145
+ self.setCohesion(Cohesion)
146
+ if TensileStrength is not None:
147
+ self.setTensileStrength(TensileStrength)
148
+
149
+ ################ Code below this line will not be overridden ################
150
+ from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
151
+ from rs3.properties.PropertyEnums import *
152
+ from ._PropertyAccessor import MaterialStffnessBeddingPlanePropertyAccessor
153
+ class SwellingRock(SwellingRockBase):
154
+ def __init__(self, client: Client, id: str):
155
+ super().__init__(client, id)
156
+ self._beddingPlanePropertyAccessor = MaterialStffnessBeddingPlanePropertyAccessor(client, id)
157
+ self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
158
+
159
+ def getBeddingDirectionType(self) -> PlanarDirectionType:
160
+ return self._beddingPlanePropertyAccessor.getEnumValue("DirectionType", PlanarDirectionType)
161
+ def setBeddingDirectionType(self, DirectionType: PlanarDirectionType):
162
+ self._beddingPlanePropertyAccessor.setEnumValue("DirectionType", DirectionType.value)
163
+
164
+ def getNormalVector(self) -> tuple[float, float, float]:
165
+ """
166
+ Retrieve the bedding plane's normal direction vector.
167
+
168
+ Returns:
169
+ tuple[float, float, float]:
170
+ A 3D vector `(x, y, z)` representing the bedding plane's normal direction in model coordinates.
171
+ """
172
+ return self._beddingPlanePropertyAccessor.getVector3DValue("NormalDirection")
173
+ def setNormalVector(self, NormalDirection: tuple[float, float, float]):
174
+ """
175
+ Set the bedding plane's normal direction vector.
176
+
177
+ Args:
178
+ NormalDirection (tuple[float, float, float]):
179
+ A 3D vector `(x, y, z)` representing the desired bedding plane
180
+ normal direction in model coordinates.
181
+ """
182
+ self._beddingPlanePropertyAccessor.setVector3DValue("NormalDirection", NormalDirection)
183
+
184
+ def getDipDirection(self) -> float:
185
+ return self._beddingPlanePropertyAccessor.getDoubleProperty("DipDirection")
186
+ def setDipDirection(self, DipDirection: float):
187
+ self._beddingPlanePropertyAccessor.setDoubleProperty("DipDirection", DipDirection)
188
+
189
+ def getDip(self) -> float:
190
+ return self._beddingPlanePropertyAccessor.getDoubleProperty("Dip")
191
+ def setDip(self, Dip: float):
192
+ self._beddingPlanePropertyAccessor.setDoubleProperty("Dip", Dip)
193
+
194
+ def getSwellingFormulation(self) -> SwellingForm:
195
+ return self._strengthPropertyAccessor.getEnumValue("SwellingFormation", SwellingForm)
196
+ def setSwellingFormulation(self, SwellingFormation: SwellingForm):
197
+ return self._strengthPropertyAccessor.setEnumValue("SwellingFormation", SwellingFormation.value)
198
+
199
+ def getWaterCondition(self) -> WaterCondition:
200
+ return self._strengthPropertyAccessor.getEnumValue("WaterCondition", WaterCondition)
201
+ def setWaterCondition(self, WaterCondition: WaterCondition):
202
+ return self._strengthPropertyAccessor.setEnumValue("WaterCondition", WaterCondition.value)
@@ -0,0 +1,138 @@
1
+ # Generated by RPCBinder in RFC_Common.
2
+ from rs3._client import Client
3
+ from ._PropertyAccessor import BasePropertyAccessor
4
+ from rs3._proxyObject import _ProxyObject
5
+ from rs3.properties.IPropertyGroupAccessors import IPropertyGroupAccessors
6
+ class UnsaturatedZoneCalculationsBase(_ProxyObject, IPropertyGroupAccessors):
7
+ def __init__(self, client: Client, id: str):
8
+ super().__init__(client, id)
9
+ self._basePropertyAccessor = BasePropertyAccessor(client, id)
10
+ def getUseCutoff(self) -> bool:
11
+ return self._basePropertyAccessor.getBoolValue("UseCutOff")
12
+ def setUseCutoff(self, value: bool):
13
+ self._basePropertyAccessor.setBoolValue("UseCutOff", value)
14
+ def getCutoffValue(self) -> float:
15
+ return self._basePropertyAccessor.getDoubleProperty("CutOff")
16
+ def setCutoffValue(self, value: float):
17
+ self._basePropertyAccessor.setDoubleProperty("CutOff", value)
18
+ def getAlpha(self) -> float:
19
+ return self._basePropertyAccessor.getDoubleProperty("Alpha")
20
+ def setAlpha(self, value: float):
21
+ self._basePropertyAccessor.setDoubleProperty("Alpha", value)
22
+ def getAirEntrySuction(self) -> float:
23
+ return self._basePropertyAccessor.getDoubleProperty("AirEntrySuction")
24
+ def setAirEntrySuction(self, value: float):
25
+ self._basePropertyAccessor.setDoubleProperty("AirEntrySuction", value)
26
+ def getCriticalSuction(self) -> float:
27
+ return self._basePropertyAccessor.getDoubleProperty("CriticalSuction")
28
+ def setCriticalSuction(self, value: float):
29
+ self._basePropertyAccessor.setDoubleProperty("CriticalSuction", value)
30
+ def getMaterialParameter(self) -> float:
31
+ return self._basePropertyAccessor.getDoubleProperty("MaterialParameter")
32
+ def setMaterialParameter(self, value: float):
33
+ self._basePropertyAccessor.setDoubleProperty("MaterialParameter", value)
34
+ def getProperties(self):
35
+ return {
36
+ "UseCutoff": self.getUseCutoff(),
37
+ "CutoffValue": self.getCutoffValue(),
38
+ "Alpha": self.getAlpha(),
39
+ "AirEntrySuction": self.getAirEntrySuction(),
40
+ "CriticalSuction": self.getCriticalSuction(),
41
+ "MaterialParameter": self.getMaterialParameter(),
42
+ }
43
+ def setProperties(self, UseCutoff: bool = None, CutoffValue: float = None, Alpha: float = None, AirEntrySuction: float = None, CriticalSuction: float = None, MaterialParameter: float = None):
44
+ if UseCutoff is not None:
45
+ self.setUseCutoff(UseCutoff)
46
+ if CutoffValue is not None:
47
+ self.setCutoffValue(CutoffValue)
48
+ if Alpha is not None:
49
+ self.setAlpha(Alpha)
50
+ if AirEntrySuction is not None:
51
+ self.setAirEntrySuction(AirEntrySuction)
52
+ if CriticalSuction is not None:
53
+ self.setCriticalSuction(CriticalSuction)
54
+ if MaterialParameter is not None:
55
+ self.setMaterialParameter(MaterialParameter)
56
+
57
+ ################ Code below this line will not be overridden ################
58
+ import rs3.generatedFiles.MaterialUnsaturatedSoilDataService_pb2_grpc as MaterialUnsaturatedSoilDataService_pb2_grpc
59
+ import rs3.generatedFiles.MaterialUnsaturatedSoilDataService_pb2 as MaterialUnsaturatedSoilDataService_pb2
60
+ from rs3.properties.PropertyEnums import *
61
+
62
+ class UnsaturatedZoneCalculations(UnsaturatedZoneCalculationsBase):
63
+ def __init__(self, client: Client, id: str):
64
+ super().__init__(client, id)
65
+ self._stub = MaterialUnsaturatedSoilDataService_pb2_grpc.MaterialUnsaturatedSoilDataServiceStub(self._client.channel)
66
+
67
+ def getUnsaturatedBehavior(self) -> UnsaturatedParameterType:
68
+ return self._basePropertyAccessor.getEnumValue("UnsaturatedBehavior", UnsaturatedParameterType)
69
+ def setUnsaturatedBehavior(self, unsaturatedParameterType : UnsaturatedParameterType):
70
+ self._basePropertyAccessor.setEnumValue("UnsaturatedBehavior", unsaturatedParameterType.value)
71
+
72
+ def getSingleEffectiveStressMethod(self) -> UnsaturatedSingleEffectiveStressMethod:
73
+ return self._basePropertyAccessor.getEnumValue("SingleEffectiveStress", UnsaturatedSingleEffectiveStressMethod)
74
+ def setSingleEffectiveStressMethod(self, unsaturatedSingleEffectiveStressMethod : UnsaturatedSingleEffectiveStressMethod):
75
+ self._basePropertyAccessor.setEnumValue("SingleEffectiveStress", unsaturatedSingleEffectiveStressMethod.value)
76
+
77
+ def getTabularValues(self) -> UnsaturatedTabularValueMethod:
78
+ return self._basePropertyAccessor.getEnumValue("TabularValue", UnsaturatedTabularValueMethod)
79
+ def setTabularValues(self, unsaturatedTabularValueMethod : UnsaturatedTabularValueMethod):
80
+ self._basePropertyAccessor.setEnumValue("TabularValue", unsaturatedTabularValueMethod.value)
81
+
82
+ def getUnsaturatedZoneTableWithRespectToSuction(self) -> list[tuple[float, float]]:
83
+ """
84
+ Returns a list of tuples where the first element is coefficients and the second is values with respect to suction.
85
+ """
86
+ request = MaterialUnsaturatedSoilDataService_pb2.GetSingleEffectiveStressRequest(objectId=self._objectId, tabularValueType=UnsaturatedTabularValueMethod.WITH_RESPECT_TO_SUCTION.value)
87
+ response : MaterialUnsaturatedSoilDataService_pb2.GetSingleEffectiveStressResponse = self._client.callFunction(self._stub.GetSingleEffectiveStressTable, request)
88
+ return list((p.X, p.Y) for p in response.point)
89
+
90
+ def setUnsaturatedZoneTableWithRespectToSuction(self, values: list[tuple[float, float]]):
91
+ """
92
+ Specify the coefficient and values with respect to suction.
93
+ """
94
+ SESPointsList = []
95
+ for x, y in values:
96
+ point = MaterialUnsaturatedSoilDataService_pb2.SingleEffectiveStressPoint(X=x, Y=y)
97
+ SESPointsList.append(point)
98
+ request = MaterialUnsaturatedSoilDataService_pb2.SetSingleEffectiveStressRequest(objectId=self._objectId, tabularValueType=UnsaturatedTabularValueMethod.WITH_RESPECT_TO_SUCTION.value, point = SESPointsList)
99
+ self._client.callFunction(self._stub.SetSingleEffectiveStressTable, request)
100
+
101
+ def getUnsaturatedZoneTableWithRespectToDegreeOfSaturation(self) -> list[tuple[float, float]]:
102
+ """
103
+ Returns a list of tuples where the first element is coefficients and the second is values with respect to degree of saturation.
104
+ """
105
+ request = MaterialUnsaturatedSoilDataService_pb2.GetSingleEffectiveStressRequest(objectId=self._objectId, tabularValueType=UnsaturatedTabularValueMethod.WITH_RESPECT_TO_DEGREE_OF_SATURATION.value)
106
+ response : MaterialUnsaturatedSoilDataService_pb2.GetSingleEffectiveStressResponse = self._client.callFunction(self._stub.GetSingleEffectiveStressTable, request)
107
+ return list((p.X, p.Y) for p in response.point)
108
+
109
+ def setUnsaturatedZoneTableWithRespectToDegreeOfSaturation(self, values: list[tuple[float, float]]):
110
+ """
111
+ Specify the coefficient and values with respect to degree of saturation.
112
+ """
113
+ SESPointsList = []
114
+ for x, y in values:
115
+ point = MaterialUnsaturatedSoilDataService_pb2.SingleEffectiveStressPoint(X=x, Y=y)
116
+ SESPointsList.append(point)
117
+ request = MaterialUnsaturatedSoilDataService_pb2.SetSingleEffectiveStressRequest(objectId=self._objectId, tabularValueType=UnsaturatedTabularValueMethod.WITH_RESPECT_TO_DEGREE_OF_SATURATION.value, point = SESPointsList)
118
+ self._client.callFunction(self._stub.SetSingleEffectiveStressTable, request)
119
+
120
+ def getUnsaturatedZoneTableWithRespectToEffectiveDegreeOfSaturation(self) -> list[tuple[float, float]]:
121
+ """
122
+ Returns a list of tuples where the first element is coefficients and the second is values with respect to effective degree of saturation.
123
+ """
124
+ request = MaterialUnsaturatedSoilDataService_pb2.GetSingleEffectiveStressRequest(objectId=self._objectId, tabularValueType=UnsaturatedTabularValueMethod.WITH_RESPECT_TO_EFFECTIVE_DEGREE_OF_SATURATION.value)
125
+ response : MaterialUnsaturatedSoilDataService_pb2.GetSingleEffectiveStressResponse = self._client.callFunction(self._stub.GetSingleEffectiveStressTable, request)
126
+ return list((p.X, p.Y) for p in response.point)
127
+
128
+ def setUnsaturatedZoneTableWithRespectToEffectiveDegreeOfSaturation(self, values: list[tuple[float, float]]):
129
+ """
130
+ Specify the coefficient and values with respect to effective degree of saturation.
131
+ """
132
+ SESPointsList = []
133
+ for x, y in values:
134
+ point = MaterialUnsaturatedSoilDataService_pb2.SingleEffectiveStressPoint(X=x, Y=y)
135
+ SESPointsList.append(point)
136
+ request = MaterialUnsaturatedSoilDataService_pb2.SetSingleEffectiveStressRequest(objectId=self._objectId, tabularValueType=UnsaturatedTabularValueMethod.WITH_RESPECT_TO_EFFECTIVE_DEGREE_OF_SATURATION.value, point = SESPointsList)
137
+ self._client.callFunction(self._stub.SetSingleEffectiveStressTable, request)
138
+
@@ -0,0 +1,113 @@
1
+ # Generated by RPCBinder in RFC_Common.
2
+ from rs3._client import Client
3
+ from ._PropertyAccessor import PropertyAccessor
4
+ from rs3._proxyObject import _ProxyObject
5
+ from rs3.properties.IPropertyGroupAccessors import IPropertyGroupAccessors
6
+ class VerticalStressRatioBase(_ProxyObject, IPropertyGroupAccessors):
7
+ def __init__(self, client: Client, id: str):
8
+ super().__init__(client, id)
9
+ self._propertyAccessor = PropertyAccessor(client, id)
10
+ def getVerticalStressRatio(self) -> float:
11
+ return self._propertyAccessor.getDoubleProperty("VerticalStressRatio")
12
+ def setVerticalStressRatio(self, value: float):
13
+ self._propertyAccessor.setDoubleProperty("VerticalStressRatio", value)
14
+ def getMinimumShearStrength(self) -> float:
15
+ return self._propertyAccessor.getDoubleProperty("MinShearStrength")
16
+ def setMinimumShearStrength(self, value: float):
17
+ self._propertyAccessor.setDoubleProperty("MinShearStrength", value)
18
+ def getMaximumShearStrength(self) -> float:
19
+ return self._propertyAccessor.getDoubleProperty("MaxShearStrength")
20
+ def setMaximumShearStrength(self, value: float):
21
+ self._propertyAccessor.setDoubleProperty("MaxShearStrength", value)
22
+ def getResidualVerticalStressRatio(self) -> float:
23
+ return self._propertyAccessor.getDoubleProperty("VerticalStressResidual")
24
+ def setResidualVerticalStressRatio(self, value: float):
25
+ self._propertyAccessor.setDoubleProperty("VerticalStressResidual", value)
26
+ def getResidualMinimumShearStrength(self) -> float:
27
+ return self._propertyAccessor.getDoubleProperty("MinShearStrengthResidual")
28
+ def setResidualMinimumShearStrength(self, value: float):
29
+ self._propertyAccessor.setDoubleProperty("MinShearStrengthResidual", value)
30
+ def getResidualMaximumShearStrength(self) -> float:
31
+ return self._propertyAccessor.getDoubleProperty("MaxShearStrengthResidual")
32
+ def setResidualMaximumShearStrength(self, value: float):
33
+ self._propertyAccessor.setDoubleProperty("MaxShearStrengthResidual", value)
34
+ def getResidualTensileStrength(self) -> float:
35
+ return self._propertyAccessor.getDoubleProperty("PeakTensileStrengthResidual")
36
+ def setResidualTensileStrength(self, value: float):
37
+ self._propertyAccessor.setDoubleProperty("PeakTensileStrengthResidual", value)
38
+ def getUseMaximumShearStrength(self) -> bool:
39
+ return self._propertyAccessor.getBoolValue("UseMaxShearStrength")
40
+ def setUseMaximumShearStrength(self, value: bool):
41
+ self._propertyAccessor.setBoolValue("UseMaxShearStrength", value)
42
+ def getUseTensilieStrength(self) -> bool:
43
+ return self._propertyAccessor.getBoolValue("UseTensileStrength")
44
+ def setUseTensilieStrength(self, value: bool):
45
+ self._propertyAccessor.setBoolValue("UseTensileStrength", value)
46
+ def getTensileStrength(self) -> float:
47
+ return self._propertyAccessor.getDoubleProperty("PeakTensileStrength")
48
+ def setTensileStrength(self, value: float):
49
+ self._propertyAccessor.setDoubleProperty("PeakTensileStrength", value)
50
+ def getApplySSRShearStrengthReduction(self) -> bool:
51
+ return self._propertyAccessor.getBoolValue("UseSSR")
52
+ def setApplySSRShearStrengthReduction(self, value: bool):
53
+ self._propertyAccessor.setBoolValue("UseSSR", value)
54
+ def getProperties(self):
55
+ return {
56
+ "VerticalStressRatio": self.getVerticalStressRatio(),
57
+ "MinimumShearStrength": self.getMinimumShearStrength(),
58
+ "MaximumShearStrength": self.getMaximumShearStrength(),
59
+ "ResidualVerticalStressRatio": self.getResidualVerticalStressRatio(),
60
+ "ResidualMinimumShearStrength": self.getResidualMinimumShearStrength(),
61
+ "ResidualMaximumShearStrength": self.getResidualMaximumShearStrength(),
62
+ "ResidualTensileStrength": self.getResidualTensileStrength(),
63
+ "UseMaximumShearStrength": self.getUseMaximumShearStrength(),
64
+ "UseTensilieStrength": self.getUseTensilieStrength(),
65
+ "TensileStrength": self.getTensileStrength(),
66
+ "ApplySSRShearStrengthReduction": self.getApplySSRShearStrengthReduction(),
67
+ }
68
+ def setProperties(self, VerticalStressRatio: float = None, MinimumShearStrength: float = None, MaximumShearStrength: float = None, ResidualVerticalStressRatio: float = None, ResidualMinimumShearStrength: float = None, ResidualMaximumShearStrength: float = None, ResidualTensileStrength: float = None, UseMaximumShearStrength: bool = None, UseTensilieStrength: bool = None, TensileStrength: float = None, ApplySSRShearStrengthReduction: bool = None):
69
+ if VerticalStressRatio is not None:
70
+ self.setVerticalStressRatio(VerticalStressRatio)
71
+ if MinimumShearStrength is not None:
72
+ self.setMinimumShearStrength(MinimumShearStrength)
73
+ if MaximumShearStrength is not None:
74
+ self.setMaximumShearStrength(MaximumShearStrength)
75
+ if ResidualVerticalStressRatio is not None:
76
+ self.setResidualVerticalStressRatio(ResidualVerticalStressRatio)
77
+ if ResidualMinimumShearStrength is not None:
78
+ self.setResidualMinimumShearStrength(ResidualMinimumShearStrength)
79
+ if ResidualMaximumShearStrength is not None:
80
+ self.setResidualMaximumShearStrength(ResidualMaximumShearStrength)
81
+ if ResidualTensileStrength is not None:
82
+ self.setResidualTensileStrength(ResidualTensileStrength)
83
+ if UseMaximumShearStrength is not None:
84
+ self.setUseMaximumShearStrength(UseMaximumShearStrength)
85
+ if UseTensilieStrength is not None:
86
+ self.setUseTensilieStrength(UseTensilieStrength)
87
+ if TensileStrength is not None:
88
+ self.setTensileStrength(TensileStrength)
89
+ if ApplySSRShearStrengthReduction is not None:
90
+ self.setApplySSRShearStrengthReduction(ApplySSRShearStrengthReduction)
91
+
92
+ ################ Code below this line will not be overridden ################
93
+ from rs3.properties.material.constitutiveModel.stiffness.LinearIsotropic import LinearIsotropic
94
+ from rs3.properties.material.constitutiveModel.stiffness.TransverselyIsotropic import TransverselyIsotropic
95
+ from rs3.properties.material.constitutiveModel.stiffness.Orthotropic import Orthotropic
96
+ from rs3.properties.material.constitutiveModel.stiffness.DuncanChangHyperbolic import DuncanChangHyperbolic
97
+ from rs3.properties.material.constitutiveModel.stiffness.NonlinearIsotropic import NonlinearIsotropic
98
+ from rs3.properties.material.constitutiveModel.BaseConstitutiveModel import BaseConstitutiveModel
99
+ from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
100
+ from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
101
+ import rs3.generatedFiles.MaterialDataService_pb2_grpc as MaterialDataService_pb2_grpc
102
+ from rs3.properties.PropertyEnums import *
103
+ class VerticalStressRatio(VerticalStressRatioBase, BaseConstitutiveModel):
104
+ def __init__(self, client: Client, id: str):
105
+ super().__init__(client, id)
106
+ self._stiffnessPropertyAccessor = BasePropertyAccessor(client, id, MaterialDataService_pb2_grpc.MaterialDataServiceStub(self._client.channel))
107
+ self.LinearIsotropicStiffness = LinearIsotropic(client, id)
108
+ self.TransverselyIsotropicStiffness = TransverselyIsotropic(client, id)
109
+ self.OrthotropicStiffness = Orthotropic(client, id)
110
+ self.DuncanChangHyperbolicStiffness = DuncanChangHyperbolic(client, id)
111
+ self.NonlinearIsotropicStiffness = NonlinearIsotropic(client, id)
112
+ self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
113
+
@@ -0,0 +1,96 @@
1
+ from rs3.properties._PropertyAccessor import PropertyAccessor as ParentPropertyAccessor
2
+ import rs3.generatedFiles.MaterialStiffnessService_pb2_grpc as MaterialStiffnessService_pb2_grpc
3
+ import rs3.generatedFiles.MaterialStiffnessService_pb2 as MaterialStiffnessService_pb2
4
+ import rs3.generatedFiles.MaterialStrengthService_pb2_grpc as MaterialStrengthService_pb2_grpc
5
+ import rs3.generatedFiles.MaterialStrengthService_pb2 as MaterialStrengthService_pb2
6
+ import rs3.generatedFiles.MaterialUnsaturatedSoilDataService_pb2_grpc as MaterialUnsaturatedSoilDataService_pb2_grpc
7
+ import rs3.generatedFiles.MaterialUnsaturatedSoilDataService_pb2 as MaterialUnsaturatedSoilDataService_pb2
8
+ import rs3.generatedFiles.ModelFunctionService_pb2_grpc as ModelFunctionService_pb2_grpc
9
+ import rs3.generatedFiles.ModelFunctionService_pb2 as ModelFunctionService_pb2
10
+ import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
11
+ from rs3._client import Client
12
+ from rs3.properties.PropertyEnums import *
13
+ class StiffnessPropertyAccessor(ParentPropertyAccessor):
14
+ def __init__(self, client : Client, objectId : str):
15
+ self._stub = MaterialStiffnessService_pb2_grpc.MaterialStiffnessServiceStub(client.channel)
16
+ super().__init__(client, objectId, self._stub)
17
+
18
+ class MaterialStffnessBeddingPlanePropertyAccessor(StiffnessPropertyAccessor):
19
+ def __init__(self, client: Client, parentObjectId: str):
20
+ super().__init__(client, parentObjectId)
21
+ def _getProperty(self, propertyName: str) -> CommonMessages_pb2.PropertyValue:
22
+ request = MaterialStiffnessService_pb2.GetMaterialStiffnessBeddingPlanePropertyRequest(objectId=self.objectId, propertyName=propertyName)
23
+ response : MaterialStiffnessService_pb2.GetMaterialStiffnessBeddingPlanePropertyResponse = self._client.callFunction(self._stub.GetBeddingPlane, request)
24
+ return response.value
25
+ def _setProperty(self, propertyName: str, value: CommonMessages_pb2.PropertyValue):
26
+ request = MaterialStiffnessService_pb2.SetMaterialStiffnessBeddingPlanePropertyRequest(objectId=self.objectId, propertyName=propertyName, value=value)
27
+ self._client.callFunction(self._stub.SetBeddingPlane, request)
28
+
29
+ class PropertyAccessor(ParentPropertyAccessor):
30
+ def __init__(self, client : Client, objectId : str):
31
+ self._stub = MaterialStrengthService_pb2_grpc.MaterialStrengthServiceStub(client.channel)
32
+ super().__init__(client, objectId, self._stub)
33
+
34
+ class StrengthPropertyAccessor(PropertyAccessor):
35
+ def __init__(self, client : Client, objectId : str):
36
+ super().__init__(client, objectId)
37
+
38
+ class BasePropertyAccessor(ParentPropertyAccessor):
39
+ def __init__(self, client : Client, objectId : str):
40
+ self._stub = MaterialUnsaturatedSoilDataService_pb2_grpc.MaterialUnsaturatedSoilDataServiceStub(client.channel)
41
+ super().__init__(client, objectId, self._stub)
42
+
43
+ class MaterialStrengthFunctionPropertyAccessor(StrengthPropertyAccessor):
44
+ def __init__(self, client: Client, parentObjectId: str):
45
+ super().__init__(client, parentObjectId)
46
+
47
+ def getSelectedFunctionProperty(self, functionType : ConstitutiveModelTypes, propertyName: str) -> CommonMessages_pb2.PropertyValue:
48
+ request = MaterialStrengthService_pb2.GetSelectedFunctionPropertyRequest(objectId=self.objectId, functionType=functionType.value, propertyName=propertyName)
49
+ response : MaterialStrengthService_pb2.GetSelectedFunctionPropertyResponse = self._client.callFunction(self._stub.GetSelectedFunctionProperty, request)
50
+ return response.value.stringValue
51
+ def setSelectedFunctionProperty(self, functionType : ConstitutiveModelTypes, propertyName: str, value: str):
52
+ request = MaterialStrengthService_pb2.SetSelectedFunctionPropertyRequest(objectId=self.objectId, functionType=functionType.value, propertyName=propertyName, value=CommonMessages_pb2.PropertyValue(stringValue=value))
53
+ self._client.callFunction(self._stub.SetSelectedFunctionProperty, request)
54
+
55
+ class MaterialStrengthFunctionDataPropertyAccessor(ParentPropertyAccessor):
56
+ def __init__(self, client: Client, parentObjectId: str, functionType: ConstitutiveModelTypes):
57
+ self._stub = ModelFunctionService_pb2_grpc.ModelFunctionServiceStub(client.channel)
58
+ super().__init__(client, parentObjectId, self._stub)
59
+ self.functionType = functionType
60
+
61
+ def _getProperty(self, propertyName: str) -> CommonMessages_pb2.PropertyValue:
62
+ request = ModelFunctionService_pb2.GetFunctionPropertyRequest(objectId=self.objectId, functionType=self.functionType.value, propertyName=propertyName)
63
+ response : ModelFunctionService_pb2.GetFunctionPropertyResponse = self._client.callFunction(self._stub.GetProperty, request)
64
+ return response.value
65
+ def _setProperty(self, propertyName: str, value: CommonMessages_pb2.PropertyValue):
66
+ request = ModelFunctionService_pb2.SetFunctionPropertyRequest(objectId=self.objectId, functionType=self.functionType.value, propertyName=propertyName, value=value)
67
+ self._client.callFunction(self._stub.SetProperty, request)
68
+
69
+ class MaterialStrengthAnisotropicLinearPlanarAccessor(StrengthPropertyAccessor):
70
+ def __init__(self, client: Client, parentObjectId: str):
71
+ super().__init__(client, parentObjectId)
72
+
73
+ def _getProperty(self, propertyName: str) -> CommonMessages_pb2.PropertyValue:
74
+ request = MaterialStrengthService_pb2.GetAnisotropicLinearPlanarPropertyRequest(objectId=self.objectId, propertyName=propertyName)
75
+ response : MaterialStrengthService_pb2.GetAnisotropicLinearPlanarPropertyResponse = self._client.callFunction(self._stub.GetAnisotropicLinearPlanarProperty, request)
76
+ return response.value
77
+ def _setProperty(self, propertyName : str, value : CommonMessages_pb2.PropertyValue):
78
+ request = MaterialStrengthService_pb2.SetAnisotropicLinearPlanarPropertyRequest(objectId=self.objectId, propertyName=propertyName, value=value)
79
+ self._client.callFunction(self._stub.SetAnisotropicLinearPlanarProperty, request)
80
+
81
+ class MaterialStrengthSnowdenAnisotropicLinearPropertyAccessor(ParentPropertyAccessor):
82
+ def __init__(self, client: Client, parentObjectId: str, isBeddingFunction):
83
+ self._stub = ModelFunctionService_pb2_grpc.ModelFunctionServiceStub(client.channel)
84
+ self.isBeddingFunction = isBeddingFunction
85
+ super().__init__(client, parentObjectId, self._stub)
86
+
87
+ def _getProperty(self, propertyName: str) -> CommonMessages_pb2.PropertyValue:
88
+ request = ModelFunctionService_pb2.GetSnowdenPropertyRequest(objectId=self.objectId, isBeddingFunction=self.isBeddingFunction, propertyName=propertyName)
89
+ response : ModelFunctionService_pb2.GetSnowdenPropertyResponse = self._client.callFunction(self._stub.GetSnowdenProperty, request)
90
+ return response.value
91
+ def _setProperty(self, propertyName: str, value: CommonMessages_pb2.PropertyValue):
92
+ request = ModelFunctionService_pb2.SetSnowdenPropertyRequest(materialId=self.objectId, isBeddingFunction=self.isBeddingFunction, propertyName=propertyName, value=value)
93
+ self._client.callFunction(self._stub.SetSnowdenProperty, request)
94
+
95
+
96
+
File without changes