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,110 @@
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 DynamicBase(_ProxyObject, IPropertyGroupAccessors):
7
+ def __init__(self, client: Client, id: str):
8
+ super().__init__(client, id)
9
+ self._propertyAccessor = PropertyAccessor(client, id)
10
+ def getIsDynamicOn(self) -> bool:
11
+ return self._propertyAccessor.getBoolValue("is_dynamic_on")
12
+ def setIsDynamicOn(self, value: bool):
13
+ self._propertyAccessor.setBoolValue("is_dynamic_on", value)
14
+ def getIsRayleighDampingbyAlphaMOn(self) -> bool:
15
+ return self._propertyAccessor.getBoolValue("is_alpha_m_on")
16
+ def setIsRayleighDampingbyAlphaMOn(self, value: bool):
17
+ self._propertyAccessor.setBoolValue("is_alpha_m_on", value)
18
+ def getAlphaM(self) -> float:
19
+ return self._propertyAccessor.getDoubleProperty("alpha_m")
20
+ def setAlphaM(self, value: float):
21
+ self._propertyAccessor.setDoubleProperty("alpha_m", value)
22
+ def getBetaK(self) -> float:
23
+ return self._propertyAccessor.getDoubleProperty("betta_k")
24
+ def setBetaK(self, value: float):
25
+ self._propertyAccessor.setDoubleProperty("betta_k", value)
26
+ def getFrequency1(self) -> float:
27
+ return self._propertyAccessor.getDoubleProperty("frequency1")
28
+ def setFrequency1(self, value: float):
29
+ self._propertyAccessor.setDoubleProperty("frequency1", value)
30
+ def getFrequency2(self) -> float:
31
+ return self._propertyAccessor.getDoubleProperty("frequency2")
32
+ def setFrequency2(self, value: float):
33
+ self._propertyAccessor.setDoubleProperty("frequency2", value)
34
+ def getDampingRatio1(self) -> float:
35
+ return self._propertyAccessor.getDoubleProperty("damping_ratio1")
36
+ def setDampingRatio1(self, value: float):
37
+ self._propertyAccessor.setDoubleProperty("damping_ratio1", value)
38
+ def getDampingRatio2(self) -> float:
39
+ return self._propertyAccessor.getDoubleProperty("damping_ratio2")
40
+ def setDampingRatio2(self, value: float):
41
+ self._propertyAccessor.setDoubleProperty("damping_ratio2", value)
42
+ def getNumTimeSteps(self) -> int:
43
+ return self._propertyAccessor.getIntProperty("num_time_steps")
44
+ def setNumTimeSteps(self, value: int):
45
+ self._propertyAccessor.setIntProperty("num_time_steps", value)
46
+ def getBeta(self) -> float:
47
+ return self._propertyAccessor.getDoubleProperty("betta")
48
+ def setBeta(self, value: float):
49
+ self._propertyAccessor.setDoubleProperty("betta", value)
50
+ def getGamma(self) -> float:
51
+ return self._propertyAccessor.getDoubleProperty("gamma")
52
+ def setGamma(self, value: float):
53
+ self._propertyAccessor.setDoubleProperty("gamma", value)
54
+ def getProperties(self):
55
+ return {
56
+ "IsDynamicOn": self.getIsDynamicOn(),
57
+ "IsRayleighDampingbyAlphaMOn": self.getIsRayleighDampingbyAlphaMOn(),
58
+ "AlphaM": self.getAlphaM(),
59
+ "BetaK": self.getBetaK(),
60
+ "Frequency1": self.getFrequency1(),
61
+ "Frequency2": self.getFrequency2(),
62
+ "DampingRatio1": self.getDampingRatio1(),
63
+ "DampingRatio2": self.getDampingRatio2(),
64
+ "NumTimeSteps": self.getNumTimeSteps(),
65
+ "Beta": self.getBeta(),
66
+ "Gamma": self.getGamma(),
67
+ }
68
+ def setProperties(self, IsDynamicOn: bool = None, IsRayleighDampingbyAlphaMOn: bool = None, AlphaM: float = None, BetaK: float = None, Frequency1: float = None, Frequency2: float = None, DampingRatio1: float = None, DampingRatio2: float = None, NumTimeSteps: int = None, Beta: float = None, Gamma: float = None):
69
+ if IsDynamicOn is not None:
70
+ self.setIsDynamicOn(IsDynamicOn)
71
+ if IsRayleighDampingbyAlphaMOn is not None:
72
+ self.setIsRayleighDampingbyAlphaMOn(IsRayleighDampingbyAlphaMOn)
73
+ if AlphaM is not None:
74
+ self.setAlphaM(AlphaM)
75
+ if BetaK is not None:
76
+ self.setBetaK(BetaK)
77
+ if Frequency1 is not None:
78
+ self.setFrequency1(Frequency1)
79
+ if Frequency2 is not None:
80
+ self.setFrequency2(Frequency2)
81
+ if DampingRatio1 is not None:
82
+ self.setDampingRatio1(DampingRatio1)
83
+ if DampingRatio2 is not None:
84
+ self.setDampingRatio2(DampingRatio2)
85
+ if NumTimeSteps is not None:
86
+ self.setNumTimeSteps(NumTimeSteps)
87
+ if Beta is not None:
88
+ self.setBeta(Beta)
89
+ if Gamma is not None:
90
+ self.setGamma(Gamma)
91
+
92
+ ################ Code below this line will not be overridden ################
93
+ from ._PropertyAccessor import DynamicPropertyAccessor
94
+ from rs3.projectSettings.ProjectSettingEnums import *
95
+ class Dynamic(DynamicBase):
96
+ """
97
+ Define dynamic analysis properties.
98
+
99
+ Examples:
100
+ See :ref:`project_settings_example`.
101
+
102
+ """
103
+ def __init__(self, client: Client, id: str):
104
+ super().__init__(client, id)
105
+ self._propertyAccessor = DynamicPropertyAccessor(client, id)
106
+
107
+ def getTimeHistoryMethod(self) -> TimeHistoryType:
108
+ return self._propertyAccessor.getEnumValue("time_history_type", TimeHistoryType)
109
+ def setTimeHistoryMethod(self, value : TimeHistoryType):
110
+ self._propertyAccessor.setEnumValue("time_history_type", value.value)
@@ -0,0 +1,118 @@
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 GroundwaterBase(_ProxyObject, IPropertyGroupAccessors):
7
+ def __init__(self, client: Client, id: str):
8
+ super().__init__(client, id)
9
+ self._propertyAccessor = PropertyAccessor(client, id)
10
+ def getPoreFluidUnitWeight(self) -> float:
11
+ return self._propertyAccessor.getDoubleProperty("PoreFluidWeight")
12
+ def setPoreFluidUnitWeight(self, value: float):
13
+ self._propertyAccessor.setDoubleProperty("PoreFluidWeight", value)
14
+ def getIsNegativePorePressureCutoff(self) -> bool:
15
+ return self._propertyAccessor.getBoolValue("IsNegativePorePressureCutoff")
16
+ def setIsNegativePorePressureCutoff(self, value: bool):
17
+ self._propertyAccessor.setBoolValue("IsNegativePorePressureCutoff", value)
18
+ def getNegativePorePressureCutoff(self) -> float:
19
+ return self._propertyAccessor.getDoubleProperty("NegativePorePressureCutoff")
20
+ def setNegativePorePressureCutoff(self, value: float):
21
+ self._propertyAccessor.setDoubleProperty("NegativePorePressureCutoff", value)
22
+ def getPWPMethodByStage(self) -> bool:
23
+ return self._propertyAccessor.getBoolValue("PWPMethodByStage")
24
+ def setPWPMethodByStage(self, value: bool):
25
+ self._propertyAccessor.setBoolValue("PWPMethodByStage", value)
26
+ def getMaxNumIterations(self) -> int:
27
+ return self._propertyAccessor.getIntProperty("max_num_iterations")
28
+ def setMaxNumIterations(self, value: int):
29
+ self._propertyAccessor.setIntProperty("max_num_iterations", value)
30
+ def getTolerance(self) -> float:
31
+ return self._propertyAccessor.getDoubleProperty("Tolerance")
32
+ def setTolerance(self, value: float):
33
+ self._propertyAccessor.setDoubleProperty("Tolerance", value)
34
+ def getLoadSteps(self) -> int:
35
+ return self._propertyAccessor.getIntProperty("LoadSteps")
36
+ def setLoadSteps(self, value: int):
37
+ self._propertyAccessor.setIntProperty("LoadSteps", value)
38
+ def getTimeSteps(self) -> int:
39
+ return self._propertyAccessor.getIntProperty("TimeSteps")
40
+ def setTimeSteps(self, value: int):
41
+ self._propertyAccessor.setIntProperty("TimeSteps", value)
42
+ def getIsScaleTolerance(self) -> bool:
43
+ return self._propertyAccessor.getBoolValue("is_scale_tolerance")
44
+ def setIsScaleTolerance(self, value: bool):
45
+ self._propertyAccessor.setBoolValue("is_scale_tolerance", value)
46
+ def getIsAddFluidBodyForce(self) -> bool:
47
+ return self._propertyAccessor.getBoolValue("is_add_fluid_body_force")
48
+ def setIsAddFluidBodyForce(self, value: bool):
49
+ self._propertyAccessor.setBoolValue("is_add_fluid_body_force", value)
50
+ def getFluidBulkModulus(self) -> float:
51
+ return self._propertyAccessor.getDoubleProperty("fluid_bulk_modulus")
52
+ def setFluidBulkModulus(self, value: float):
53
+ self._propertyAccessor.setDoubleProperty("fluid_bulk_modulus", value)
54
+ def getProperties(self):
55
+ return {
56
+ "PoreFluidUnitWeight": self.getPoreFluidUnitWeight(),
57
+ "IsNegativePorePressureCutoff": self.getIsNegativePorePressureCutoff(),
58
+ "NegativePorePressureCutoff": self.getNegativePorePressureCutoff(),
59
+ "PWPMethodByStage": self.getPWPMethodByStage(),
60
+ "MaxNumIterations": self.getMaxNumIterations(),
61
+ "Tolerance": self.getTolerance(),
62
+ "LoadSteps": self.getLoadSteps(),
63
+ "TimeSteps": self.getTimeSteps(),
64
+ "IsScaleTolerance": self.getIsScaleTolerance(),
65
+ "IsAddFluidBodyForce": self.getIsAddFluidBodyForce(),
66
+ "FluidBulkModulus": self.getFluidBulkModulus(),
67
+ }
68
+ def setProperties(self, PoreFluidUnitWeight: float = None, IsNegativePorePressureCutoff: bool = None, NegativePorePressureCutoff: float = None, PWPMethodByStage: bool = None, MaxNumIterations: int = None, Tolerance: float = None, LoadSteps: int = None, TimeSteps: int = None, IsScaleTolerance: bool = None, IsAddFluidBodyForce: bool = None, FluidBulkModulus: float = None):
69
+ if PoreFluidUnitWeight is not None:
70
+ self.setPoreFluidUnitWeight(PoreFluidUnitWeight)
71
+ if IsNegativePorePressureCutoff is not None:
72
+ self.setIsNegativePorePressureCutoff(IsNegativePorePressureCutoff)
73
+ if NegativePorePressureCutoff is not None:
74
+ self.setNegativePorePressureCutoff(NegativePorePressureCutoff)
75
+ if PWPMethodByStage is not None:
76
+ self.setPWPMethodByStage(PWPMethodByStage)
77
+ if MaxNumIterations is not None:
78
+ self.setMaxNumIterations(MaxNumIterations)
79
+ if Tolerance is not None:
80
+ self.setTolerance(Tolerance)
81
+ if LoadSteps is not None:
82
+ self.setLoadSteps(LoadSteps)
83
+ if TimeSteps is not None:
84
+ self.setTimeSteps(TimeSteps)
85
+ if IsScaleTolerance is not None:
86
+ self.setIsScaleTolerance(IsScaleTolerance)
87
+ if IsAddFluidBodyForce is not None:
88
+ self.setIsAddFluidBodyForce(IsAddFluidBodyForce)
89
+ if FluidBulkModulus is not None:
90
+ self.setFluidBulkModulus(FluidBulkModulus)
91
+
92
+ ################ Code below this line will not be overridden ################
93
+ from ._PropertyAccessor import GroundwaterPropertyAccessor
94
+ from rs3.projectSettings.ProjectSettingEnums import *
95
+ class Groundwater(GroundwaterBase):
96
+ """
97
+ Define the method to establish groundwater pore pressure conditions in the model.
98
+
99
+ Examples:
100
+ See :ref:`project_settings_example`.
101
+
102
+ """
103
+ def __init__(self, client: Client, id: str):
104
+ super().__init__(client, id)
105
+ self._propertyAccessor = GroundwaterPropertyAccessor(client, id)
106
+
107
+ def getGroundwaterMethod(self) -> GroundwaterMethodType:
108
+ return self._propertyAccessor.getEnumValue("Method", GroundwaterMethodType)
109
+ def setGroundwaterMethod(self, value : GroundwaterMethodType):
110
+ self._propertyAccessor.setEnumValue("Method", value.value)
111
+ def setLoadStepType(self, value : GWLoadStepType):
112
+ self._propertyAccessor.setEnumValue("load_step_type", value.value)
113
+ def getLoadStepType(self) -> GWLoadStepType:
114
+ return self._propertyAccessor.getEnumValue("load_step_type", GWLoadStepType)
115
+ def setTimeStepType(self, value : TimeStepType):
116
+ self._propertyAccessor.setEnumValue("time_step_type", value.value)
117
+ def getTimeStepType(self) -> TimeStepType:
118
+ return self._propertyAccessor.getEnumValue("time_step_type", TimeStepType)
@@ -0,0 +1,108 @@
1
+ from enum import Enum
2
+
3
+ # units
4
+ class UnitSystemType(Enum):
5
+ METRIC_MPA = "RFC_METRIC_MPA"
6
+ METRIC_KPA = "RFC_METRIC_KPA"
7
+ METRIC_TONNES = "RFC_METRIC_TONNES"
8
+ IMPERIAL_TONS = "RFC_IMPERIAL_TONS"
9
+ IMPERIAL_KSF = "RFC_IMPERIAL_KSF"
10
+ IMPERIAL_PSF = "RFC_IMPERIAL_PSF"
11
+
12
+ class TimeUnitsType(Enum):
13
+ SECONDS = "SECONDS"
14
+ MINUTES = "MINUTES"
15
+ HOURS = "HOURS"
16
+ DAYS = "DAYS"
17
+ MONTHS = "MONTHS"
18
+ YEARS = "YEARS"
19
+
20
+ class PermeabilityUnitsType(Enum):
21
+ FEET_SECONDS = "FEET_SECONDS"
22
+ FEET_MINUTES = "FEET_MINUTES"
23
+ FEET_HOURS = "FEET_HOURS"
24
+ FEET_DAYS = "FEET_DAYS"
25
+ FEET_MONTHS = "FEET_MONTHS"
26
+ FEET_YEARS = "FEET_YEARS"
27
+ INCHES_SECOND = "INCHES_SECOND"
28
+ INCHES_MINUTES = "INCHES_MINUTES"
29
+ INCHES_HOURS = "INCHES_HOURS"
30
+ INCHES_DAYS = "INCHES_DAYS"
31
+ INCHES_MONTHS = "INCHES_MONTHS"
32
+ INCHES_YEARS = "INCHES_YEARS"
33
+ METER_SECONDS = "METER_SECONDS"
34
+ METER_MINUTES = "METER_MINUTES"
35
+ METER_HOURS = "METER_HOURS"
36
+ METER_DAYS = "METER_DAYS"
37
+ METER_MONTHS = "METER_MONTHS"
38
+ METER_YEARS = "METER_YEARS"
39
+ CENTIMETER_SECONDS = "CENTIMETER_SECONDS"
40
+ CENTIMETER_MINUTES = "CENTIMETER_MINUTES"
41
+ CENTIMETER_HOURS = "CENTIMETER_HOURS"
42
+ CENTIMETER_DAYS = "CENTIMETER_DAYS"
43
+ CENTIMETER_MONTHS = "CENTIMETER_MONTHS"
44
+ CENTIMETER_YEARS = "CENTIMETER_YEARS"
45
+ MILLIMETER_SECONDS = "MILLIMETER_SECONDS"
46
+ MILLIMETER_MINUTES = "MILLIMETER_MINUTES"
47
+ MILLIMETER_HOURS = "MILLIMETER_HOURS"
48
+ MILLIMETER_DAYS = "MILLIMETER_DAYS"
49
+ MILLIMETER_MONTHS = "MILLIMETER_MONTHS"
50
+ MILLIMETER_YEARS = "MILLIMETER_YEARS"
51
+
52
+ # Stages
53
+ class PWPMethod(Enum):
54
+ GW_NONE = "GW_NONE"
55
+ GW_SURFACES = "GW_SURFACES"
56
+ GW_STEADYSTATE = "GW_STEADYSTATE"
57
+ GW_TRANSIENT = "GW_TRANSIENT"
58
+
59
+ # Stress Analysis
60
+ class LoadStepType(Enum):
61
+ LoadAuto = "LoadAuto"
62
+ LoadFixed = "LoadFixed"
63
+ LoadAdaptive = "LoadAdaptive"
64
+
65
+ class StressConvergenceCriteriaType(Enum):
66
+ ABSOLUTE_ENERGY = "ABSOLUTE_ENERGY"
67
+ ABSOLUTE_FORCE = "ABSOLUTE_FORCE"
68
+ ABSOLUTE_FORCE_ENERGY = "ABSOLUTE_FORCE_ENERGY"
69
+
70
+ # Solver Options
71
+ class AnalysisType(Enum):
72
+ UNCOUPLED = "UNCOUPLED"
73
+ COUPLED_BIOT = "COUPLED_BIOT"
74
+
75
+ class SolverType(Enum):
76
+ DIRECT_CPU = "DIRECT"
77
+ ITERATIVE_CPU = "ITERATIVE"
78
+ FGMRES_AMG_PRECONDITIONER_CPU = "FGMRES_AMG_PRECONDITIONER"
79
+ FGMRESG_ILU_PRECONDITIONER_CPU = "FGMRESG_ILU_PRECONDITONER"
80
+ DIRECT_GPU = "DIRECT_GPU"
81
+ FGMRES_AMG_GPU = "FGMRES_AMG_GPU"
82
+ AUTO = "AUTO"
83
+
84
+ # Groundwater
85
+ class GWLoadStepType(Enum):
86
+ AUTO = "Auto"
87
+ FIXED = "Fixed"
88
+
89
+ class TimeStepType(Enum):
90
+ AUTO = "Auto"
91
+ FIXED = "Fixed"
92
+
93
+ class GroundwaterMethodType(Enum):
94
+ GW_NONE = "GW_NONE"
95
+ GW_SURFACES = "GW_SURFACES"
96
+ GW_STEADYSTATE = "GW_STEADYSTATE"
97
+ GW_TRANSIENT = "GW_TRANSIENT"
98
+
99
+ # SSR
100
+ class SSRConvergenceType(Enum):
101
+ ABSOLUTE_ENERGY = "ABSOLUTE_ENERGY"
102
+ ABSOLUTE_FORCE = "ABSOLUTE_FORCE"
103
+ ABSOLUTE_FORCE_ENERGY = "ABSOLUTE_FORCE_ENERGY"
104
+
105
+ # Dynamic
106
+ class TimeHistoryType(Enum):
107
+ TIME_AUTO = "TimeAuto"
108
+ NUM_TIME_STEPS = "NumTimeSteps"
@@ -0,0 +1,43 @@
1
+ import rs3.generatedFiles.ProjectSettingsDataService_pb2_grpc as ProjectSettingsDataService_pb2_grpc
2
+ import rs3.generatedFiles.ProjectSettingsDataService_pb2 as ProjectSettingsDataService_pb2
3
+ from rs3._client import Client
4
+ from rs3.projectSettings.ProjectSettingEnums import *
5
+ from rs3.projectSettings.Units import Units
6
+ from rs3.projectSettings.Stages import Stages
7
+ from rs3.projectSettings.StressAnalysis import StressAnalysis
8
+ from rs3.projectSettings.SolverOptions import SolverOptions
9
+ from rs3.projectSettings.Groundwater import Groundwater
10
+ from rs3.projectSettings.ShearStrengthReduction import ShearStrengthReduction
11
+ from rs3.projectSettings.Dynamic import Dynamic
12
+ from rs3.properties._PropertyAccessor import PropertyAccessor
13
+ from rs3._proxyObject import _ProxyObject
14
+
15
+ class ProjectSettings(_ProxyObject):
16
+ """
17
+ Set up the project parameters.
18
+
19
+ Attributes:
20
+ Units (Units): Reference object for modifying property.
21
+ Stages (Stages): Reference object for modifying property.
22
+ StressAnalysis (StressAnalysis): Reference object for modifying property.
23
+ SolverOptions (SolverOptions): Reference object for modifying property.
24
+ Groundwater (Groundwater): Reference object for modifying property.
25
+ ShearStrengthReduction (ShearStrengthReduction): Reference object for modifying property.
26
+ Dynamic (Dynamic): Reference object for modifying property.
27
+
28
+ Examples:
29
+ See :ref:`project_settings_example`.
30
+
31
+ """
32
+ def __init__(self, client : Client, id : str):
33
+ super().__init__(client, id)
34
+ self._projectSettingsDataService = ProjectSettingsDataService_pb2_grpc.ProjectSettingsDataServiceStub(self._client.channel)
35
+ self._propertyAccessor = PropertyAccessor(client, id, self._projectSettingsDataService)
36
+ self.projectId = id
37
+ self.Units = Units(client, id)
38
+ self.Stages = Stages(client, id)
39
+ self.StressAnalysis = StressAnalysis(client, id)
40
+ self.SolverOptions = SolverOptions(client, id)
41
+ self.Groundwater = Groundwater(client, id)
42
+ self.ShearStrengthReduction = ShearStrengthReduction(client, id)
43
+ self.Dynamic = Dynamic(client, id)
@@ -0,0 +1,130 @@
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 ShearStrengthReductionBase(_ProxyObject, IPropertyGroupAccessors):
7
+ def __init__(self, client: Client, id: str):
8
+ super().__init__(client, id)
9
+ self._propertyAccessor = PropertyAccessor(client, id)
10
+ def getSRFIsOn(self) -> bool:
11
+ return self._propertyAccessor.getBoolValue("SRF_is_on")
12
+ def setSRFIsOn(self, value: bool):
13
+ self._propertyAccessor.setBoolValue("SRF_is_on", value)
14
+ def getInitialEstimateOfSRF(self) -> float:
15
+ return self._propertyAccessor.getDoubleProperty("SRF_min")
16
+ def setInitialEstimateOfSRF(self, value: float):
17
+ self._propertyAccessor.setDoubleProperty("SRF_min", value)
18
+ def getSRFAuto(self) -> bool:
19
+ return self._propertyAccessor.getBoolValue("SRF_auto")
20
+ def setSRFAuto(self, value: bool):
21
+ self._propertyAccessor.setBoolValue("SRF_auto", value)
22
+ def getSRFTolerance(self) -> float:
23
+ return self._propertyAccessor.getDoubleProperty("SRF_delta_FOS")
24
+ def setSRFTolerance(self, value: float):
25
+ self._propertyAccessor.setDoubleProperty("SRF_delta_FOS", value)
26
+ def getSRFStepSize(self) -> float:
27
+ return self._propertyAccessor.getDoubleProperty("SRF_step_size")
28
+ def setSRFStepSize(self, value: float):
29
+ self._propertyAccessor.setDoubleProperty("SRF_step_size", value)
30
+ def getFinalSRF(self) -> float:
31
+ return self._propertyAccessor.getDoubleProperty("SRF_max")
32
+ def setFinalSRF(self, value: float):
33
+ self._propertyAccessor.setDoubleProperty("SRF_max", value)
34
+ def getAccelerateSRF(self) -> bool:
35
+ return self._propertyAccessor.getBoolValue("SRF_accelerate")
36
+ def setAccelerateSRF(self, value: bool):
37
+ self._propertyAccessor.setBoolValue("SRF_accelerate", value)
38
+ def getSRFAccelerateAdvanced(self) -> bool:
39
+ """
40
+ In advanced SRF, get if accelerate analysis by reducing number of iterations after failure is on.
41
+ """
42
+ return self._propertyAccessor.getBoolValue("SRF_accelerate_advanced")
43
+ def setSRFAccelerateAdvanced(self, value: bool):
44
+ """
45
+ In advanced SRF, set if accelerate analysis by reducing number of iterations after failure is on.
46
+ """
47
+ self._propertyAccessor.setBoolValue("SRF_accelerate_advanced", value)
48
+ def getApplySSRToMohrCoulombTensileStrength(self) -> bool:
49
+ """
50
+ In advanced SRF, get if apply SSR to Mohr-Coulomb tensile strength is on.
51
+ """
52
+ return self._propertyAccessor.getBoolValue("SRF_tensilestrength")
53
+ def setApplySSRToMohrCoulombTensileStrength(self, value: bool):
54
+ """
55
+ In advanced SRF, set if apply SSR to Mohr-Coulomb tensile strength is on.
56
+ """
57
+ self._propertyAccessor.setBoolValue("SRF_tensilestrength", value)
58
+ def getSRFUserdefined(self) -> bool:
59
+ return self._propertyAccessor.getBoolValue("SRF_userdefined")
60
+ def setSRFUserdefined(self, value: bool):
61
+ self._propertyAccessor.setBoolValue("SRF_userdefined", value)
62
+ def getStressAnalysisTolerance(self) -> float:
63
+ return self._propertyAccessor.getDoubleProperty("SRF_tolerance")
64
+ def setStressAnalysisTolerance(self, value: float):
65
+ self._propertyAccessor.setDoubleProperty("SRF_tolerance", value)
66
+ def getMaximumNumberOfIterations(self) -> int:
67
+ return self._propertyAccessor.getLongProperty("SRF_iterations")
68
+ def setMaximumNumberOfIterations(self, value: int):
69
+ self._propertyAccessor.setLongProperty("SRF_iterations", value)
70
+ def getProperties(self):
71
+ return {
72
+ "SRFIsOn": self.getSRFIsOn(),
73
+ "InitialEstimateOfSRF": self.getInitialEstimateOfSRF(),
74
+ "SRFAuto": self.getSRFAuto(),
75
+ "SRFTolerance": self.getSRFTolerance(),
76
+ "SRFStepSize": self.getSRFStepSize(),
77
+ "FinalSRF": self.getFinalSRF(),
78
+ "AccelerateSRF": self.getAccelerateSRF(),
79
+ "SRFAccelerateAdvanced": self.getSRFAccelerateAdvanced(),
80
+ "ApplySSRToMohrCoulombTensileStrength": self.getApplySSRToMohrCoulombTensileStrength(),
81
+ "SRFUserdefined": self.getSRFUserdefined(),
82
+ "StressAnalysisTolerance": self.getStressAnalysisTolerance(),
83
+ "MaximumNumberOfIterations": self.getMaximumNumberOfIterations(),
84
+ }
85
+ def setProperties(self, SRFIsOn: bool = None, InitialEstimateOfSRF: float = None, SRFAuto: bool = None, SRFTolerance: float = None, SRFStepSize: float = None, FinalSRF: float = None, AccelerateSRF: bool = None, SRFAccelerateAdvanced: bool = None, ApplySSRToMohrCoulombTensileStrength: bool = None, SRFUserdefined: bool = None, StressAnalysisTolerance: float = None, MaximumNumberOfIterations: int = None):
86
+ if SRFIsOn is not None:
87
+ self.setSRFIsOn(SRFIsOn)
88
+ if InitialEstimateOfSRF is not None:
89
+ self.setInitialEstimateOfSRF(InitialEstimateOfSRF)
90
+ if SRFAuto is not None:
91
+ self.setSRFAuto(SRFAuto)
92
+ if SRFTolerance is not None:
93
+ self.setSRFTolerance(SRFTolerance)
94
+ if SRFStepSize is not None:
95
+ self.setSRFStepSize(SRFStepSize)
96
+ if FinalSRF is not None:
97
+ self.setFinalSRF(FinalSRF)
98
+ if AccelerateSRF is not None:
99
+ self.setAccelerateSRF(AccelerateSRF)
100
+ if SRFAccelerateAdvanced is not None:
101
+ self.setSRFAccelerateAdvanced(SRFAccelerateAdvanced)
102
+ if ApplySSRToMohrCoulombTensileStrength is not None:
103
+ self.setApplySSRToMohrCoulombTensileStrength(ApplySSRToMohrCoulombTensileStrength)
104
+ if SRFUserdefined is not None:
105
+ self.setSRFUserdefined(SRFUserdefined)
106
+ if StressAnalysisTolerance is not None:
107
+ self.setStressAnalysisTolerance(StressAnalysisTolerance)
108
+ if MaximumNumberOfIterations is not None:
109
+ self.setMaximumNumberOfIterations(MaximumNumberOfIterations)
110
+
111
+ ################ Code below this line will not be overridden ################
112
+ from ._PropertyAccessor import SSRPropertyAccessor
113
+ from rs3.projectSettings.ProjectSettingEnums import *
114
+ class ShearStrengthReduction(ShearStrengthReductionBase):
115
+ """
116
+ This module allows to automatically perform a finite element slope stability analysis using the
117
+ Shear Strength Reduction (SSR) method.
118
+
119
+ Examples:
120
+ See :ref:`project_settings_example`.
121
+
122
+ """
123
+ def __init__(self, client: Client, id: str):
124
+ super().__init__(client, id)
125
+ self._propertyAccessor = SSRPropertyAccessor(client, id)
126
+
127
+ def getSSRConvergenceType(self) -> SSRConvergenceType:
128
+ return self._propertyAccessor.getEnumValue("SRF_convergencetype", SSRConvergenceType)
129
+ def setSSRConvergenceType(self, value : SSRConvergenceType):
130
+ self._propertyAccessor.setEnumValue("SRF_convergencetype", value.value)
@@ -0,0 +1,88 @@
1
+ from rs3.projectSettings.ProjectSettingEnums import *
2
+ from rs3._client import Client
3
+ from ._PropertyAccessor import StressAnalysisPropertyAccessor
4
+ from rs3._proxyObject import _ProxyObject
5
+
6
+
7
+ class SolverOptions(_ProxyObject):
8
+ """
9
+ Set the solid and fluid interaction type and solver type.
10
+
11
+ Examples:
12
+ See :ref:`project_settings_example`.
13
+
14
+ """
15
+ def __init__(self, client: Client, projectId: str):
16
+ super().__init__(client, projectId)
17
+ self._propertyAccessor = StressAnalysisPropertyAccessor(client, projectId)
18
+
19
+ def getAnalysisType(self) -> AnalysisType:
20
+ """
21
+ Get the interaction between fluid pore pressure and solid stresses and deformation.
22
+ """
23
+ return self._propertyAccessor.getEnumValue("Method", AnalysisType)
24
+
25
+ def setAnalysisType(self, value: AnalysisType):
26
+ """
27
+ Set the interaction between fluid pore pressure and solid stresses and deformation.
28
+ """
29
+ self._propertyAccessor.setEnumValue("Method", value.value)
30
+
31
+ def getSolverType(self) -> SolverType:
32
+ """
33
+ Get the currently configured solver type for solving the matrix representing the
34
+ system of equations defined by your model.
35
+
36
+ Returns:
37
+ SolverType: The solver type currently set for this model.
38
+
39
+ Notes:
40
+ - DIRECT_CPU: Direct solver running on CPU.
41
+ - ITERATIVE_CPU: Iterative CPU solver (PCG with ICT preconditioner).
42
+ - FGMRES_AMG_PRECONDITIONER_CPU: FGMRES solver on CPU with AMG preconditioner.
43
+ - FGMRESG_ILU_PRECONDITIONER_CPU: FGMRES(G) solver on CPU with ILU preconditioner.
44
+ - DIRECT_GPU: Direct solver running on GPU.
45
+ - FGMRES_AMG_GPU: FGMRES solver on GPU with AMG preconditioner.
46
+ - AUTO: Automatically select the solver based on the problem configuration.
47
+
48
+ """
49
+ return self._propertyAccessor.getEnumValue("Solver", SolverType)
50
+
51
+ def setSolverType(self, value: SolverType):
52
+ """
53
+ Set the currently configured solver type for solving the matrix representing the
54
+ system of equations defined by your model.
55
+
56
+ Args:
57
+ value (SolverType): The solver type to configure.
58
+
59
+ Notes:
60
+ - ITERATIVE_CPU corresponds to a CPU-based PCG solver with an ICT preconditioner.
61
+ - GPU-based solvers require compatible GPU hardware.
62
+ - AUTO allows the system to determine the most appropriate solver.
63
+
64
+ """
65
+ self._propertyAccessor.setEnumValue("Solver", value.value)
66
+
67
+ def getMemoryFillLevel(self) -> float:
68
+ return self._propertyAccessor.getDoubleProperty("SolverFillLevel")
69
+
70
+ def setMemoryFillLevel(self, value: float):
71
+ self._propertyAccessor.setDoubleProperty("SolverFillLevel", value)
72
+
73
+ def getRelativeTolerance(self) -> float:
74
+ return self._propertyAccessor.getDoubleProperty("Tolerance")
75
+
76
+ def setRelativeTolerance(self, value: float):
77
+ self._propertyAccessor.setDoubleProperty("Tolerance", value)
78
+
79
+ def getProperties(self):
80
+ return {
81
+ "AnalysisMethod": self.getAnalysisType(),
82
+ "Solver": self.getSolverType(),
83
+ }
84
+ def setProperties(self, AnalysisMethod: AnalysisType = None, Solver: SolverType = None):
85
+ if AnalysisMethod is not None:
86
+ self.setAnalysisType(AnalysisMethod)
87
+ if Solver is not None:
88
+ self.setSolverType(Solver)