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,119 @@
|
|
|
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 ConstantBase(_ProxyObject, IPropertyGroupAccessors):
|
|
7
|
+
def __init__(self, client: Client, id: str):
|
|
8
|
+
super().__init__(client, id)
|
|
9
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
10
|
+
def getSigma1(self) -> float:
|
|
11
|
+
return self._propertyAccessor.getDoubleProperty("Sigma1")
|
|
12
|
+
def setSigma1(self, value: float):
|
|
13
|
+
self._propertyAccessor.setDoubleProperty("Sigma1", value)
|
|
14
|
+
def getSigma2(self) -> float:
|
|
15
|
+
return self._propertyAccessor.getDoubleProperty("Sigma2")
|
|
16
|
+
def setSigma2(self, value: float):
|
|
17
|
+
self._propertyAccessor.setDoubleProperty("Sigma2", value)
|
|
18
|
+
def getSigma3(self) -> float:
|
|
19
|
+
return self._propertyAccessor.getDoubleProperty("Sigma3")
|
|
20
|
+
def setSigma3(self, value: float):
|
|
21
|
+
self._propertyAccessor.setDoubleProperty("Sigma3", value)
|
|
22
|
+
def getProperties(self):
|
|
23
|
+
return {
|
|
24
|
+
"Sigma1": self.getSigma1(),
|
|
25
|
+
"Sigma2": self.getSigma2(),
|
|
26
|
+
"Sigma3": self.getSigma3(),
|
|
27
|
+
}
|
|
28
|
+
def setProperties(self, Sigma1: float = None, Sigma2: float = None, Sigma3: float = None):
|
|
29
|
+
if Sigma1 is not None:
|
|
30
|
+
self.setSigma1(Sigma1)
|
|
31
|
+
if Sigma2 is not None:
|
|
32
|
+
self.setSigma2(Sigma2)
|
|
33
|
+
if Sigma3 is not None:
|
|
34
|
+
self.setSigma3(Sigma3)
|
|
35
|
+
|
|
36
|
+
################ Code below this line will not be overridden ################
|
|
37
|
+
from rs3.loadings.LoadingEnums import *
|
|
38
|
+
from rs3.CommonEnums import *
|
|
39
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
40
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2 as FieldStressSourceService_pb2
|
|
41
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2_grpc as FieldStressSourceService_pb2_grpc
|
|
42
|
+
class Constant(ConstantBase):
|
|
43
|
+
"""
|
|
44
|
+
Examples:
|
|
45
|
+
See :ref:`field_stress_example`.
|
|
46
|
+
"""
|
|
47
|
+
def __init__(self, client: Client, id: str):
|
|
48
|
+
super().__init__(client, id)
|
|
49
|
+
self._fieldStressSourceService = FieldStressSourceService_pb2_grpc.FieldStressSourceServiceStub(self._client.channel)
|
|
50
|
+
|
|
51
|
+
def getOrientationType(self) -> LinearDirectionType:
|
|
52
|
+
request = FieldStressSourceService_pb2.GetDirectionTypeRequest(objectId=self._objectId)
|
|
53
|
+
response : FieldStressSourceService_pb2.GetDirectionTypeResponse = self._client.callFunction(self._fieldStressSourceService.GetDirectionType, request)
|
|
54
|
+
return LinearDirectionType(response.value)
|
|
55
|
+
|
|
56
|
+
def setOrientationType(self, directionType : LinearDirectionType):
|
|
57
|
+
request = FieldStressSourceService_pb2.SetDirectionTypeRequest(objectId=self._objectId, value=directionType.value)
|
|
58
|
+
self._client.callFunction(self._fieldStressSourceService.SetDirectionType, request)
|
|
59
|
+
|
|
60
|
+
def getTrendPlungeOrientation(self) -> tuple[float, float, float, float]:
|
|
61
|
+
"""
|
|
62
|
+
Retrieves the trend and plunge orientations of the sigma1 and sigma3 stress axes.
|
|
63
|
+
|
|
64
|
+
Returns:
|
|
65
|
+
tuple[float, float, float, float]: A tuple containing:
|
|
66
|
+
- sigma1 trend (degrees)
|
|
67
|
+
- sigma1 plunge (degrees)
|
|
68
|
+
- sigma3 trend (degrees)
|
|
69
|
+
- sigma3 plunge (degrees)
|
|
70
|
+
"""
|
|
71
|
+
request = FieldStressSourceService_pb2.GetTrendPlungePropertyRequest(objectId=self._objectId)
|
|
72
|
+
response : FieldStressSourceService_pb2.GetTrendPlungePropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetTrendPlungeProperty, request)
|
|
73
|
+
return response.sigma1.trend, response.sigma1.plunge, response.sigma3.trend, response.sigma3.plunge
|
|
74
|
+
|
|
75
|
+
def setTrendPlungeOrientation(self, signma1Trend : float = 0, sigma1Plunge : float = 90, signma3Trend : float = 90, sigma3Plunge : float = 0):
|
|
76
|
+
"""
|
|
77
|
+
Sets the trend and plunge orientations for the sigma1 and sigma3 stress axes.
|
|
78
|
+
|
|
79
|
+
Args:
|
|
80
|
+
signma1Trend (float): Trend angle of sigma1 in degrees. Default is 0.
|
|
81
|
+
sigma1Plunge (float): Plunge angle of sigma1 in degrees. Default is 90.
|
|
82
|
+
signma3Trend (float): Trend angle of sigma3 in degrees. Default is 90.
|
|
83
|
+
sigma3Plunge (float): Plunge angle of sigma3 in degrees. Default is 0.
|
|
84
|
+
"""
|
|
85
|
+
sigma1Orientation = CommonMessages_pb2.LinearDirection(trend=signma1Trend, plunge=sigma1Plunge)
|
|
86
|
+
sigma3Orientation = CommonMessages_pb2.LinearDirection(trend=signma3Trend, plunge=sigma3Plunge)
|
|
87
|
+
request = FieldStressSourceService_pb2.SetTrendPlungePropertyRequest(objectId=self._objectId, sigma1=sigma1Orientation, sigma3=sigma3Orientation)
|
|
88
|
+
self._client.callFunction(self._fieldStressSourceService.SetTrendPlungeProperty, request)
|
|
89
|
+
|
|
90
|
+
def getVectorOrientation(self) -> tuple[tuple[float, float, float], tuple[float, float, float]]:
|
|
91
|
+
"""
|
|
92
|
+
Retrieves the vectors representing the orientations of sigma1 and sigma3.
|
|
93
|
+
|
|
94
|
+
Returns:
|
|
95
|
+
tuple[tuple[float, float, float], tuple[float, float, float]]:
|
|
96
|
+
A tuple containing two 3D vectors:
|
|
97
|
+
- sigma1 vector (x, y, z)
|
|
98
|
+
- sigma3 vector (x, y, z)
|
|
99
|
+
"""
|
|
100
|
+
request = FieldStressSourceService_pb2.GetVectorPropertyRequest(objectId=self._objectId)
|
|
101
|
+
response : FieldStressSourceService_pb2.GetVectorPropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetVectorProperty, request)
|
|
102
|
+
return [(response.sigma1.x, response.sigma1.y, response.sigma1.z), (response.sigma3.x, response.sigma3.y, response.sigma3.z)]
|
|
103
|
+
|
|
104
|
+
def setVectorOrientation(self, sigma1 = tuple[float, float, float], sigma3 = tuple[float, float, float]):
|
|
105
|
+
"""
|
|
106
|
+
Sets the orientation vectors for sigma1 and sigma3.
|
|
107
|
+
|
|
108
|
+
Args:
|
|
109
|
+
sigma1 (tuple[float, float, float]): 3D vector representing sigma1 orientation (x, y, z).
|
|
110
|
+
sigma3 (tuple[float, float, float]): 3D vector representing sigma3 orientation (x, y, z).
|
|
111
|
+
|
|
112
|
+
Note:
|
|
113
|
+
The sigma1 and sigma3 vectors must be orthogonal (i.e., their dot product should be zero)
|
|
114
|
+
"""
|
|
115
|
+
sigma1Orientation = CommonMessages_pb2.Point3D(x=sigma1[0], y=sigma1[1], z=sigma1[2])
|
|
116
|
+
sigma3Orientation = CommonMessages_pb2.Point3D(x=sigma3[0], y=sigma3[1], z=sigma3[2])
|
|
117
|
+
request = FieldStressSourceService_pb2.SetVectorPropertyRequest(objectId=self._objectId, sigma1=sigma1Orientation, sigma3=sigma3Orientation)
|
|
118
|
+
self._client.callFunction(self._fieldStressSourceService.SetVectorProperty, request)
|
|
119
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import rs3.generatedFiles.FieldStressService_pb2_grpc as FieldStressService_pb2_grpc
|
|
2
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor
|
|
3
|
+
from rs3._proxyObject import _ProxyObject
|
|
4
|
+
from rs3._client import Client
|
|
5
|
+
from rs3.loadings.LoadingEnums import *
|
|
6
|
+
from rs3.loadings.fieldStress.Constant import Constant
|
|
7
|
+
from rs3.loadings.fieldStress.Gravity import Gravity
|
|
8
|
+
from rs3.loadings.fieldStress.AdvancedConstant import AdvancedConstant
|
|
9
|
+
from rs3.loadings.fieldStress.AdvancedGravity import AdvancedGravity
|
|
10
|
+
|
|
11
|
+
class FieldStress(_ProxyObject):
|
|
12
|
+
"""
|
|
13
|
+
Modify field stress parameters.
|
|
14
|
+
|
|
15
|
+
Attributes:
|
|
16
|
+
Constant (Constant): Reference object for modifying property.
|
|
17
|
+
Gravity (Gravity): Reference object for modifying property.
|
|
18
|
+
AdvancedConstant (AdvancedConstant): Reference object for modifying property.
|
|
19
|
+
AdvancedGravity (AdvancedGravity): Reference object for modifying property.
|
|
20
|
+
|
|
21
|
+
Examples:
|
|
22
|
+
See :ref:`field_stress_example`.
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
def __init__(self, client : Client, projectID : str):
|
|
26
|
+
super().__init__(client, projectID)
|
|
27
|
+
self._fieldStressService = FieldStressService_pb2_grpc.FieldStressServiceStub(self._client.channel)
|
|
28
|
+
self._propertyAccessor = PropertyAccessor(client, projectID, self._fieldStressService)
|
|
29
|
+
self.Constant = Constant(client, projectID)
|
|
30
|
+
self.Gravity = Gravity(client, projectID)
|
|
31
|
+
self.AdvancedConstant = AdvancedConstant(client, projectID)
|
|
32
|
+
self.AdvancedGravity = AdvancedGravity(client, projectID)
|
|
33
|
+
|
|
34
|
+
def getType(self) -> FieldStressType:
|
|
35
|
+
return self._propertyAccessor.getEnumValue("StressType", FieldStressType)
|
|
36
|
+
|
|
37
|
+
def setType(self, fieldStressType : FieldStressType):
|
|
38
|
+
self._propertyAccessor.setEnumValue("StressType", fieldStressType.value)
|
|
@@ -0,0 +1,206 @@
|
|
|
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 GravityBase(_ProxyObject, IPropertyGroupAccessors):
|
|
7
|
+
def __init__(self, client: Client, id: str):
|
|
8
|
+
super().__init__(client, id)
|
|
9
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
10
|
+
def getUseActualGroundSurface(self) -> bool:
|
|
11
|
+
return self._propertyAccessor.getBoolValue("UseActualGroundSurface")
|
|
12
|
+
def setUseActualGroundSurface(self, value: bool):
|
|
13
|
+
self._propertyAccessor.setBoolValue("UseActualGroundSurface", value)
|
|
14
|
+
def getGroundSurfaceElevation(self) -> float:
|
|
15
|
+
return self._propertyAccessor.getDoubleProperty("GroundSurfaceElevation")
|
|
16
|
+
def setGroundSurfaceElevation(self, value: float):
|
|
17
|
+
self._propertyAccessor.setDoubleProperty("GroundSurfaceElevation", value)
|
|
18
|
+
def getOverburdenUnitWeight(self) -> float:
|
|
19
|
+
return self._propertyAccessor.getDoubleProperty("OverburdenUnitWeight")
|
|
20
|
+
def setOverburdenUnitWeight(self, value: float):
|
|
21
|
+
self._propertyAccessor.setDoubleProperty("OverburdenUnitWeight", value)
|
|
22
|
+
def getUseEffectiveStressRatio(self) -> bool:
|
|
23
|
+
return self._propertyAccessor.getBoolValue("UseEffectiveStressRatio")
|
|
24
|
+
def setUseEffectiveStressRatio(self, value: bool):
|
|
25
|
+
self._propertyAccessor.setBoolValue("UseEffectiveStressRatio", value)
|
|
26
|
+
def getUseNonlinearVariableStressRatio(self) -> bool:
|
|
27
|
+
return self._propertyAccessor.getBoolValue("UseNonlinearVariableStressRatio")
|
|
28
|
+
def setUseNonlinearVariableStressRatio(self, value: bool):
|
|
29
|
+
self._propertyAccessor.setBoolValue("UseNonlinearVariableStressRatio", value)
|
|
30
|
+
def getK0Condition(self) -> bool:
|
|
31
|
+
return self._propertyAccessor.getBoolValue("K0Condition")
|
|
32
|
+
def setK0Condition(self, value: bool):
|
|
33
|
+
self._propertyAccessor.setBoolValue("K0Condition", value)
|
|
34
|
+
def getSigmaH1K1(self) -> float:
|
|
35
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH1K1")
|
|
36
|
+
def setSigmaH1K1(self, value: float):
|
|
37
|
+
self._propertyAccessor.setDoubleProperty("SigmaH1K1", value)
|
|
38
|
+
def getSigmaH1K1a(self) -> float:
|
|
39
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH1K1a")
|
|
40
|
+
def setSigmaH1K1a(self, value: float):
|
|
41
|
+
self._propertyAccessor.setDoubleProperty("SigmaH1K1a", value)
|
|
42
|
+
def getSigmaH1K1b(self) -> float:
|
|
43
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH1K1b")
|
|
44
|
+
def setSigmaH1K1b(self, value: float):
|
|
45
|
+
self._propertyAccessor.setDoubleProperty("SigmaH1K1b", value)
|
|
46
|
+
def getSigmaH1K1c(self) -> float:
|
|
47
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH1K1c")
|
|
48
|
+
def setSigmaH1K1c(self, value: float):
|
|
49
|
+
self._propertyAccessor.setDoubleProperty("SigmaH1K1c", value)
|
|
50
|
+
def getSigmaH1LockedIn(self) -> float:
|
|
51
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH1LockedIn")
|
|
52
|
+
def setSigmaH1LockedIn(self, value: float):
|
|
53
|
+
self._propertyAccessor.setDoubleProperty("SigmaH1LockedIn", value)
|
|
54
|
+
def getSigmaH2K2(self) -> float:
|
|
55
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH2K2")
|
|
56
|
+
def setSigmaH2K2(self, value: float):
|
|
57
|
+
self._propertyAccessor.setDoubleProperty("SigmaH2K2", value)
|
|
58
|
+
def getSigmaH2K2a(self) -> float:
|
|
59
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH2K2a")
|
|
60
|
+
def setSigmaH2K2a(self, value: float):
|
|
61
|
+
self._propertyAccessor.setDoubleProperty("SigmaH2K2a", value)
|
|
62
|
+
def getSigmaH2K2b(self) -> float:
|
|
63
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH2K2b")
|
|
64
|
+
def setSigmaH2K2b(self, value: float):
|
|
65
|
+
self._propertyAccessor.setDoubleProperty("SigmaH2K2b", value)
|
|
66
|
+
def getSigmaH2K2c(self) -> float:
|
|
67
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH2K2c")
|
|
68
|
+
def setSigmaH2K2c(self, value: float):
|
|
69
|
+
self._propertyAccessor.setDoubleProperty("SigmaH2K2c", value)
|
|
70
|
+
def getSigmaH2LockedIn(self) -> float:
|
|
71
|
+
return self._propertyAccessor.getDoubleProperty("SigmaH2LockedIn")
|
|
72
|
+
def setSigmaH2LockedIn(self, value: float):
|
|
73
|
+
self._propertyAccessor.setDoubleProperty("SigmaH2LockedIn", value)
|
|
74
|
+
def getProperties(self):
|
|
75
|
+
return {
|
|
76
|
+
"UseActualGroundSurface": self.getUseActualGroundSurface(),
|
|
77
|
+
"GroundSurfaceElevation": self.getGroundSurfaceElevation(),
|
|
78
|
+
"OverburdenUnitWeight": self.getOverburdenUnitWeight(),
|
|
79
|
+
"UseEffectiveStressRatio": self.getUseEffectiveStressRatio(),
|
|
80
|
+
"UseNonlinearVariableStressRatio": self.getUseNonlinearVariableStressRatio(),
|
|
81
|
+
"K0Condition": self.getK0Condition(),
|
|
82
|
+
"SigmaH1K1": self.getSigmaH1K1(),
|
|
83
|
+
"SigmaH1K1a": self.getSigmaH1K1a(),
|
|
84
|
+
"SigmaH1K1b": self.getSigmaH1K1b(),
|
|
85
|
+
"SigmaH1K1c": self.getSigmaH1K1c(),
|
|
86
|
+
"SigmaH1LockedIn": self.getSigmaH1LockedIn(),
|
|
87
|
+
"SigmaH2K2": self.getSigmaH2K2(),
|
|
88
|
+
"SigmaH2K2a": self.getSigmaH2K2a(),
|
|
89
|
+
"SigmaH2K2b": self.getSigmaH2K2b(),
|
|
90
|
+
"SigmaH2K2c": self.getSigmaH2K2c(),
|
|
91
|
+
"SigmaH2LockedIn": self.getSigmaH2LockedIn(),
|
|
92
|
+
}
|
|
93
|
+
def setProperties(self, UseActualGroundSurface: bool = None, GroundSurfaceElevation: float = None, OverburdenUnitWeight: float = None, UseEffectiveStressRatio: bool = None, UseNonlinearVariableStressRatio: bool = None, K0Condition: bool = 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):
|
|
94
|
+
if UseActualGroundSurface is not None:
|
|
95
|
+
self.setUseActualGroundSurface(UseActualGroundSurface)
|
|
96
|
+
if GroundSurfaceElevation is not None:
|
|
97
|
+
self.setGroundSurfaceElevation(GroundSurfaceElevation)
|
|
98
|
+
if OverburdenUnitWeight is not None:
|
|
99
|
+
self.setOverburdenUnitWeight(OverburdenUnitWeight)
|
|
100
|
+
if UseEffectiveStressRatio is not None:
|
|
101
|
+
self.setUseEffectiveStressRatio(UseEffectiveStressRatio)
|
|
102
|
+
if UseNonlinearVariableStressRatio is not None:
|
|
103
|
+
self.setUseNonlinearVariableStressRatio(UseNonlinearVariableStressRatio)
|
|
104
|
+
if K0Condition is not None:
|
|
105
|
+
self.setK0Condition(K0Condition)
|
|
106
|
+
if SigmaH1K1 is not None:
|
|
107
|
+
self.setSigmaH1K1(SigmaH1K1)
|
|
108
|
+
if SigmaH1K1a is not None:
|
|
109
|
+
self.setSigmaH1K1a(SigmaH1K1a)
|
|
110
|
+
if SigmaH1K1b is not None:
|
|
111
|
+
self.setSigmaH1K1b(SigmaH1K1b)
|
|
112
|
+
if SigmaH1K1c is not None:
|
|
113
|
+
self.setSigmaH1K1c(SigmaH1K1c)
|
|
114
|
+
if SigmaH1LockedIn is not None:
|
|
115
|
+
self.setSigmaH1LockedIn(SigmaH1LockedIn)
|
|
116
|
+
if SigmaH2K2 is not None:
|
|
117
|
+
self.setSigmaH2K2(SigmaH2K2)
|
|
118
|
+
if SigmaH2K2a is not None:
|
|
119
|
+
self.setSigmaH2K2a(SigmaH2K2a)
|
|
120
|
+
if SigmaH2K2b is not None:
|
|
121
|
+
self.setSigmaH2K2b(SigmaH2K2b)
|
|
122
|
+
if SigmaH2K2c is not None:
|
|
123
|
+
self.setSigmaH2K2c(SigmaH2K2c)
|
|
124
|
+
if SigmaH2LockedIn is not None:
|
|
125
|
+
self.setSigmaH2LockedIn(SigmaH2LockedIn)
|
|
126
|
+
|
|
127
|
+
################ Code below this line will not be overridden ################
|
|
128
|
+
from rs3.loadings.LoadingEnums import *
|
|
129
|
+
from rs3.CommonEnums import *
|
|
130
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
131
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2 as FieldStressSourceService_pb2
|
|
132
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2_grpc as FieldStressSourceService_pb2_grpc
|
|
133
|
+
class Gravity(GravityBase):
|
|
134
|
+
"""
|
|
135
|
+
Examples:
|
|
136
|
+
See :ref:`field_stress_example`.
|
|
137
|
+
"""
|
|
138
|
+
def __init__(self, client: Client, id: str):
|
|
139
|
+
super().__init__(client, id)
|
|
140
|
+
self._fieldStressSourceService = FieldStressSourceService_pb2_grpc.FieldStressSourceServiceStub(self._client.channel)
|
|
141
|
+
|
|
142
|
+
def getOrientationType(self) -> LinearDirectionType:
|
|
143
|
+
request = FieldStressSourceService_pb2.GetDirectionTypeRequest(objectId=self._objectId)
|
|
144
|
+
response : FieldStressSourceService_pb2.GetDirectionTypeResponse = self._client.callFunction(self._fieldStressSourceService.GetDirectionType, request)
|
|
145
|
+
return LinearDirectionType(response.value)
|
|
146
|
+
|
|
147
|
+
def setOrientationType(self, directionType : LinearDirectionType):
|
|
148
|
+
request = FieldStressSourceService_pb2.SetDirectionTypeRequest(objectId=self._objectId, value=directionType.value)
|
|
149
|
+
self._client.callFunction(self._fieldStressSourceService.SetDirectionType, request)
|
|
150
|
+
|
|
151
|
+
def getTrendPlungeOrientation(self) -> tuple[float, float, float]:
|
|
152
|
+
"""
|
|
153
|
+
Retrieves the trend and plunge orientations of the vertical and horizontal stress axes.
|
|
154
|
+
|
|
155
|
+
Returns:
|
|
156
|
+
tuple[float, float, float]: A tuple containing:
|
|
157
|
+
- vertical stress trend angle in degrees
|
|
158
|
+
- vertical stress plunge angle in degrees
|
|
159
|
+
- horizontal stress trend angle in degrees
|
|
160
|
+
"""
|
|
161
|
+
request = FieldStressSourceService_pb2.GetTrendPlungePropertyRequest(objectId=self._objectId)
|
|
162
|
+
response : FieldStressSourceService_pb2.GetTrendPlungePropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetTrendPlungeProperty, request)
|
|
163
|
+
return response.sigma1.trend, response.sigma1.plunge, response.sigma3.trend
|
|
164
|
+
|
|
165
|
+
def setTrendPlungeOrientation(self, verticalStressTrend : float = 0, verticalStressPlunge : float = 90, horizontalStressTrend : float = 90):
|
|
166
|
+
"""
|
|
167
|
+
Sets the trend and plunge orientations of the vertical and horizontal stress axes.
|
|
168
|
+
|
|
169
|
+
Args:
|
|
170
|
+
verticalStressTrend (float): Trend angle of the vertical stress in degrees. Default is 0.
|
|
171
|
+
verticalStressPlunge (float): Plunge angle of the vertical stress in degrees. Default is 90. The valid data range is (0, 90].
|
|
172
|
+
horizontalStressTrend (float): Trend angle of the horizontal stress in degrees. Default is 90.
|
|
173
|
+
"""
|
|
174
|
+
verticalStressOrientation = CommonMessages_pb2.LinearDirection(trend=verticalStressTrend, plunge=verticalStressPlunge)
|
|
175
|
+
horizontalStressOrientation = CommonMessages_pb2.LinearDirection(trend=horizontalStressTrend, plunge=0)
|
|
176
|
+
request = FieldStressSourceService_pb2.SetTrendPlungePropertyRequest(objectId=self._objectId, sigma1=verticalStressOrientation, sigma3=horizontalStressOrientation)
|
|
177
|
+
self._client.callFunction(self._fieldStressSourceService.SetTrendPlungeProperty, request)
|
|
178
|
+
|
|
179
|
+
def getVectorOrientation(self) -> tuple[tuple[float, float, float], tuple[float, float, float]]:
|
|
180
|
+
"""
|
|
181
|
+
Retrieves the vectors representing the directions of the horizontal and vertical stress axes.
|
|
182
|
+
|
|
183
|
+
Returns:
|
|
184
|
+
tuple[tuple[float, float, float], tuple[float, float, float]]:
|
|
185
|
+
- First tuple: horizontal stress 1 vector (x, y, z)
|
|
186
|
+
- Second tuple: vertical stress vector (x, y, z)
|
|
187
|
+
"""
|
|
188
|
+
request = FieldStressSourceService_pb2.GetVectorPropertyRequest(objectId=self._objectId)
|
|
189
|
+
response : FieldStressSourceService_pb2.GetVectorPropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetVectorProperty, request)
|
|
190
|
+
return [(response.sigma3.x, response.sigma3.y, response.sigma3.z), (response.sigma1.x, response.sigma1.y, response.sigma1.z)]
|
|
191
|
+
|
|
192
|
+
def setVectorOrientation(self, horizontalStress1 = tuple[float, float, float], verticalStress = tuple[float, float, float]):
|
|
193
|
+
"""
|
|
194
|
+
Sets the orientation vectors for the horizontal and vertical stress axes.
|
|
195
|
+
|
|
196
|
+
Args:
|
|
197
|
+
horizontalStress1 (tuple[float, float, float]): 3D vector representing horizontal stress 1.
|
|
198
|
+
verticalStress (tuple[float, float, float]): 3D vector representing vertical stress.
|
|
199
|
+
|
|
200
|
+
Note:
|
|
201
|
+
The horizontal and vertical stress vectors must be orthogonal.
|
|
202
|
+
"""
|
|
203
|
+
verticalStressOrientation = CommonMessages_pb2.Point3D(x=verticalStress[0], y=verticalStress[1], z=verticalStress[2])
|
|
204
|
+
horizontalStressOrientation = CommonMessages_pb2.Point3D(x=horizontalStress1[0], y=horizontalStress1[1], z=horizontalStress1[2])
|
|
205
|
+
request = FieldStressSourceService_pb2.SetVectorPropertyRequest(objectId=self._objectId, sigma1=verticalStressOrientation, sigma3=horizontalStressOrientation)
|
|
206
|
+
self._client.callFunction(self._fieldStressSourceService.SetVectorProperty, request)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
|
|
2
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2_grpc as FieldStressSourceService_pb2_grpc
|
|
3
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
4
|
+
import rs3.generatedFiles.FieldStressSourceService_pb2 as FieldStressSourceService_pb2
|
|
5
|
+
from rs3._client import Client
|
|
6
|
+
class PropertyAccessor(BasePropertyAccessor):
|
|
7
|
+
def __init__(self, client : Client, objectId : str):
|
|
8
|
+
super().__init__(client, objectId, FieldStressSourceService_pb2_grpc.FieldStressSourceServiceStub(client.channel))
|
|
9
|
+
|
|
10
|
+
class AdvancedPropertyAccessor(BasePropertyAccessor):
|
|
11
|
+
def __init__(self, client : Client, objectId : str):
|
|
12
|
+
super().__init__(client, objectId, FieldStressSourceService_pb2_grpc.FieldStressSourceServiceStub(client.channel))
|
|
13
|
+
self._fieldStressSourceService = FieldStressSourceService_pb2_grpc.FieldStressSourceServiceStub(client.channel)
|
|
14
|
+
self.projectId = objectId
|
|
15
|
+
|
|
16
|
+
def _setProperty(self, materialName : str, propertyName : str, value : CommonMessages_pb2.PropertyValue):
|
|
17
|
+
request = FieldStressSourceService_pb2.SetMaterialPropertyRequest(objectId=self.projectId,
|
|
18
|
+
materialName=materialName,
|
|
19
|
+
propertyName=propertyName,
|
|
20
|
+
value=value)
|
|
21
|
+
self._client.callFunction(self._fieldStressSourceService.SetMaterialProperty, request)
|
|
22
|
+
|
|
23
|
+
def _getProperty(self, materialName : str, propertyName : str) -> CommonMessages_pb2.PropertyValue:
|
|
24
|
+
request = FieldStressSourceService_pb2.GetMaterialPropertyRequest(objectId=self.projectId,
|
|
25
|
+
materialName=materialName,
|
|
26
|
+
propertyName=propertyName)
|
|
27
|
+
response : FieldStressSourceService_pb2.GetMaterialPropertyResponse = self._client.callFunction(self._fieldStressSourceService.GetMaterialProperty, request)
|
|
28
|
+
return response.value
|
|
29
|
+
|
|
30
|
+
def getDoubleProperty(self, materialName : str, propertyName : str) -> float:
|
|
31
|
+
return self._getProperty(materialName, propertyName).doubleValue
|
|
32
|
+
|
|
33
|
+
def setDoubleProperty(self, materialName : str, propertyName : str, value : float):
|
|
34
|
+
self._setProperty(materialName, propertyName, CommonMessages_pb2.PropertyValue(doubleValue=value))
|
|
35
|
+
|
|
36
|
+
def getBoolValue(self, materialName : str, propertyName : str) -> bool:
|
|
37
|
+
return self._getProperty(materialName, propertyName).boolValue
|
|
38
|
+
|
|
39
|
+
def setBoolValue(self, materialName : str, propertyName : str, value: bool):
|
|
40
|
+
self._setProperty(materialName, propertyName, CommonMessages_pb2.PropertyValue(boolValue=value))
|
|
41
|
+
|
|
File without changes
|
rs3/mesh/Graded.py
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
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 GradedBase(_ProxyObject, IPropertyGroupAccessors):
|
|
7
|
+
def __init__(self, client: Client, id: str):
|
|
8
|
+
super().__init__(client, id)
|
|
9
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
10
|
+
def getMinGradedElementSize(self) -> float:
|
|
11
|
+
return self._propertyAccessor.getDoubleProperty("MinGradedElementSize")
|
|
12
|
+
def setMinGradedElementSize(self, value: float):
|
|
13
|
+
self._propertyAccessor.setDoubleProperty("MinGradedElementSize", value)
|
|
14
|
+
def getMaxGradedElementSize(self) -> float:
|
|
15
|
+
return self._propertyAccessor.getDoubleProperty("MaxGradedElementSize")
|
|
16
|
+
def setMaxGradedElementSize(self, value: float):
|
|
17
|
+
self._propertyAccessor.setDoubleProperty("MaxGradedElementSize", value)
|
|
18
|
+
def getOneDGradation(self) -> float:
|
|
19
|
+
return self._propertyAccessor.getDoubleProperty("OneDGradation")
|
|
20
|
+
def setOneDGradation(self, value: float):
|
|
21
|
+
self._propertyAccessor.setDoubleProperty("OneDGradation", value)
|
|
22
|
+
def getTwoDGradation(self) -> float:
|
|
23
|
+
return self._propertyAccessor.getDoubleProperty("TwoDGradation")
|
|
24
|
+
def setTwoDGradation(self, value: float):
|
|
25
|
+
self._propertyAccessor.setDoubleProperty("TwoDGradation", value)
|
|
26
|
+
def getThreeDGradation(self) -> float:
|
|
27
|
+
return self._propertyAccessor.getDoubleProperty("ThreeDGradation")
|
|
28
|
+
def setThreeDGradation(self, value: float):
|
|
29
|
+
self._propertyAccessor.setDoubleProperty("ThreeDGradation", value)
|
|
30
|
+
def getProperties(self):
|
|
31
|
+
return {
|
|
32
|
+
"MinGradedElementSize": self.getMinGradedElementSize(),
|
|
33
|
+
"MaxGradedElementSize": self.getMaxGradedElementSize(),
|
|
34
|
+
"OneDGradation": self.getOneDGradation(),
|
|
35
|
+
"TwoDGradation": self.getTwoDGradation(),
|
|
36
|
+
"ThreeDGradation": self.getThreeDGradation(),
|
|
37
|
+
}
|
|
38
|
+
def setProperties(self, MinGradedElementSize: float = None, MaxGradedElementSize: float = None, OneDGradation: float = None, TwoDGradation: float = None, ThreeDGradation: float = None):
|
|
39
|
+
if MinGradedElementSize is not None:
|
|
40
|
+
self.setMinGradedElementSize(MinGradedElementSize)
|
|
41
|
+
if MaxGradedElementSize is not None:
|
|
42
|
+
self.setMaxGradedElementSize(MaxGradedElementSize)
|
|
43
|
+
if OneDGradation is not None:
|
|
44
|
+
self.setOneDGradation(OneDGradation)
|
|
45
|
+
if TwoDGradation is not None:
|
|
46
|
+
self.setTwoDGradation(TwoDGradation)
|
|
47
|
+
if ThreeDGradation is not None:
|
|
48
|
+
self.setThreeDGradation(ThreeDGradation)
|
|
49
|
+
|
|
50
|
+
################ Code below this line will not be overridden ################
|
|
51
|
+
class Graded(GradedBase):
|
|
52
|
+
"""
|
|
53
|
+
Examples:
|
|
54
|
+
See :ref:`mesh_example`.
|
|
55
|
+
"""
|
|
56
|
+
def __init__(self, client: Client, id: str):
|
|
57
|
+
super().__init__(client, id)
|
|
58
|
+
|
|
59
|
+
|
rs3/mesh/Mesh.py
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import rs3.generatedFiles.MeshSettingsService_pb2_grpc as MeshSettingsService_pb2_grpc
|
|
2
|
+
import rs3.generatedFiles.MeshSettingsService_pb2 as MeshSettingsService_pb2
|
|
3
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor
|
|
4
|
+
from rs3._proxyObject import _ProxyObject
|
|
5
|
+
from rs3._client import Client
|
|
6
|
+
from rs3.mesh.MeshEnums import *
|
|
7
|
+
from rs3.mesh.Graded import Graded
|
|
8
|
+
from rs3.mesh.Uniform import Uniform
|
|
9
|
+
|
|
10
|
+
class Mesh(_ProxyObject):
|
|
11
|
+
"""
|
|
12
|
+
Edit the mesh settings and generate the mesh.
|
|
13
|
+
|
|
14
|
+
Attributes:
|
|
15
|
+
Graded (Graded): Reference object for modifying property.
|
|
16
|
+
Uniform (Uniform): Reference object for modifying property.
|
|
17
|
+
|
|
18
|
+
Examples:
|
|
19
|
+
See :ref:`mesh_example`.
|
|
20
|
+
|
|
21
|
+
"""
|
|
22
|
+
def __init__(self, client : Client, projectID : str):
|
|
23
|
+
super().__init__(client, projectID)
|
|
24
|
+
self._meshSettingsService = MeshSettingsService_pb2_grpc.MeshSettingsServiceStub(self._client.channel)
|
|
25
|
+
self._propertyAccessor = PropertyAccessor(client, projectID, self._meshSettingsService)
|
|
26
|
+
self.Graded = Graded(client, projectID)
|
|
27
|
+
self.Uniform = Uniform(client, projectID)
|
|
28
|
+
|
|
29
|
+
def getElementType(self) -> MeshElementType:
|
|
30
|
+
"""
|
|
31
|
+
Get mesh element type set in the model.
|
|
32
|
+
"""
|
|
33
|
+
return self._propertyAccessor.getEnumValue("ElementType", MeshElementType)
|
|
34
|
+
def setElementType(self, elementType : MeshElementType):
|
|
35
|
+
"""
|
|
36
|
+
Set 4-noded, 10-noded or hybrid tetrahedral elements.
|
|
37
|
+
"""
|
|
38
|
+
self._propertyAccessor.setEnumValue("ElementType", elementType.value)
|
|
39
|
+
|
|
40
|
+
def getMeshGradation(self) -> MeshGradation:
|
|
41
|
+
return self._propertyAccessor.getEnumValue("MeshGradation", MeshGradation)
|
|
42
|
+
def setMeshGradation(self, meshGradation : MeshGradation):
|
|
43
|
+
self._propertyAccessor.setEnumValue("MeshGradation", meshGradation.value)
|
|
44
|
+
|
|
45
|
+
def mesh(self):
|
|
46
|
+
"""
|
|
47
|
+
Generate finite element mesh for this model.
|
|
48
|
+
"""
|
|
49
|
+
request = MeshSettingsService_pb2.MeshRequest(projectId=self._objectId)
|
|
50
|
+
self._client.callFunction(self._meshSettingsService.Mesh, request)
|
rs3/mesh/MeshEnums.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
class MeshElementType(Enum):
|
|
4
|
+
MESH_4_NODED_TETRAHEDRA = "TET4"
|
|
5
|
+
MESH_10_NODED_TETRAHEDRA = "TET10"
|
|
6
|
+
MESH_MIXED_4_NODED_AND_10_NODED_TETRAHEDRA = "TET4AND10"
|
|
7
|
+
|
|
8
|
+
class MeshGradation(Enum):
|
|
9
|
+
GRADED = "GRADED"
|
|
10
|
+
UNIFORM = "UNIFORM"
|
|
11
|
+
|
|
12
|
+
class MeshDensity(Enum):
|
|
13
|
+
LOW = "LOW"
|
|
14
|
+
MEDIUM = "MEDIUM"
|
|
15
|
+
HIGH = "HIGH"
|
|
16
|
+
USER_DEFINED = "USERDEFINED"
|
rs3/mesh/Uniform.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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 UniformBase(_ProxyObject, IPropertyGroupAccessors):
|
|
7
|
+
def __init__(self, client: Client, id: str):
|
|
8
|
+
super().__init__(client, id)
|
|
9
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
10
|
+
def getUniformMeshElementSize(self) -> float:
|
|
11
|
+
return self._propertyAccessor.getDoubleProperty("UniformMeshElementSize")
|
|
12
|
+
def setUniformMeshElementSize(self, value: float):
|
|
13
|
+
self._propertyAccessor.setDoubleProperty("UniformMeshElementSize", value)
|
|
14
|
+
def getProperties(self):
|
|
15
|
+
return {
|
|
16
|
+
"UniformMeshElementSize": self.getUniformMeshElementSize(),
|
|
17
|
+
}
|
|
18
|
+
def setProperties(self, UniformMeshElementSize: float = None):
|
|
19
|
+
if UniformMeshElementSize is not None:
|
|
20
|
+
self.setUniformMeshElementSize(UniformMeshElementSize)
|
|
21
|
+
|
|
22
|
+
################ Code below this line will not be overridden ################
|
|
23
|
+
from rs3.mesh.MeshEnums import *
|
|
24
|
+
class Uniform(UniformBase):
|
|
25
|
+
"""
|
|
26
|
+
Examples:
|
|
27
|
+
See :ref:`mesh_example`.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(self, client: Client, id: str):
|
|
30
|
+
super().__init__(client, id)
|
|
31
|
+
|
|
32
|
+
def getMeshDensity(self) -> MeshDensity:
|
|
33
|
+
return self._propertyAccessor.getEnumValue("MeshDensity", MeshDensity)
|
|
34
|
+
def setMeshDensity(self, meshDensity : MeshDensity):
|
|
35
|
+
self._propertyAccessor.setEnumValue("MeshDensity", meshDensity.value)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor as BasePropertyAccessor
|
|
2
|
+
import rs3.generatedFiles.MeshSettingsService_pb2_grpc as MeshSettingsService_pb2_grpc
|
|
3
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
4
|
+
import rs3.generatedFiles.MeshSettingsService_pb2 as MeshSettingsService_pb2
|
|
5
|
+
from rs3._client import Client
|
|
6
|
+
class PropertyAccessor(BasePropertyAccessor):
|
|
7
|
+
def __init__(self, client : Client, objectId : str):
|
|
8
|
+
super().__init__(client, objectId, MeshSettingsService_pb2_grpc.MeshSettingsServiceStub(client.channel))
|
|
9
|
+
|
|
10
|
+
|
rs3/mesh/__init__.py
ADDED
|
File without changes
|