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,170 @@
|
|
|
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 HardeningSoilWithSmallStrainBase(_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 getG0Ref(self) -> float:
|
|
12
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("G0Ref")
|
|
13
|
+
def setG0Ref(self, value: float):
|
|
14
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("G0Ref", value)
|
|
15
|
+
def getGamma07(self) -> float:
|
|
16
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("Gamma07")
|
|
17
|
+
def setGamma07(self, value: float):
|
|
18
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("Gamma07", value)
|
|
19
|
+
def getERef50(self) -> float:
|
|
20
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("ERef50")
|
|
21
|
+
def setERef50(self, value: float):
|
|
22
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("ERef50", value)
|
|
23
|
+
def getERefOed(self) -> float:
|
|
24
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("ERefOed")
|
|
25
|
+
def setERefOed(self, value: float):
|
|
26
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("ERefOed", value)
|
|
27
|
+
def getERefUr(self) -> float:
|
|
28
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("ERefUr")
|
|
29
|
+
def setERefUr(self, value: float):
|
|
30
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("ERefUr", value)
|
|
31
|
+
def getM(self) -> float:
|
|
32
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("M")
|
|
33
|
+
def setM(self, value: float):
|
|
34
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("M", value)
|
|
35
|
+
def getReferencePressure(self) -> float:
|
|
36
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("ReferencePressure")
|
|
37
|
+
def setReferencePressure(self, value: float):
|
|
38
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("ReferencePressure", value)
|
|
39
|
+
def getPoissonsRatio(self) -> float:
|
|
40
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("PoissonsRatio")
|
|
41
|
+
def setPoissonsRatio(self, value: float):
|
|
42
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("PoissonsRatio", value)
|
|
43
|
+
def getPLimit(self) -> float:
|
|
44
|
+
return self._stiffnessPropertyAccessor.getDoubleProperty("PLimit")
|
|
45
|
+
def setPLimit(self, value: float):
|
|
46
|
+
self._stiffnessPropertyAccessor.setDoubleProperty("PLimit", value)
|
|
47
|
+
def getFailureRatio(self) -> float:
|
|
48
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FailureRatio")
|
|
49
|
+
def setFailureRatio(self, value: float):
|
|
50
|
+
self._strengthPropertyAccessor.setDoubleProperty("FailureRatio", value)
|
|
51
|
+
def getE0(self) -> float:
|
|
52
|
+
return self._strengthPropertyAccessor.getDoubleProperty("E0")
|
|
53
|
+
def setE0(self, value: float):
|
|
54
|
+
self._strengthPropertyAccessor.setDoubleProperty("E0", value)
|
|
55
|
+
def getK0NormalConsolidation(self) -> float:
|
|
56
|
+
return self._strengthPropertyAccessor.getDoubleProperty("K0NormalConsolidation")
|
|
57
|
+
def setK0NormalConsolidation(self, value: float):
|
|
58
|
+
self._strengthPropertyAccessor.setDoubleProperty("K0NormalConsolidation", value)
|
|
59
|
+
def getOCRStress(self) -> float:
|
|
60
|
+
return self._strengthPropertyAccessor.getDoubleProperty("OcrStress")
|
|
61
|
+
def setOCRStress(self, value: float):
|
|
62
|
+
self._strengthPropertyAccessor.setDoubleProperty("OcrStress", value)
|
|
63
|
+
def getInitialMeanStress(self) -> float:
|
|
64
|
+
return self._strengthPropertyAccessor.getDoubleProperty("InitialMeanStress")
|
|
65
|
+
def setInitialMeanStress(self, value: float):
|
|
66
|
+
self._strengthPropertyAccessor.setDoubleProperty("InitialMeanStress", value)
|
|
67
|
+
def getDilationAngle(self) -> float:
|
|
68
|
+
return self._strengthPropertyAccessor.getDoubleProperty("DilationAngle")
|
|
69
|
+
def setDilationAngle(self, value: float):
|
|
70
|
+
self._strengthPropertyAccessor.setDoubleProperty("DilationAngle", value)
|
|
71
|
+
def getFrictionAngle(self) -> float:
|
|
72
|
+
return self._strengthPropertyAccessor.getDoubleProperty("FrictionAngle")
|
|
73
|
+
def setFrictionAngle(self, value: float):
|
|
74
|
+
self._strengthPropertyAccessor.setDoubleProperty("FrictionAngle", value)
|
|
75
|
+
def getCohesion(self) -> float:
|
|
76
|
+
return self._strengthPropertyAccessor.getDoubleProperty("Cohesion")
|
|
77
|
+
def setCohesion(self, value: float):
|
|
78
|
+
self._strengthPropertyAccessor.setDoubleProperty("Cohesion", value)
|
|
79
|
+
def getTensileStrength(self) -> float:
|
|
80
|
+
return self._strengthPropertyAccessor.getDoubleProperty("TensileStrength")
|
|
81
|
+
def setTensileStrength(self, value: float):
|
|
82
|
+
self._strengthPropertyAccessor.setDoubleProperty("TensileStrength", value)
|
|
83
|
+
def getEmax(self) -> float:
|
|
84
|
+
return self._strengthPropertyAccessor.getDoubleProperty("EMax")
|
|
85
|
+
def setEmax(self, value: float):
|
|
86
|
+
self._strengthPropertyAccessor.setDoubleProperty("EMax", value)
|
|
87
|
+
def getProperties(self):
|
|
88
|
+
return {
|
|
89
|
+
"G0Ref": self.getG0Ref(),
|
|
90
|
+
"Gamma07": self.getGamma07(),
|
|
91
|
+
"ERef50": self.getERef50(),
|
|
92
|
+
"ERefOed": self.getERefOed(),
|
|
93
|
+
"ERefUr": self.getERefUr(),
|
|
94
|
+
"M": self.getM(),
|
|
95
|
+
"ReferencePressure": self.getReferencePressure(),
|
|
96
|
+
"PoissonsRatio": self.getPoissonsRatio(),
|
|
97
|
+
"PLimit": self.getPLimit(),
|
|
98
|
+
"FailureRatio": self.getFailureRatio(),
|
|
99
|
+
"E0": self.getE0(),
|
|
100
|
+
"K0NormalConsolidation": self.getK0NormalConsolidation(),
|
|
101
|
+
"OCRStress": self.getOCRStress(),
|
|
102
|
+
"InitialMeanStress": self.getInitialMeanStress(),
|
|
103
|
+
"DilationAngle": self.getDilationAngle(),
|
|
104
|
+
"FrictionAngle": self.getFrictionAngle(),
|
|
105
|
+
"Cohesion": self.getCohesion(),
|
|
106
|
+
"TensileStrength": self.getTensileStrength(),
|
|
107
|
+
"Emax": self.getEmax(),
|
|
108
|
+
}
|
|
109
|
+
def setProperties(self, G0Ref: float = None, Gamma07: float = None, ERef50: float = None, ERefOed: float = None, ERefUr: float = None, M: float = None, ReferencePressure: float = None, PoissonsRatio: float = None, PLimit: float = None, FailureRatio: float = None, E0: float = None, K0NormalConsolidation: float = None, OCRStress: float = None, InitialMeanStress: float = None, DilationAngle: float = None, FrictionAngle: float = None, Cohesion: float = None, TensileStrength: float = None, Emax: float = None):
|
|
110
|
+
if G0Ref is not None:
|
|
111
|
+
self.setG0Ref(G0Ref)
|
|
112
|
+
if Gamma07 is not None:
|
|
113
|
+
self.setGamma07(Gamma07)
|
|
114
|
+
if ERef50 is not None:
|
|
115
|
+
self.setERef50(ERef50)
|
|
116
|
+
if ERefOed is not None:
|
|
117
|
+
self.setERefOed(ERefOed)
|
|
118
|
+
if ERefUr is not None:
|
|
119
|
+
self.setERefUr(ERefUr)
|
|
120
|
+
if M is not None:
|
|
121
|
+
self.setM(M)
|
|
122
|
+
if ReferencePressure is not None:
|
|
123
|
+
self.setReferencePressure(ReferencePressure)
|
|
124
|
+
if PoissonsRatio is not None:
|
|
125
|
+
self.setPoissonsRatio(PoissonsRatio)
|
|
126
|
+
if PLimit is not None:
|
|
127
|
+
self.setPLimit(PLimit)
|
|
128
|
+
if FailureRatio is not None:
|
|
129
|
+
self.setFailureRatio(FailureRatio)
|
|
130
|
+
if E0 is not None:
|
|
131
|
+
self.setE0(E0)
|
|
132
|
+
if K0NormalConsolidation is not None:
|
|
133
|
+
self.setK0NormalConsolidation(K0NormalConsolidation)
|
|
134
|
+
if OCRStress is not None:
|
|
135
|
+
self.setOCRStress(OCRStress)
|
|
136
|
+
if InitialMeanStress is not None:
|
|
137
|
+
self.setInitialMeanStress(InitialMeanStress)
|
|
138
|
+
if DilationAngle is not None:
|
|
139
|
+
self.setDilationAngle(DilationAngle)
|
|
140
|
+
if FrictionAngle is not None:
|
|
141
|
+
self.setFrictionAngle(FrictionAngle)
|
|
142
|
+
if Cohesion is not None:
|
|
143
|
+
self.setCohesion(Cohesion)
|
|
144
|
+
if TensileStrength is not None:
|
|
145
|
+
self.setTensileStrength(TensileStrength)
|
|
146
|
+
if Emax is not None:
|
|
147
|
+
self.setEmax(Emax)
|
|
148
|
+
|
|
149
|
+
################ Code below this line will not be overridden ################
|
|
150
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
151
|
+
from rs3.properties.PropertyEnums import *
|
|
152
|
+
class HardeningSoilWithSmallStrain(HardeningSoilWithSmallStrainBase):
|
|
153
|
+
def __init__(self, client : Client, id : str):
|
|
154
|
+
super().__init__(client, id)
|
|
155
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
156
|
+
|
|
157
|
+
def getDilationOption(self) -> PlaxisDilationOptionType:
|
|
158
|
+
return self._strengthPropertyAccessor.getEnumValue("DilationOption", PlaxisDilationOptionType)
|
|
159
|
+
def setDilationOption(self, DilationOption: PlaxisDilationOptionType):
|
|
160
|
+
return self._strengthPropertyAccessor.setEnumValue("DilationOption", DilationOption.value)
|
|
161
|
+
|
|
162
|
+
def getDilatancyCutoff(self) -> Dilatancy:
|
|
163
|
+
return self._strengthPropertyAccessor.getEnumValue("DilatancyCutoff", Dilatancy)
|
|
164
|
+
def setDilatancyCutoff(self, DilatancyCutoff: Dilatancy):
|
|
165
|
+
return self._strengthPropertyAccessor.setEnumValue("DilatancyCutoff", DilatancyCutoff.value)
|
|
166
|
+
|
|
167
|
+
def getInitialConsolidationCondition(self) -> InitialConsolidationConditionType:
|
|
168
|
+
return self._strengthPropertyAccessor.getEnumValue("InitialConsolidationCondition", InitialConsolidationConditionType)
|
|
169
|
+
def setInitialConsolidationCondition(self, InitialConsolidationCondition: InitialConsolidationConditionType):
|
|
170
|
+
return self._strengthPropertyAccessor.setEnumValue("InitialConsolidationCondition", InitialConsolidationCondition.value)
|
|
@@ -0,0 +1,125 @@
|
|
|
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 HoekBrownBase(_ProxyObject, IPropertyGroupAccessors):
|
|
9
|
+
def __init__(self, client: Client, id: str):
|
|
10
|
+
super().__init__(client, id)
|
|
11
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
12
|
+
def getCompressiveStrength(self) -> float:
|
|
13
|
+
return self._propertyAccessor.getDoubleProperty("IntactCompressiveStrength")
|
|
14
|
+
def setCompressiveStrength(self, value: float):
|
|
15
|
+
self._propertyAccessor.setDoubleProperty("IntactCompressiveStrength", value)
|
|
16
|
+
def getMbParameter(self) -> float:
|
|
17
|
+
return self._propertyAccessor.getDoubleProperty("MbParameter")
|
|
18
|
+
def setMbParameter(self, value: float):
|
|
19
|
+
self._propertyAccessor.setDoubleProperty("MbParameter", value)
|
|
20
|
+
def getSParameter(self) -> float:
|
|
21
|
+
return self._propertyAccessor.getDoubleProperty("SParameter")
|
|
22
|
+
def setSParameter(self, value: float):
|
|
23
|
+
self._propertyAccessor.setDoubleProperty("SParameter", value)
|
|
24
|
+
def getDilationParameter(self) -> float:
|
|
25
|
+
return self._propertyAccessor.getDoubleProperty("DilationParameter")
|
|
26
|
+
def setDilationParameter(self, value: float):
|
|
27
|
+
self._propertyAccessor.setDoubleProperty("DilationParameter", value)
|
|
28
|
+
def getResidualMbParameter(self) -> float:
|
|
29
|
+
return self._propertyAccessor.getDoubleProperty("MbParameterResidual")
|
|
30
|
+
def setResidualMbParameter(self, value: float):
|
|
31
|
+
self._propertyAccessor.setDoubleProperty("MbParameterResidual", value)
|
|
32
|
+
def getResidualSParameter(self) -> float:
|
|
33
|
+
return self._propertyAccessor.getDoubleProperty("SParameterResidual")
|
|
34
|
+
def setResidualSParameter(self, value: float):
|
|
35
|
+
self._propertyAccessor.setDoubleProperty("SParameterResidual", value)
|
|
36
|
+
def getApplySSRShearStrengthReduction(self) -> bool:
|
|
37
|
+
return self._propertyAccessor.getBoolValue("UseSSR")
|
|
38
|
+
def setApplySSRShearStrengthReduction(self, value: bool):
|
|
39
|
+
self._propertyAccessor.setBoolValue("UseSSR", value)
|
|
40
|
+
def getProperties(self):
|
|
41
|
+
return {
|
|
42
|
+
"CompressiveStrength": self.getCompressiveStrength(),
|
|
43
|
+
"MbParameter": self.getMbParameter(),
|
|
44
|
+
"SParameter": self.getSParameter(),
|
|
45
|
+
"DilationParameter": self.getDilationParameter(),
|
|
46
|
+
"ResidualMbParameter": self.getResidualMbParameter(),
|
|
47
|
+
"ResidualSParameter": self.getResidualSParameter(),
|
|
48
|
+
"ApplySSRShearStrengthReduction": self.getApplySSRShearStrengthReduction(),
|
|
49
|
+
}
|
|
50
|
+
def setProperties(self, CompressiveStrength: float = None, MbParameter: float = None, SParameter: float = None, DilationParameter: float = None, ResidualMbParameter: float = None, ResidualSParameter: float = None, ApplySSRShearStrengthReduction: bool = None):
|
|
51
|
+
if CompressiveStrength is not None:
|
|
52
|
+
self.setCompressiveStrength(CompressiveStrength)
|
|
53
|
+
if MbParameter is not None:
|
|
54
|
+
self.setMbParameter(MbParameter)
|
|
55
|
+
if SParameter is not None:
|
|
56
|
+
self.setSParameter(SParameter)
|
|
57
|
+
if DilationParameter is not None:
|
|
58
|
+
self.setDilationParameter(DilationParameter)
|
|
59
|
+
if ResidualMbParameter is not None:
|
|
60
|
+
self.setResidualMbParameter(ResidualMbParameter)
|
|
61
|
+
if ResidualSParameter is not None:
|
|
62
|
+
self.setResidualSParameter(ResidualSParameter)
|
|
63
|
+
if ApplySSRShearStrengthReduction is not None:
|
|
64
|
+
self.setApplySSRShearStrengthReduction(ApplySSRShearStrengthReduction)
|
|
65
|
+
class HoekBrownStageFactorBase(IStageFactorBase):
|
|
66
|
+
def __init__(self, id : str, stageFactorID : str, client : Client):
|
|
67
|
+
super().__init__(id, stageFactorID, client, StrengthStageFactorService_pb2_grpc.StrengthStageFactorServiceStub(client.channel))
|
|
68
|
+
def getDilationParameterFactor(self) -> float:
|
|
69
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("HoekBrown_DilationParameter")
|
|
70
|
+
def getIntactCompressiveStrengthFactor(self) -> float:
|
|
71
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("HoekBrown_IntactCompressiveStrength")
|
|
72
|
+
def getMbParameterFactor(self) -> float:
|
|
73
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("HoekBrown_mbParameterPeak")
|
|
74
|
+
def getResidualMbParameterFactor(self) -> float:
|
|
75
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("HoekBrown_mbParameterResidual")
|
|
76
|
+
def getSParameterFactor(self) -> float:
|
|
77
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("HoekBrown_sParameterPeak")
|
|
78
|
+
def getResidualSParameterFactor(self) -> float:
|
|
79
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("HoekBrown_sParameterResidual")
|
|
80
|
+
class HoekBrownDefinedStageFactorBase(HoekBrownStageFactorBase):
|
|
81
|
+
def setDilationParameterFactor(self, value: float):
|
|
82
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("HoekBrown_DilationParameter", value)
|
|
83
|
+
def setIntactCompressiveStrengthFactor(self, value: float):
|
|
84
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("HoekBrown_IntactCompressiveStrength", value)
|
|
85
|
+
def setMbParameterFactor(self, value: float):
|
|
86
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("HoekBrown_mbParameterPeak", value)
|
|
87
|
+
def setResidualMbParameterFactor(self, value: float):
|
|
88
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("HoekBrown_mbParameterResidual", value)
|
|
89
|
+
def setSParameterFactor(self, value: float):
|
|
90
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("HoekBrown_sParameterPeak", value)
|
|
91
|
+
def setResidualSParameterFactor(self, value: float):
|
|
92
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("HoekBrown_sParameterResidual", value)
|
|
93
|
+
|
|
94
|
+
################ Code below this line will not be overridden ################
|
|
95
|
+
from rs3.properties.material.constitutiveModel.stiffness.LinearIsotropic import LinearIsotropic
|
|
96
|
+
from rs3.properties.material.constitutiveModel.stiffness.TransverselyIsotropic import TransverselyIsotropic
|
|
97
|
+
from rs3.properties.material.constitutiveModel.stiffness.Orthotropic import Orthotropic
|
|
98
|
+
from rs3.properties.material.constitutiveModel.stiffness.DuncanChangHyperbolic import DuncanChangHyperbolic
|
|
99
|
+
from rs3.properties.material.constitutiveModel.stiffness.NonlinearIsotropic import NonlinearIsotropic
|
|
100
|
+
from rs3.properties.material.constitutiveModel.BaseConstitutiveModel import BaseConstitutiveModel
|
|
101
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
102
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
|
|
103
|
+
import rs3.generatedFiles.MaterialDataService_pb2_grpc as MaterialDataService_pb2_grpc
|
|
104
|
+
from rs3.properties.PropertyEnums import *
|
|
105
|
+
from rs3.properties.stageFactors.StageFactorBaseInterfaces import AbsoluteStageFactorInterface
|
|
106
|
+
|
|
107
|
+
class HoekBrownStageFactor(HoekBrownStageFactorBase):
|
|
108
|
+
def __init__(self, id: str, stageFactorId: str, client: Client):
|
|
109
|
+
super().__init__(id, stageFactorId, client)
|
|
110
|
+
|
|
111
|
+
class HoekBrownDefinedStageFactor(HoekBrownDefinedStageFactorBase):
|
|
112
|
+
pass
|
|
113
|
+
|
|
114
|
+
class HoekBrown(HoekBrownBase, BaseConstitutiveModel):
|
|
115
|
+
def __init__(self, client: Client, id: str):
|
|
116
|
+
super().__init__(client, id)
|
|
117
|
+
self._stiffnessPropertyAccessor = BasePropertyAccessor(client, id, MaterialDataService_pb2_grpc.MaterialDataServiceStub(self._client.channel))
|
|
118
|
+
self.LinearIsotropicStiffness = LinearIsotropic(client, id)
|
|
119
|
+
self.TransverselyIsotropicStiffness = TransverselyIsotropic(client, id)
|
|
120
|
+
self.OrthotropicStiffness = Orthotropic(client, id)
|
|
121
|
+
self.DuncanChangHyperbolicStiffness = DuncanChangHyperbolic(client, id)
|
|
122
|
+
self.NonlinearIsotropicStiffness = NonlinearIsotropic(client, id)
|
|
123
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
124
|
+
self.StageFactorInterface = AbsoluteStageFactorInterface[HoekBrownDefinedStageFactor, HoekBrownStageFactor](id, client, HoekBrownDefinedStageFactor, HoekBrownStageFactor)
|
|
125
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Generated by RPCBinder in RFC_Common.
|
|
2
|
+
from rs3._client import Client
|
|
3
|
+
from ._PropertyAccessor import PropertyAccessor
|
|
4
|
+
from rs3._proxyObject import _ProxyObject
|
|
5
|
+
from rs3.properties.IPropertyGroupAccessors import IPropertyGroupAccessors
|
|
6
|
+
class HyperbolicBase(_ProxyObject, IPropertyGroupAccessors):
|
|
7
|
+
def __init__(self, client: Client, id: str):
|
|
8
|
+
super().__init__(client, id)
|
|
9
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
10
|
+
def getDilationRatio(self) -> float:
|
|
11
|
+
return self._propertyAccessor.getDoubleProperty("DilationRatio")
|
|
12
|
+
def setDilationRatio(self, value: float):
|
|
13
|
+
self._propertyAccessor.setDoubleProperty("DilationRatio", value)
|
|
14
|
+
def getFrictionAngle(self) -> float:
|
|
15
|
+
return self._propertyAccessor.getDoubleProperty("FrictionAngle")
|
|
16
|
+
def setFrictionAngle(self, value: float):
|
|
17
|
+
self._propertyAccessor.setDoubleProperty("FrictionAngle", value)
|
|
18
|
+
def getCohesion(self) -> float:
|
|
19
|
+
return self._propertyAccessor.getDoubleProperty("Cohesion")
|
|
20
|
+
def setCohesion(self, value: float):
|
|
21
|
+
self._propertyAccessor.setDoubleProperty("Cohesion", value)
|
|
22
|
+
def getResidualFrictionAngle(self) -> float:
|
|
23
|
+
return self._propertyAccessor.getDoubleProperty("FrictionAngleResidual")
|
|
24
|
+
def setResidualFrictionAngle(self, value: float):
|
|
25
|
+
self._propertyAccessor.setDoubleProperty("FrictionAngleResidual", value)
|
|
26
|
+
def getResidualCohesion(self) -> float:
|
|
27
|
+
return self._propertyAccessor.getDoubleProperty("CohesionResidual")
|
|
28
|
+
def setResidualCohesion(self, value: float):
|
|
29
|
+
self._propertyAccessor.setDoubleProperty("CohesionResidual", value)
|
|
30
|
+
def getApplySSRShearStrengthReduction(self) -> bool:
|
|
31
|
+
return self._propertyAccessor.getBoolValue("UseSSR")
|
|
32
|
+
def setApplySSRShearStrengthReduction(self, value: bool):
|
|
33
|
+
self._propertyAccessor.setBoolValue("UseSSR", value)
|
|
34
|
+
def getProperties(self):
|
|
35
|
+
return {
|
|
36
|
+
"DilationRatio": self.getDilationRatio(),
|
|
37
|
+
"FrictionAngle": self.getFrictionAngle(),
|
|
38
|
+
"Cohesion": self.getCohesion(),
|
|
39
|
+
"ResidualFrictionAngle": self.getResidualFrictionAngle(),
|
|
40
|
+
"ResidualCohesion": self.getResidualCohesion(),
|
|
41
|
+
"ApplySSRShearStrengthReduction": self.getApplySSRShearStrengthReduction(),
|
|
42
|
+
}
|
|
43
|
+
def setProperties(self, DilationRatio: float = None, FrictionAngle: float = None, Cohesion: float = None, ResidualFrictionAngle: float = None, ResidualCohesion: float = None, ApplySSRShearStrengthReduction: bool = None):
|
|
44
|
+
if DilationRatio is not None:
|
|
45
|
+
self.setDilationRatio(DilationRatio)
|
|
46
|
+
if FrictionAngle is not None:
|
|
47
|
+
self.setFrictionAngle(FrictionAngle)
|
|
48
|
+
if Cohesion is not None:
|
|
49
|
+
self.setCohesion(Cohesion)
|
|
50
|
+
if ResidualFrictionAngle is not None:
|
|
51
|
+
self.setResidualFrictionAngle(ResidualFrictionAngle)
|
|
52
|
+
if ResidualCohesion is not None:
|
|
53
|
+
self.setResidualCohesion(ResidualCohesion)
|
|
54
|
+
if ApplySSRShearStrengthReduction is not None:
|
|
55
|
+
self.setApplySSRShearStrengthReduction(ApplySSRShearStrengthReduction)
|
|
56
|
+
|
|
57
|
+
################ Code below this line will not be overridden ################
|
|
58
|
+
from rs3.properties.material.constitutiveModel.stiffness.LinearIsotropic import LinearIsotropic
|
|
59
|
+
from rs3.properties.material.constitutiveModel.stiffness.TransverselyIsotropic import TransverselyIsotropic
|
|
60
|
+
from rs3.properties.material.constitutiveModel.stiffness.Orthotropic import Orthotropic
|
|
61
|
+
from rs3.properties.material.constitutiveModel.stiffness.DuncanChangHyperbolic import DuncanChangHyperbolic
|
|
62
|
+
from rs3.properties.material.constitutiveModel.stiffness.NonlinearIsotropic import NonlinearIsotropic
|
|
63
|
+
from rs3.properties.material.constitutiveModel.BaseConstitutiveModel import BaseConstitutiveModel
|
|
64
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
65
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
|
|
66
|
+
import rs3.generatedFiles.MaterialDataService_pb2_grpc as MaterialDataService_pb2_grpc
|
|
67
|
+
from rs3.properties.PropertyEnums import *
|
|
68
|
+
class Hyperbolic(HyperbolicBase, BaseConstitutiveModel):
|
|
69
|
+
def __init__(self, client: Client, id: str):
|
|
70
|
+
super().__init__(client, id)
|
|
71
|
+
self._stiffnessPropertyAccessor = BasePropertyAccessor(client, id, MaterialDataService_pb2_grpc.MaterialDataServiceStub(self._client.channel))
|
|
72
|
+
self.LinearIsotropicStiffness = LinearIsotropic(client, id)
|
|
73
|
+
self.TransverselyIsotropicStiffness = TransverselyIsotropic(client, id)
|
|
74
|
+
self.OrthotropicStiffness = Orthotropic(client, id)
|
|
75
|
+
self.DuncanChangHyperbolicStiffness = DuncanChangHyperbolic(client, id)
|
|
76
|
+
self.NonlinearIsotropicStiffness = NonlinearIsotropic(client, id)
|
|
77
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
@@ -0,0 +1,184 @@
|
|
|
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 JointedGeneralizedHoekBrownBase(_ProxyObject, IPropertyGroupAccessors):
|
|
9
|
+
def __init__(self, client: Client, id: str):
|
|
10
|
+
super().__init__(client, id)
|
|
11
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
12
|
+
def getIntactUCS(self) -> float:
|
|
13
|
+
return self._propertyAccessor.getDoubleProperty("IntactCompressiveStrengthValue")
|
|
14
|
+
def setIntactUCS(self, value: float):
|
|
15
|
+
self._propertyAccessor.setDoubleProperty("IntactCompressiveStrengthValue", value)
|
|
16
|
+
def getMbParameter(self) -> float:
|
|
17
|
+
return self._propertyAccessor.getDoubleProperty("MbParameter")
|
|
18
|
+
def setMbParameter(self, value: float):
|
|
19
|
+
self._propertyAccessor.setDoubleProperty("MbParameter", value)
|
|
20
|
+
def getSParameter(self) -> float:
|
|
21
|
+
return self._propertyAccessor.getDoubleProperty("SParameter")
|
|
22
|
+
def setSParameter(self, value: float):
|
|
23
|
+
self._propertyAccessor.setDoubleProperty("SParameter", value)
|
|
24
|
+
def getAParameter(self) -> float:
|
|
25
|
+
return self._propertyAccessor.getDoubleProperty("AParameter")
|
|
26
|
+
def setAParameter(self, value: float):
|
|
27
|
+
self._propertyAccessor.setDoubleProperty("AParameter", value)
|
|
28
|
+
def getResidualMbParameter(self) -> float:
|
|
29
|
+
return self._propertyAccessor.getDoubleProperty("MbParameterResidual")
|
|
30
|
+
def setResidualMbParameter(self, value: float):
|
|
31
|
+
self._propertyAccessor.setDoubleProperty("MbParameterResidual", value)
|
|
32
|
+
def getResidualSParameter(self) -> float:
|
|
33
|
+
return self._propertyAccessor.getDoubleProperty("SParameterResidual")
|
|
34
|
+
def setResidualSParameter(self, value: float):
|
|
35
|
+
self._propertyAccessor.setDoubleProperty("SParameterResidual", value)
|
|
36
|
+
def getResidualAParameter(self) -> float:
|
|
37
|
+
return self._propertyAccessor.getDoubleProperty("AParameterResidual")
|
|
38
|
+
def setResidualAParameter(self, value: float):
|
|
39
|
+
self._propertyAccessor.setDoubleProperty("AParameterResidual", value)
|
|
40
|
+
def getDilationParameter(self) -> float:
|
|
41
|
+
return self._propertyAccessor.getDoubleProperty("DilationParameter")
|
|
42
|
+
def setDilationParameter(self, value: float):
|
|
43
|
+
self._propertyAccessor.setDoubleProperty("DilationParameter", value)
|
|
44
|
+
def getTensileCutoff(self) -> float:
|
|
45
|
+
return self._propertyAccessor.getDoubleProperty("TensionCutoffValue")
|
|
46
|
+
def setTensileCutoff(self, value: float):
|
|
47
|
+
self._propertyAccessor.setDoubleProperty("TensionCutoffValue", value)
|
|
48
|
+
def getApplySSRShearStrengthReduction(self) -> bool:
|
|
49
|
+
return self._propertyAccessor.getBoolValue("UseSSR")
|
|
50
|
+
def setApplySSRShearStrengthReduction(self, value: bool):
|
|
51
|
+
self._propertyAccessor.setBoolValue("UseSSR", value)
|
|
52
|
+
def getProperties(self):
|
|
53
|
+
return {
|
|
54
|
+
"IntactUCS": self.getIntactUCS(),
|
|
55
|
+
"MbParameter": self.getMbParameter(),
|
|
56
|
+
"SParameter": self.getSParameter(),
|
|
57
|
+
"AParameter": self.getAParameter(),
|
|
58
|
+
"ResidualMbParameter": self.getResidualMbParameter(),
|
|
59
|
+
"ResidualSParameter": self.getResidualSParameter(),
|
|
60
|
+
"ResidualAParameter": self.getResidualAParameter(),
|
|
61
|
+
"DilationParameter": self.getDilationParameter(),
|
|
62
|
+
"TensileCutoff": self.getTensileCutoff(),
|
|
63
|
+
"ApplySSRShearStrengthReduction": self.getApplySSRShearStrengthReduction(),
|
|
64
|
+
}
|
|
65
|
+
def setProperties(self, IntactUCS: float = None, MbParameter: float = None, SParameter: float = None, AParameter: float = None, ResidualMbParameter: float = None, ResidualSParameter: float = None, ResidualAParameter: float = None, DilationParameter: float = None, TensileCutoff: float = None, ApplySSRShearStrengthReduction: bool = None):
|
|
66
|
+
if IntactUCS is not None:
|
|
67
|
+
self.setIntactUCS(IntactUCS)
|
|
68
|
+
if MbParameter is not None:
|
|
69
|
+
self.setMbParameter(MbParameter)
|
|
70
|
+
if SParameter is not None:
|
|
71
|
+
self.setSParameter(SParameter)
|
|
72
|
+
if AParameter is not None:
|
|
73
|
+
self.setAParameter(AParameter)
|
|
74
|
+
if ResidualMbParameter is not None:
|
|
75
|
+
self.setResidualMbParameter(ResidualMbParameter)
|
|
76
|
+
if ResidualSParameter is not None:
|
|
77
|
+
self.setResidualSParameter(ResidualSParameter)
|
|
78
|
+
if ResidualAParameter is not None:
|
|
79
|
+
self.setResidualAParameter(ResidualAParameter)
|
|
80
|
+
if DilationParameter is not None:
|
|
81
|
+
self.setDilationParameter(DilationParameter)
|
|
82
|
+
if TensileCutoff is not None:
|
|
83
|
+
self.setTensileCutoff(TensileCutoff)
|
|
84
|
+
if ApplySSRShearStrengthReduction is not None:
|
|
85
|
+
self.setApplySSRShearStrengthReduction(ApplySSRShearStrengthReduction)
|
|
86
|
+
class JointedGeneralizedHoekBrownStageFactorBase(IStageFactorBase):
|
|
87
|
+
def __init__(self, id : str, stageFactorID : str, client : Client):
|
|
88
|
+
super().__init__(id, stageFactorID, client, StrengthStageFactorService_pb2_grpc.StrengthStageFactorServiceStub(client.channel))
|
|
89
|
+
def getAParameterFactor(self) -> float:
|
|
90
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("GenHoekBrown_aParameterPeak")
|
|
91
|
+
def getResidualAParameterFactor(self) -> float:
|
|
92
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("GenHoekBrown_aParameterResidual")
|
|
93
|
+
def getDilationParameterFactor(self) -> float:
|
|
94
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("GenHoekBrown_DilationParameter")
|
|
95
|
+
def getUCSOfIntactRockFactor(self) -> float:
|
|
96
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("GenHoekBrown_IntactCompressiveStrength")
|
|
97
|
+
def getMbParameterFactor(self) -> float:
|
|
98
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("GenHoekBrown_mbParameterPeak")
|
|
99
|
+
def getResidualMbParameterFactor(self) -> float:
|
|
100
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("GenHoekBrown_mbParameterResidual")
|
|
101
|
+
def getSParameterFactor(self) -> float:
|
|
102
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("GenHoekBrown_sParameterPeak")
|
|
103
|
+
def getResidualSParameterFactor(self) -> float:
|
|
104
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("GenHoekBrown_sParameterResidual")
|
|
105
|
+
class JointedGeneralizedHoekBrownDefinedStageFactorBase(JointedGeneralizedHoekBrownStageFactorBase):
|
|
106
|
+
def setAParameterFactor(self, value: float):
|
|
107
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("GenHoekBrown_aParameterPeak", value)
|
|
108
|
+
def setResidualAParameterFactor(self, value: float):
|
|
109
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("GenHoekBrown_aParameterResidual", value)
|
|
110
|
+
def setDilationParameterFactor(self, value: float):
|
|
111
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("GenHoekBrown_DilationParameter", value)
|
|
112
|
+
def setUCSOfIntactRockFactor(self, value: float):
|
|
113
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("GenHoekBrown_IntactCompressiveStrength", value)
|
|
114
|
+
def setMbParameterFactor(self, value: float):
|
|
115
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("GenHoekBrown_mbParameterPeak", value)
|
|
116
|
+
def setResidualMbParameterFactor(self, value: float):
|
|
117
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("GenHoekBrown_mbParameterResidual", value)
|
|
118
|
+
def setSParameterFactor(self, value: float):
|
|
119
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("GenHoekBrown_sParameterPeak", value)
|
|
120
|
+
def setResidualSParameterFactor(self, value: float):
|
|
121
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("GenHoekBrown_sParameterResidual", value)
|
|
122
|
+
|
|
123
|
+
################ Code below this line will not be overridden ################
|
|
124
|
+
from rs3.properties.material.constitutiveModel.stiffness.LinearIsotropic import LinearIsotropic
|
|
125
|
+
from rs3.properties.material.constitutiveModel.stiffness.TransverselyIsotropic import TransverselyIsotropic
|
|
126
|
+
from rs3.properties.material.constitutiveModel.stiffness.Orthotropic import Orthotropic
|
|
127
|
+
from rs3.properties.material.constitutiveModel.stiffness.DuncanChangHyperbolic import DuncanChangHyperbolic
|
|
128
|
+
from rs3.properties.material.constitutiveModel.stiffness.NonlinearIsotropic import NonlinearIsotropic
|
|
129
|
+
from rs3.properties.material.constitutiveModel.jointOption.MaterialJointOptions import MaterialJointOptions
|
|
130
|
+
from rs3.properties.material.constitutiveModel.UnsaturatedZoneCalculations import UnsaturatedZoneCalculations
|
|
131
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
|
|
132
|
+
import rs3.generatedFiles.MaterialDataService_pb2_grpc as MaterialDataService_pb2_grpc
|
|
133
|
+
import rs3.generatedFiles.MaterialStrengthService_pb2_grpc as MaterialStrengthService_pb2_grpc
|
|
134
|
+
from rs3.properties.PropertyEnums import *
|
|
135
|
+
from rs3.properties.stageFactors.StageFactorBaseInterfaces import AbsoluteStageFactorInterface
|
|
136
|
+
|
|
137
|
+
class JointedGeneralizedHoekBrownStageFactor(JointedGeneralizedHoekBrownStageFactorBase):
|
|
138
|
+
def __init__(self, id: str, stageFactorId: str, client: Client):
|
|
139
|
+
super().__init__(id, stageFactorId, client)
|
|
140
|
+
|
|
141
|
+
class JointedGeneralizedHoekBrownDefinedStageFactor(JointedGeneralizedHoekBrownDefinedStageFactorBase):
|
|
142
|
+
pass
|
|
143
|
+
|
|
144
|
+
class JointedGeneralizedHoekBrown(JointedGeneralizedHoekBrownBase):
|
|
145
|
+
def __init__(self, client: Client, id: str):
|
|
146
|
+
super().__init__(client, id)
|
|
147
|
+
self._stub = MaterialStrengthService_pb2_grpc.MaterialStrengthServiceStub(client.channel)
|
|
148
|
+
self._stiffnessPropertyAccessor = BasePropertyAccessor(client, id, MaterialDataService_pb2_grpc.MaterialDataServiceStub(self._client.channel))
|
|
149
|
+
self.LinearIsotropicStiffness = LinearIsotropic(client, id)
|
|
150
|
+
self.TransverselyIsotropicStiffness = TransverselyIsotropic(client, id)
|
|
151
|
+
self.OrthotropicStiffness = Orthotropic(client, id)
|
|
152
|
+
self.DuncanChangHyperbolicStiffness = DuncanChangHyperbolic(client, id)
|
|
153
|
+
self.NonlinearIsotropicStiffness = NonlinearIsotropic(client, id)
|
|
154
|
+
self.UnsaturatedZoneCalculations = UnsaturatedZoneCalculations(client, id)
|
|
155
|
+
self.StageFactorInterface = AbsoluteStageFactorInterface[JointedGeneralizedHoekBrownDefinedStageFactor, JointedGeneralizedHoekBrownStageFactor](id, client, JointedGeneralizedHoekBrownDefinedStageFactor, JointedGeneralizedHoekBrownStageFactor)
|
|
156
|
+
|
|
157
|
+
def getElasticType(self) -> MaterialElasticityTypes:
|
|
158
|
+
return self._stiffnessPropertyAccessor.getEnumValue("StiffnessType", MaterialElasticityTypes)
|
|
159
|
+
def setElasticType(self, StiffnessType : MaterialElasticityTypes):
|
|
160
|
+
self._stiffnessPropertyAccessor.setEnumValue("StiffnessType", StiffnessType.value)
|
|
161
|
+
|
|
162
|
+
def getMaterialType(self) -> MaterialType:
|
|
163
|
+
return MaterialType(self._propertyAccessor.getBoolValue("IsPlasticForBase"))
|
|
164
|
+
def setMaterialType(self, materialType: MaterialType):
|
|
165
|
+
return self._propertyAccessor.setBoolValue("IsPlasticForBase", materialType.value)
|
|
166
|
+
|
|
167
|
+
def getTensileCutoffType(self) -> TensileCutoffOptions:
|
|
168
|
+
return self._propertyAccessor.getEnumValue("TensionCutoff", TensileCutoffOptions)
|
|
169
|
+
def setTensileCutoffType(self, tensionCutoffOption: TensileCutoffOptions):
|
|
170
|
+
return self._propertyAccessor.setEnumValue("TensionCutoff", tensionCutoffOption.value)
|
|
171
|
+
|
|
172
|
+
def getJointOptions(self) -> MaterialJointOptions:
|
|
173
|
+
"""
|
|
174
|
+
Get all joint option controls.
|
|
175
|
+
|
|
176
|
+
Example:
|
|
177
|
+
See :ref:`joint_control_examples`.
|
|
178
|
+
|
|
179
|
+
>>> material = model.getAllMaterialProperties()[0]
|
|
180
|
+
>>> jointOptions = material.ConstitutiveModel.JointedGeneralizedHoekBrown.getJointOptions()
|
|
181
|
+
>>> jointOptions.setNumberOfJoint(3)
|
|
182
|
+
>>> firstJoint = jointOptions.getJoint(1)
|
|
183
|
+
"""
|
|
184
|
+
return MaterialJointOptions(self._client, self._objectId)
|