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,312 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
import WaterPressureGridDataService_pb2 as WaterPressureGridDataService__pb2
|
|
7
|
+
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
_version_not_supported = False
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
from grpc._utilities import first_version_is_lower
|
|
14
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
15
|
+
except ImportError:
|
|
16
|
+
_version_not_supported = True
|
|
17
|
+
|
|
18
|
+
if _version_not_supported:
|
|
19
|
+
raise RuntimeError(
|
|
20
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
+
+ f' but the generated code in WaterPressureGridDataService_pb2_grpc.py depends on'
|
|
22
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class WaterPressureGridDataServiceStub(object):
|
|
29
|
+
"""Missing associated documentation comment in .proto file."""
|
|
30
|
+
|
|
31
|
+
def __init__(self, channel):
|
|
32
|
+
"""Constructor.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
channel: A grpc.Channel.
|
|
36
|
+
"""
|
|
37
|
+
self.SetProperty = channel.unary_unary(
|
|
38
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/SetProperty',
|
|
39
|
+
request_serializer=WaterPressureGridDataService__pb2.SetProjectPropertyRequest.SerializeToString,
|
|
40
|
+
response_deserializer=WaterPressureGridDataService__pb2.SetProjectPropertyResponse.FromString,
|
|
41
|
+
_registered_method=True)
|
|
42
|
+
self.GetProperty = channel.unary_unary(
|
|
43
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/GetProperty',
|
|
44
|
+
request_serializer=WaterPressureGridDataService__pb2.GetProjectPropertyRequest.SerializeToString,
|
|
45
|
+
response_deserializer=WaterPressureGridDataService__pb2.GetProjectPropertyResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
47
|
+
self.SetColorProperty = channel.unary_unary(
|
|
48
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/SetColorProperty',
|
|
49
|
+
request_serializer=WaterPressureGridDataService__pb2.SetProjectColorRequest.SerializeToString,
|
|
50
|
+
response_deserializer=WaterPressureGridDataService__pb2.SetProjectColorResponse.FromString,
|
|
51
|
+
_registered_method=True)
|
|
52
|
+
self.GetColorProperty = channel.unary_unary(
|
|
53
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/GetColorProperty',
|
|
54
|
+
request_serializer=WaterPressureGridDataService__pb2.GetProjectColorRequest.SerializeToString,
|
|
55
|
+
response_deserializer=WaterPressureGridDataService__pb2.GetProjectColorResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
57
|
+
self.SetPWPPointSet = channel.unary_unary(
|
|
58
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/SetPWPPointSet',
|
|
59
|
+
request_serializer=WaterPressureGridDataService__pb2.SetPWPPointSetRequest.SerializeToString,
|
|
60
|
+
response_deserializer=WaterPressureGridDataService__pb2.SetPWPPointSetResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
62
|
+
self.GetPWPPointSet = channel.unary_unary(
|
|
63
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/GetPWPPointSet',
|
|
64
|
+
request_serializer=WaterPressureGridDataService__pb2.GetPWPPointSetRequest.SerializeToString,
|
|
65
|
+
response_deserializer=WaterPressureGridDataService__pb2.GetPWPPointSetResponse.FromString,
|
|
66
|
+
_registered_method=True)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class WaterPressureGridDataServiceServicer(object):
|
|
70
|
+
"""Missing associated documentation comment in .proto file."""
|
|
71
|
+
|
|
72
|
+
def SetProperty(self, request, context):
|
|
73
|
+
"""Missing associated documentation comment in .proto file."""
|
|
74
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
75
|
+
context.set_details('Method not implemented!')
|
|
76
|
+
raise NotImplementedError('Method not implemented!')
|
|
77
|
+
|
|
78
|
+
def GetProperty(self, request, context):
|
|
79
|
+
"""Missing associated documentation comment in .proto file."""
|
|
80
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
81
|
+
context.set_details('Method not implemented!')
|
|
82
|
+
raise NotImplementedError('Method not implemented!')
|
|
83
|
+
|
|
84
|
+
def SetColorProperty(self, request, context):
|
|
85
|
+
"""Missing associated documentation comment in .proto file."""
|
|
86
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
87
|
+
context.set_details('Method not implemented!')
|
|
88
|
+
raise NotImplementedError('Method not implemented!')
|
|
89
|
+
|
|
90
|
+
def GetColorProperty(self, request, context):
|
|
91
|
+
"""Missing associated documentation comment in .proto file."""
|
|
92
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
93
|
+
context.set_details('Method not implemented!')
|
|
94
|
+
raise NotImplementedError('Method not implemented!')
|
|
95
|
+
|
|
96
|
+
def SetPWPPointSet(self, request, context):
|
|
97
|
+
"""Missing associated documentation comment in .proto file."""
|
|
98
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
99
|
+
context.set_details('Method not implemented!')
|
|
100
|
+
raise NotImplementedError('Method not implemented!')
|
|
101
|
+
|
|
102
|
+
def GetPWPPointSet(self, request, context):
|
|
103
|
+
"""Missing associated documentation comment in .proto file."""
|
|
104
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
105
|
+
context.set_details('Method not implemented!')
|
|
106
|
+
raise NotImplementedError('Method not implemented!')
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def add_WaterPressureGridDataServiceServicer_to_server(servicer, server):
|
|
110
|
+
rpc_method_handlers = {
|
|
111
|
+
'SetProperty': grpc.unary_unary_rpc_method_handler(
|
|
112
|
+
servicer.SetProperty,
|
|
113
|
+
request_deserializer=WaterPressureGridDataService__pb2.SetProjectPropertyRequest.FromString,
|
|
114
|
+
response_serializer=WaterPressureGridDataService__pb2.SetProjectPropertyResponse.SerializeToString,
|
|
115
|
+
),
|
|
116
|
+
'GetProperty': grpc.unary_unary_rpc_method_handler(
|
|
117
|
+
servicer.GetProperty,
|
|
118
|
+
request_deserializer=WaterPressureGridDataService__pb2.GetProjectPropertyRequest.FromString,
|
|
119
|
+
response_serializer=WaterPressureGridDataService__pb2.GetProjectPropertyResponse.SerializeToString,
|
|
120
|
+
),
|
|
121
|
+
'SetColorProperty': grpc.unary_unary_rpc_method_handler(
|
|
122
|
+
servicer.SetColorProperty,
|
|
123
|
+
request_deserializer=WaterPressureGridDataService__pb2.SetProjectColorRequest.FromString,
|
|
124
|
+
response_serializer=WaterPressureGridDataService__pb2.SetProjectColorResponse.SerializeToString,
|
|
125
|
+
),
|
|
126
|
+
'GetColorProperty': grpc.unary_unary_rpc_method_handler(
|
|
127
|
+
servicer.GetColorProperty,
|
|
128
|
+
request_deserializer=WaterPressureGridDataService__pb2.GetProjectColorRequest.FromString,
|
|
129
|
+
response_serializer=WaterPressureGridDataService__pb2.GetProjectColorResponse.SerializeToString,
|
|
130
|
+
),
|
|
131
|
+
'SetPWPPointSet': grpc.unary_unary_rpc_method_handler(
|
|
132
|
+
servicer.SetPWPPointSet,
|
|
133
|
+
request_deserializer=WaterPressureGridDataService__pb2.SetPWPPointSetRequest.FromString,
|
|
134
|
+
response_serializer=WaterPressureGridDataService__pb2.SetPWPPointSetResponse.SerializeToString,
|
|
135
|
+
),
|
|
136
|
+
'GetPWPPointSet': grpc.unary_unary_rpc_method_handler(
|
|
137
|
+
servicer.GetPWPPointSet,
|
|
138
|
+
request_deserializer=WaterPressureGridDataService__pb2.GetPWPPointSetRequest.FromString,
|
|
139
|
+
response_serializer=WaterPressureGridDataService__pb2.GetPWPPointSetResponse.SerializeToString,
|
|
140
|
+
),
|
|
141
|
+
}
|
|
142
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
143
|
+
'WaterPressureGridDataServiceDefinition.WaterPressureGridDataService', rpc_method_handlers)
|
|
144
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
145
|
+
server.add_registered_method_handlers('WaterPressureGridDataServiceDefinition.WaterPressureGridDataService', rpc_method_handlers)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
# This class is part of an EXPERIMENTAL API.
|
|
149
|
+
class WaterPressureGridDataService(object):
|
|
150
|
+
"""Missing associated documentation comment in .proto file."""
|
|
151
|
+
|
|
152
|
+
@staticmethod
|
|
153
|
+
def SetProperty(request,
|
|
154
|
+
target,
|
|
155
|
+
options=(),
|
|
156
|
+
channel_credentials=None,
|
|
157
|
+
call_credentials=None,
|
|
158
|
+
insecure=False,
|
|
159
|
+
compression=None,
|
|
160
|
+
wait_for_ready=None,
|
|
161
|
+
timeout=None,
|
|
162
|
+
metadata=None):
|
|
163
|
+
return grpc.experimental.unary_unary(
|
|
164
|
+
request,
|
|
165
|
+
target,
|
|
166
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/SetProperty',
|
|
167
|
+
WaterPressureGridDataService__pb2.SetProjectPropertyRequest.SerializeToString,
|
|
168
|
+
WaterPressureGridDataService__pb2.SetProjectPropertyResponse.FromString,
|
|
169
|
+
options,
|
|
170
|
+
channel_credentials,
|
|
171
|
+
insecure,
|
|
172
|
+
call_credentials,
|
|
173
|
+
compression,
|
|
174
|
+
wait_for_ready,
|
|
175
|
+
timeout,
|
|
176
|
+
metadata,
|
|
177
|
+
_registered_method=True)
|
|
178
|
+
|
|
179
|
+
@staticmethod
|
|
180
|
+
def GetProperty(request,
|
|
181
|
+
target,
|
|
182
|
+
options=(),
|
|
183
|
+
channel_credentials=None,
|
|
184
|
+
call_credentials=None,
|
|
185
|
+
insecure=False,
|
|
186
|
+
compression=None,
|
|
187
|
+
wait_for_ready=None,
|
|
188
|
+
timeout=None,
|
|
189
|
+
metadata=None):
|
|
190
|
+
return grpc.experimental.unary_unary(
|
|
191
|
+
request,
|
|
192
|
+
target,
|
|
193
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/GetProperty',
|
|
194
|
+
WaterPressureGridDataService__pb2.GetProjectPropertyRequest.SerializeToString,
|
|
195
|
+
WaterPressureGridDataService__pb2.GetProjectPropertyResponse.FromString,
|
|
196
|
+
options,
|
|
197
|
+
channel_credentials,
|
|
198
|
+
insecure,
|
|
199
|
+
call_credentials,
|
|
200
|
+
compression,
|
|
201
|
+
wait_for_ready,
|
|
202
|
+
timeout,
|
|
203
|
+
metadata,
|
|
204
|
+
_registered_method=True)
|
|
205
|
+
|
|
206
|
+
@staticmethod
|
|
207
|
+
def SetColorProperty(request,
|
|
208
|
+
target,
|
|
209
|
+
options=(),
|
|
210
|
+
channel_credentials=None,
|
|
211
|
+
call_credentials=None,
|
|
212
|
+
insecure=False,
|
|
213
|
+
compression=None,
|
|
214
|
+
wait_for_ready=None,
|
|
215
|
+
timeout=None,
|
|
216
|
+
metadata=None):
|
|
217
|
+
return grpc.experimental.unary_unary(
|
|
218
|
+
request,
|
|
219
|
+
target,
|
|
220
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/SetColorProperty',
|
|
221
|
+
WaterPressureGridDataService__pb2.SetProjectColorRequest.SerializeToString,
|
|
222
|
+
WaterPressureGridDataService__pb2.SetProjectColorResponse.FromString,
|
|
223
|
+
options,
|
|
224
|
+
channel_credentials,
|
|
225
|
+
insecure,
|
|
226
|
+
call_credentials,
|
|
227
|
+
compression,
|
|
228
|
+
wait_for_ready,
|
|
229
|
+
timeout,
|
|
230
|
+
metadata,
|
|
231
|
+
_registered_method=True)
|
|
232
|
+
|
|
233
|
+
@staticmethod
|
|
234
|
+
def GetColorProperty(request,
|
|
235
|
+
target,
|
|
236
|
+
options=(),
|
|
237
|
+
channel_credentials=None,
|
|
238
|
+
call_credentials=None,
|
|
239
|
+
insecure=False,
|
|
240
|
+
compression=None,
|
|
241
|
+
wait_for_ready=None,
|
|
242
|
+
timeout=None,
|
|
243
|
+
metadata=None):
|
|
244
|
+
return grpc.experimental.unary_unary(
|
|
245
|
+
request,
|
|
246
|
+
target,
|
|
247
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/GetColorProperty',
|
|
248
|
+
WaterPressureGridDataService__pb2.GetProjectColorRequest.SerializeToString,
|
|
249
|
+
WaterPressureGridDataService__pb2.GetProjectColorResponse.FromString,
|
|
250
|
+
options,
|
|
251
|
+
channel_credentials,
|
|
252
|
+
insecure,
|
|
253
|
+
call_credentials,
|
|
254
|
+
compression,
|
|
255
|
+
wait_for_ready,
|
|
256
|
+
timeout,
|
|
257
|
+
metadata,
|
|
258
|
+
_registered_method=True)
|
|
259
|
+
|
|
260
|
+
@staticmethod
|
|
261
|
+
def SetPWPPointSet(request,
|
|
262
|
+
target,
|
|
263
|
+
options=(),
|
|
264
|
+
channel_credentials=None,
|
|
265
|
+
call_credentials=None,
|
|
266
|
+
insecure=False,
|
|
267
|
+
compression=None,
|
|
268
|
+
wait_for_ready=None,
|
|
269
|
+
timeout=None,
|
|
270
|
+
metadata=None):
|
|
271
|
+
return grpc.experimental.unary_unary(
|
|
272
|
+
request,
|
|
273
|
+
target,
|
|
274
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/SetPWPPointSet',
|
|
275
|
+
WaterPressureGridDataService__pb2.SetPWPPointSetRequest.SerializeToString,
|
|
276
|
+
WaterPressureGridDataService__pb2.SetPWPPointSetResponse.FromString,
|
|
277
|
+
options,
|
|
278
|
+
channel_credentials,
|
|
279
|
+
insecure,
|
|
280
|
+
call_credentials,
|
|
281
|
+
compression,
|
|
282
|
+
wait_for_ready,
|
|
283
|
+
timeout,
|
|
284
|
+
metadata,
|
|
285
|
+
_registered_method=True)
|
|
286
|
+
|
|
287
|
+
@staticmethod
|
|
288
|
+
def GetPWPPointSet(request,
|
|
289
|
+
target,
|
|
290
|
+
options=(),
|
|
291
|
+
channel_credentials=None,
|
|
292
|
+
call_credentials=None,
|
|
293
|
+
insecure=False,
|
|
294
|
+
compression=None,
|
|
295
|
+
wait_for_ready=None,
|
|
296
|
+
timeout=None,
|
|
297
|
+
metadata=None):
|
|
298
|
+
return grpc.experimental.unary_unary(
|
|
299
|
+
request,
|
|
300
|
+
target,
|
|
301
|
+
'/WaterPressureGridDataServiceDefinition.WaterPressureGridDataService/GetPWPPointSet',
|
|
302
|
+
WaterPressureGridDataService__pb2.GetPWPPointSetRequest.SerializeToString,
|
|
303
|
+
WaterPressureGridDataService__pb2.GetPWPPointSetResponse.FromString,
|
|
304
|
+
options,
|
|
305
|
+
channel_credentials,
|
|
306
|
+
insecure,
|
|
307
|
+
call_credentials,
|
|
308
|
+
compression,
|
|
309
|
+
wait_for_ready,
|
|
310
|
+
timeout,
|
|
311
|
+
metadata,
|
|
312
|
+
_registered_method=True)
|
rs3/loadings/Loadings.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from rs3._client import Client
|
|
2
|
+
from rs3.projectSettings.ProjectSettingEnums import *
|
|
3
|
+
from rs3.loadings.fieldStress.FieldStress import FieldStress
|
|
4
|
+
from rs3._proxyObject import _ProxyObject
|
|
5
|
+
|
|
6
|
+
class Loadings(_ProxyObject):
|
|
7
|
+
"""
|
|
8
|
+
Modify load related properties.
|
|
9
|
+
|
|
10
|
+
Attributes:
|
|
11
|
+
FieldStress (FieldStress): Reference object for modifying property.
|
|
12
|
+
"""
|
|
13
|
+
def __init__(self, client : Client, id : str):
|
|
14
|
+
super().__init__(client, id)
|
|
15
|
+
self.FieldStress = FieldStress(client, id)
|
rs3/loadings/__init__.py
ADDED
|
File without changes
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
from rs3._client import Client
|
|
2
|
+
from ._PropertyAccessor import PropertyAccessor
|
|
3
|
+
from rs3._proxyObject import _ProxyObject
|
|
4
|
+
from rs3.properties.IPropertyGroupAccessors import IPropertyGroupAccessors
|
|
5
|
+
class AdvancedConstantBase(_ProxyObject, IPropertyGroupAccessors):
|
|
6
|
+
def __init__(self, client: Client, id: str):
|
|
7
|
+
super().__init__(client, id)
|
|
8
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
9
|
+
def getSigma1(self, materialName : str) -> float:
|
|
10
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "Sigma1")
|
|
11
|
+
def setSigma1(self, materialName : str, value: float):
|
|
12
|
+
self._propertyAccessor.setDoubleProperty(materialName, "Sigma1", value)
|
|
13
|
+
def getSigma2(self, materialName : str) -> float:
|
|
14
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "Sigma2")
|
|
15
|
+
def setSigma2(self, materialName : str, value: float):
|
|
16
|
+
self._propertyAccessor.setDoubleProperty(materialName, "Sigma2", value)
|
|
17
|
+
def getSigma3(self, materialName : str) -> float:
|
|
18
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "Sigma3")
|
|
19
|
+
def setSigma3(self, materialName : str, value: float):
|
|
20
|
+
self._propertyAccessor.setDoubleProperty(materialName, "Sigma3", value)
|
|
21
|
+
def getProperties(self, materialName : str):
|
|
22
|
+
return {
|
|
23
|
+
"Sigma1": self.getSigma1(materialName),
|
|
24
|
+
"Sigma2": self.getSigma2(materialName),
|
|
25
|
+
"Sigma3": self.getSigma3(materialName),
|
|
26
|
+
}
|
|
27
|
+
def setProperties(self, materialName: str, Sigma1: float = None, Sigma2: float = None, Sigma3: float = None):
|
|
28
|
+
if Sigma1 is not None:
|
|
29
|
+
self.setSigma1(materialName, Sigma1)
|
|
30
|
+
if Sigma2 is not None:
|
|
31
|
+
self.setSigma2(materialName, Sigma2)
|
|
32
|
+
if Sigma3 is not None:
|
|
33
|
+
self.setSigma3(materialName, Sigma3)
|
|
34
|
+
|
|
35
|
+
from rs3.loadings.LoadingEnums import *
|
|
36
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
37
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2 as FieldStressSourceService_pb2
|
|
38
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2_grpc as FieldStressSourceService_pb2_grpc
|
|
39
|
+
from ._PropertyAccessor import AdvancedPropertyAccessor
|
|
40
|
+
class AdvancedConstant(AdvancedConstantBase):
|
|
41
|
+
"""
|
|
42
|
+
Examples:
|
|
43
|
+
See :ref:`field_stress_example`.
|
|
44
|
+
"""
|
|
45
|
+
def __init__(self, client: Client, id: str):
|
|
46
|
+
super().__init__(client, id)
|
|
47
|
+
self._fieldStressSourceService = FieldStressSourceService_pb2_grpc.FieldStressSourceServiceStub(self._client.channel)
|
|
48
|
+
self._propertyAccessor = AdvancedPropertyAccessor(client, id)
|
|
49
|
+
|
|
50
|
+
def getApplyCustomFieldStress(self, materialName : str) -> bool:
|
|
51
|
+
return self._propertyAccessor.getBoolValue(materialName, "UseCustomFieldStress")
|
|
52
|
+
|
|
53
|
+
def setApplyCustomFieldStress(self, materialName : str, value : bool):
|
|
54
|
+
self._propertyAccessor.setBoolValue(materialName, "UseCustomFieldStress", value)
|
|
55
|
+
|
|
56
|
+
def getTrendPlungeOrientation(self, materialName : str) -> tuple[float, float, float, float]:
|
|
57
|
+
"""
|
|
58
|
+
Retrieves the trend and plunge orientations of the sigma1 and sigma3 stress axes.
|
|
59
|
+
|
|
60
|
+
Returns:
|
|
61
|
+
tuple[float, float, float, float]: A tuple containing:
|
|
62
|
+
- sigma1 trend (degrees)
|
|
63
|
+
- sigma1 plunge (degrees)
|
|
64
|
+
- sigma3 trend (degrees)
|
|
65
|
+
- sigma3 plunge (degrees)
|
|
66
|
+
"""
|
|
67
|
+
request = FieldStressSourceService_pb2.GetMaterialTrendPlungePropertyRequest(objectId=self._objectId, materialName=materialName)
|
|
68
|
+
response : FieldStressSourceService_pb2.GetMaterialTrendPlungePropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetMaterialTrendPlungeProperty, request)
|
|
69
|
+
return response.sigma1.trend, response.sigma1.plunge, response.sigma3.trend, response.sigma3.plunge
|
|
70
|
+
|
|
71
|
+
def setTrendPlungeOrientation(self, materialName : str, signma1Trend : float = 0, sigma1Plunge : float = 90, signma3Trend : float = 90, sigma3Plunge : float = 0):
|
|
72
|
+
"""
|
|
73
|
+
Sets the trend and plunge orientations for the sigma1 and sigma3 stress axes.
|
|
74
|
+
|
|
75
|
+
Args:
|
|
76
|
+
signma1Trend (float): Trend angle of sigma1 in degrees. Default is 0.
|
|
77
|
+
sigma1Plunge (float): Plunge angle of sigma1 in degrees. Default is 90.
|
|
78
|
+
signma3Trend (float): Trend angle of sigma3 in degrees. Default is 90.
|
|
79
|
+
sigma3Plunge (float): Plunge angle of sigma3 in degrees. Default is 0.
|
|
80
|
+
"""
|
|
81
|
+
sigma1Orientation = CommonMessages_pb2.LinearDirection(trend=signma1Trend, plunge=sigma1Plunge)
|
|
82
|
+
sigma3Orientation = CommonMessages_pb2.LinearDirection(trend=signma3Trend, plunge=sigma3Plunge)
|
|
83
|
+
request = FieldStressSourceService_pb2.SetMaterialTrendPlungePropertyRequest(objectId=self._objectId, materialName=materialName, sigma1=sigma1Orientation, sigma3=sigma3Orientation)
|
|
84
|
+
self._client.callFunction(self._fieldStressSourceService.SetMaterialTrendPlungeProperty, request)
|
|
85
|
+
|
|
86
|
+
def getVectorOrientation(self, materialName : str) -> tuple[tuple[float, float, float], tuple[float, float, float]]:
|
|
87
|
+
"""
|
|
88
|
+
Retrieves the vectors representing the orientations of sigma1 and sigma3.
|
|
89
|
+
|
|
90
|
+
Returns:
|
|
91
|
+
tuple[tuple[float, float, float], tuple[float, float, float]]:
|
|
92
|
+
A tuple containing two 3D vectors:
|
|
93
|
+
- sigma1 vector (x, y, z)
|
|
94
|
+
- sigma3 vector (x, y, z)
|
|
95
|
+
"""
|
|
96
|
+
request = FieldStressSourceService_pb2.GetMaterialVectorPropertyRequest(objectId=self._objectId, materialName=materialName)
|
|
97
|
+
response : FieldStressSourceService_pb2.GetMaterialVectorPropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetMaterialVectorProperty, request)
|
|
98
|
+
return [(response.sigma1.x, response.sigma1.y, response.sigma1.z), (response.sigma3.x, response.sigma3.y, response.sigma3.z)]
|
|
99
|
+
|
|
100
|
+
def setVectorOrientation(self, materialName : str, sigma1 = tuple[float, float, float], sigma3 = tuple[float, float, float]):
|
|
101
|
+
"""
|
|
102
|
+
Sets the orientation vectors for sigma1 and sigma3.
|
|
103
|
+
|
|
104
|
+
Args:
|
|
105
|
+
sigma1 (tuple[float, float, float]): 3D vector representing sigma1 orientation (x, y, z).
|
|
106
|
+
sigma3 (tuple[float, float, float]): 3D vector representing sigma3 orientation (x, y, z).
|
|
107
|
+
|
|
108
|
+
Note:
|
|
109
|
+
The sigma1 and sigma3 vectors must be orthogonal (i.e., their dot product should be zero)
|
|
110
|
+
"""
|
|
111
|
+
sigma1Orientation = CommonMessages_pb2.Point3D(x=sigma1[0], y=sigma1[1], z=sigma1[2])
|
|
112
|
+
sigma3Orientation = CommonMessages_pb2.Point3D(x=sigma3[0], y=sigma3[1], z=sigma3[2])
|
|
113
|
+
request = FieldStressSourceService_pb2.SetMaterialVectorPropertyRequest(objectId=self._objectId, materialName=materialName, sigma1=sigma1Orientation, sigma3=sigma3Orientation)
|
|
114
|
+
self._client.callFunction(self._fieldStressSourceService.SetMaterialVectorProperty, request)
|
|
115
|
+
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
from rs3._client import Client
|
|
2
|
+
from ._PropertyAccessor import PropertyAccessor
|
|
3
|
+
from rs3._proxyObject import _ProxyObject
|
|
4
|
+
from rs3.properties.IPropertyGroupAccessors import IPropertyGroupAccessors
|
|
5
|
+
class AdvancedGravityBase(_ProxyObject, IPropertyGroupAccessors):
|
|
6
|
+
def __init__(self, client: Client, id: str):
|
|
7
|
+
super().__init__(client, id)
|
|
8
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
9
|
+
def getGroundSurfaceElevation(self, materialName : str) -> float:
|
|
10
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "GroundSurfaceElevation")
|
|
11
|
+
def setGroundSurfaceElevation(self, materialName : str, value: float):
|
|
12
|
+
self._propertyAccessor.setDoubleProperty(materialName, "GroundSurfaceElevation", value)
|
|
13
|
+
def getOverburdenUnitWeight(self, materialName : str) -> float:
|
|
14
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "OverburdenUnitWeight")
|
|
15
|
+
def setOverburdenUnitWeight(self, materialName : str, value: float):
|
|
16
|
+
self._propertyAccessor.setDoubleProperty(materialName, "OverburdenUnitWeight", value)
|
|
17
|
+
def getSigmaH1K1(self, materialName : str) -> float:
|
|
18
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH1K1")
|
|
19
|
+
def setSigmaH1K1(self, materialName : str, value: float):
|
|
20
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH1K1", value)
|
|
21
|
+
def getSigmaH1K1a(self, materialName : str) -> float:
|
|
22
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH1K1a")
|
|
23
|
+
def setSigmaH1K1a(self, materialName : str, value: float):
|
|
24
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH1K1a", value)
|
|
25
|
+
def getSigmaH1K1b(self, materialName : str) -> float:
|
|
26
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH1K1b")
|
|
27
|
+
def setSigmaH1K1b(self, materialName : str, value: float):
|
|
28
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH1K1b", value)
|
|
29
|
+
def getSigmaH1K1c(self, materialName : str) -> float:
|
|
30
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH1K1c")
|
|
31
|
+
def setSigmaH1K1c(self, materialName : str, value: float):
|
|
32
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH1K1c", value)
|
|
33
|
+
def getSigmaH1LockedIn(self, materialName : str) -> float:
|
|
34
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH1LockedIn")
|
|
35
|
+
def setSigmaH1LockedIn(self, materialName : str, value: float):
|
|
36
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH1LockedIn", value)
|
|
37
|
+
def getSigmaH2K2(self, materialName : str) -> float:
|
|
38
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH2K2")
|
|
39
|
+
def setSigmaH2K2(self, materialName : str, value: float):
|
|
40
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH2K2", value)
|
|
41
|
+
def getSigmaH2K2a(self, materialName : str) -> float:
|
|
42
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH2K2a")
|
|
43
|
+
def setSigmaH2K2a(self, materialName : str, value: float):
|
|
44
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH2K2a", value)
|
|
45
|
+
def getSigmaH2K2b(self, materialName : str) -> float:
|
|
46
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH2K2b")
|
|
47
|
+
def setSigmaH2K2b(self, materialName : str, value: float):
|
|
48
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH2K2b", value)
|
|
49
|
+
def getSigmaH2K2c(self, materialName : str) -> float:
|
|
50
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH2K2c")
|
|
51
|
+
def setSigmaH2K2c(self, materialName : str, value: float):
|
|
52
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH2K2c", value)
|
|
53
|
+
def getSigmaH2LockedIn(self, materialName : str) -> float:
|
|
54
|
+
return self._propertyAccessor.getDoubleProperty(materialName, "SigmaH2LockedIn")
|
|
55
|
+
def setSigmaH2LockedIn(self, materialName : str, value: float):
|
|
56
|
+
self._propertyAccessor.setDoubleProperty(materialName, "SigmaH2LockedIn", value)
|
|
57
|
+
def getProperties(self, materialName : str):
|
|
58
|
+
return {
|
|
59
|
+
"GroundSurfaceElevation": self.getGroundSurfaceElevation(materialName),
|
|
60
|
+
"OverburdenUnitWeight": self.getOverburdenUnitWeight(materialName),
|
|
61
|
+
"SigmaH1K1": self.getSigmaH1K1(materialName),
|
|
62
|
+
"SigmaH1K1a": self.getSigmaH1K1a(materialName),
|
|
63
|
+
"SigmaH1K1b": self.getSigmaH1K1b(materialName),
|
|
64
|
+
"SigmaH1K1c": self.getSigmaH1K1c(materialName),
|
|
65
|
+
"SigmaH1LockedIn": self.getSigmaH1LockedIn(materialName),
|
|
66
|
+
"SigmaH2K2": self.getSigmaH2K2(materialName),
|
|
67
|
+
"SigmaH2K2a": self.getSigmaH2K2a(materialName),
|
|
68
|
+
"SigmaH2K2b": self.getSigmaH2K2b(materialName),
|
|
69
|
+
"SigmaH2K2c": self.getSigmaH2K2c(materialName),
|
|
70
|
+
"SigmaH2LockedIn": self.getSigmaH2LockedIn(materialName),
|
|
71
|
+
}
|
|
72
|
+
def setProperties(self, materialName : str, GroundSurfaceElevation: float = None, OverburdenUnitWeight: float = None, SigmaH1K1: float = None, SigmaH1K1a: float = None, SigmaH1K1b: float = None, SigmaH1K1c: float = None, SigmaH1LockedIn: float = None, SigmaH2K2: float = None, SigmaH2K2a: float = None, SigmaH2K2b: float = None, SigmaH2K2c: float = None, SigmaH2LockedIn: float = None):
|
|
73
|
+
if GroundSurfaceElevation is not None:
|
|
74
|
+
self.setGroundSurfaceElevation(materialName, GroundSurfaceElevation)
|
|
75
|
+
if OverburdenUnitWeight is not None:
|
|
76
|
+
self.setOverburdenUnitWeight(materialName, OverburdenUnitWeight)
|
|
77
|
+
if SigmaH1K1 is not None:
|
|
78
|
+
self.setSigmaH1K1(materialName, SigmaH1K1)
|
|
79
|
+
if SigmaH1K1a is not None:
|
|
80
|
+
self.setSigmaH1K1a(materialName, SigmaH1K1a)
|
|
81
|
+
if SigmaH1K1b is not None:
|
|
82
|
+
self.setSigmaH1K1b(materialName, SigmaH1K1b)
|
|
83
|
+
if SigmaH1K1c is not None:
|
|
84
|
+
self.setSigmaH1K1c(materialName, SigmaH1K1c)
|
|
85
|
+
if SigmaH1LockedIn is not None:
|
|
86
|
+
self.setSigmaH1LockedIn(materialName, SigmaH1LockedIn)
|
|
87
|
+
if SigmaH2K2 is not None:
|
|
88
|
+
self.setSigmaH2K2(materialName, SigmaH2K2)
|
|
89
|
+
if SigmaH2K2a is not None:
|
|
90
|
+
self.setSigmaH2K2a(materialName, SigmaH2K2a)
|
|
91
|
+
if SigmaH2K2b is not None:
|
|
92
|
+
self.setSigmaH2K2b(materialName, SigmaH2K2b)
|
|
93
|
+
if SigmaH2K2c is not None:
|
|
94
|
+
self.setSigmaH2K2c(materialName, SigmaH2K2c)
|
|
95
|
+
if SigmaH2LockedIn is not None:
|
|
96
|
+
self.setSigmaH2LockedIn(materialName, SigmaH2LockedIn)
|
|
97
|
+
|
|
98
|
+
from rs3.loadings.LoadingEnums import *
|
|
99
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
100
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2 as FieldStressSourceService_pb2
|
|
101
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2_grpc as FieldStressSourceService_pb2_grpc
|
|
102
|
+
from ._PropertyAccessor import AdvancedPropertyAccessor
|
|
103
|
+
class AdvancedGravity(AdvancedGravityBase):
|
|
104
|
+
"""
|
|
105
|
+
Examples:
|
|
106
|
+
See :ref:`field_stress_example`.
|
|
107
|
+
"""
|
|
108
|
+
def __init__(self, client: Client, id: str):
|
|
109
|
+
super().__init__(client, id)
|
|
110
|
+
self._fieldStressSourceService = FieldStressSourceService_pb2_grpc.FieldStressSourceServiceStub(self._client.channel)
|
|
111
|
+
self._propertyAccessor = AdvancedPropertyAccessor(client, id)
|
|
112
|
+
|
|
113
|
+
def getApplyCustomFieldStress(self, materialName : str) -> bool:
|
|
114
|
+
return self._propertyAccessor.getBoolValue(materialName, "UseCustomFieldStress")
|
|
115
|
+
|
|
116
|
+
def setApplyCustomFieldStress(self, materialName : str, value : bool):
|
|
117
|
+
self._propertyAccessor.setBoolValue(materialName, "UseCustomFieldStress", value)
|
|
118
|
+
|
|
119
|
+
def getTrendPlungeOrientation(self, materialName : str) -> tuple[float, float, float]:
|
|
120
|
+
"""
|
|
121
|
+
Retrieves the trend and plunge orientations of the vertical and horizontal stress axes.
|
|
122
|
+
|
|
123
|
+
Returns:
|
|
124
|
+
tuple[float, float, float]: A tuple containing:
|
|
125
|
+
- vertical stress trend angle in degrees
|
|
126
|
+
- vertical stress plunge angle in degrees
|
|
127
|
+
- horizontal stress trend angle in degrees
|
|
128
|
+
"""
|
|
129
|
+
request = FieldStressSourceService_pb2.GetMaterialTrendPlungePropertyRequest(objectId=self._objectId, materialName=materialName)
|
|
130
|
+
response : FieldStressSourceService_pb2.GetMaterialTrendPlungePropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetMaterialTrendPlungeProperty, request)
|
|
131
|
+
return response.sigma1.trend, response.sigma1.plunge, response.sigma3.trend
|
|
132
|
+
|
|
133
|
+
def setTrendPlungeOrientation(self, materialName : str, verticalStressTrend : float = 0, verticalStressPlunge : float = 90, horizontalStressTrend : float = 90):
|
|
134
|
+
"""
|
|
135
|
+
Sets the trend and plunge orientations of the vertical and horizontal stress axes.
|
|
136
|
+
|
|
137
|
+
Args:
|
|
138
|
+
verticalStressTrend (float): Trend angle of the vertical stress in degrees. Default is 0.
|
|
139
|
+
verticalStressPlunge (float): Plunge angle of the vertical stress in degrees. Default is 90. The valid data range is (0, 90].
|
|
140
|
+
horizontalStressTrend (float): Trend angle of the horizontal stress in degrees. Default is 90.
|
|
141
|
+
"""
|
|
142
|
+
verticalStressOrientation = CommonMessages_pb2.LinearDirection(trend=verticalStressTrend, plunge=verticalStressPlunge)
|
|
143
|
+
horizontalStressOrientation = CommonMessages_pb2.LinearDirection(trend=horizontalStressTrend, plunge=0)
|
|
144
|
+
request = FieldStressSourceService_pb2.SetMaterialTrendPlungePropertyRequest(objectId=self._objectId, materialName=materialName, sigma1=verticalStressOrientation, sigma3=horizontalStressOrientation)
|
|
145
|
+
self._client.callFunction(self._fieldStressSourceService.SetMaterialTrendPlungeProperty, request)
|
|
146
|
+
|
|
147
|
+
def getVectorOrientation(self, materialName : str) -> tuple[tuple[float, float, float], tuple[float, float, float]]:
|
|
148
|
+
"""
|
|
149
|
+
Retrieves the vectors representing the directions of the horizontal and vertical stress axes.
|
|
150
|
+
|
|
151
|
+
Returns:
|
|
152
|
+
tuple[tuple[float, float, float], tuple[float, float, float]]:
|
|
153
|
+
- First tuple: horizontal stress 1 vector (x, y, z)
|
|
154
|
+
- Second tuple: vertical stress vector (x, y, z)
|
|
155
|
+
"""
|
|
156
|
+
request = FieldStressSourceService_pb2.GetMaterialVectorPropertyRequest(objectId=self._objectId, materialName=materialName)
|
|
157
|
+
response : FieldStressSourceService_pb2.GetMaterialVectorPropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetMaterialVectorProperty, request)
|
|
158
|
+
return [(response.sigma3.x, response.sigma3.y, response.sigma3.z), (response.sigma1.x, response.sigma1.y, response.sigma1.z)]
|
|
159
|
+
|
|
160
|
+
def setVectorOrientation(self, materialName : str, horizontalStress1 = tuple[float, float, float], verticalStress = tuple[float, float, float]):
|
|
161
|
+
"""
|
|
162
|
+
Sets the orientation vectors for the horizontal and vertical stress axes.
|
|
163
|
+
|
|
164
|
+
Args:
|
|
165
|
+
horizontalStress1 (tuple[float, float, float]): 3D vector representing horizontal stress 1.
|
|
166
|
+
verticalStress (tuple[float, float, float]): 3D vector representing vertical stress.
|
|
167
|
+
|
|
168
|
+
Note:
|
|
169
|
+
The horizontal and vertical stress vectors must be orthogonal.
|
|
170
|
+
"""
|
|
171
|
+
verticalStressOrientation = CommonMessages_pb2.Point3D(x=verticalStress[0], y=verticalStress[1], z=verticalStress[2])
|
|
172
|
+
horizontalStressOrientation = CommonMessages_pb2.Point3D(x=horizontalStress1[0], y=horizontalStress1[1], z=horizontalStress1[2])
|
|
173
|
+
request = FieldStressSourceService_pb2.SetMaterialVectorPropertyRequest(objectId=self._objectId, materialName=materialName, sigma1=verticalStressOrientation, sigma3=horizontalStressOrientation)
|
|
174
|
+
self._client.callFunction(self._fieldStressSourceService.SetMaterialVectorProperty, request)
|
|
175
|
+
|
|
176
|
+
|