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.
- rs3/ApplicationManager.py +77 -0
- rs3/ColorPicker.py +123 -0
- rs3/CommonEnums.py +16 -0
- rs3/Compute.py +105 -0
- rs3/ExternalVolume.py +48 -0
- rs3/Geometry.py +74 -0
- rs3/Model.py +795 -0
- rs3/ModelEnums.py +9 -0
- rs3/RS3Modeler.py +109 -0
- rs3/Restraints.py +91 -0
- rs3/Selection.py +123 -0
- rs3/__init__.py +18 -0
- rs3/_client.py +57 -0
- rs3/_proxyObject.py +5 -0
- rs3/generatedFiles/BFPCommonMessage_pb2.py +38 -0
- rs3/generatedFiles/BFPCommonMessage_pb2.pyi +47 -0
- rs3/generatedFiles/BFPCommonMessage_pb2_grpc.py +24 -0
- rs3/generatedFiles/BeamDataService_pb2.py +37 -0
- rs3/generatedFiles/BeamDataService_pb2.pyi +5 -0
- rs3/generatedFiles/BeamDataService_pb2_grpc.py +226 -0
- rs3/generatedFiles/BeamService_pb2.py +37 -0
- rs3/generatedFiles/BeamService_pb2.pyi +5 -0
- rs3/generatedFiles/BeamService_pb2_grpc.py +140 -0
- rs3/generatedFiles/BeamStageFactorService_pb2.py +37 -0
- rs3/generatedFiles/BeamStageFactorService_pb2.pyi +5 -0
- rs3/generatedFiles/BeamStageFactorService_pb2_grpc.py +140 -0
- rs3/generatedFiles/BeamsResultsQueryService_pb2.py +50 -0
- rs3/generatedFiles/BeamsResultsQueryService_pb2.pyi +48 -0
- rs3/generatedFiles/BeamsResultsQueryService_pb2_grpc.py +141 -0
- rs3/generatedFiles/BoltDataService_pb2.py +37 -0
- rs3/generatedFiles/BoltDataService_pb2.pyi +5 -0
- rs3/generatedFiles/BoltDataService_pb2_grpc.py +226 -0
- rs3/generatedFiles/BoltService_pb2.py +37 -0
- rs3/generatedFiles/BoltService_pb2.pyi +5 -0
- rs3/generatedFiles/BoltService_pb2_grpc.py +140 -0
- rs3/generatedFiles/BoltsResultsQueryService_pb2.py +51 -0
- rs3/generatedFiles/BoltsResultsQueryService_pb2.pyi +75 -0
- rs3/generatedFiles/BoltsResultsQueryService_pb2_grpc.py +141 -0
- rs3/generatedFiles/ClientService_pb2.py +40 -0
- rs3/generatedFiles/ClientService_pb2.pyi +15 -0
- rs3/generatedFiles/ClientService_pb2_grpc.py +97 -0
- rs3/generatedFiles/CommonGeometryMessages_pb2.py +52 -0
- rs3/generatedFiles/CommonGeometryMessages_pb2.pyi +92 -0
- rs3/generatedFiles/CommonGeometryMessages_pb2_grpc.py +24 -0
- rs3/generatedFiles/CommonMessages_pb2.py +66 -0
- rs3/generatedFiles/CommonMessages_pb2.pyi +145 -0
- rs3/generatedFiles/CommonMessages_pb2_grpc.py +24 -0
- rs3/generatedFiles/CompositeLinerDataService_pb2.py +47 -0
- rs3/generatedFiles/CompositeLinerDataService_pb2.pyi +51 -0
- rs3/generatedFiles/CompositeLinerDataService_pb2_grpc.py +227 -0
- rs3/generatedFiles/CompositeLinerResultsQueryService_pb2.py +63 -0
- rs3/generatedFiles/CompositeLinerResultsQueryService_pb2.pyi +139 -0
- rs3/generatedFiles/CompositeLinerResultsQueryService_pb2_grpc.py +314 -0
- rs3/generatedFiles/CompositeLinerService_pb2.py +37 -0
- rs3/generatedFiles/CompositeLinerService_pb2.pyi +5 -0
- rs3/generatedFiles/CompositeLinerService_pb2_grpc.py +140 -0
- rs3/generatedFiles/ComputeService_pb2.py +48 -0
- rs3/generatedFiles/ComputeService_pb2.pyi +56 -0
- rs3/generatedFiles/ComputeService_pb2_grpc.py +147 -0
- rs3/generatedFiles/ExternalVolumesService_pb2.py +45 -0
- rs3/generatedFiles/ExternalVolumesService_pb2.pyi +34 -0
- rs3/generatedFiles/ExternalVolumesService_pb2_grpc.py +270 -0
- rs3/generatedFiles/FieldStressService_pb2.py +37 -0
- rs3/generatedFiles/FieldStressService_pb2.pyi +5 -0
- rs3/generatedFiles/FieldStressService_pb2_grpc.py +140 -0
- rs3/generatedFiles/FieldStressSourceService_pb2.py +85 -0
- rs3/generatedFiles/FieldStressSourceService_pb2.pyi +182 -0
- rs3/generatedFiles/FieldStressSourceService_pb2_grpc.py +657 -0
- rs3/generatedFiles/GaussPointFailureMessage_pb2.py +37 -0
- rs3/generatedFiles/GaussPointFailureMessage_pb2.pyi +14 -0
- rs3/generatedFiles/GaussPointFailureMessage_pb2_grpc.py +24 -0
- rs3/generatedFiles/HydraulicStageFactorService_pb2.py +45 -0
- rs3/generatedFiles/HydraulicStageFactorService_pb2.pyi +36 -0
- rs3/generatedFiles/HydraulicStageFactorService_pb2_grpc.py +227 -0
- rs3/generatedFiles/JointDataService_pb2.py +45 -0
- rs3/generatedFiles/JointDataService_pb2.pyi +30 -0
- rs3/generatedFiles/JointDataService_pb2_grpc.py +313 -0
- rs3/generatedFiles/JointResultsQueryService_pb2.py +54 -0
- rs3/generatedFiles/JointResultsQueryService_pb2.pyi +92 -0
- rs3/generatedFiles/JointResultsQueryService_pb2_grpc.py +141 -0
- rs3/generatedFiles/JointService_pb2.py +45 -0
- rs3/generatedFiles/JointService_pb2.pyi +30 -0
- rs3/generatedFiles/JointService_pb2_grpc.py +227 -0
- rs3/generatedFiles/JointStageFactorService_pb2.py +37 -0
- rs3/generatedFiles/JointStageFactorService_pb2.pyi +5 -0
- rs3/generatedFiles/JointStageFactorService_pb2_grpc.py +140 -0
- rs3/generatedFiles/LinerDataService_pb2.py +37 -0
- rs3/generatedFiles/LinerDataService_pb2.pyi +5 -0
- rs3/generatedFiles/LinerDataService_pb2_grpc.py +226 -0
- rs3/generatedFiles/LinerService_pb2.py +37 -0
- rs3/generatedFiles/LinerService_pb2.pyi +5 -0
- rs3/generatedFiles/LinerService_pb2_grpc.py +140 -0
- rs3/generatedFiles/LinerStageFactorService_pb2.py +37 -0
- rs3/generatedFiles/LinerStageFactorService_pb2.pyi +5 -0
- rs3/generatedFiles/LinerStageFactorService_pb2_grpc.py +140 -0
- rs3/generatedFiles/MaterialDataService_pb2.py +37 -0
- rs3/generatedFiles/MaterialDataService_pb2.pyi +5 -0
- rs3/generatedFiles/MaterialDataService_pb2_grpc.py +226 -0
- rs3/generatedFiles/MaterialDatumService_pb2.py +45 -0
- rs3/generatedFiles/MaterialDatumService_pb2.pyi +38 -0
- rs3/generatedFiles/MaterialDatumService_pb2_grpc.py +140 -0
- rs3/generatedFiles/MaterialHydraulicDataService_pb2.py +93 -0
- rs3/generatedFiles/MaterialHydraulicDataService_pb2.pyi +193 -0
- rs3/generatedFiles/MaterialHydraulicDataService_pb2_grpc.py +829 -0
- rs3/generatedFiles/MaterialHydraulicModelService_pb2.py +55 -0
- rs3/generatedFiles/MaterialHydraulicModelService_pb2.pyi +79 -0
- rs3/generatedFiles/MaterialHydraulicModelService_pb2_grpc.py +313 -0
- rs3/generatedFiles/MaterialInitialConditionsService_pb2.py +37 -0
- rs3/generatedFiles/MaterialInitialConditionsService_pb2.pyi +5 -0
- rs3/generatedFiles/MaterialInitialConditionsService_pb2_grpc.py +140 -0
- rs3/generatedFiles/MaterialJointService_pb2.py +49 -0
- rs3/generatedFiles/MaterialJointService_pb2.pyi +52 -0
- rs3/generatedFiles/MaterialJointService_pb2_grpc.py +183 -0
- rs3/generatedFiles/MaterialJointSetSlipCriterionService_pb2.py +69 -0
- rs3/generatedFiles/MaterialJointSetSlipCriterionService_pb2.pyi +130 -0
- rs3/generatedFiles/MaterialJointSetSlipCriterionService_pb2_grpc.py +398 -0
- rs3/generatedFiles/MaterialJointStageFactorService_pb2.py +45 -0
- rs3/generatedFiles/MaterialJointStageFactorService_pb2.pyi +42 -0
- rs3/generatedFiles/MaterialJointStageFactorService_pb2_grpc.py +140 -0
- rs3/generatedFiles/MaterialStageFactorsService_pb2.py +37 -0
- rs3/generatedFiles/MaterialStageFactorsService_pb2.pyi +5 -0
- rs3/generatedFiles/MaterialStageFactorsService_pb2_grpc.py +140 -0
- rs3/generatedFiles/MaterialStiffnessFormulaService_pb2.py +47 -0
- rs3/generatedFiles/MaterialStiffnessFormulaService_pb2.pyi +54 -0
- rs3/generatedFiles/MaterialStiffnessFormulaService_pb2_grpc.py +140 -0
- rs3/generatedFiles/MaterialStiffnessService_pb2.py +53 -0
- rs3/generatedFiles/MaterialStiffnessService_pb2.pyi +66 -0
- rs3/generatedFiles/MaterialStiffnessService_pb2_grpc.py +313 -0
- rs3/generatedFiles/MaterialStrengthService_pb2.py +105 -0
- rs3/generatedFiles/MaterialStrengthService_pb2.pyi +243 -0
- rs3/generatedFiles/MaterialStrengthService_pb2_grpc.py +833 -0
- rs3/generatedFiles/MaterialUnsaturatedSoilDataService_pb2.py +47 -0
- rs3/generatedFiles/MaterialUnsaturatedSoilDataService_pb2.pyi +43 -0
- rs3/generatedFiles/MaterialUnsaturatedSoilDataService_pb2_grpc.py +228 -0
- rs3/generatedFiles/MeshSettingsService_pb2.py +41 -0
- rs3/generatedFiles/MeshSettingsService_pb2.pyi +16 -0
- rs3/generatedFiles/MeshSettingsService_pb2_grpc.py +184 -0
- rs3/generatedFiles/ModelFunctionService_pb2.py +119 -0
- rs3/generatedFiles/ModelFunctionService_pb2.pyi +331 -0
- rs3/generatedFiles/ModelFunctionService_pb2_grpc.py +871 -0
- rs3/generatedFiles/ModelService_pb2.py +342 -0
- rs3/generatedFiles/ModelService_pb2.pyi +962 -0
- rs3/generatedFiles/ModelService_pb2_grpc.py +3322 -0
- rs3/generatedFiles/PileDataService_pb2.py +55 -0
- rs3/generatedFiles/PileDataService_pb2.pyi +63 -0
- rs3/generatedFiles/PileDataService_pb2_grpc.py +399 -0
- rs3/generatedFiles/PileForepoleResultsQueryService_pb2.py +51 -0
- rs3/generatedFiles/PileForepoleResultsQueryService_pb2.pyi +63 -0
- rs3/generatedFiles/PileForepoleResultsQueryService_pb2_grpc.py +141 -0
- rs3/generatedFiles/PileStageFactorService_pb2.py +37 -0
- rs3/generatedFiles/PileStageFactorService_pb2.pyi +5 -0
- rs3/generatedFiles/PileStageFactorService_pb2_grpc.py +140 -0
- rs3/generatedFiles/PlainStrandCableBoltService_pb2.py +44 -0
- rs3/generatedFiles/PlainStrandCableBoltService_pb2.pyi +30 -0
- rs3/generatedFiles/PlainStrandCableBoltService_pb2_grpc.py +140 -0
- rs3/generatedFiles/ProjectSettingsDataService_pb2.py +69 -0
- rs3/generatedFiles/ProjectSettingsDataService_pb2.pyi +119 -0
- rs3/generatedFiles/ProjectSettingsDataService_pb2_grpc.py +786 -0
- rs3/generatedFiles/RFCApplicationService_pb2.py +34 -0
- rs3/generatedFiles/RFCApplicationService_pb2.pyi +27 -0
- rs3/generatedFiles/RFCApplicationService_pb2_grpc.py +145 -0
- rs3/generatedFiles/RS3ModelerService_pb2.py +50 -0
- rs3/generatedFiles/RS3ModelerService_pb2.pyi +45 -0
- rs3/generatedFiles/RS3ModelerService_pb2_grpc.py +183 -0
- rs3/generatedFiles/RelativeStageFactorService_pb2.py +40 -0
- rs3/generatedFiles/RelativeStageFactorService_pb2.pyi +17 -0
- rs3/generatedFiles/RelativeStageFactorService_pb2_grpc.py +97 -0
- rs3/generatedFiles/RestraintsService_pb2.py +62 -0
- rs3/generatedFiles/RestraintsService_pb2.pyi +84 -0
- rs3/generatedFiles/RestraintsService_pb2_grpc.py +312 -0
- rs3/generatedFiles/ResultsQueryCommonMessage_pb2.py +56 -0
- rs3/generatedFiles/ResultsQueryCommonMessage_pb2.pyi +85 -0
- rs3/generatedFiles/ResultsQueryCommonMessage_pb2_grpc.py +24 -0
- rs3/generatedFiles/ResultsQueryService_pb2.py +87 -0
- rs3/generatedFiles/ResultsQueryService_pb2.pyi +185 -0
- rs3/generatedFiles/ResultsQueryService_pb2_grpc.py +745 -0
- rs3/generatedFiles/SelectionService_pb2.py +49 -0
- rs3/generatedFiles/SelectionService_pb2.pyi +51 -0
- rs3/generatedFiles/SelectionService_pb2_grpc.py +269 -0
- rs3/generatedFiles/SolidsResultsQueryService_pb2.py +93 -0
- rs3/generatedFiles/SolidsResultsQueryService_pb2.pyi +213 -0
- rs3/generatedFiles/SolidsResultsQueryService_pb2_grpc.py +195 -0
- rs3/generatedFiles/StageFactorService_pb2.py +58 -0
- rs3/generatedFiles/StageFactorService_pb2.pyi +79 -0
- rs3/generatedFiles/StageFactorService_pb2_grpc.py +226 -0
- rs3/generatedFiles/StiffnessStageFactorService_pb2.py +37 -0
- rs3/generatedFiles/StiffnessStageFactorService_pb2.pyi +5 -0
- rs3/generatedFiles/StiffnessStageFactorService_pb2_grpc.py +140 -0
- rs3/generatedFiles/StrengthStageFactorService_pb2.py +37 -0
- rs3/generatedFiles/StrengthStageFactorService_pb2.pyi +5 -0
- rs3/generatedFiles/StrengthStageFactorService_pb2_grpc.py +140 -0
- rs3/generatedFiles/WaterByLocationDataService_pb2.py +61 -0
- rs3/generatedFiles/WaterByLocationDataService_pb2.pyi +95 -0
- rs3/generatedFiles/WaterByLocationDataService_pb2_grpc.py +312 -0
- rs3/generatedFiles/WaterPressureGridDataService_pb2.py +63 -0
- rs3/generatedFiles/WaterPressureGridDataService_pb2.pyi +107 -0
- rs3/generatedFiles/WaterPressureGridDataService_pb2_grpc.py +312 -0
- rs3/generatedFiles/__init__.py +3 -0
- rs3/loadings/LoadingEnums.py +6 -0
- rs3/loadings/Loadings.py +15 -0
- rs3/loadings/__init__.py +0 -0
- rs3/loadings/fieldStress/AdvancedConstant.py +115 -0
- rs3/loadings/fieldStress/AdvancedGravity.py +176 -0
- rs3/loadings/fieldStress/Constant.py +119 -0
- rs3/loadings/fieldStress/FieldStress.py +38 -0
- rs3/loadings/fieldStress/Gravity.py +206 -0
- rs3/loadings/fieldStress/_PropertyAccessor.py +41 -0
- rs3/loadings/fieldStress/__init__.py +0 -0
- rs3/mesh/Graded.py +59 -0
- rs3/mesh/Mesh.py +50 -0
- rs3/mesh/MeshEnums.py +16 -0
- rs3/mesh/Uniform.py +35 -0
- rs3/mesh/_PropertyAccessor.py +10 -0
- rs3/mesh/__init__.py +0 -0
- rs3/projectSettings/Dynamic.py +110 -0
- rs3/projectSettings/Groundwater.py +118 -0
- rs3/projectSettings/ProjectSettingEnums.py +108 -0
- rs3/projectSettings/ProjectSettings.py +43 -0
- rs3/projectSettings/ShearStrengthReduction.py +130 -0
- rs3/projectSettings/SolverOptions.py +88 -0
- rs3/projectSettings/Stages.py +162 -0
- rs3/projectSettings/StressAnalysis.py +183 -0
- rs3/projectSettings/Units.py +82 -0
- rs3/projectSettings/_PropertyAccessor.py +133 -0
- rs3/projectSettings/__init__.py +0 -0
- rs3/properties/CustomHydraulicModel.py +129 -0
- rs3/properties/DiscreteFunction.py +147 -0
- rs3/properties/GeneralizedAnisotropicFunction.py +98 -0
- rs3/properties/IPropertyGroupAccessors.py +12 -0
- rs3/properties/PropertyEnums.py +387 -0
- rs3/properties/ShearNormalFunction.py +94 -0
- rs3/properties/SnowdenStrengthFunction.py +115 -0
- rs3/properties/_PropertyAccessor.py +111 -0
- rs3/properties/__init__.py +0 -0
- rs3/properties/beam/Beam.py +86 -0
- rs3/properties/beam/BeamCommon.py +175 -0
- rs3/properties/beam/Standard.py +97 -0
- rs3/properties/beam/Truss.py +23 -0
- rs3/properties/beam/_PropertyAccessor.py +9 -0
- rs3/properties/beam/__init__.py +0 -0
- rs3/properties/bolt/Bolt.py +81 -0
- rs3/properties/bolt/EndAnchored.py +77 -0
- rs3/properties/bolt/FullyBonded.py +78 -0
- rs3/properties/bolt/PlainStrandCable.py +151 -0
- rs3/properties/bolt/Swellex.py +106 -0
- rs3/properties/bolt/Tieback.py +176 -0
- rs3/properties/bolt/_PropertyAccessor.py +7 -0
- rs3/properties/bolt/__init__.py +0 -0
- rs3/properties/groundwater/WaterByLocation.py +83 -0
- rs3/properties/groundwater/WaterGrid.py +120 -0
- rs3/properties/groundwater/_PropertyAccessor.py +36 -0
- rs3/properties/groundwater/__init__.py +0 -0
- rs3/properties/joint/BartonBandis.py +118 -0
- rs3/properties/joint/GeosyntheticHyperbolic.py +158 -0
- rs3/properties/joint/Joint.py +176 -0
- rs3/properties/joint/MaterialDependent.py +107 -0
- rs3/properties/joint/MohrCoulomb.py +169 -0
- rs3/properties/joint/NoneSlip.py +68 -0
- rs3/properties/joint/_PropertyAccessor.py +9 -0
- rs3/properties/joint/__init__.py +0 -0
- rs3/properties/liner/Geosynthetic.py +85 -0
- rs3/properties/liner/Liner.py +83 -0
- rs3/properties/liner/ReinforcedConcrete.py +216 -0
- rs3/properties/liner/Standard.py +183 -0
- rs3/properties/liner/_PropertyAccessor.py +7 -0
- rs3/properties/liner/__init__.py +0 -0
- rs3/properties/liningComposition/LiningComposition.py +244 -0
- rs3/properties/liningComposition/_PropertyAccessor.py +7 -0
- rs3/properties/liningComposition/__init__.py +0 -0
- rs3/properties/material/Material.py +74 -0
- rs3/properties/material/__init__.py +0 -0
- rs3/properties/material/constitutiveModel/AnisotropicLinear.py +149 -0
- rs3/properties/material/constitutiveModel/AnisotropicLinearPlanarBase.py +72 -0
- rs3/properties/material/constitutiveModel/BarcelonaBasic.py +158 -0
- rs3/properties/material/constitutiveModel/BartonBandis.py +77 -0
- rs3/properties/material/constitutiveModel/BaseConstitutiveModel.py +11 -0
- rs3/properties/material/constitutiveModel/BoundingSurfacePlasticity.py +88 -0
- rs3/properties/material/constitutiveModel/CamClay.py +144 -0
- rs3/properties/material/constitutiveModel/ChSoil.py +111 -0
- rs3/properties/material/constitutiveModel/ConstitutiveModel.py +87 -0
- rs3/properties/material/constitutiveModel/CySoil.py +137 -0
- rs3/properties/material/constitutiveModel/DiscreteFunction.py +39 -0
- rs3/properties/material/constitutiveModel/DoubleYield.py +130 -0
- rs3/properties/material/constitutiveModel/DruckerPrager.py +136 -0
- rs3/properties/material/constitutiveModel/GeneralizedAnisotropic.py +39 -0
- rs3/properties/material/constitutiveModel/GeneralizedHoekBrown.py +226 -0
- rs3/properties/material/constitutiveModel/HardeningSoil.py +156 -0
- rs3/properties/material/constitutiveModel/HardeningSoilWithSmallStrain.py +170 -0
- rs3/properties/material/constitutiveModel/HoekBrown.py +125 -0
- rs3/properties/material/constitutiveModel/Hyperbolic.py +77 -0
- rs3/properties/material/constitutiveModel/JointedGeneralizedHoekBrown.py +184 -0
- rs3/properties/material/constitutiveModel/JointedMohrCoulomb.py +173 -0
- rs3/properties/material/constitutiveModel/ManzariAndDafalias.py +148 -0
- rs3/properties/material/constitutiveModel/ModifiedCamClay.py +11 -0
- rs3/properties/material/constitutiveModel/MohrCoulomb.py +147 -0
- rs3/properties/material/constitutiveModel/MohrCoulombUnsaturatedZoneCalculations.py +80 -0
- rs3/properties/material/constitutiveModel/MohrCoulombWithCap.py +154 -0
- rs3/properties/material/constitutiveModel/Norsand.py +146 -0
- rs3/properties/material/constitutiveModel/PowerCurve.py +119 -0
- rs3/properties/material/constitutiveModel/Shansep.py +214 -0
- rs3/properties/material/constitutiveModel/ShearNormalFunction.py +34 -0
- rs3/properties/material/constitutiveModel/SnowdenAnisotropicLinear.py +108 -0
- rs3/properties/material/constitutiveModel/SoftSoil.py +104 -0
- rs3/properties/material/constitutiveModel/SoftSoilCreep.py +111 -0
- rs3/properties/material/constitutiveModel/SofteningHardening.py +214 -0
- rs3/properties/material/constitutiveModel/SwellingRock.py +202 -0
- rs3/properties/material/constitutiveModel/UnsaturatedZoneCalculations.py +138 -0
- rs3/properties/material/constitutiveModel/VerticalStressRatio.py +113 -0
- rs3/properties/material/constitutiveModel/_PropertyAccessor.py +96 -0
- rs3/properties/material/constitutiveModel/__init__.py +0 -0
- rs3/properties/material/constitutiveModel/jointOption/BartonBandis.py +109 -0
- rs3/properties/material/constitutiveModel/jointOption/MaterialJoint.py +48 -0
- rs3/properties/material/constitutiveModel/jointOption/MaterialJointOptions.py +32 -0
- rs3/properties/material/constitutiveModel/jointOption/MohrCoulomb.py +142 -0
- rs3/properties/material/constitutiveModel/jointOption/PlaneOrientationBase.py +92 -0
- rs3/properties/material/constitutiveModel/jointOption/SimpleHyperbolic.py +112 -0
- rs3/properties/material/constitutiveModel/jointOption/_PropertyAccessor.py +61 -0
- rs3/properties/material/constitutiveModel/jointOption/__init__.py +0 -0
- rs3/properties/material/constitutiveModel/stiffness/BaseStiffness.py +11 -0
- rs3/properties/material/constitutiveModel/stiffness/DuncanChangHyperbolic.py +128 -0
- rs3/properties/material/constitutiveModel/stiffness/GeneralizedHoekBrownEstimation.py +50 -0
- rs3/properties/material/constitutiveModel/stiffness/LinearIsotropic.py +106 -0
- rs3/properties/material/constitutiveModel/stiffness/NonlinearIsotropic.py +104 -0
- rs3/properties/material/constitutiveModel/stiffness/Orthotropic.py +296 -0
- rs3/properties/material/constitutiveModel/stiffness/TransverselyIsotropic.py +186 -0
- rs3/properties/material/constitutiveModel/stiffness/_PropertyAccessor.py +33 -0
- rs3/properties/material/constitutiveModel/stiffness/__init__.py +0 -0
- rs3/properties/material/constitutiveModel/stiffness/formula/Formula1.py +96 -0
- rs3/properties/material/constitutiveModel/stiffness/formula/Formula2.py +136 -0
- rs3/properties/material/constitutiveModel/stiffness/formula/Formula3.py +113 -0
- rs3/properties/material/constitutiveModel/stiffness/formula/_PropertyAccessor.py +37 -0
- rs3/properties/material/constitutiveModel/stiffness/formula/__init__.py +0 -0
- rs3/properties/material/datum/CohesionDatumDependency.py +99 -0
- rs3/properties/material/datum/Datum.py +23 -0
- rs3/properties/material/datum/FrictionAngleDatumDependency.py +99 -0
- rs3/properties/material/datum/YoungsModulusDatumDependency.py +78 -0
- rs3/properties/material/datum/_PropertyAccessor.py +26 -0
- rs3/properties/material/datum/__init__.py +0 -0
- rs3/properties/material/hydraulic/FEAGroundwater/Brooks.py +71 -0
- rs3/properties/material/hydraulic/FEAGroundwater/Custom.py +79 -0
- rs3/properties/material/hydraulic/FEAGroundwater/FEAGroundwater.py +85 -0
- rs3/properties/material/hydraulic/FEAGroundwater/Fredlund.py +82 -0
- rs3/properties/material/hydraulic/FEAGroundwater/Gardner.py +72 -0
- rs3/properties/material/hydraulic/FEAGroundwater/HydraulicMethodVectors.py +97 -0
- rs3/properties/material/hydraulic/FEAGroundwater/HydraulicParametersCommon.py +157 -0
- rs3/properties/material/hydraulic/FEAGroundwater/Simple.py +37 -0
- rs3/properties/material/hydraulic/FEAGroundwater/VanGenuchten.py +94 -0
- rs3/properties/material/hydraulic/FEAGroundwater/_PropertyAccessor.py +16 -0
- rs3/properties/material/hydraulic/FEAGroundwater/__init__.py +0 -0
- rs3/properties/material/hydraulic/Hydraulic.py +111 -0
- rs3/properties/material/hydraulic/PhreaticConditions.py +37 -0
- rs3/properties/material/hydraulic/StaticGroundwater.py +100 -0
- rs3/properties/material/hydraulic/WaterConditions.py +110 -0
- rs3/properties/material/hydraulic/_PropertyAccessor.py +31 -0
- rs3/properties/material/hydraulic/__init__.py +0 -0
- rs3/properties/material/initialConditions/InitialConditions.py +108 -0
- rs3/properties/material/initialConditions/_PropertyAccessor.py +11 -0
- rs3/properties/material/initialConditions/__init__.py +0 -0
- rs3/properties/material/stageFactors/StageFactors.py +77 -0
- rs3/properties/material/stageFactors/_PropertyAccessor.py +7 -0
- rs3/properties/material/stageFactors/__init__.py +0 -0
- rs3/properties/pile/EndCondition.py +109 -0
- rs3/properties/pile/Linear.py +69 -0
- rs3/properties/pile/MohrCoulomb.py +123 -0
- rs3/properties/pile/MultiLinear.py +70 -0
- rs3/properties/pile/Pile.py +108 -0
- rs3/properties/pile/PileCommon.py +99 -0
- rs3/properties/pile/_PropertyAccessor.py +9 -0
- rs3/properties/pile/__init__.py +0 -0
- rs3/properties/stageFactors/IStageFactorBase.py +10 -0
- rs3/properties/stageFactors/StageFactorBaseInterfaces.py +24 -0
- rs3/properties/stageFactors/StageFactorInterfaces.py +70 -0
- rs3/properties/stageFactors/_StageFactorInterface.py +48 -0
- rs3/properties/stageFactors/_StageFactorPropertyAccessor.py +18 -0
- rs3/properties/stageFactors/__init__.py +0 -0
- rs3/results/BeamResults.py +181 -0
- rs3/results/BoltResults.py +214 -0
- rs3/results/CompositeLinerResults.py +374 -0
- rs3/results/JointResults.py +160 -0
- rs3/results/PileForepoleResults.py +219 -0
- rs3/results/ResultEnums.py +146 -0
- rs3/results/Results.py +661 -0
- rs3/results/ResultsCommon.py +66 -0
- rs3/results/SolidElementResults.py +175 -0
- rs3/results/SolidNodalResults.py +248 -0
- rs3/results/SolidResults.py +206 -0
- rs3/results/YieldedElement.py +33 -0
- rs3/results/__init__.py +0 -0
- rs3scripting-4.42.0.dist-info/METADATA +70 -0
- rs3scripting-4.42.0.dist-info/RECORD +393 -0
- rs3scripting-4.42.0.dist-info/WHEEL +5 -0
- rs3scripting-4.42.0.dist-info/licenses/License.txt +20 -0
- rs3scripting-4.42.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,173 @@
|
|
|
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
|
+
from rs3.properties.stageFactors.IStageFactorBase import IStageFactorBase
|
|
7
|
+
import rs3.generatedFiles.StrengthStageFactorService_pb2_grpc as StrengthStageFactorService_pb2_grpc
|
|
8
|
+
class JointedMohrCoulombBase(_ProxyObject, IPropertyGroupAccessors):
|
|
9
|
+
def __init__(self, client: Client, id: str):
|
|
10
|
+
super().__init__(client, id)
|
|
11
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
12
|
+
def getTensileStrength(self) -> float:
|
|
13
|
+
return self._propertyAccessor.getDoubleProperty("TensileStrengthValue")
|
|
14
|
+
def setTensileStrength(self, value: float):
|
|
15
|
+
self._propertyAccessor.setDoubleProperty("TensileStrengthValue", value)
|
|
16
|
+
def getFrictionAngle(self) -> float:
|
|
17
|
+
return self._propertyAccessor.getDoubleProperty("FrictionAngleValue")
|
|
18
|
+
def setFrictionAngle(self, value: float):
|
|
19
|
+
self._propertyAccessor.setDoubleProperty("FrictionAngleValue", value)
|
|
20
|
+
def getCohesion(self) -> float:
|
|
21
|
+
return self._propertyAccessor.getDoubleProperty("CohesionValue")
|
|
22
|
+
def setCohesion(self, value: float):
|
|
23
|
+
self._propertyAccessor.setDoubleProperty("CohesionValue", value)
|
|
24
|
+
def getResidualTensileStrength(self) -> float:
|
|
25
|
+
return self._propertyAccessor.getDoubleProperty("TensileStrengthResidualValue")
|
|
26
|
+
def setResidualTensileStrength(self, value: float):
|
|
27
|
+
self._propertyAccessor.setDoubleProperty("TensileStrengthResidualValue", value)
|
|
28
|
+
def getResidualFrictionAngle(self) -> float:
|
|
29
|
+
return self._propertyAccessor.getDoubleProperty("FrictionAngleResidualValue")
|
|
30
|
+
def setResidualFrictionAngle(self, value: float):
|
|
31
|
+
self._propertyAccessor.setDoubleProperty("FrictionAngleResidualValue", value)
|
|
32
|
+
def getResidualCohesion(self) -> float:
|
|
33
|
+
return self._propertyAccessor.getDoubleProperty("CohesionResidualValue")
|
|
34
|
+
def setResidualCohesion(self, value: float):
|
|
35
|
+
self._propertyAccessor.setDoubleProperty("CohesionResidualValue", value)
|
|
36
|
+
def getDilationAngle(self) -> float:
|
|
37
|
+
return self._propertyAccessor.getDoubleProperty("DilationAngle")
|
|
38
|
+
def setDilationAngle(self, value: float):
|
|
39
|
+
self._propertyAccessor.setDoubleProperty("DilationAngle", value)
|
|
40
|
+
def getApplySSRShearStrengthReduction(self) -> bool:
|
|
41
|
+
return self._propertyAccessor.getBoolValue("UseSSR")
|
|
42
|
+
def setApplySSRShearStrengthReduction(self, value: bool):
|
|
43
|
+
self._propertyAccessor.setBoolValue("UseSSR", value)
|
|
44
|
+
def getProperties(self):
|
|
45
|
+
return {
|
|
46
|
+
"TensileStrength": self.getTensileStrength(),
|
|
47
|
+
"FrictionAngle": self.getFrictionAngle(),
|
|
48
|
+
"Cohesion": self.getCohesion(),
|
|
49
|
+
"ResidualTensileStrength": self.getResidualTensileStrength(),
|
|
50
|
+
"ResidualFrictionAngle": self.getResidualFrictionAngle(),
|
|
51
|
+
"ResidualCohesion": self.getResidualCohesion(),
|
|
52
|
+
"DilationAngle": self.getDilationAngle(),
|
|
53
|
+
"ApplySSRShearStrengthReduction": self.getApplySSRShearStrengthReduction(),
|
|
54
|
+
}
|
|
55
|
+
def setProperties(self, TensileStrength: float = None, FrictionAngle: float = None, Cohesion: float = None, ResidualTensileStrength: float = None, ResidualFrictionAngle: float = None, ResidualCohesion: float = None, DilationAngle: float = None, ApplySSRShearStrengthReduction: bool = None):
|
|
56
|
+
if TensileStrength is not None:
|
|
57
|
+
self.setTensileStrength(TensileStrength)
|
|
58
|
+
if FrictionAngle is not None:
|
|
59
|
+
self.setFrictionAngle(FrictionAngle)
|
|
60
|
+
if Cohesion is not None:
|
|
61
|
+
self.setCohesion(Cohesion)
|
|
62
|
+
if ResidualTensileStrength is not None:
|
|
63
|
+
self.setResidualTensileStrength(ResidualTensileStrength)
|
|
64
|
+
if ResidualFrictionAngle is not None:
|
|
65
|
+
self.setResidualFrictionAngle(ResidualFrictionAngle)
|
|
66
|
+
if ResidualCohesion is not None:
|
|
67
|
+
self.setResidualCohesion(ResidualCohesion)
|
|
68
|
+
if DilationAngle is not None:
|
|
69
|
+
self.setDilationAngle(DilationAngle)
|
|
70
|
+
if ApplySSRShearStrengthReduction is not None:
|
|
71
|
+
self.setApplySSRShearStrengthReduction(ApplySSRShearStrengthReduction)
|
|
72
|
+
class JointedMohrCoulombStageFactorBase(IStageFactorBase):
|
|
73
|
+
def __init__(self, id : str, stageFactorID : str, client : Client):
|
|
74
|
+
super().__init__(id, stageFactorID, client, StrengthStageFactorService_pb2_grpc.StrengthStageFactorServiceStub(client.channel))
|
|
75
|
+
def getCohesionFactor(self) -> float:
|
|
76
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_Cohesion")
|
|
77
|
+
def getResidualCohesionFactor(self) -> float:
|
|
78
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_CohesionResidual")
|
|
79
|
+
def getDilationAngleFactor(self) -> float:
|
|
80
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_DilationAngle")
|
|
81
|
+
def getFrictionAngleFactor(self) -> float:
|
|
82
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_FrictionAngle")
|
|
83
|
+
def getResidualFrictionAngleFactor(self) -> float:
|
|
84
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_FrictionAngleResidual")
|
|
85
|
+
def getResetYieldFactor(self) -> bool:
|
|
86
|
+
return self._stageFactorPropertyAccessor.getBoolValue("MohrCoulomb_ResetYield")
|
|
87
|
+
def getTensileStrengthFactor(self) -> float:
|
|
88
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_TensileStrength")
|
|
89
|
+
def getResidualTensileStrengthFactor(self) -> float:
|
|
90
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_TensileStrengthResidual")
|
|
91
|
+
def getUnsaturatedAirEntryFactor(self) -> float:
|
|
92
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_UnsaturatedAirEntry")
|
|
93
|
+
def getUnsaturatedPhiBFactor(self) -> float:
|
|
94
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_UnsaturatedPhiB")
|
|
95
|
+
class JointedMohrCoulombDefinedStageFactorBase(JointedMohrCoulombStageFactorBase):
|
|
96
|
+
def setCohesionFactor(self, value: float):
|
|
97
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_Cohesion", value)
|
|
98
|
+
def setResidualCohesionFactor(self, value: float):
|
|
99
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_CohesionResidual", value)
|
|
100
|
+
def setDilationAngleFactor(self, value: float):
|
|
101
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_DilationAngle", value)
|
|
102
|
+
def setFrictionAngleFactor(self, value: float):
|
|
103
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_FrictionAngle", value)
|
|
104
|
+
def setResidualFrictionAngleFactor(self, value: float):
|
|
105
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_FrictionAngleResidual", value)
|
|
106
|
+
def setResetYieldFactor(self, value: bool):
|
|
107
|
+
self._stageFactorPropertyAccessor.setBoolValue("MohrCoulomb_ResetYield", value)
|
|
108
|
+
def setTensileStrengthFactor(self, value: float):
|
|
109
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_TensileStrength", value)
|
|
110
|
+
def setResidualTensileStrengthFactor(self, value: float):
|
|
111
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_TensileStrengthResidual", value)
|
|
112
|
+
def setUnsaturatedAirEntryFactor(self, value: float):
|
|
113
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_UnsaturatedAirEntry", value)
|
|
114
|
+
def setUnsaturatedPhiBFactor(self, value: float):
|
|
115
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_UnsaturatedPhiB", value)
|
|
116
|
+
|
|
117
|
+
################ Code below this line will not be overridden ################
|
|
118
|
+
from rs3.properties.material.constitutiveModel.stiffness.LinearIsotropic import LinearIsotropic
|
|
119
|
+
from rs3.properties.material.constitutiveModel.stiffness.TransverselyIsotropic import TransverselyIsotropic
|
|
120
|
+
from rs3.properties.material.constitutiveModel.stiffness.Orthotropic import Orthotropic
|
|
121
|
+
from rs3.properties.material.constitutiveModel.stiffness.DuncanChangHyperbolic import DuncanChangHyperbolic
|
|
122
|
+
from rs3.properties.material.constitutiveModel.stiffness.NonlinearIsotropic import NonlinearIsotropic
|
|
123
|
+
from rs3.properties.material.constitutiveModel.jointOption.MaterialJointOptions import MaterialJointOptions
|
|
124
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
125
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
|
|
126
|
+
import rs3.generatedFiles.MaterialDataService_pb2_grpc as MaterialDataService_pb2_grpc
|
|
127
|
+
import rs3.generatedFiles.MaterialStrengthService_pb2_grpc as MaterialStrengthService_pb2_grpc
|
|
128
|
+
from rs3.properties.PropertyEnums import *
|
|
129
|
+
from rs3.properties.stageFactors.StageFactorBaseInterfaces import AbsoluteStageFactorInterface
|
|
130
|
+
|
|
131
|
+
class JointedMohrCoulombStageFactor(JointedMohrCoulombStageFactorBase):
|
|
132
|
+
def __init__(self, id: str, stageFactorId: str, client: Client):
|
|
133
|
+
super().__init__(id, stageFactorId, client)
|
|
134
|
+
|
|
135
|
+
class JointedMohrCoulombDefinedStageFactor(JointedMohrCoulombDefinedStageFactorBase):
|
|
136
|
+
pass
|
|
137
|
+
|
|
138
|
+
class JointedMohrCoulomb(JointedMohrCoulombBase):
|
|
139
|
+
def __init__(self, client: Client, id: str):
|
|
140
|
+
super().__init__(client, id)
|
|
141
|
+
self._stub = MaterialStrengthService_pb2_grpc.MaterialStrengthServiceStub(client.channel)
|
|
142
|
+
self._stiffnessPropertyAccessor = BasePropertyAccessor(client, id, MaterialDataService_pb2_grpc.MaterialDataServiceStub(self._client.channel))
|
|
143
|
+
self.LinearIsotropicStiffness = LinearIsotropic(client, id)
|
|
144
|
+
self.TransverselyIsotropicStiffness = TransverselyIsotropic(client, id)
|
|
145
|
+
self.OrthotropicStiffness = Orthotropic(client, id)
|
|
146
|
+
self.DuncanChangHyperbolicStiffness = DuncanChangHyperbolic(client, id)
|
|
147
|
+
self.NonlinearIsotropicStiffness = NonlinearIsotropic(client, id)
|
|
148
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
149
|
+
self.StageFactorInterface = AbsoluteStageFactorInterface[JointedMohrCoulombDefinedStageFactor, JointedMohrCoulombStageFactor](id, client, JointedMohrCoulombDefinedStageFactor, JointedMohrCoulombStageFactor)
|
|
150
|
+
|
|
151
|
+
def getElasticType(self) -> MaterialElasticityTypes:
|
|
152
|
+
return self._stiffnessPropertyAccessor.getEnumValue("StiffnessType", MaterialElasticityTypes)
|
|
153
|
+
def setElasticType(self, StiffnessType : MaterialElasticityTypes):
|
|
154
|
+
self._stiffnessPropertyAccessor.setEnumValue("StiffnessType", StiffnessType.value)
|
|
155
|
+
|
|
156
|
+
def getMaterialType(self) -> MaterialType:
|
|
157
|
+
return MaterialType(self._propertyAccessor.getBoolValue("IsPlasticForBase"))
|
|
158
|
+
def setMaterialType(self, materialType: MaterialType):
|
|
159
|
+
return self._propertyAccessor.setBoolValue("IsPlasticForBase", materialType.value)
|
|
160
|
+
|
|
161
|
+
def getJointOptions(self) -> MaterialJointOptions:
|
|
162
|
+
"""
|
|
163
|
+
Get all joint option controls.
|
|
164
|
+
|
|
165
|
+
Example:
|
|
166
|
+
See :ref:`joint_control_examples`.
|
|
167
|
+
|
|
168
|
+
>>> material = model.getAllMaterialProperties()[0]
|
|
169
|
+
>>> jointOptions = material.ConstitutiveModel.JointedGeneralizedHoekBrown.getJointOptions()
|
|
170
|
+
>>> jointOptions.setNumberOfJoint(3)
|
|
171
|
+
>>> firstJoint = jointOptions.getJoint(1)
|
|
172
|
+
"""
|
|
173
|
+
return MaterialJointOptions(self._client, self._objectId)
|
|
@@ -0,0 +1,148 @@
|
|
|
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 ManzariAndDafaliasBase(_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 getG0Parameter(self) -> float:
|
|
12
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("G0")
|
|
13
|
+
def setG0Parameter(self, value: float):
|
|
14
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("G0", value)
|
|
15
|
+
def getVParameter(self) -> float:
|
|
16
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("V")
|
|
17
|
+
def setVParameter(self, value: float):
|
|
18
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("V", value)
|
|
19
|
+
def getPatmParameter(self) -> float:
|
|
20
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("Patm")
|
|
21
|
+
def setPatmParameter(self, value: float):
|
|
22
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("Patm", value)
|
|
23
|
+
def getInitialVoidRatio(self) -> float:
|
|
24
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("InitialVoidRatio")
|
|
25
|
+
def setInitialVoidRatio(self, value: float):
|
|
26
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("InitialVoidRatio", value)
|
|
27
|
+
def getCriticalStateM(self) -> float:
|
|
28
|
+
return self._strengthPropertyAccessor.getDoubleProperty("CriticalStateM")
|
|
29
|
+
def setCriticalStateM(self, value: float):
|
|
30
|
+
self._strengthPropertyAccessor.setDoubleProperty("CriticalStateM", value)
|
|
31
|
+
def getCParameter(self) -> float:
|
|
32
|
+
return self._strengthPropertyAccessor.getDoubleProperty("c")
|
|
33
|
+
def setCParameter(self, value: float):
|
|
34
|
+
self._strengthPropertyAccessor.setDoubleProperty("c", value)
|
|
35
|
+
def getLambdaC(self) -> float:
|
|
36
|
+
return self._strengthPropertyAccessor.getDoubleProperty("LambdaC")
|
|
37
|
+
def setLambdaC(self, value: float):
|
|
38
|
+
self._strengthPropertyAccessor.setDoubleProperty("LambdaC", value)
|
|
39
|
+
def getE0Parameter(self) -> float:
|
|
40
|
+
return self._strengthPropertyAccessor.getDoubleProperty("E0")
|
|
41
|
+
def setE0Parameter(self, value: float):
|
|
42
|
+
self._strengthPropertyAccessor.setDoubleProperty("E0", value)
|
|
43
|
+
def getXiParameter(self) -> float:
|
|
44
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Xi")
|
|
45
|
+
def setXiParameter(self, value: float):
|
|
46
|
+
self._strengthPropertyAccessor.setDoubleProperty("Xi", value)
|
|
47
|
+
def getYieldSurfaceM(self) -> float:
|
|
48
|
+
return self._strengthPropertyAccessor.getDoubleProperty("YieldSurfaceM")
|
|
49
|
+
def setYieldSurfaceM(self, value: float):
|
|
50
|
+
self._strengthPropertyAccessor.setDoubleProperty("YieldSurfaceM", value)
|
|
51
|
+
def getH0Parameter(self) -> float:
|
|
52
|
+
return self._strengthPropertyAccessor.getDoubleProperty("H0")
|
|
53
|
+
def setH0Parameter(self, value: float):
|
|
54
|
+
self._strengthPropertyAccessor.setDoubleProperty("H0", value)
|
|
55
|
+
def getChParameter(self) -> float:
|
|
56
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Ch")
|
|
57
|
+
def setChParameter(self, value: float):
|
|
58
|
+
self._strengthPropertyAccessor.setDoubleProperty("Ch", value)
|
|
59
|
+
def getNbParameter(self) -> float:
|
|
60
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Nb")
|
|
61
|
+
def setNbParameter(self, value: float):
|
|
62
|
+
self._strengthPropertyAccessor.setDoubleProperty("Nb", value)
|
|
63
|
+
def getA0Parameter(self) -> float:
|
|
64
|
+
return self._strengthPropertyAccessor.getDoubleProperty("A0")
|
|
65
|
+
def setA0Parameter(self, value: float):
|
|
66
|
+
self._strengthPropertyAccessor.setDoubleProperty("A0", value)
|
|
67
|
+
def getNdParameter(self) -> float:
|
|
68
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Nd")
|
|
69
|
+
def setNdParameter(self, value: float):
|
|
70
|
+
self._strengthPropertyAccessor.setDoubleProperty("Nd", value)
|
|
71
|
+
def getZmax(self) -> float:
|
|
72
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Zmax")
|
|
73
|
+
def setZmax(self, value: float):
|
|
74
|
+
self._strengthPropertyAccessor.setDoubleProperty("Zmax", value)
|
|
75
|
+
def getCzParameter(self) -> float:
|
|
76
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Cz")
|
|
77
|
+
def setCzParameter(self, value: float):
|
|
78
|
+
self._strengthPropertyAccessor.setDoubleProperty("Cz", value)
|
|
79
|
+
def getApplySSRShearStrengthReduction(self) -> bool:
|
|
80
|
+
return self._strengthPropertyAccessor.getBoolValue("UseSSR")
|
|
81
|
+
def setApplySSRShearStrengthReduction(self, value: bool):
|
|
82
|
+
self._strengthPropertyAccessor.setBoolValue("UseSSR", value)
|
|
83
|
+
def getProperties(self):
|
|
84
|
+
return {
|
|
85
|
+
"G0Parameter": self.getG0Parameter(),
|
|
86
|
+
"VParameter": self.getVParameter(),
|
|
87
|
+
"PatmParameter": self.getPatmParameter(),
|
|
88
|
+
"InitialVoidRatio": self.getInitialVoidRatio(),
|
|
89
|
+
"CriticalStateM": self.getCriticalStateM(),
|
|
90
|
+
"CParameter": self.getCParameter(),
|
|
91
|
+
"LambdaC": self.getLambdaC(),
|
|
92
|
+
"E0Parameter": self.getE0Parameter(),
|
|
93
|
+
"XiParameter": self.getXiParameter(),
|
|
94
|
+
"YieldSurfaceM": self.getYieldSurfaceM(),
|
|
95
|
+
"H0Parameter": self.getH0Parameter(),
|
|
96
|
+
"ChParameter": self.getChParameter(),
|
|
97
|
+
"NbParameter": self.getNbParameter(),
|
|
98
|
+
"A0Parameter": self.getA0Parameter(),
|
|
99
|
+
"NdParameter": self.getNdParameter(),
|
|
100
|
+
"Zmax": self.getZmax(),
|
|
101
|
+
"CzParameter": self.getCzParameter(),
|
|
102
|
+
"ApplySSRShearStrengthReduction": self.getApplySSRShearStrengthReduction(),
|
|
103
|
+
}
|
|
104
|
+
def setProperties(self, G0Parameter: float = None, VParameter: float = None, PatmParameter: float = None, InitialVoidRatio: float = None, CriticalStateM: float = None, CParameter: float = None, LambdaC: float = None, E0Parameter: float = None, XiParameter: float = None, YieldSurfaceM: float = None, H0Parameter: float = None, ChParameter: float = None, NbParameter: float = None, A0Parameter: float = None, NdParameter: float = None, Zmax: float = None, CzParameter: float = None, ApplySSRShearStrengthReduction: bool = None):
|
|
105
|
+
if G0Parameter is not None:
|
|
106
|
+
self.setG0Parameter(G0Parameter)
|
|
107
|
+
if VParameter is not None:
|
|
108
|
+
self.setVParameter(VParameter)
|
|
109
|
+
if PatmParameter is not None:
|
|
110
|
+
self.setPatmParameter(PatmParameter)
|
|
111
|
+
if InitialVoidRatio is not None:
|
|
112
|
+
self.setInitialVoidRatio(InitialVoidRatio)
|
|
113
|
+
if CriticalStateM is not None:
|
|
114
|
+
self.setCriticalStateM(CriticalStateM)
|
|
115
|
+
if CParameter is not None:
|
|
116
|
+
self.setCParameter(CParameter)
|
|
117
|
+
if LambdaC is not None:
|
|
118
|
+
self.setLambdaC(LambdaC)
|
|
119
|
+
if E0Parameter is not None:
|
|
120
|
+
self.setE0Parameter(E0Parameter)
|
|
121
|
+
if XiParameter is not None:
|
|
122
|
+
self.setXiParameter(XiParameter)
|
|
123
|
+
if YieldSurfaceM is not None:
|
|
124
|
+
self.setYieldSurfaceM(YieldSurfaceM)
|
|
125
|
+
if H0Parameter is not None:
|
|
126
|
+
self.setH0Parameter(H0Parameter)
|
|
127
|
+
if ChParameter is not None:
|
|
128
|
+
self.setChParameter(ChParameter)
|
|
129
|
+
if NbParameter is not None:
|
|
130
|
+
self.setNbParameter(NbParameter)
|
|
131
|
+
if A0Parameter is not None:
|
|
132
|
+
self.setA0Parameter(A0Parameter)
|
|
133
|
+
if NdParameter is not None:
|
|
134
|
+
self.setNdParameter(NdParameter)
|
|
135
|
+
if Zmax is not None:
|
|
136
|
+
self.setZmax(Zmax)
|
|
137
|
+
if CzParameter is not None:
|
|
138
|
+
self.setCzParameter(CzParameter)
|
|
139
|
+
if ApplySSRShearStrengthReduction is not None:
|
|
140
|
+
self.setApplySSRShearStrengthReduction(ApplySSRShearStrengthReduction)
|
|
141
|
+
|
|
142
|
+
################ Code below this line will not be overridden ################
|
|
143
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
144
|
+
from rs3.properties.PropertyEnums import *
|
|
145
|
+
class ManzariAndDafalias(ManzariAndDafaliasBase):
|
|
146
|
+
def __init__(self, client: Client, id: str):
|
|
147
|
+
super().__init__(client, id)
|
|
148
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from rs3._client import Client
|
|
2
|
+
from rs3.properties.PropertyEnums import *
|
|
3
|
+
from rs3.properties.material.constitutiveModel.CamClay import CamClay
|
|
4
|
+
|
|
5
|
+
class ModifiedCamClay(CamClay):
|
|
6
|
+
"""
|
|
7
|
+
See CamClay.py for parameters
|
|
8
|
+
Modified Cam Clay model shares the same set of parameters as Cam Clay
|
|
9
|
+
"""
|
|
10
|
+
def __init__(self, client : Client, materialID : str):
|
|
11
|
+
super().__init__(client, materialID)
|
|
@@ -0,0 +1,147 @@
|
|
|
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
|
+
from rs3.properties.stageFactors.IStageFactorBase import IStageFactorBase
|
|
7
|
+
import rs3.generatedFiles.StrengthStageFactorService_pb2_grpc as StrengthStageFactorService_pb2_grpc
|
|
8
|
+
class MohrCoulombBase(_ProxyObject, IPropertyGroupAccessors):
|
|
9
|
+
def __init__(self, client: Client, id: str):
|
|
10
|
+
super().__init__(client, id)
|
|
11
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
12
|
+
def getTensileStrength(self) -> float:
|
|
13
|
+
return self._propertyAccessor.getDoubleProperty("TensileStrengthValue")
|
|
14
|
+
def setTensileStrength(self, value: float):
|
|
15
|
+
self._propertyAccessor.setDoubleProperty("TensileStrengthValue", value)
|
|
16
|
+
def getFrictionAngle(self) -> float:
|
|
17
|
+
return self._propertyAccessor.getDoubleProperty("FrictionAngleValue")
|
|
18
|
+
def setFrictionAngle(self, value: float):
|
|
19
|
+
self._propertyAccessor.setDoubleProperty("FrictionAngleValue", value)
|
|
20
|
+
def getCohesion(self) -> float:
|
|
21
|
+
return self._propertyAccessor.getDoubleProperty("CohesionValue")
|
|
22
|
+
def setCohesion(self, value: float):
|
|
23
|
+
self._propertyAccessor.setDoubleProperty("CohesionValue", value)
|
|
24
|
+
def getResidualTensileStrength(self) -> float:
|
|
25
|
+
return self._propertyAccessor.getDoubleProperty("TensileStrengthResidualValue")
|
|
26
|
+
def setResidualTensileStrength(self, value: float):
|
|
27
|
+
self._propertyAccessor.setDoubleProperty("TensileStrengthResidualValue", value)
|
|
28
|
+
def getResidualFrictionAngle(self) -> float:
|
|
29
|
+
return self._propertyAccessor.getDoubleProperty("FrictionAngleResidualValue")
|
|
30
|
+
def setResidualFrictionAngle(self, value: float):
|
|
31
|
+
self._propertyAccessor.setDoubleProperty("FrictionAngleResidualValue", value)
|
|
32
|
+
def getResidualCohesion(self) -> float:
|
|
33
|
+
return self._propertyAccessor.getDoubleProperty("CohesionResidualValue")
|
|
34
|
+
def setResidualCohesion(self, value: float):
|
|
35
|
+
self._propertyAccessor.setDoubleProperty("CohesionResidualValue", value)
|
|
36
|
+
def getDilationAngle(self) -> float:
|
|
37
|
+
return self._propertyAccessor.getDoubleProperty("DilationAngle")
|
|
38
|
+
def setDilationAngle(self, value: float):
|
|
39
|
+
self._propertyAccessor.setDoubleProperty("DilationAngle", value)
|
|
40
|
+
def getApplySSRShearStrengthReduction(self) -> bool:
|
|
41
|
+
return self._propertyAccessor.getBoolValue("UseSSR")
|
|
42
|
+
def setApplySSRShearStrengthReduction(self, value: bool):
|
|
43
|
+
self._propertyAccessor.setBoolValue("UseSSR", value)
|
|
44
|
+
def getProperties(self):
|
|
45
|
+
return {
|
|
46
|
+
"TensileStrength": self.getTensileStrength(),
|
|
47
|
+
"FrictionAngle": self.getFrictionAngle(),
|
|
48
|
+
"Cohesion": self.getCohesion(),
|
|
49
|
+
"ResidualTensileStrength": self.getResidualTensileStrength(),
|
|
50
|
+
"ResidualFrictionAngle": self.getResidualFrictionAngle(),
|
|
51
|
+
"ResidualCohesion": self.getResidualCohesion(),
|
|
52
|
+
"DilationAngle": self.getDilationAngle(),
|
|
53
|
+
"ApplySSRShearStrengthReduction": self.getApplySSRShearStrengthReduction(),
|
|
54
|
+
}
|
|
55
|
+
def setProperties(self, TensileStrength: float = None, FrictionAngle: float = None, Cohesion: float = None, ResidualTensileStrength: float = None, ResidualFrictionAngle: float = None, ResidualCohesion: float = None, DilationAngle: float = None, ApplySSRShearStrengthReduction: bool = None):
|
|
56
|
+
if TensileStrength is not None:
|
|
57
|
+
self.setTensileStrength(TensileStrength)
|
|
58
|
+
if FrictionAngle is not None:
|
|
59
|
+
self.setFrictionAngle(FrictionAngle)
|
|
60
|
+
if Cohesion is not None:
|
|
61
|
+
self.setCohesion(Cohesion)
|
|
62
|
+
if ResidualTensileStrength is not None:
|
|
63
|
+
self.setResidualTensileStrength(ResidualTensileStrength)
|
|
64
|
+
if ResidualFrictionAngle is not None:
|
|
65
|
+
self.setResidualFrictionAngle(ResidualFrictionAngle)
|
|
66
|
+
if ResidualCohesion is not None:
|
|
67
|
+
self.setResidualCohesion(ResidualCohesion)
|
|
68
|
+
if DilationAngle is not None:
|
|
69
|
+
self.setDilationAngle(DilationAngle)
|
|
70
|
+
if ApplySSRShearStrengthReduction is not None:
|
|
71
|
+
self.setApplySSRShearStrengthReduction(ApplySSRShearStrengthReduction)
|
|
72
|
+
class MohrCoulombStageFactorBase(IStageFactorBase):
|
|
73
|
+
def __init__(self, id : str, stageFactorID : str, client : Client):
|
|
74
|
+
super().__init__(id, stageFactorID, client, StrengthStageFactorService_pb2_grpc.StrengthStageFactorServiceStub(client.channel))
|
|
75
|
+
def getCohesionFactor(self) -> float:
|
|
76
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_Cohesion")
|
|
77
|
+
def getResidualCohesionFactor(self) -> float:
|
|
78
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_CohesionResidual")
|
|
79
|
+
def getDilationAngleFactor(self) -> float:
|
|
80
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_DilationAngle")
|
|
81
|
+
def getFrictionAngleFactor(self) -> float:
|
|
82
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_FrictionAngle")
|
|
83
|
+
def getResidualFrictionAngleFactor(self) -> float:
|
|
84
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_FrictionAngleResidual")
|
|
85
|
+
def getResetYieldFactor(self) -> bool:
|
|
86
|
+
return self._stageFactorPropertyAccessor.getBoolValue("MohrCoulomb_ResetYield")
|
|
87
|
+
def getTensileStrengthFactor(self) -> float:
|
|
88
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_TensileStrength")
|
|
89
|
+
def getResidualTensileStrengthFactor(self) -> float:
|
|
90
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_TensileStrengthResidual")
|
|
91
|
+
def getUnsaturatedAirEntryFactor(self) -> float:
|
|
92
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_UnsaturatedAirEntry")
|
|
93
|
+
def getUnsaturatedPhiBFactor(self) -> float:
|
|
94
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_UnsaturatedPhiB")
|
|
95
|
+
class MohrCoulombDefinedStageFactorBase(MohrCoulombStageFactorBase):
|
|
96
|
+
def setCohesionFactor(self, value: float):
|
|
97
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_Cohesion", value)
|
|
98
|
+
def setResidualCohesionFactor(self, value: float):
|
|
99
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_CohesionResidual", value)
|
|
100
|
+
def setDilationAngleFactor(self, value: float):
|
|
101
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_DilationAngle", value)
|
|
102
|
+
def setFrictionAngleFactor(self, value: float):
|
|
103
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_FrictionAngle", value)
|
|
104
|
+
def setResidualFrictionAngleFactor(self, value: float):
|
|
105
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_FrictionAngleResidual", value)
|
|
106
|
+
def setResetYieldFactor(self, value: bool):
|
|
107
|
+
self._stageFactorPropertyAccessor.setBoolValue("MohrCoulomb_ResetYield", value)
|
|
108
|
+
def setTensileStrengthFactor(self, value: float):
|
|
109
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_TensileStrength", value)
|
|
110
|
+
def setResidualTensileStrengthFactor(self, value: float):
|
|
111
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_TensileStrengthResidual", value)
|
|
112
|
+
def setUnsaturatedAirEntryFactor(self, value: float):
|
|
113
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_UnsaturatedAirEntry", value)
|
|
114
|
+
def setUnsaturatedPhiBFactor(self, value: float):
|
|
115
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_UnsaturatedPhiB", value)
|
|
116
|
+
|
|
117
|
+
################ Code below this line will not be overridden ################
|
|
118
|
+
from rs3.properties.material.constitutiveModel.stiffness.LinearIsotropic import LinearIsotropic
|
|
119
|
+
from rs3.properties.material.constitutiveModel.stiffness.TransverselyIsotropic import TransverselyIsotropic
|
|
120
|
+
from rs3.properties.material.constitutiveModel.stiffness.Orthotropic import Orthotropic
|
|
121
|
+
from rs3.properties.material.constitutiveModel.stiffness.DuncanChangHyperbolic import DuncanChangHyperbolic
|
|
122
|
+
from rs3.properties.material.constitutiveModel.stiffness.NonlinearIsotropic import NonlinearIsotropic
|
|
123
|
+
from rs3.properties.material.constitutiveModel.BaseConstitutiveModel import BaseConstitutiveModel
|
|
124
|
+
from rs3.properties.material.constitutiveModel.MohrCoulombUnsaturatedZoneCalculations import MohrCoulombUnsaturatedZoneCalculations
|
|
125
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
|
|
126
|
+
import rs3.generatedFiles.MaterialDataService_pb2_grpc as MaterialDataService_pb2_grpc
|
|
127
|
+
from rs3.properties.PropertyEnums import *
|
|
128
|
+
from rs3.properties.stageFactors.StageFactorBaseInterfaces import AbsoluteStageFactorInterface
|
|
129
|
+
|
|
130
|
+
class MohrCoulombStageFactor(MohrCoulombStageFactorBase):
|
|
131
|
+
def __init__(self, id: str, stageFactorId: str, client: Client):
|
|
132
|
+
super().__init__(id, stageFactorId, client)
|
|
133
|
+
|
|
134
|
+
class MohrCoulombDefinedStageFactor(MohrCoulombDefinedStageFactorBase):
|
|
135
|
+
pass
|
|
136
|
+
|
|
137
|
+
class MohrCoulomb(MohrCoulombBase, BaseConstitutiveModel):
|
|
138
|
+
def __init__(self, client: Client, id: str):
|
|
139
|
+
super().__init__(client, id)
|
|
140
|
+
self._stiffnessPropertyAccessor = BasePropertyAccessor(client, id, MaterialDataService_pb2_grpc.MaterialDataServiceStub(self._client.channel))
|
|
141
|
+
self.LinearIsotropicStiffness = LinearIsotropic(client, id)
|
|
142
|
+
self.TransverselyIsotropicStiffness = TransverselyIsotropic(client, id)
|
|
143
|
+
self.OrthotropicStiffness = Orthotropic(client, id)
|
|
144
|
+
self.DuncanChangHyperbolicStiffness = DuncanChangHyperbolic(client, id)
|
|
145
|
+
self.NonlinearIsotropicStiffness = NonlinearIsotropic(client, id)
|
|
146
|
+
self.UnsaturatedZoneCalculations = MohrCoulombUnsaturatedZoneCalculations(client, id)
|
|
147
|
+
self.StageFactorInterface = AbsoluteStageFactorInterface[MohrCoulombDefinedStageFactor, MohrCoulombStageFactor](id, client, MohrCoulombDefinedStageFactor, MohrCoulombStageFactor)
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
from rs3.properties.stageFactors.IStageFactorBase import IStageFactorBase
|
|
7
|
+
import rs3.generatedFiles.StrengthStageFactorService_pb2_grpc as StrengthStageFactorService_pb2_grpc
|
|
8
|
+
class MohrCoulombUnsaturatedZoneCalculationsBase(_ProxyObject, IPropertyGroupAccessors):
|
|
9
|
+
def __init__(self, client: Client, id: str):
|
|
10
|
+
super().__init__(client, id)
|
|
11
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
12
|
+
def getUnsaturatedShearStrengthAngle(self) -> float:
|
|
13
|
+
return self._propertyAccessor.getDoubleProperty("UnsaturatedShearStrengthPhiB")
|
|
14
|
+
def setUnsaturatedShearStrengthAngle(self, value: float):
|
|
15
|
+
self._propertyAccessor.setDoubleProperty("UnsaturatedShearStrengthPhiB", value)
|
|
16
|
+
def getAirEntryValue(self) -> float:
|
|
17
|
+
return self._propertyAccessor.getDoubleProperty("UnsaturatedShearStrengthAirEntry")
|
|
18
|
+
def setAirEntryValue(self, value: float):
|
|
19
|
+
self._propertyAccessor.setDoubleProperty("UnsaturatedShearStrengthAirEntry", value)
|
|
20
|
+
def getEnableMaxNegPWPUnsaturatedShearStrength(self) -> bool:
|
|
21
|
+
return self._propertyAccessor.getBoolValue("EnableMaxNegPWPUnsaturatedShearStrength")
|
|
22
|
+
def setEnableMaxNegPWPUnsaturatedShearStrength(self, value: bool):
|
|
23
|
+
self._propertyAccessor.setBoolValue("EnableMaxNegPWPUnsaturatedShearStrength", value)
|
|
24
|
+
def getMaxNegPWPUnsaturatedShearStrength(self) -> float:
|
|
25
|
+
return self._propertyAccessor.getDoubleProperty("MaxNegPWPUnsaturatedShearStrength")
|
|
26
|
+
def setMaxNegPWPUnsaturatedShearStrength(self, value: float):
|
|
27
|
+
self._propertyAccessor.setDoubleProperty("MaxNegPWPUnsaturatedShearStrength", value)
|
|
28
|
+
def getProperties(self):
|
|
29
|
+
return {
|
|
30
|
+
"UnsaturatedShearStrengthAngle": self.getUnsaturatedShearStrengthAngle(),
|
|
31
|
+
"AirEntryValue": self.getAirEntryValue(),
|
|
32
|
+
"EnableMaxNegPWPUnsaturatedShearStrength": self.getEnableMaxNegPWPUnsaturatedShearStrength(),
|
|
33
|
+
"MaxNegPWPUnsaturatedShearStrength": self.getMaxNegPWPUnsaturatedShearStrength(),
|
|
34
|
+
}
|
|
35
|
+
def setProperties(self, UnsaturatedShearStrengthAngle: float = None, AirEntryValue: float = None, EnableMaxNegPWPUnsaturatedShearStrength: bool = None, MaxNegPWPUnsaturatedShearStrength: float = None):
|
|
36
|
+
if UnsaturatedShearStrengthAngle is not None:
|
|
37
|
+
self.setUnsaturatedShearStrengthAngle(UnsaturatedShearStrengthAngle)
|
|
38
|
+
if AirEntryValue is not None:
|
|
39
|
+
self.setAirEntryValue(AirEntryValue)
|
|
40
|
+
if EnableMaxNegPWPUnsaturatedShearStrength is not None:
|
|
41
|
+
self.setEnableMaxNegPWPUnsaturatedShearStrength(EnableMaxNegPWPUnsaturatedShearStrength)
|
|
42
|
+
if MaxNegPWPUnsaturatedShearStrength is not None:
|
|
43
|
+
self.setMaxNegPWPUnsaturatedShearStrength(MaxNegPWPUnsaturatedShearStrength)
|
|
44
|
+
class MohrCoulombUnsaturatedZoneCalculationsStageFactorBase(IStageFactorBase):
|
|
45
|
+
def __init__(self, id : str, stageFactorID : str, client : Client):
|
|
46
|
+
super().__init__(id, stageFactorID, client, StrengthStageFactorService_pb2_grpc.StrengthStageFactorServiceStub(client.channel))
|
|
47
|
+
def getAirEntryValueFactor(self) -> float:
|
|
48
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("MohrCoulomb_UnsaturatedAirEntry")
|
|
49
|
+
class MohrCoulombUnsaturatedZoneCalculationsDefinedStageFactorBase(MohrCoulombUnsaturatedZoneCalculationsStageFactorBase):
|
|
50
|
+
def setAirEntryValueFactor(self, value: float):
|
|
51
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("MohrCoulomb_UnsaturatedAirEntry", value)
|
|
52
|
+
|
|
53
|
+
################ Code below this line will not be overridden ################
|
|
54
|
+
import rs3.generatedFiles.MaterialStrengthService_pb2_grpc as MaterialStrengthService_pb2_grpc
|
|
55
|
+
import rs3.generatedFiles.MaterialStrengthService_pb2 as MaterialStrengthService_pb2
|
|
56
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
57
|
+
from rs3.properties.PropertyEnums import *
|
|
58
|
+
from rs3.properties.stageFactors.StageFactorBaseInterfaces import AbsoluteStageFactorInterface
|
|
59
|
+
|
|
60
|
+
class MohrCoulombUnsaturatedZoneCalculationsStageFactor(MohrCoulombUnsaturatedZoneCalculationsStageFactorBase):
|
|
61
|
+
def __init__(self, id: str, stageFactorId: str, client: Client):
|
|
62
|
+
super().__init__(id, stageFactorId, client)
|
|
63
|
+
|
|
64
|
+
class MohrCoulombUnsaturatedZoneCalculationsDefinedStageFactor(MohrCoulombUnsaturatedZoneCalculationsStageFactor, MohrCoulombUnsaturatedZoneCalculationsDefinedStageFactorBase):
|
|
65
|
+
pass
|
|
66
|
+
|
|
67
|
+
class MohrCoulombUnsaturatedZoneCalculations(MohrCoulombUnsaturatedZoneCalculationsBase, UnsaturatedZoneCalculations):
|
|
68
|
+
def __init__(self, client: Client, id: str):
|
|
69
|
+
super().__init__(client, id)
|
|
70
|
+
self.StageFactorInterface = AbsoluteStageFactorInterface[MohrCoulombUnsaturatedZoneCalculationsDefinedStageFactor, MohrCoulombUnsaturatedZoneCalculationsStageFactor](id, client, MohrCoulombUnsaturatedZoneCalculationsDefinedStageFactor, MohrCoulombUnsaturatedZoneCalculationsStageFactor)
|
|
71
|
+
|
|
72
|
+
def getUnsaturatedBehavior(self) -> MohrCoulombUnsaturatedParameterType:
|
|
73
|
+
return self._propertyAccessor.getEnumValue("MCUnsaturatedBehavior", MohrCoulombUnsaturatedParameterType)
|
|
74
|
+
def setUnsaturatedBehavior(self, unsaturatedParameterType : MohrCoulombUnsaturatedParameterType):
|
|
75
|
+
self._propertyAccessor.setEnumValue("MCUnsaturatedBehavior", unsaturatedParameterType.value)
|
|
76
|
+
|
|
77
|
+
def getUnsaturatedShearStrengthType(self) -> UnsaturatedShearStrengthType:
|
|
78
|
+
return self._propertyAccessor.getEnumValue("UnsaturatedShearStrength", UnsaturatedShearStrengthType)
|
|
79
|
+
def setUnsaturatedShearStrengthType(self, unsaturatedShearStrength : UnsaturatedShearStrengthType):
|
|
80
|
+
self._propertyAccessor.setEnumValue("UnsaturatedShearStrength", unsaturatedShearStrength.value)
|