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,144 @@
|
|
|
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
|
+
from rs3.properties.stageFactors.IStageFactorBase import IStageFactorBase
|
|
7
|
+
import rs3.generatedFiles.StrengthStageFactorService_pb2_grpc as StrengthStageFactorService_pb2_grpc
|
|
8
|
+
class CamClayBase(_ProxyObject, IPropertyGroupAccessors):
|
|
9
|
+
def __init__(self, client: Client, id: str):
|
|
10
|
+
super().__init__(client, id)
|
|
11
|
+
self._stiffnessPropertyAccessor = StiffnessPropertyAccessor(client, id)
|
|
12
|
+
self._strengthPropertyAccessor = StrengthPropertyAccessor(client, id)
|
|
13
|
+
def getShearModulus(self) -> float:
|
|
14
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("ShearModulus")
|
|
15
|
+
def setShearModulus(self, value: float):
|
|
16
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("ShearModulus", value)
|
|
17
|
+
def getPoissonsRatio(self) -> float:
|
|
18
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("PoissonsRatio")
|
|
19
|
+
def setPoissonsRatio(self, value: float):
|
|
20
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("PoissonsRatio", value)
|
|
21
|
+
def getCriticalStateSlope(self) -> float:
|
|
22
|
+
return self._strengthPropertyAccessor.getDoubleProperty("CriticalStateLineSlopeM")
|
|
23
|
+
def setCriticalStateSlope(self, value: float):
|
|
24
|
+
self._strengthPropertyAccessor.setDoubleProperty("CriticalStateLineSlopeM", value)
|
|
25
|
+
def getLambda(self) -> float:
|
|
26
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Lambda")
|
|
27
|
+
def setLambda(self, value: float):
|
|
28
|
+
self._strengthPropertyAccessor.setDoubleProperty("Lambda", value)
|
|
29
|
+
def getKappa(self) -> float:
|
|
30
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Kappa")
|
|
31
|
+
def setKappa(self, value: float):
|
|
32
|
+
self._strengthPropertyAccessor.setDoubleProperty("Kappa", value)
|
|
33
|
+
def getNParameter(self) -> float:
|
|
34
|
+
return self._strengthPropertyAccessor.getDoubleProperty("NormalCompressionLineN")
|
|
35
|
+
def setNParameter(self, value: float):
|
|
36
|
+
self._strengthPropertyAccessor.setDoubleProperty("NormalCompressionLineN", value)
|
|
37
|
+
def getGamma(self) -> float:
|
|
38
|
+
return self._strengthPropertyAccessor.getDoubleProperty("CriticalStateLineGamma")
|
|
39
|
+
def setGamma(self, value: float):
|
|
40
|
+
self._strengthPropertyAccessor.setDoubleProperty("CriticalStateLineGamma", value)
|
|
41
|
+
def getOverconsolidationRatio(self) -> float:
|
|
42
|
+
return self._strengthPropertyAccessor.getDoubleProperty("OverconsolidationRatio")
|
|
43
|
+
def setOverconsolidationRatio(self, value: float):
|
|
44
|
+
self._strengthPropertyAccessor.setDoubleProperty("OverconsolidationRatio", value)
|
|
45
|
+
def getPreconsolidationStress(self) -> float:
|
|
46
|
+
return self._strengthPropertyAccessor.getDoubleProperty("PreconsolidationStress")
|
|
47
|
+
def setPreconsolidationStress(self, value: float):
|
|
48
|
+
self._strengthPropertyAccessor.setDoubleProperty("PreconsolidationStress", value)
|
|
49
|
+
def getProperties(self):
|
|
50
|
+
return {
|
|
51
|
+
"ShearModulus": self.getShearModulus(),
|
|
52
|
+
"PoissonsRatio": self.getPoissonsRatio(),
|
|
53
|
+
"CriticalStateSlope": self.getCriticalStateSlope(),
|
|
54
|
+
"Lambda": self.getLambda(),
|
|
55
|
+
"Kappa": self.getKappa(),
|
|
56
|
+
"NParameter": self.getNParameter(),
|
|
57
|
+
"Gamma": self.getGamma(),
|
|
58
|
+
"OverconsolidationRatio": self.getOverconsolidationRatio(),
|
|
59
|
+
"PreconsolidationStress": self.getPreconsolidationStress(),
|
|
60
|
+
}
|
|
61
|
+
def setProperties(self, ShearModulus: float = None, PoissonsRatio: float = None, CriticalStateSlope: float = None, Lambda: float = None, Kappa: float = None, NParameter: float = None, Gamma: float = None, OverconsolidationRatio: float = None, PreconsolidationStress: float = None):
|
|
62
|
+
if ShearModulus is not None:
|
|
63
|
+
self.setShearModulus(ShearModulus)
|
|
64
|
+
if PoissonsRatio is not None:
|
|
65
|
+
self.setPoissonsRatio(PoissonsRatio)
|
|
66
|
+
if CriticalStateSlope is not None:
|
|
67
|
+
self.setCriticalStateSlope(CriticalStateSlope)
|
|
68
|
+
if Lambda is not None:
|
|
69
|
+
self.setLambda(Lambda)
|
|
70
|
+
if Kappa is not None:
|
|
71
|
+
self.setKappa(Kappa)
|
|
72
|
+
if NParameter is not None:
|
|
73
|
+
self.setNParameter(NParameter)
|
|
74
|
+
if Gamma is not None:
|
|
75
|
+
self.setGamma(Gamma)
|
|
76
|
+
if OverconsolidationRatio is not None:
|
|
77
|
+
self.setOverconsolidationRatio(OverconsolidationRatio)
|
|
78
|
+
if PreconsolidationStress is not None:
|
|
79
|
+
self.setPreconsolidationStress(PreconsolidationStress)
|
|
80
|
+
class CamClayStageFactorBase(IStageFactorBase):
|
|
81
|
+
def __init__(self, id : str, stageFactorID : str, client : Client):
|
|
82
|
+
super().__init__(id, stageFactorID, client, StrengthStageFactorService_pb2_grpc.StrengthStageFactorServiceStub(client.channel))
|
|
83
|
+
def getCriticalStateLineSlopeFactor(self) -> float:
|
|
84
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("CamClay_CriticalStateLineSlope")
|
|
85
|
+
def getGammaFactor(self) -> float:
|
|
86
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("CamClay_Gamma")
|
|
87
|
+
def getKappaFactor(self) -> float:
|
|
88
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("CamClay_Kappa")
|
|
89
|
+
def getLambdaFactor(self) -> float:
|
|
90
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("CamClay_Lambda")
|
|
91
|
+
def getNParameterFactor(self) -> float:
|
|
92
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("CamClay_N")
|
|
93
|
+
def getOverconsolidationRatioFactor(self) -> float:
|
|
94
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("CamClay_OCR")
|
|
95
|
+
def getPreconsolidationStressFactor(self) -> float:
|
|
96
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("CamClay_Po")
|
|
97
|
+
class CamClayDefinedStageFactorBase(CamClayStageFactorBase):
|
|
98
|
+
def setCriticalStateLineSlopeFactor(self, value: float):
|
|
99
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("CamClay_CriticalStateLineSlope", value)
|
|
100
|
+
def setGammaFactor(self, value: float):
|
|
101
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("CamClay_Gamma", value)
|
|
102
|
+
def setKappaFactor(self, value: float):
|
|
103
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("CamClay_Kappa", value)
|
|
104
|
+
def setLambdaFactor(self, value: float):
|
|
105
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("CamClay_Lambda", value)
|
|
106
|
+
def setNParameterFactor(self, value: float):
|
|
107
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("CamClay_N", value)
|
|
108
|
+
def setOverconsolidationRatioFactor(self, value: float):
|
|
109
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("CamClay_OCR", value)
|
|
110
|
+
def setPreconsolidationStressFactor(self, value: float):
|
|
111
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("CamClay_Po", value)
|
|
112
|
+
|
|
113
|
+
################ Code below this line will not be overridden ################
|
|
114
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
115
|
+
from rs3.properties.PropertyEnums import *
|
|
116
|
+
from rs3.properties.stageFactors.StageFactorBaseInterfaces import AbsoluteStageFactorInterface
|
|
117
|
+
|
|
118
|
+
class CamClayStageFactor(CamClayStageFactorBase):
|
|
119
|
+
def __init__(self, id: str, stageFactorId: str, client: Client):
|
|
120
|
+
super().__init__(id, stageFactorId, client)
|
|
121
|
+
|
|
122
|
+
class CamClayDefinedStageFactor(CamClayDefinedStageFactorBase):
|
|
123
|
+
pass
|
|
124
|
+
|
|
125
|
+
class CamClay(CamClayBase):
|
|
126
|
+
def __init__(self, client: Client, id: str):
|
|
127
|
+
super().__init__(client, id)
|
|
128
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
129
|
+
self.StageFactorInterface = AbsoluteStageFactorInterface[CamClayDefinedStageFactor, CamClayStageFactor](id, client, CamClayDefinedStageFactor, CamClayStageFactor)
|
|
130
|
+
|
|
131
|
+
def getElasticParameters(self) -> ElasticParametersType:
|
|
132
|
+
return self._stiffnessPropertyAccessor.getEnumValue("ElasticParameters", ElasticParametersType)
|
|
133
|
+
def setElasticParameters(self, ElasticParameters: ElasticParametersType):
|
|
134
|
+
self._stiffnessPropertyAccessor.setEnumValue("ElasticParameters", ElasticParameters.value)
|
|
135
|
+
|
|
136
|
+
def getSpecificVolumeAtUnitPressure(self) -> SpecificVolumeAtUnitPressureType:
|
|
137
|
+
return self._strengthPropertyAccessor.getEnumValue("SpecificVolumeAtUnitPressure", SpecificVolumeAtUnitPressureType)
|
|
138
|
+
def setSpecificVolumeAtUnitPressure(self, SpecificVolumeAtUnitPressure: SpecificVolumeAtUnitPressureType):
|
|
139
|
+
return self._strengthPropertyAccessor.setEnumValue("SpecificVolumeAtUnitPressure", SpecificVolumeAtUnitPressure.value)
|
|
140
|
+
|
|
141
|
+
def getInitialStateOfConsolidation(self) -> InitialStateOfConsolidationType:
|
|
142
|
+
return self._strengthPropertyAccessor.getEnumValue("InitialStateOfConsolidation", InitialStateOfConsolidationType)
|
|
143
|
+
def setInitialStateOfConsolidation(self, InitialStateOfConsolidation: InitialStateOfConsolidationType):
|
|
144
|
+
return self._strengthPropertyAccessor.setEnumValue("InitialStateOfConsolidation", InitialStateOfConsolidation.value)
|
|
@@ -0,0 +1,111 @@
|
|
|
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 ChSoilBase(_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 getGRef(self) -> float:
|
|
12
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("GRef")
|
|
13
|
+
def setGRef(self, value: float):
|
|
14
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("GRef", value)
|
|
15
|
+
def getNG(self) -> float:
|
|
16
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("NG")
|
|
17
|
+
def setNG(self, value: float):
|
|
18
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("NG", value)
|
|
19
|
+
def getKRef(self) -> float:
|
|
20
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("KRef")
|
|
21
|
+
def setKRef(self, value: float):
|
|
22
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("KRef", value)
|
|
23
|
+
def getMK(self) -> float:
|
|
24
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("MK")
|
|
25
|
+
def setMK(self, value: float):
|
|
26
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("MK", value)
|
|
27
|
+
def getReferencePressure(self) -> float:
|
|
28
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("ReferencePressure")
|
|
29
|
+
def setReferencePressure(self, value: float):
|
|
30
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("ReferencePressure", value)
|
|
31
|
+
def getFrictionAngleFailure(self) -> float:
|
|
32
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FrictionAngleFailure")
|
|
33
|
+
def setFrictionAngleFailure(self, value: float):
|
|
34
|
+
self._strengthPropertyAccessor.setDoubleProperty("FrictionAngleFailure", value)
|
|
35
|
+
def getFailureRatio(self) -> float:
|
|
36
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FailureRatio")
|
|
37
|
+
def setFailureRatio(self, value: float):
|
|
38
|
+
self._strengthPropertyAccessor.setDoubleProperty("FailureRatio", value)
|
|
39
|
+
def getFrictionAngleNormallyConsolidated(self) -> float:
|
|
40
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FrictionAngleNormallyConsolidated")
|
|
41
|
+
def setFrictionAngleNormallyConsolidated(self, value: float):
|
|
42
|
+
self._strengthPropertyAccessor.setDoubleProperty("FrictionAngleNormallyConsolidated", value)
|
|
43
|
+
def getDilationAngle(self) -> float:
|
|
44
|
+
return self._strengthPropertyAccessor.getDoubleProperty("DilationAngle")
|
|
45
|
+
def setDilationAngle(self, value: float):
|
|
46
|
+
self._strengthPropertyAccessor.setDoubleProperty("DilationAngle", value)
|
|
47
|
+
def getConstantVolumeFrictionAngle(self) -> float:
|
|
48
|
+
return self._strengthPropertyAccessor.getDoubleProperty("ConstantVolumeFrictionAngle")
|
|
49
|
+
def setConstantVolumeFrictionAngle(self, value: float):
|
|
50
|
+
self._strengthPropertyAccessor.setDoubleProperty("ConstantVolumeFrictionAngle", value)
|
|
51
|
+
def getTensileStrength(self) -> float:
|
|
52
|
+
return self._strengthPropertyAccessor.getDoubleProperty("TensileStrength")
|
|
53
|
+
def setTensileStrength(self, value: float):
|
|
54
|
+
self._strengthPropertyAccessor.setDoubleProperty("TensileStrength", value)
|
|
55
|
+
def getCohesion(self) -> float:
|
|
56
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Cohesion")
|
|
57
|
+
def setCohesion(self, value: float):
|
|
58
|
+
self._strengthPropertyAccessor.setDoubleProperty("Cohesion", value)
|
|
59
|
+
def getProperties(self):
|
|
60
|
+
return {
|
|
61
|
+
"GRef": self.getGRef(),
|
|
62
|
+
"NG": self.getNG(),
|
|
63
|
+
"KRef": self.getKRef(),
|
|
64
|
+
"MK": self.getMK(),
|
|
65
|
+
"ReferencePressure": self.getReferencePressure(),
|
|
66
|
+
"FrictionAngleFailure": self.getFrictionAngleFailure(),
|
|
67
|
+
"FailureRatio": self.getFailureRatio(),
|
|
68
|
+
"FrictionAngleNormallyConsolidated": self.getFrictionAngleNormallyConsolidated(),
|
|
69
|
+
"DilationAngle": self.getDilationAngle(),
|
|
70
|
+
"ConstantVolumeFrictionAngle": self.getConstantVolumeFrictionAngle(),
|
|
71
|
+
"TensileStrength": self.getTensileStrength(),
|
|
72
|
+
"Cohesion": self.getCohesion(),
|
|
73
|
+
}
|
|
74
|
+
def setProperties(self, GRef: float = None, NG: float = None, KRef: float = None, MK: float = None, ReferencePressure: float = None, FrictionAngleFailure: float = None, FailureRatio: float = None, FrictionAngleNormallyConsolidated: float = None, DilationAngle: float = None, ConstantVolumeFrictionAngle: float = None, TensileStrength: float = None, Cohesion: float = None):
|
|
75
|
+
if GRef is not None:
|
|
76
|
+
self.setGRef(GRef)
|
|
77
|
+
if NG is not None:
|
|
78
|
+
self.setNG(NG)
|
|
79
|
+
if KRef is not None:
|
|
80
|
+
self.setKRef(KRef)
|
|
81
|
+
if MK is not None:
|
|
82
|
+
self.setMK(MK)
|
|
83
|
+
if ReferencePressure is not None:
|
|
84
|
+
self.setReferencePressure(ReferencePressure)
|
|
85
|
+
if FrictionAngleFailure is not None:
|
|
86
|
+
self.setFrictionAngleFailure(FrictionAngleFailure)
|
|
87
|
+
if FailureRatio is not None:
|
|
88
|
+
self.setFailureRatio(FailureRatio)
|
|
89
|
+
if FrictionAngleNormallyConsolidated is not None:
|
|
90
|
+
self.setFrictionAngleNormallyConsolidated(FrictionAngleNormallyConsolidated)
|
|
91
|
+
if DilationAngle is not None:
|
|
92
|
+
self.setDilationAngle(DilationAngle)
|
|
93
|
+
if ConstantVolumeFrictionAngle is not None:
|
|
94
|
+
self.setConstantVolumeFrictionAngle(ConstantVolumeFrictionAngle)
|
|
95
|
+
if TensileStrength is not None:
|
|
96
|
+
self.setTensileStrength(TensileStrength)
|
|
97
|
+
if Cohesion is not None:
|
|
98
|
+
self.setCohesion(Cohesion)
|
|
99
|
+
|
|
100
|
+
################ Code below this line will not be overridden ################
|
|
101
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
102
|
+
from rs3.properties.PropertyEnums import *
|
|
103
|
+
class ChSoil(ChSoilBase):
|
|
104
|
+
def __init__(self, client: Client, id: str):
|
|
105
|
+
super().__init__(client, id)
|
|
106
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
107
|
+
|
|
108
|
+
def getDilationOption(self) -> DilationOption:
|
|
109
|
+
return self._strengthPropertyAccessor.getEnumValue("DilationOption", DilationOption)
|
|
110
|
+
def setDilationOption(self, DilationOption: DilationOption):
|
|
111
|
+
return self._strengthPropertyAccessor.setEnumValue("DilationOption", DilationOption.value)
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import rs3.generatedFiles.MaterialDataService_pb2_grpc as MaterialDataService_pb2_grpc
|
|
2
|
+
from rs3._client import Client
|
|
3
|
+
from rs3.properties.PropertyEnums import *
|
|
4
|
+
from rs3._proxyObject import _ProxyObject
|
|
5
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor
|
|
6
|
+
from rs3.properties.material.constitutiveModel.AnisotropicLinear import AnisotropicLinear
|
|
7
|
+
from rs3.properties.material.constitutiveModel.BarcelonaBasic import BarcelonaBasic
|
|
8
|
+
from rs3.properties.material.constitutiveModel.BartonBandis import BartonBandis
|
|
9
|
+
from rs3.properties.material.constitutiveModel.BoundingSurfacePlasticity import BoundingSurfacePlasticity
|
|
10
|
+
from rs3.properties.material.constitutiveModel.CamClay import CamClay
|
|
11
|
+
from rs3.properties.material.constitutiveModel.ChSoil import ChSoil
|
|
12
|
+
from rs3.properties.material.constitutiveModel.CySoil import CySoil
|
|
13
|
+
from rs3.properties.material.constitutiveModel.DiscreteFunction import DiscreteFunction
|
|
14
|
+
from rs3.properties.material.constitutiveModel.DoubleYield import DoubleYield
|
|
15
|
+
from rs3.properties.material.constitutiveModel.DruckerPrager import DruckerPrager
|
|
16
|
+
from rs3.properties.material.constitutiveModel.GeneralizedAnisotropic import GeneralizedAnisotropic
|
|
17
|
+
from rs3.properties.material.constitutiveModel.GeneralizedHoekBrown import GeneralizedHoekBrown
|
|
18
|
+
from rs3.properties.material.constitutiveModel.HardeningSoil import HardeningSoil
|
|
19
|
+
from rs3.properties.material.constitutiveModel.HardeningSoilWithSmallStrain import HardeningSoilWithSmallStrain
|
|
20
|
+
from rs3.properties.material.constitutiveModel.HoekBrown import HoekBrown
|
|
21
|
+
from rs3.properties.material.constitutiveModel.Hyperbolic import Hyperbolic
|
|
22
|
+
from rs3.properties.material.constitutiveModel.JointedGeneralizedHoekBrown import JointedGeneralizedHoekBrown
|
|
23
|
+
from rs3.properties.material.constitutiveModel.JointedMohrCoulomb import JointedMohrCoulomb
|
|
24
|
+
from rs3.properties.material.constitutiveModel.ManzariAndDafalias import ManzariAndDafalias
|
|
25
|
+
from rs3.properties.material.constitutiveModel.ModifiedCamClay import ModifiedCamClay
|
|
26
|
+
from rs3.properties.material.constitutiveModel.MohrCoulomb import MohrCoulomb
|
|
27
|
+
from rs3.properties.material.constitutiveModel.MohrCoulombWithCap import MohrCoulombWithCap
|
|
28
|
+
from rs3.properties.material.constitutiveModel.Norsand import Norsand
|
|
29
|
+
from rs3.properties.material.constitutiveModel.PowerCurve import PowerCurve
|
|
30
|
+
from rs3.properties.material.constitutiveModel.Shansep import Shansep
|
|
31
|
+
from rs3.properties.material.constitutiveModel.ShearNormalFunction import ShearNormalFunction
|
|
32
|
+
from rs3.properties.material.constitutiveModel.SnowdenAnisotropicLinear import SnowdenAnisotropicLinear
|
|
33
|
+
from rs3.properties.material.constitutiveModel.SofteningHardening import SofteningHardening
|
|
34
|
+
from rs3.properties.material.constitutiveModel.SoftSoil import SoftSoil
|
|
35
|
+
from rs3.properties.material.constitutiveModel.SoftSoilCreep import SoftSoilCreep
|
|
36
|
+
from rs3.properties.material.constitutiveModel.SwellingRock import SwellingRock
|
|
37
|
+
from rs3.properties.material.constitutiveModel.VerticalStressRatio import VerticalStressRatio
|
|
38
|
+
|
|
39
|
+
class ConstitutiveModel(_ProxyObject):
|
|
40
|
+
"""
|
|
41
|
+
Examples:
|
|
42
|
+
See :ref:`material_constitutive_models_example`.
|
|
43
|
+
"""
|
|
44
|
+
def __init__(self, client : Client, materialID : str):
|
|
45
|
+
super().__init__(client, materialID)
|
|
46
|
+
self._materialDataService = MaterialDataService_pb2_grpc.MaterialDataServiceStub(self._client.channel)
|
|
47
|
+
self._propertyAccessor = PropertyAccessor(client, materialID, self._materialDataService)
|
|
48
|
+
self.AnisotropicLinear = AnisotropicLinear(client, materialID)
|
|
49
|
+
self.BarcelonaBasic = BarcelonaBasic(client, materialID)
|
|
50
|
+
self.BartonBandis = BartonBandis(client, materialID)
|
|
51
|
+
self.BoundingSurfacePlasticity = BoundingSurfacePlasticity(client, materialID)
|
|
52
|
+
self.CamClay = CamClay(client, materialID)
|
|
53
|
+
self.ChSoil = ChSoil(client, materialID)
|
|
54
|
+
self.CySoil = CySoil(client, materialID)
|
|
55
|
+
self.DiscreteFunction = DiscreteFunction(client, materialID)
|
|
56
|
+
self.DoubleYield = DoubleYield(client, materialID)
|
|
57
|
+
self.DruckerPrager = DruckerPrager(client, materialID)
|
|
58
|
+
self.GeneralizedAnisotropic = GeneralizedAnisotropic(client, materialID)
|
|
59
|
+
self.GeneralizedHoekBrown = GeneralizedHoekBrown(client, materialID)
|
|
60
|
+
self.HardeningSoil = HardeningSoil(client, materialID)
|
|
61
|
+
self.HardeningSoilWithSmallStrain = HardeningSoilWithSmallStrain(client, materialID)
|
|
62
|
+
self.HoekBrown = HoekBrown(client, materialID)
|
|
63
|
+
self.Hyperbolic = Hyperbolic(client, materialID)
|
|
64
|
+
self.JointedGeneralizedHoekBrown = JointedGeneralizedHoekBrown(client, materialID)
|
|
65
|
+
self.JointedMohrCoulomb = JointedMohrCoulomb(client, materialID)
|
|
66
|
+
self.ManzariAndDafalias = ManzariAndDafalias(client, materialID)
|
|
67
|
+
self.ModifiedCamClay = ModifiedCamClay(client, materialID)
|
|
68
|
+
self.MohrCoulomb = MohrCoulomb(client, materialID)
|
|
69
|
+
self.MohrCoulombWithCap = MohrCoulombWithCap(client, materialID)
|
|
70
|
+
self.Norsand = Norsand(client, materialID)
|
|
71
|
+
self.PowerCurve = PowerCurve(client, materialID)
|
|
72
|
+
self.Shansep = Shansep(client, materialID)
|
|
73
|
+
self.ShearNormalFunction = ShearNormalFunction(client, materialID)
|
|
74
|
+
self.SnowdenAnisotropicLinear = SnowdenAnisotropicLinear(client, materialID)
|
|
75
|
+
self.SofteningHardening = SofteningHardening(client, materialID)
|
|
76
|
+
self.SoftSoil = SoftSoil(client, materialID)
|
|
77
|
+
self.SoftSoilCreep = SoftSoilCreep(client, materialID)
|
|
78
|
+
self.SwellingRock = SwellingRock(client, materialID)
|
|
79
|
+
self.VerticalStressRatio = VerticalStressRatio(client, materialID)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def getConstitutiveModel(self) -> ConstitutiveModelTypes:
|
|
83
|
+
return self._propertyAccessor.getEnumValue("StrengthType", ConstitutiveModelTypes)
|
|
84
|
+
def setConstitutiveModel(self, constitutiveModelTypes : ConstitutiveModelTypes):
|
|
85
|
+
self._propertyAccessor.setEnumValue("StrengthType", constitutiveModelTypes.value)
|
|
86
|
+
|
|
87
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
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 CySoilBase(_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 getKRefIso(self) -> float:
|
|
12
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("KRefIso")
|
|
13
|
+
def setKRefIso(self, value: float):
|
|
14
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("KRefIso", value)
|
|
15
|
+
def getMK(self) -> float:
|
|
16
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("MK")
|
|
17
|
+
def setMK(self, value: float):
|
|
18
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("MK", value)
|
|
19
|
+
def getRK(self) -> float:
|
|
20
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("RK")
|
|
21
|
+
def setRK(self, value: float):
|
|
22
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("RK", value)
|
|
23
|
+
def getReferencePressure(self) -> float:
|
|
24
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("ReferencePressure")
|
|
25
|
+
def setReferencePressure(self, value: float):
|
|
26
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("ReferencePressure", value)
|
|
27
|
+
def getPoissonsRatio(self) -> float:
|
|
28
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("PoissonsRatio")
|
|
29
|
+
def setPoissonsRatio(self, value: float):
|
|
30
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("PoissonsRatio", value)
|
|
31
|
+
def getAlfaCap(self) -> float:
|
|
32
|
+
return self._strengthPropertyAccessor.getDoubleProperty("AlfaCap")
|
|
33
|
+
def setAlfaCap(self, value: float):
|
|
34
|
+
self._strengthPropertyAccessor.setDoubleProperty("AlfaCap", value)
|
|
35
|
+
def getNormallyConsolidatedCapPressure(self) -> float:
|
|
36
|
+
return self._strengthPropertyAccessor.getDoubleProperty("CapPressureNormallyConsolidated")
|
|
37
|
+
def setNormallyConsolidatedCapPressure(self, value: float):
|
|
38
|
+
self._strengthPropertyAccessor.setDoubleProperty("CapPressureNormallyConsolidated", value)
|
|
39
|
+
def getFrictionAngleFailure(self) -> float:
|
|
40
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FrictionAngleFailure")
|
|
41
|
+
def setFrictionAngleFailure(self, value: float):
|
|
42
|
+
self._strengthPropertyAccessor.setDoubleProperty("FrictionAngleFailure", value)
|
|
43
|
+
def getFailureRatio(self) -> float:
|
|
44
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FailureRatio")
|
|
45
|
+
def setFailureRatio(self, value: float):
|
|
46
|
+
self._strengthPropertyAccessor.setDoubleProperty("FailureRatio", value)
|
|
47
|
+
def getFrictionAngleNormallyConsolidated(self) -> float:
|
|
48
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FrictionAngleNormallyConsolidated")
|
|
49
|
+
def setFrictionAngleNormallyConsolidated(self, value: float):
|
|
50
|
+
self._strengthPropertyAccessor.setDoubleProperty("FrictionAngleNormallyConsolidated", value)
|
|
51
|
+
def getBetaShearCalibrationFactor(self) -> float:
|
|
52
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Beta")
|
|
53
|
+
def setBetaShearCalibrationFactor(self, value: float):
|
|
54
|
+
self._strengthPropertyAccessor.setDoubleProperty("Beta", value)
|
|
55
|
+
def getDilationAngle(self) -> float:
|
|
56
|
+
return self._strengthPropertyAccessor.getDoubleProperty("DilationAngle")
|
|
57
|
+
def setDilationAngle(self, value: float):
|
|
58
|
+
self._strengthPropertyAccessor.setDoubleProperty("DilationAngle", value)
|
|
59
|
+
def getConstantVolumeFrictionAngle(self) -> float:
|
|
60
|
+
return self._strengthPropertyAccessor.getDoubleProperty("ConstantVolumeFrictionAngle")
|
|
61
|
+
def setConstantVolumeFrictionAngle(self, value: float):
|
|
62
|
+
self._strengthPropertyAccessor.setDoubleProperty("ConstantVolumeFrictionAngle", value)
|
|
63
|
+
def getTensileStrength(self) -> float:
|
|
64
|
+
return self._strengthPropertyAccessor.getDoubleProperty("TensileStrength")
|
|
65
|
+
def setTensileStrength(self, value: float):
|
|
66
|
+
self._strengthPropertyAccessor.setDoubleProperty("TensileStrength", value)
|
|
67
|
+
def getCohesion(self) -> float:
|
|
68
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Cohesion")
|
|
69
|
+
def setCohesion(self, value: float):
|
|
70
|
+
self._strengthPropertyAccessor.setDoubleProperty("Cohesion", value)
|
|
71
|
+
def getProperties(self):
|
|
72
|
+
return {
|
|
73
|
+
"KRefIso": self.getKRefIso(),
|
|
74
|
+
"MK": self.getMK(),
|
|
75
|
+
"RK": self.getRK(),
|
|
76
|
+
"ReferencePressure": self.getReferencePressure(),
|
|
77
|
+
"PoissonsRatio": self.getPoissonsRatio(),
|
|
78
|
+
"AlfaCap": self.getAlfaCap(),
|
|
79
|
+
"NormallyConsolidatedCapPressure": self.getNormallyConsolidatedCapPressure(),
|
|
80
|
+
"FrictionAngleFailure": self.getFrictionAngleFailure(),
|
|
81
|
+
"FailureRatio": self.getFailureRatio(),
|
|
82
|
+
"FrictionAngleNormallyConsolidated": self.getFrictionAngleNormallyConsolidated(),
|
|
83
|
+
"BetaShearCalibrationFactor": self.getBetaShearCalibrationFactor(),
|
|
84
|
+
"DilationAngle": self.getDilationAngle(),
|
|
85
|
+
"ConstantVolumeFrictionAngle": self.getConstantVolumeFrictionAngle(),
|
|
86
|
+
"TensileStrength": self.getTensileStrength(),
|
|
87
|
+
"Cohesion": self.getCohesion(),
|
|
88
|
+
}
|
|
89
|
+
def setProperties(self, KRefIso: float = None, MK: float = None, RK: float = None, ReferencePressure: float = None, PoissonsRatio: float = None, AlfaCap: float = None, NormallyConsolidatedCapPressure: float = None, FrictionAngleFailure: float = None, FailureRatio: float = None, FrictionAngleNormallyConsolidated: float = None, BetaShearCalibrationFactor: float = None, DilationAngle: float = None, ConstantVolumeFrictionAngle: float = None, TensileStrength: float = None, Cohesion: float = None):
|
|
90
|
+
if KRefIso is not None:
|
|
91
|
+
self.setKRefIso(KRefIso)
|
|
92
|
+
if MK is not None:
|
|
93
|
+
self.setMK(MK)
|
|
94
|
+
if RK is not None:
|
|
95
|
+
self.setRK(RK)
|
|
96
|
+
if ReferencePressure is not None:
|
|
97
|
+
self.setReferencePressure(ReferencePressure)
|
|
98
|
+
if PoissonsRatio is not None:
|
|
99
|
+
self.setPoissonsRatio(PoissonsRatio)
|
|
100
|
+
if AlfaCap is not None:
|
|
101
|
+
self.setAlfaCap(AlfaCap)
|
|
102
|
+
if NormallyConsolidatedCapPressure is not None:
|
|
103
|
+
self.setNormallyConsolidatedCapPressure(NormallyConsolidatedCapPressure)
|
|
104
|
+
if FrictionAngleFailure is not None:
|
|
105
|
+
self.setFrictionAngleFailure(FrictionAngleFailure)
|
|
106
|
+
if FailureRatio is not None:
|
|
107
|
+
self.setFailureRatio(FailureRatio)
|
|
108
|
+
if FrictionAngleNormallyConsolidated is not None:
|
|
109
|
+
self.setFrictionAngleNormallyConsolidated(FrictionAngleNormallyConsolidated)
|
|
110
|
+
if BetaShearCalibrationFactor is not None:
|
|
111
|
+
self.setBetaShearCalibrationFactor(BetaShearCalibrationFactor)
|
|
112
|
+
if DilationAngle is not None:
|
|
113
|
+
self.setDilationAngle(DilationAngle)
|
|
114
|
+
if ConstantVolumeFrictionAngle is not None:
|
|
115
|
+
self.setConstantVolumeFrictionAngle(ConstantVolumeFrictionAngle)
|
|
116
|
+
if TensileStrength is not None:
|
|
117
|
+
self.setTensileStrength(TensileStrength)
|
|
118
|
+
if Cohesion is not None:
|
|
119
|
+
self.setCohesion(Cohesion)
|
|
120
|
+
|
|
121
|
+
################ Code below this line will not be overridden ################
|
|
122
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
123
|
+
from rs3.properties.PropertyEnums import *
|
|
124
|
+
class CySoil(CySoilBase):
|
|
125
|
+
def __init__(self, client: Client, id: str):
|
|
126
|
+
super().__init__(client, id)
|
|
127
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
128
|
+
|
|
129
|
+
def getCap(self) -> CySoilCapOption:
|
|
130
|
+
return self._strengthPropertyAccessor.getEnumValue("Cap", CySoilCapOption)
|
|
131
|
+
def setCap(self, CapType: CySoilCapOption):
|
|
132
|
+
return self._strengthPropertyAccessor.setEnumValue("Cap", CapType.value)
|
|
133
|
+
|
|
134
|
+
def getDilationOption(self) -> DilationOption:
|
|
135
|
+
return self._strengthPropertyAccessor.getEnumValue("DilationOption", DilationOption)
|
|
136
|
+
def setDilationOption(self, DilationOption: DilationOption):
|
|
137
|
+
return self._strengthPropertyAccessor.setEnumValue("DilationOption", DilationOption.value)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
from rs3._client import Client
|
|
2
|
+
from rs3.properties.PropertyEnums import *
|
|
3
|
+
from rs3._proxyObject import _ProxyObject
|
|
4
|
+
from ._PropertyAccessor import MaterialStrengthFunctionPropertyAccessor
|
|
5
|
+
from rs3.properties.material.constitutiveModel.stiffness.LinearIsotropic import LinearIsotropic
|
|
6
|
+
from rs3.properties.material.constitutiveModel.stiffness.TransverselyIsotropic import TransverselyIsotropic
|
|
7
|
+
from rs3.properties.material.constitutiveModel.stiffness.Orthotropic import Orthotropic
|
|
8
|
+
from rs3.properties.material.constitutiveModel.stiffness.DuncanChangHyperbolic import DuncanChangHyperbolic
|
|
9
|
+
from rs3.properties.material.constitutiveModel.stiffness.NonlinearIsotropic import NonlinearIsotropic
|
|
10
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
11
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
|
|
12
|
+
import rs3.generatedFiles.MaterialDataService_pb2_grpc as MaterialDataService_pb2_grpc
|
|
13
|
+
|
|
14
|
+
class DiscreteFunction(_ProxyObject):
|
|
15
|
+
def __init__(self, client: Client, id: str):
|
|
16
|
+
super().__init__(client, id)
|
|
17
|
+
self._propertyAccessor = MaterialStrengthFunctionPropertyAccessor(client, id)
|
|
18
|
+
self._stiffnessPropertyAccessor = BasePropertyAccessor(client, id, MaterialDataService_pb2_grpc.MaterialDataServiceStub(self._client.channel))
|
|
19
|
+
self.LinearIsotropicStiffness = LinearIsotropic(client, id)
|
|
20
|
+
self.TransverselyIsotropicStiffness = TransverselyIsotropic(client, id)
|
|
21
|
+
self.OrthotropicStiffness = Orthotropic(client, id)
|
|
22
|
+
self.DuncanChangHyperbolicStiffness = DuncanChangHyperbolic(client, id)
|
|
23
|
+
self.NonlinearIsotropicStiffness = NonlinearIsotropic(client, id)
|
|
24
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
25
|
+
|
|
26
|
+
def getElasticType(self) -> MaterialElasticityTypes:
|
|
27
|
+
return self._stiffnessPropertyAccessor.getEnumValue("StiffnessType", MaterialElasticityTypes)
|
|
28
|
+
def setElasticType(self, StiffnessType : MaterialElasticityTypes):
|
|
29
|
+
self._stiffnessPropertyAccessor.setEnumValue("StiffnessType", StiffnessType.value)
|
|
30
|
+
|
|
31
|
+
def getDiscreteFunctionName(self) -> str:
|
|
32
|
+
return self._propertyAccessor.getSelectedFunctionProperty(ConstitutiveModelTypes.DISCRETE_FUNCTION, "SelectedFunctionID")
|
|
33
|
+
def setDiscreteFunctionByName(self, name: str):
|
|
34
|
+
self._propertyAccessor.setSelectedFunctionProperty(ConstitutiveModelTypes.DISCRETE_FUNCTION, "SelectedFunctionID", name)
|
|
35
|
+
|
|
36
|
+
def getApplySSRShearStrengthReduction(self) -> bool:
|
|
37
|
+
return self._propertyAccessor.getBoolValue("UseSSR")
|
|
38
|
+
def setApplySSRShearStrengthReduction(self, value: bool):
|
|
39
|
+
self._propertyAccessor.setBoolValue("UseSSR", value)
|
|
@@ -0,0 +1,130 @@
|
|
|
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 DoubleYieldBase(_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 getKRefIso(self) -> float:
|
|
12
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("KRefIso")
|
|
13
|
+
def setKRefIso(self, value: float):
|
|
14
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("KRefIso", value)
|
|
15
|
+
def getMK(self) -> float:
|
|
16
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("MK")
|
|
17
|
+
def setMK(self, value: float):
|
|
18
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("MK", value)
|
|
19
|
+
def getRK(self) -> float:
|
|
20
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("RK")
|
|
21
|
+
def setRK(self, value: float):
|
|
22
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("RK", value)
|
|
23
|
+
def getReferencePressure(self) -> float:
|
|
24
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("ReferencePressure")
|
|
25
|
+
def setReferencePressure(self, value: float):
|
|
26
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("ReferencePressure", value)
|
|
27
|
+
def getPoissonsRatio(self) -> float:
|
|
28
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("PoissonsRatio")
|
|
29
|
+
def setPoissonsRatio(self, value: float):
|
|
30
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("PoissonsRatio", value)
|
|
31
|
+
def getNormallyConsolidatedCapPressure(self) -> float:
|
|
32
|
+
return self._strengthPropertyAccessor.getDoubleProperty("CapPressureNormallyConsolidated")
|
|
33
|
+
def setNormallyConsolidatedCapPressure(self, value: float):
|
|
34
|
+
self._strengthPropertyAccessor.setDoubleProperty("CapPressureNormallyConsolidated", value)
|
|
35
|
+
def getFrictionAngleFailure(self) -> float:
|
|
36
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FrictionAngleFailure")
|
|
37
|
+
def setFrictionAngleFailure(self, value: float):
|
|
38
|
+
self._strengthPropertyAccessor.setDoubleProperty("FrictionAngleFailure", value)
|
|
39
|
+
def getFailureRatio(self) -> float:
|
|
40
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FailureRatio")
|
|
41
|
+
def setFailureRatio(self, value: float):
|
|
42
|
+
self._strengthPropertyAccessor.setDoubleProperty("FailureRatio", value)
|
|
43
|
+
def getFrictionAngleNormallyConsolidated(self) -> float:
|
|
44
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FrictionAngleNormallyConsolidated")
|
|
45
|
+
def setFrictionAngleNormallyConsolidated(self, value: float):
|
|
46
|
+
self._strengthPropertyAccessor.setDoubleProperty("FrictionAngleNormallyConsolidated", value)
|
|
47
|
+
def getBetaShearCalibrationFactor(self) -> float:
|
|
48
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Beta")
|
|
49
|
+
def setBetaShearCalibrationFactor(self, value: float):
|
|
50
|
+
self._strengthPropertyAccessor.setDoubleProperty("Beta", value)
|
|
51
|
+
def getDilationAngle(self) -> float:
|
|
52
|
+
return self._strengthPropertyAccessor.getDoubleProperty("DilationAngle")
|
|
53
|
+
def setDilationAngle(self, value: float):
|
|
54
|
+
self._strengthPropertyAccessor.setDoubleProperty("DilationAngle", value)
|
|
55
|
+
def getConstantVolumeFrictionAngle(self) -> float:
|
|
56
|
+
return self._strengthPropertyAccessor.getDoubleProperty("ConstantVolumeFrictionAngle")
|
|
57
|
+
def setConstantVolumeFrictionAngle(self, value: float):
|
|
58
|
+
self._strengthPropertyAccessor.setDoubleProperty("ConstantVolumeFrictionAngle", value)
|
|
59
|
+
def getTensileStrength(self) -> float:
|
|
60
|
+
return self._strengthPropertyAccessor.getDoubleProperty("TensileStrength")
|
|
61
|
+
def setTensileStrength(self, value: float):
|
|
62
|
+
self._strengthPropertyAccessor.setDoubleProperty("TensileStrength", value)
|
|
63
|
+
def getCohesion(self) -> float:
|
|
64
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Cohesion")
|
|
65
|
+
def setCohesion(self, value: float):
|
|
66
|
+
self._strengthPropertyAccessor.setDoubleProperty("Cohesion", value)
|
|
67
|
+
def getProperties(self):
|
|
68
|
+
return {
|
|
69
|
+
"KRefIso": self.getKRefIso(),
|
|
70
|
+
"MK": self.getMK(),
|
|
71
|
+
"RK": self.getRK(),
|
|
72
|
+
"ReferencePressure": self.getReferencePressure(),
|
|
73
|
+
"PoissonsRatio": self.getPoissonsRatio(),
|
|
74
|
+
"NormallyConsolidatedCapPressure": self.getNormallyConsolidatedCapPressure(),
|
|
75
|
+
"FrictionAngleFailure": self.getFrictionAngleFailure(),
|
|
76
|
+
"FailureRatio": self.getFailureRatio(),
|
|
77
|
+
"FrictionAngleNormallyConsolidated": self.getFrictionAngleNormallyConsolidated(),
|
|
78
|
+
"BetaShearCalibrationFactor": self.getBetaShearCalibrationFactor(),
|
|
79
|
+
"DilationAngle": self.getDilationAngle(),
|
|
80
|
+
"ConstantVolumeFrictionAngle": self.getConstantVolumeFrictionAngle(),
|
|
81
|
+
"TensileStrength": self.getTensileStrength(),
|
|
82
|
+
"Cohesion": self.getCohesion(),
|
|
83
|
+
}
|
|
84
|
+
def setProperties(self, KRefIso: float = None, MK: float = None, RK: float = None, ReferencePressure: float = None, PoissonsRatio: float = None, NormallyConsolidatedCapPressure: float = None, FrictionAngleFailure: float = None, FailureRatio: float = None, FrictionAngleNormallyConsolidated: float = None, BetaShearCalibrationFactor: float = None, DilationAngle: float = None, ConstantVolumeFrictionAngle: float = None, TensileStrength: float = None, Cohesion: float = None):
|
|
85
|
+
if KRefIso is not None:
|
|
86
|
+
self.setKRefIso(KRefIso)
|
|
87
|
+
if MK is not None:
|
|
88
|
+
self.setMK(MK)
|
|
89
|
+
if RK is not None:
|
|
90
|
+
self.setRK(RK)
|
|
91
|
+
if ReferencePressure is not None:
|
|
92
|
+
self.setReferencePressure(ReferencePressure)
|
|
93
|
+
if PoissonsRatio is not None:
|
|
94
|
+
self.setPoissonsRatio(PoissonsRatio)
|
|
95
|
+
if NormallyConsolidatedCapPressure is not None:
|
|
96
|
+
self.setNormallyConsolidatedCapPressure(NormallyConsolidatedCapPressure)
|
|
97
|
+
if FrictionAngleFailure is not None:
|
|
98
|
+
self.setFrictionAngleFailure(FrictionAngleFailure)
|
|
99
|
+
if FailureRatio is not None:
|
|
100
|
+
self.setFailureRatio(FailureRatio)
|
|
101
|
+
if FrictionAngleNormallyConsolidated is not None:
|
|
102
|
+
self.setFrictionAngleNormallyConsolidated(FrictionAngleNormallyConsolidated)
|
|
103
|
+
if BetaShearCalibrationFactor is not None:
|
|
104
|
+
self.setBetaShearCalibrationFactor(BetaShearCalibrationFactor)
|
|
105
|
+
if DilationAngle is not None:
|
|
106
|
+
self.setDilationAngle(DilationAngle)
|
|
107
|
+
if ConstantVolumeFrictionAngle is not None:
|
|
108
|
+
self.setConstantVolumeFrictionAngle(ConstantVolumeFrictionAngle)
|
|
109
|
+
if TensileStrength is not None:
|
|
110
|
+
self.setTensileStrength(TensileStrength)
|
|
111
|
+
if Cohesion is not None:
|
|
112
|
+
self.setCohesion(Cohesion)
|
|
113
|
+
|
|
114
|
+
################ Code below this line will not be overridden ################
|
|
115
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
116
|
+
from rs3.properties.PropertyEnums import *
|
|
117
|
+
class DoubleYield(DoubleYieldBase):
|
|
118
|
+
def __init__(self, client: Client, id: str):
|
|
119
|
+
super().__init__(client, id)
|
|
120
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
121
|
+
|
|
122
|
+
def getCapType(self) -> DoubleYieldCapType:
|
|
123
|
+
return self._strengthPropertyAccessor.getEnumValue("Cap", DoubleYieldCapType)
|
|
124
|
+
def setCapType(self, CapType: DoubleYieldCapType):
|
|
125
|
+
return self._strengthPropertyAccessor.setEnumValue("Cap", CapType.value)
|
|
126
|
+
|
|
127
|
+
def getDilationOption(self) -> DilationOption:
|
|
128
|
+
return self._strengthPropertyAccessor.getEnumValue("DilationOption", DilationOption)
|
|
129
|
+
def setDilationOption(self, DilationOption: DilationOption):
|
|
130
|
+
return self._strengthPropertyAccessor.setEnumValue("DilationOption", DilationOption.value)
|