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,111 @@
|
|
|
1
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
2
|
+
from rs3._client import Client
|
|
3
|
+
import rs3.generatedFiles.MaterialHydraulicModelService_pb2 as MaterialHydraulicModelService_pb2
|
|
4
|
+
import rs3.generatedFiles.MaterialHydraulicModelService_pb2_grpc as MaterialHydraulicModelService_pb2_grpc
|
|
5
|
+
|
|
6
|
+
class PropertyAccessor:
|
|
7
|
+
def __init__(self, client : Client, objectId : str, stub):
|
|
8
|
+
self.objectId = objectId
|
|
9
|
+
self._client = client
|
|
10
|
+
self._stub = stub
|
|
11
|
+
def _getProperty(self, propertyName : str) -> CommonMessages_pb2.PropertyValue:
|
|
12
|
+
request = CommonMessages_pb2.GetPropertyRequest(objectId=self.objectId, propertyName=propertyName)
|
|
13
|
+
response : CommonMessages_pb2.GetPropertyResponse = self._client.callFunction(self._stub.GetProperty, request)
|
|
14
|
+
return response.value
|
|
15
|
+
|
|
16
|
+
def _setProperty(self, propertyName : str, value : CommonMessages_pb2.PropertyValue):
|
|
17
|
+
request = CommonMessages_pb2.SetPropertyRequest(objectId=self.objectId,
|
|
18
|
+
propertyName=propertyName,
|
|
19
|
+
value=value)
|
|
20
|
+
self._client.callFunction(self._stub.SetProperty, request)
|
|
21
|
+
|
|
22
|
+
def getDoubleProperty(self, propertyName : str) -> float:
|
|
23
|
+
return self._getProperty(propertyName).doubleValue
|
|
24
|
+
|
|
25
|
+
def setDoubleProperty(self, propertyName : str, value : float):
|
|
26
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(doubleValue=value))
|
|
27
|
+
|
|
28
|
+
def getFloatProperty(self, propertyName : str) -> float:
|
|
29
|
+
return self._getProperty(propertyName).floatValue
|
|
30
|
+
|
|
31
|
+
def setFloatProperty(self, propertyName : str, value : float):
|
|
32
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(floatValue=value))
|
|
33
|
+
|
|
34
|
+
def getIntProperty(self, propertyName : str) -> int:
|
|
35
|
+
return self._getProperty(propertyName).intValue
|
|
36
|
+
|
|
37
|
+
def setIntProperty(self, propertyName : str, value : int):
|
|
38
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(intValue=value))
|
|
39
|
+
|
|
40
|
+
def getLongProperty(self, propertyName : str) -> int:
|
|
41
|
+
return self._getProperty(propertyName).longValue
|
|
42
|
+
|
|
43
|
+
def setLongProperty(self, propertyName : str, value : int):
|
|
44
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(longValue=value))
|
|
45
|
+
|
|
46
|
+
def getUintProperty(self, propertyName: str) -> int:
|
|
47
|
+
return self._getProperty(propertyName).uintValue
|
|
48
|
+
|
|
49
|
+
def setUintProperty(self, propertyName: str, value: int):
|
|
50
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(uintValue=value))
|
|
51
|
+
|
|
52
|
+
def getUlongProperty(self, propertyName: str) -> int:
|
|
53
|
+
return self._getProperty(propertyName).ulongValue
|
|
54
|
+
|
|
55
|
+
def setUlongProperty(self, propertyName: str, value: int):
|
|
56
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(ulongValue=value))
|
|
57
|
+
|
|
58
|
+
def getBoolValue(self, propertyName: str) -> bool:
|
|
59
|
+
return self._getProperty(propertyName).boolValue
|
|
60
|
+
|
|
61
|
+
def setBoolValue(self, propertyName: str, value: bool):
|
|
62
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(boolValue=value))
|
|
63
|
+
|
|
64
|
+
def getStringValue(self, propertyName: str) -> str:
|
|
65
|
+
return self._getProperty(propertyName).stringValue
|
|
66
|
+
|
|
67
|
+
def setStringValue(self, propertyName: str, value: str):
|
|
68
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(stringValue=value))
|
|
69
|
+
|
|
70
|
+
def getBytesValue(self, propertyName: str) -> bytes:
|
|
71
|
+
return self._getProperty(propertyName).bytesValue
|
|
72
|
+
|
|
73
|
+
def setBytesValue(self, propertyName: str, value: bytes):
|
|
74
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(bytesValue=value))
|
|
75
|
+
|
|
76
|
+
def getEnumValue(self, propertyName: str, enumType):
|
|
77
|
+
return enumType(self._getProperty(propertyName).enumValue)
|
|
78
|
+
|
|
79
|
+
def setEnumValue(self, propertyName: str, value: str):
|
|
80
|
+
self._setProperty(propertyName, CommonMessages_pb2.PropertyValue(enumValue=value))
|
|
81
|
+
|
|
82
|
+
def getVector3DValue(self, propertyName: str) -> tuple[float, float, float]:
|
|
83
|
+
response = self._getProperty(propertyName).vector3DValue
|
|
84
|
+
return (response.x, response.y, response.z)
|
|
85
|
+
|
|
86
|
+
def setVector3DValue(self, propertyName: str, value: tuple[float, float, float]):
|
|
87
|
+
request = CommonMessages_pb2.PropertyValue(vector3DValue=CommonMessages_pb2.Vector3D(x=value[0], y=value[1], z=value[2]))
|
|
88
|
+
self._setProperty(propertyName, request)
|
|
89
|
+
|
|
90
|
+
def getPoint3DValue(self, propertyName: str) -> tuple[float, float, float]:
|
|
91
|
+
response = self._getProperty(propertyName).point3DValue
|
|
92
|
+
return (response.x, response.y, response.z)
|
|
93
|
+
|
|
94
|
+
def setPoint3DValue(self, propertyName: str, value: tuple[float, float, float]):
|
|
95
|
+
request = CommonMessages_pb2.PropertyValue(point3DValue=CommonMessages_pb2.Point3D(x=value[0], y=value[1], z=value[2]))
|
|
96
|
+
self._setProperty(propertyName, request)
|
|
97
|
+
|
|
98
|
+
class CustomHydraulicModelPropertyAccessor(PropertyAccessor):
|
|
99
|
+
def __init__(self, client : Client, objectId : str, projectId : str):
|
|
100
|
+
self._stub = MaterialHydraulicModelService_pb2_grpc.MaterialHydraulicModelServiceStub(client.channel)
|
|
101
|
+
super().__init__(client, objectId, self._stub)
|
|
102
|
+
self._projectId = projectId
|
|
103
|
+
|
|
104
|
+
def _getProperty(self, propertyName : str) -> CommonMessages_pb2.PropertyValue:
|
|
105
|
+
request = MaterialHydraulicModelService_pb2.GetCustomHydraulicModelPropertyRequest(objectId=self.objectId, projectId=self._projectId, propertyName=propertyName)
|
|
106
|
+
response : MaterialHydraulicModelService_pb2.GetCustomHydraulicModelPropertyResponse = self._client.callFunction(self._stub.GetCustomHydraulicModelProperty, request)
|
|
107
|
+
return response.value
|
|
108
|
+
|
|
109
|
+
def _setProperty(self, propertyName : str, value : CommonMessages_pb2.PropertyValue):
|
|
110
|
+
request = MaterialHydraulicModelService_pb2.SetCustomHydraulicModelPropertyRequest(objectId=self.objectId, projectId=self._projectId, propertyName=propertyName, value=value)
|
|
111
|
+
self._client.callFunction(self._stub.SetCustomHydraulicModelProperty, request)
|
|
File without changes
|
|
@@ -0,0 +1,86 @@
|
|
|
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 BeamBase(_ProxyObject, IPropertyGroupAccessors):
|
|
7
|
+
def __init__(self, client: Client, id: str):
|
|
8
|
+
super().__init__(client, id)
|
|
9
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
10
|
+
def getApplyStageFactors(self) -> bool:
|
|
11
|
+
return self._propertyAccessor.getBoolValue("StageProperties")
|
|
12
|
+
def setApplyStageFactors(self, value: bool):
|
|
13
|
+
self._propertyAccessor.setBoolValue("StageProperties", value)
|
|
14
|
+
def getProperties(self):
|
|
15
|
+
return {
|
|
16
|
+
"ApplyStageFactors": self.getApplyStageFactors(),
|
|
17
|
+
}
|
|
18
|
+
def setProperties(self, ApplyStageFactors: bool = None):
|
|
19
|
+
if ApplyStageFactors is not None:
|
|
20
|
+
self.setApplyStageFactors(ApplyStageFactors)
|
|
21
|
+
|
|
22
|
+
################ Code below this line will not be overridden ################
|
|
23
|
+
import rs3.generatedFiles.BeamDataService_pb2_grpc as BeamDataService_pb2_grpc
|
|
24
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
25
|
+
from rs3.properties.PropertyEnums import *
|
|
26
|
+
from rs3.properties.beam.Standard import Standard
|
|
27
|
+
from rs3.properties.beam.Truss import Truss
|
|
28
|
+
from rs3.ColorPicker import ColorPicker
|
|
29
|
+
|
|
30
|
+
class BeamProperty(BeamBase):
|
|
31
|
+
"""
|
|
32
|
+
Define beam properties.
|
|
33
|
+
|
|
34
|
+
Attributes:
|
|
35
|
+
Standard (Standard): Reference object for modifying property.
|
|
36
|
+
Truss (Truss): Reference object for modifying property.
|
|
37
|
+
|
|
38
|
+
Examples:
|
|
39
|
+
See :ref:`beam_example`.
|
|
40
|
+
"""
|
|
41
|
+
def __init__(self, client : Client, beamID : str):
|
|
42
|
+
super().__init__(client, beamID)
|
|
43
|
+
self._beamDataService = BeamDataService_pb2_grpc.BeamDataServiceStub(self._client.channel)
|
|
44
|
+
self._basePropertyAccessor = PropertyAccessor(client, beamID, self._beamDataService)
|
|
45
|
+
self.Standard = Standard(client, beamID)
|
|
46
|
+
self.Truss = Truss(client, beamID)
|
|
47
|
+
|
|
48
|
+
def setBeamName(self, name : str):
|
|
49
|
+
self._basePropertyAccessor.setStringValue("Name", name)
|
|
50
|
+
def getBeamName(self) -> str:
|
|
51
|
+
return self._basePropertyAccessor.getStringValue("Name")
|
|
52
|
+
def setBeamType(self, beamType : BeamType):
|
|
53
|
+
self._basePropertyAccessor.setEnumValue("BeamType", beamType.value)
|
|
54
|
+
def getBeamType(self) -> BeamType:
|
|
55
|
+
return self._basePropertyAccessor.getEnumValue("BeamType", BeamType)
|
|
56
|
+
def setBeamColor(self, *args):
|
|
57
|
+
"""
|
|
58
|
+
Sets the RGBA color for the object.
|
|
59
|
+
|
|
60
|
+
Raises:
|
|
61
|
+
ValueError: If inputs are invalid or out of range.
|
|
62
|
+
|
|
63
|
+
Notes:
|
|
64
|
+
Accepted formats:
|
|
65
|
+
- setColor(red, green, blue)
|
|
66
|
+
- setColor(red, green, blue, alpha)
|
|
67
|
+
- setColor("#RRGGBB")
|
|
68
|
+
- setColor("#RRGGBBAA")
|
|
69
|
+
- setColor(ColorType.Rose)
|
|
70
|
+
- setColor(0xE1E4FF) # Integer COLORREF
|
|
71
|
+
|
|
72
|
+
"""
|
|
73
|
+
color_bytes = ColorPicker._setColorValidation(*args)
|
|
74
|
+
request = CommonMessages_pb2.SetColorRequest(objectId=self._objectId, value=color_bytes)
|
|
75
|
+
self._client.callFunction(self._beamDataService.SetColorProperty, request)
|
|
76
|
+
def getBeamColor(self) -> tuple[int, int, int, int]:
|
|
77
|
+
"""
|
|
78
|
+
Retrieves the RGBA color of the object.
|
|
79
|
+
|
|
80
|
+
Returns:
|
|
81
|
+
tuple[int, int, int, int]: A tuple of four integers representing the red, green, blue, and alpha components of the object's color, each in the range [0, 255].
|
|
82
|
+
"""
|
|
83
|
+
request = CommonMessages_pb2.GetColorRequest(objectId=self._objectId)
|
|
84
|
+
response : CommonMessages_pb2.GetColorResponse = self._client.callFunction(self._beamDataService.GetColorProperty, request)
|
|
85
|
+
red, green, blue, alpha = response.value
|
|
86
|
+
return red, green, blue, alpha
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# Generated by RPCBinder in RFC_Common.
|
|
2
|
+
from rs3._client import Client
|
|
3
|
+
from ._PropertyAccessor import PropertyAccessor
|
|
4
|
+
from rs3._proxyObject import _ProxyObject
|
|
5
|
+
from rs3.properties.IPropertyGroupAccessors import IPropertyGroupAccessors
|
|
6
|
+
from rs3.properties.stageFactors.IStageFactorBase import IStageFactorBase
|
|
7
|
+
import rs3.generatedFiles.BeamStageFactorService_pb2_grpc as BeamStageFactorService_pb2_grpc
|
|
8
|
+
class BeamCommonBase(_ProxyObject, IPropertyGroupAccessors):
|
|
9
|
+
def __init__(self, client: Client, id: str):
|
|
10
|
+
super().__init__(client, id)
|
|
11
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
12
|
+
def getYoungsModulus(self) -> float:
|
|
13
|
+
return self._propertyAccessor.getDoubleProperty("Modulus")
|
|
14
|
+
def setYoungsModulus(self, value: float):
|
|
15
|
+
self._propertyAccessor.setDoubleProperty("Modulus", value)
|
|
16
|
+
def getPoissonsRatio(self) -> float:
|
|
17
|
+
return self._propertyAccessor.getDoubleProperty("PoissonRatio")
|
|
18
|
+
def setPoissonsRatio(self, value: float):
|
|
19
|
+
self._propertyAccessor.setDoubleProperty("PoissonRatio", value)
|
|
20
|
+
def getShearStrength(self) -> float:
|
|
21
|
+
return self._propertyAccessor.getDoubleProperty("ShearStrength")
|
|
22
|
+
def setShearStrength(self, value: float):
|
|
23
|
+
self._propertyAccessor.setDoubleProperty("ShearStrength", value)
|
|
24
|
+
def getArea(self) -> float:
|
|
25
|
+
return self._propertyAccessor.getDoubleProperty("Area")
|
|
26
|
+
def setArea(self, value: float):
|
|
27
|
+
self._propertyAccessor.setDoubleProperty("Area", value)
|
|
28
|
+
def getUnitWeight(self) -> float:
|
|
29
|
+
return self._propertyAccessor.getDoubleProperty("UnitWeight")
|
|
30
|
+
def setUnitWeight(self, value: float):
|
|
31
|
+
self._propertyAccessor.setDoubleProperty("UnitWeight", value)
|
|
32
|
+
def getPreTensioning(self) -> bool:
|
|
33
|
+
return self._propertyAccessor.getBoolValue("PreTensioning")
|
|
34
|
+
def setPreTensioning(self, value: bool):
|
|
35
|
+
self._propertyAccessor.setBoolValue("PreTensioning", value)
|
|
36
|
+
def getPreTensioningForce(self) -> float:
|
|
37
|
+
return self._propertyAccessor.getDoubleProperty("PreTensioningForce")
|
|
38
|
+
def setPreTensioningForce(self, value: float):
|
|
39
|
+
self._propertyAccessor.setDoubleProperty("PreTensioningForce", value)
|
|
40
|
+
def getIncludeWeightInStressAnalysis(self) -> bool:
|
|
41
|
+
return self._propertyAccessor.getBoolValue("WeightInAnalysis")
|
|
42
|
+
def setIncludeWeightInStressAnalysis(self, value: bool):
|
|
43
|
+
self._propertyAccessor.setBoolValue("WeightInAnalysis", value)
|
|
44
|
+
def getCompressiveStrength(self) -> float:
|
|
45
|
+
return self._propertyAccessor.getDoubleProperty("PeakCompressiveStrength")
|
|
46
|
+
def setCompressiveStrength(self, value: float):
|
|
47
|
+
self._propertyAccessor.setDoubleProperty("PeakCompressiveStrength", value)
|
|
48
|
+
def getTensileStrength(self) -> float:
|
|
49
|
+
return self._propertyAccessor.getDoubleProperty("PeakTensileStrength")
|
|
50
|
+
def setTensileStrength(self, value: float):
|
|
51
|
+
self._propertyAccessor.setDoubleProperty("PeakTensileStrength", value)
|
|
52
|
+
def getResidualCompressiveStrength(self) -> float:
|
|
53
|
+
return self._propertyAccessor.getDoubleProperty("ResidualCompressiveStrength")
|
|
54
|
+
def setResidualCompressiveStrength(self, value: float):
|
|
55
|
+
self._propertyAccessor.setDoubleProperty("ResidualCompressiveStrength", value)
|
|
56
|
+
def getResidualTensileStrength(self) -> float:
|
|
57
|
+
return self._propertyAccessor.getDoubleProperty("ResidualTensileStrength")
|
|
58
|
+
def setResidualTensileStrength(self, value: float):
|
|
59
|
+
self._propertyAccessor.setDoubleProperty("ResidualTensileStrength", value)
|
|
60
|
+
def getProperties(self):
|
|
61
|
+
return {
|
|
62
|
+
"YoungsModulus": self.getYoungsModulus(),
|
|
63
|
+
"PoissonsRatio": self.getPoissonsRatio(),
|
|
64
|
+
"ShearStrength": self.getShearStrength(),
|
|
65
|
+
"Area": self.getArea(),
|
|
66
|
+
"UnitWeight": self.getUnitWeight(),
|
|
67
|
+
"PreTensioning": self.getPreTensioning(),
|
|
68
|
+
"PreTensioningForce": self.getPreTensioningForce(),
|
|
69
|
+
"IncludeWeightInStressAnalysis": self.getIncludeWeightInStressAnalysis(),
|
|
70
|
+
"CompressiveStrength": self.getCompressiveStrength(),
|
|
71
|
+
"TensileStrength": self.getTensileStrength(),
|
|
72
|
+
"ResidualCompressiveStrength": self.getResidualCompressiveStrength(),
|
|
73
|
+
"ResidualTensileStrength": self.getResidualTensileStrength(),
|
|
74
|
+
}
|
|
75
|
+
def setProperties(self, YoungsModulus: float = None, PoissonsRatio: float = None, ShearStrength: float = None, Area: float = None, UnitWeight: float = None, PreTensioning: bool = None, PreTensioningForce: float = None, IncludeWeightInStressAnalysis: bool = None, CompressiveStrength: float = None, TensileStrength: float = None, ResidualCompressiveStrength: float = None, ResidualTensileStrength: float = None):
|
|
76
|
+
if YoungsModulus is not None:
|
|
77
|
+
self.setYoungsModulus(YoungsModulus)
|
|
78
|
+
if PoissonsRatio is not None:
|
|
79
|
+
self.setPoissonsRatio(PoissonsRatio)
|
|
80
|
+
if ShearStrength is not None:
|
|
81
|
+
self.setShearStrength(ShearStrength)
|
|
82
|
+
if Area is not None:
|
|
83
|
+
self.setArea(Area)
|
|
84
|
+
if UnitWeight is not None:
|
|
85
|
+
self.setUnitWeight(UnitWeight)
|
|
86
|
+
if PreTensioning is not None:
|
|
87
|
+
self.setPreTensioning(PreTensioning)
|
|
88
|
+
if PreTensioningForce is not None:
|
|
89
|
+
self.setPreTensioningForce(PreTensioningForce)
|
|
90
|
+
if IncludeWeightInStressAnalysis is not None:
|
|
91
|
+
self.setIncludeWeightInStressAnalysis(IncludeWeightInStressAnalysis)
|
|
92
|
+
if CompressiveStrength is not None:
|
|
93
|
+
self.setCompressiveStrength(CompressiveStrength)
|
|
94
|
+
if TensileStrength is not None:
|
|
95
|
+
self.setTensileStrength(TensileStrength)
|
|
96
|
+
if ResidualCompressiveStrength is not None:
|
|
97
|
+
self.setResidualCompressiveStrength(ResidualCompressiveStrength)
|
|
98
|
+
if ResidualTensileStrength is not None:
|
|
99
|
+
self.setResidualTensileStrength(ResidualTensileStrength)
|
|
100
|
+
class BeamCommonStageFactorBase(IStageFactorBase):
|
|
101
|
+
def __init__(self, id : str, stageFactorID : str, client : Client):
|
|
102
|
+
super().__init__(id, stageFactorID, client, BeamStageFactorService_pb2_grpc.BeamStageFactorServiceStub(client.channel))
|
|
103
|
+
def getAreaFactor(self) -> float:
|
|
104
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_Area")
|
|
105
|
+
def getCompressiveStrengthFactor(self) -> float:
|
|
106
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_CompressiveStrengthPeak")
|
|
107
|
+
def getResidualCompressiveStrengthFactor(self) -> float:
|
|
108
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_CompressiveStrengthResidual")
|
|
109
|
+
def getPoissonsRatioFactor(self) -> float:
|
|
110
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_PoissonsRatio")
|
|
111
|
+
def getPretensionForceFactor(self) -> float:
|
|
112
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_PretensionForce")
|
|
113
|
+
def getTensileStrengthFactor(self) -> float:
|
|
114
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_TensileStrengthPeak")
|
|
115
|
+
def getResidualTensileStrengthFactor(self) -> float:
|
|
116
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_TensileStrengthResidual")
|
|
117
|
+
def getUnitWeightFactor(self) -> float:
|
|
118
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_UnitWeight")
|
|
119
|
+
def getYoungsModulusFactor(self) -> float:
|
|
120
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Common_YoungsModulus")
|
|
121
|
+
class BeamCommonDefinedStageFactorBase(BeamCommonStageFactorBase):
|
|
122
|
+
def setAreaFactor(self, value: float):
|
|
123
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_Area", value)
|
|
124
|
+
def setCompressiveStrengthFactor(self, value: float):
|
|
125
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_CompressiveStrengthPeak", value)
|
|
126
|
+
def setResidualCompressiveStrengthFactor(self, value: float):
|
|
127
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_CompressiveStrengthResidual", value)
|
|
128
|
+
def setPoissonsRatioFactor(self, value: float):
|
|
129
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_PoissonsRatio", value)
|
|
130
|
+
def setPretensionForceFactor(self, value: float):
|
|
131
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_PretensionForce", value)
|
|
132
|
+
def setTensileStrengthFactor(self, value: float):
|
|
133
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_TensileStrengthPeak", value)
|
|
134
|
+
def setResidualTensileStrengthFactor(self, value: float):
|
|
135
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_TensileStrengthResidual", value)
|
|
136
|
+
def setUnitWeightFactor(self, value: float):
|
|
137
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_UnitWeight", value)
|
|
138
|
+
def setYoungsModulusFactor(self, value: float):
|
|
139
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Common_YoungsModulus", value)
|
|
140
|
+
|
|
141
|
+
################ Code below this line will not be overridden ################
|
|
142
|
+
from rs3.properties.PropertyEnums import *
|
|
143
|
+
class BeamCommonStageFactor(BeamCommonStageFactorBase):
|
|
144
|
+
"""
|
|
145
|
+
Examples:
|
|
146
|
+
See :ref:`beam_example`.
|
|
147
|
+
"""
|
|
148
|
+
def __init__(self, id: str, stageFactorId: str, client: Client):
|
|
149
|
+
super().__init__(id, stageFactorId, client)
|
|
150
|
+
|
|
151
|
+
class BeamCommonDefinedStageFactor(BeamCommonDefinedStageFactorBase):
|
|
152
|
+
"""
|
|
153
|
+
Examples:
|
|
154
|
+
See :ref:`beam_example`.
|
|
155
|
+
"""
|
|
156
|
+
pass
|
|
157
|
+
|
|
158
|
+
class BeamCommon(BeamCommonBase):
|
|
159
|
+
"""
|
|
160
|
+
Common base class for all beam-type structural elements.
|
|
161
|
+
|
|
162
|
+
``BeamCommon`` defines the shared properties that are applicable to
|
|
163
|
+
both Standard beam and Truss.
|
|
164
|
+
|
|
165
|
+
Examples:
|
|
166
|
+
See :ref:`beam_example`.
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
def __init__(self, client: Client, id: str):
|
|
170
|
+
super().__init__(client, id)
|
|
171
|
+
|
|
172
|
+
def setMaterialType(self, value : MaterialType):
|
|
173
|
+
self._propertyAccessor.setBoolValue("IsPlasticMaterial", value.value)
|
|
174
|
+
def getMaterialType(self) -> MaterialType:
|
|
175
|
+
return MaterialType(self._propertyAccessor.getBoolValue("IsPlasticMaterial"))
|
|
@@ -0,0 +1,97 @@
|
|
|
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 StandardBase(_ProxyObject, IPropertyGroupAccessors):
|
|
7
|
+
def __init__(self, client: Client, id: str):
|
|
8
|
+
super().__init__(client, id)
|
|
9
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
10
|
+
def getIMin(self) -> float:
|
|
11
|
+
return self._propertyAccessor.getDoubleProperty("IMin")
|
|
12
|
+
def setIMin(self, value: float):
|
|
13
|
+
self._propertyAccessor.setDoubleProperty("IMin", value)
|
|
14
|
+
def getIMax(self) -> float:
|
|
15
|
+
return self._propertyAccessor.getDoubleProperty("IMax")
|
|
16
|
+
def setIMax(self, value: float):
|
|
17
|
+
self._propertyAccessor.setDoubleProperty("IMax", value)
|
|
18
|
+
def getProperties(self):
|
|
19
|
+
return {
|
|
20
|
+
"IMin": self.getIMin(),
|
|
21
|
+
"IMax": self.getIMax(),
|
|
22
|
+
}
|
|
23
|
+
def setProperties(self, IMin: float = None, IMax: float = None):
|
|
24
|
+
if IMin is not None:
|
|
25
|
+
self.setIMin(IMin)
|
|
26
|
+
if IMax is not None:
|
|
27
|
+
self.setIMax(IMax)
|
|
28
|
+
|
|
29
|
+
################ Code below this line will not be overridden ################
|
|
30
|
+
from rs3.properties.stageFactors.StageFactorInterfaces import AbsoluteStageFactorInterface
|
|
31
|
+
from rs3.properties.beam.BeamCommon import BeamCommon, BeamCommonStageFactor, BeamCommonDefinedStageFactor
|
|
32
|
+
import rs3.generatedFiles.BeamDataService_pb2_grpc as BeamDataService_pb2_grpc
|
|
33
|
+
from rs3.properties.PropertyEnums import *
|
|
34
|
+
|
|
35
|
+
class StandardBeamStageFactor(BeamCommonStageFactor):
|
|
36
|
+
"""
|
|
37
|
+
Examples:
|
|
38
|
+
See :ref:`beam_example`.
|
|
39
|
+
"""
|
|
40
|
+
def __init__(self, id : str, stageFactorID : str, client : Client):
|
|
41
|
+
super().__init__(id, stageFactorID, client)
|
|
42
|
+
def getMomentInertiaYFactor(self) -> float:
|
|
43
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Standard_MomentInertiaY")
|
|
44
|
+
def getMomentInertiaZFactor(self) -> float:
|
|
45
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Standard_MomentInertiaZ")
|
|
46
|
+
def getShearStrengthFactor(self) -> float:
|
|
47
|
+
return self._stageFactorPropertyAccessor.getDoubleProperty("Standard_ShearStrength")
|
|
48
|
+
|
|
49
|
+
class StandardBeamDefinedStageFactor(StandardBeamStageFactor, BeamCommonDefinedStageFactor):
|
|
50
|
+
"""
|
|
51
|
+
Examples:
|
|
52
|
+
See :ref:`beam_example`.
|
|
53
|
+
"""
|
|
54
|
+
def setMomentInertiaYFactor(self, value: float):
|
|
55
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Standard_MomentInertiaY", value)
|
|
56
|
+
def setMomentInertiaZFactor(self, value: float):
|
|
57
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Standard_MomentInertiaZ", value)
|
|
58
|
+
def setShearStrengthFactor(self, value: float):
|
|
59
|
+
self._stageFactorPropertyAccessor.setDoubleProperty("Standard_ShearStrength", value)
|
|
60
|
+
|
|
61
|
+
class Standard(BeamCommon, StandardBase):
|
|
62
|
+
"""
|
|
63
|
+
Standard beam structural element.
|
|
64
|
+
|
|
65
|
+
This class represents a standard beam section. It **inherits all common
|
|
66
|
+
beam functionality** from :class:`BeamCommon.BeamCommon`, and **section-specific
|
|
67
|
+
properties** from :class:`StandardBase`.
|
|
68
|
+
|
|
69
|
+
The following intrinsic properties are exposed via ``StandardBase``:
|
|
70
|
+
|
|
71
|
+
- ``IMin``: Minimum moment of inertia.
|
|
72
|
+
- ``IMax``: Maximum moment of inertia.
|
|
73
|
+
|
|
74
|
+
Stage-dependent modification factors for standard beam properties are
|
|
75
|
+
accessed through ``StageFactorInterface``, which provides:
|
|
76
|
+
|
|
77
|
+
- Moment of inertia Y factor
|
|
78
|
+
- Moment of inertia Z factor
|
|
79
|
+
- Shear strength factor
|
|
80
|
+
|
|
81
|
+
For full documentation of common beam behavior and shared properties,
|
|
82
|
+
refer to ``BeamCommon.py``.
|
|
83
|
+
|
|
84
|
+
Examples:
|
|
85
|
+
See :ref:`beam_example`.
|
|
86
|
+
|
|
87
|
+
"""
|
|
88
|
+
def __init__(self, client: Client, id: str):
|
|
89
|
+
super().__init__(client, id)
|
|
90
|
+
self._beamDataService = BeamDataService_pb2_grpc.BeamDataServiceStub(self._client.channel)
|
|
91
|
+
self._basePropertyAccessor = PropertyAccessor(client, id, self._beamDataService)
|
|
92
|
+
self.StageFactorInterface = AbsoluteStageFactorInterface[StandardBeamDefinedStageFactor, StandardBeamStageFactor](id, client, StandardBeamDefinedStageFactor, StandardBeamStageFactor)
|
|
93
|
+
|
|
94
|
+
def setBeamElementFormulation(self, beamElementFormulation : BeamElementFormulation):
|
|
95
|
+
self._basePropertyAccessor.setEnumValue("ElementFormulation", beamElementFormulation.value)
|
|
96
|
+
def getBeamElementFormulation(self) -> BeamElementFormulation:
|
|
97
|
+
return self._basePropertyAccessor.getEnumValue("ElementFormulation", BeamElementFormulation)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from rs3._client import Client
|
|
2
|
+
from rs3.properties.stageFactors.StageFactorInterfaces import AbsoluteStageFactorInterface
|
|
3
|
+
from rs3.properties.PropertyEnums import *
|
|
4
|
+
from rs3.properties.beam import BeamCommon
|
|
5
|
+
|
|
6
|
+
class Truss(BeamCommon.BeamCommon):
|
|
7
|
+
"""
|
|
8
|
+
Truss structural element.
|
|
9
|
+
|
|
10
|
+
This class represents a truss member and **inherits all common beam
|
|
11
|
+
properties, methods, and behaviors** from :class:`BeamCommon.BeamCommon`.
|
|
12
|
+
|
|
13
|
+
No additional intrinsic properties are defined at the truss level beyond
|
|
14
|
+
what is provided by ``BeamCommon``. Users should refer to
|
|
15
|
+
``BeamCommon.py`` for the complete list of available properties and
|
|
16
|
+
interfaces.
|
|
17
|
+
|
|
18
|
+
Examples:
|
|
19
|
+
See :ref:`beam_example`.
|
|
20
|
+
"""
|
|
21
|
+
def __init__(self, client: Client, id: str):
|
|
22
|
+
super().__init__(client, id)
|
|
23
|
+
self.StageFactorInterface = AbsoluteStageFactorInterface[BeamCommon.BeamCommonDefinedStageFactor, BeamCommon.BeamCommonStageFactor](id, client, BeamCommon.BeamCommonDefinedStageFactor, BeamCommon.BeamCommonStageFactor)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor
|
|
2
|
+
import rs3.generatedFiles.BeamService_pb2_grpc as BeamService_pb2_grpc
|
|
3
|
+
from rs3._client import Client
|
|
4
|
+
class PropertyAccessor(PropertyAccessor):
|
|
5
|
+
def __init__(self, client : Client, objectId : str, serviceStub = None):
|
|
6
|
+
if serviceStub is None:
|
|
7
|
+
serviceStub = BeamService_pb2_grpc.BeamServiceStub(client.channel)
|
|
8
|
+
super().__init__(client, objectId, serviceStub)
|
|
9
|
+
|
|
File without changes
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import rs3.generatedFiles.BoltDataService_pb2_grpc as BoltDataService_pb2_grpc
|
|
2
|
+
import rs3.generatedFiles.CommonMessages_pb2 as CommonMessages_pb2
|
|
3
|
+
from rs3._client import Client
|
|
4
|
+
from rs3.properties.PropertyEnums import *
|
|
5
|
+
from rs3.properties.bolt.EndAnchored import EndAnchored
|
|
6
|
+
from rs3.properties.bolt.FullyBonded import FullyBonded
|
|
7
|
+
from rs3.properties.bolt.PlainStrandCable import PlainStrandCable
|
|
8
|
+
from rs3.properties.bolt.Swellex import Swellex
|
|
9
|
+
from rs3.properties.bolt.Tieback import Tieback
|
|
10
|
+
from rs3.properties._PropertyAccessor import PropertyAccessor
|
|
11
|
+
from rs3._proxyObject import _ProxyObject
|
|
12
|
+
from rs3.ColorPicker import ColorPicker
|
|
13
|
+
|
|
14
|
+
class BoltProperty(_ProxyObject):
|
|
15
|
+
"""
|
|
16
|
+
Define bolt properties.
|
|
17
|
+
|
|
18
|
+
Attributes:
|
|
19
|
+
EndAnchored (EndAnchored): Reference object for modifying property.
|
|
20
|
+
FullyBonded (FullyBonded): Reference object for modifying property.
|
|
21
|
+
PlainStrandCable (PlainStrandCable): Reference object for modifying property.
|
|
22
|
+
Swellex (Swellex): Reference object for modifying property.
|
|
23
|
+
Tieback (Tieback): Reference object for modifying property.
|
|
24
|
+
|
|
25
|
+
Examples:
|
|
26
|
+
See :ref:`bolt_example`.
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
def __init__(self, client : Client, boltID : str):
|
|
30
|
+
super().__init__(client, boltID)
|
|
31
|
+
self._boltDataService = BoltDataService_pb2_grpc.BoltDataServiceStub(self._client.channel)
|
|
32
|
+
self._propertyAccessor = PropertyAccessor(client, boltID, self._boltDataService)
|
|
33
|
+
self.EndAnchored = EndAnchored(client, boltID)
|
|
34
|
+
self.FullyBonded = FullyBonded(client, boltID)
|
|
35
|
+
self.PlainStrandCable = PlainStrandCable(client, boltID)
|
|
36
|
+
self.Swellex = Swellex(client, boltID)
|
|
37
|
+
self.Tieback = Tieback(client, boltID)
|
|
38
|
+
|
|
39
|
+
def getBoltName(self) -> str:
|
|
40
|
+
return self._propertyAccessor.getStringValue("Name")
|
|
41
|
+
|
|
42
|
+
def setBoltName(self, name):
|
|
43
|
+
self._propertyAccessor.setStringValue("Name", name)
|
|
44
|
+
|
|
45
|
+
def getBoltType(self) -> BoltTypes:
|
|
46
|
+
return self._propertyAccessor.getEnumValue("BoltType", BoltTypes)
|
|
47
|
+
|
|
48
|
+
def setBoltType(self, boltType : BoltTypes):
|
|
49
|
+
self._propertyAccessor.setEnumValue("BoltType", boltType.value)
|
|
50
|
+
|
|
51
|
+
def setBoltColor(self, *args):
|
|
52
|
+
"""
|
|
53
|
+
Sets the RGBA color for the object.
|
|
54
|
+
|
|
55
|
+
Raises:
|
|
56
|
+
ValueError: If inputs are invalid or out of range.
|
|
57
|
+
|
|
58
|
+
Notes:
|
|
59
|
+
Accepted formats:
|
|
60
|
+
- setColor(red, green, blue)
|
|
61
|
+
- setColor(red, green, blue, alpha)
|
|
62
|
+
- setColor("#RRGGBB")
|
|
63
|
+
- setColor("#RRGGBBAA")
|
|
64
|
+
- setColor(ColorType.Rose)
|
|
65
|
+
- setColor(0xE1E4FF) # Integer COLORREF
|
|
66
|
+
|
|
67
|
+
"""
|
|
68
|
+
color_bytes = ColorPicker._setColorValidation(*args)
|
|
69
|
+
request = CommonMessages_pb2.SetColorRequest(objectId=self._objectId, value=color_bytes)
|
|
70
|
+
self._client.callFunction(self._boltDataService.SetColorProperty, request)
|
|
71
|
+
def getBoltColor(self) -> tuple[int, int, int, int]:
|
|
72
|
+
"""
|
|
73
|
+
Retrieves the RGBA color of the object.
|
|
74
|
+
|
|
75
|
+
Returns:
|
|
76
|
+
tuple[int, int, int, int]: A tuple of four integers representing the red, green, blue, and alpha components of the object's color, each in the range [0, 255].
|
|
77
|
+
"""
|
|
78
|
+
request = CommonMessages_pb2.GetColorRequest(objectId=self._objectId)
|
|
79
|
+
response : CommonMessages_pb2.GetColorResponse = self._client.callFunction(self._boltDataService.GetColorProperty, request)
|
|
80
|
+
red, green, blue, alpha = response.value
|
|
81
|
+
return red, green, blue, alpha
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Generated by RPCBinder in RFC_Common.
|
|
2
|
+
from rs3._client import Client
|
|
3
|
+
from ._PropertyAccessor import PropertyAccessor
|
|
4
|
+
from rs3._proxyObject import _ProxyObject
|
|
5
|
+
from rs3.properties.IPropertyGroupAccessors import IPropertyGroupAccessors
|
|
6
|
+
class EndAnchoredBase(_ProxyObject, IPropertyGroupAccessors):
|
|
7
|
+
def __init__(self, client: Client, id: str):
|
|
8
|
+
super().__init__(client, id)
|
|
9
|
+
self._propertyAccessor = PropertyAccessor(client, id)
|
|
10
|
+
def getTensileCapacity(self) -> float:
|
|
11
|
+
return self._propertyAccessor.getDoubleProperty("TensileCapacity")
|
|
12
|
+
def setTensileCapacity(self, value: float):
|
|
13
|
+
self._propertyAccessor.setDoubleProperty("TensileCapacity", value)
|
|
14
|
+
def getResidualTensileCapacity(self) -> float:
|
|
15
|
+
return self._propertyAccessor.getDoubleProperty("TensileCapacityResidual")
|
|
16
|
+
def setResidualTensileCapacity(self, value: float):
|
|
17
|
+
self._propertyAccessor.setDoubleProperty("TensileCapacityResidual", value)
|
|
18
|
+
def getPreTensioningForce(self) -> float:
|
|
19
|
+
return self._propertyAccessor.getDoubleProperty("PreTensioningForce")
|
|
20
|
+
def setPreTensioningForce(self, value: float):
|
|
21
|
+
self._propertyAccessor.setDoubleProperty("PreTensioningForce", value)
|
|
22
|
+
def getBoltDiameter(self) -> float:
|
|
23
|
+
return self._propertyAccessor.getDoubleProperty("Diameter")
|
|
24
|
+
def setBoltDiameter(self, value: float):
|
|
25
|
+
self._propertyAccessor.setDoubleProperty("Diameter", value)
|
|
26
|
+
def getConstantPretensioningForceInInstallStage(self) -> bool:
|
|
27
|
+
return self._propertyAccessor.getBoolValue("IsConstantForce")
|
|
28
|
+
def setConstantPretensioningForceInInstallStage(self, value: bool):
|
|
29
|
+
self._propertyAccessor.setBoolValue("IsConstantForce", value)
|
|
30
|
+
def getBoltModulusE(self) -> float:
|
|
31
|
+
return self._propertyAccessor.getDoubleProperty("Modulus")
|
|
32
|
+
def setBoltModulusE(self, value: float):
|
|
33
|
+
self._propertyAccessor.setDoubleProperty("Modulus", value)
|
|
34
|
+
def getFacePlates(self) -> bool:
|
|
35
|
+
return self._propertyAccessor.getBoolValue("IsAttachedFacePlates")
|
|
36
|
+
def setFacePlates(self, value: bool):
|
|
37
|
+
self._propertyAccessor.setBoolValue("IsAttachedFacePlates", value)
|
|
38
|
+
def getProperties(self):
|
|
39
|
+
return {
|
|
40
|
+
"TensileCapacity": self.getTensileCapacity(),
|
|
41
|
+
"ResidualTensileCapacity": self.getResidualTensileCapacity(),
|
|
42
|
+
"PreTensioningForce": self.getPreTensioningForce(),
|
|
43
|
+
"BoltDiameter": self.getBoltDiameter(),
|
|
44
|
+
"ConstantPretensioningForceInInstallStage": self.getConstantPretensioningForceInInstallStage(),
|
|
45
|
+
"BoltModulusE": self.getBoltModulusE(),
|
|
46
|
+
"FacePlates": self.getFacePlates(),
|
|
47
|
+
}
|
|
48
|
+
def setProperties(self, TensileCapacity: float = None, ResidualTensileCapacity: float = None, PreTensioningForce: float = None, BoltDiameter: float = None, ConstantPretensioningForceInInstallStage: bool = None, BoltModulusE: float = None, FacePlates: bool = None):
|
|
49
|
+
if TensileCapacity is not None:
|
|
50
|
+
self.setTensileCapacity(TensileCapacity)
|
|
51
|
+
if ResidualTensileCapacity is not None:
|
|
52
|
+
self.setResidualTensileCapacity(ResidualTensileCapacity)
|
|
53
|
+
if PreTensioningForce is not None:
|
|
54
|
+
self.setPreTensioningForce(PreTensioningForce)
|
|
55
|
+
if BoltDiameter is not None:
|
|
56
|
+
self.setBoltDiameter(BoltDiameter)
|
|
57
|
+
if ConstantPretensioningForceInInstallStage is not None:
|
|
58
|
+
self.setConstantPretensioningForceInInstallStage(ConstantPretensioningForceInInstallStage)
|
|
59
|
+
if BoltModulusE is not None:
|
|
60
|
+
self.setBoltModulusE(BoltModulusE)
|
|
61
|
+
if FacePlates is not None:
|
|
62
|
+
self.setFacePlates(FacePlates)
|
|
63
|
+
|
|
64
|
+
################ Code below this line will not be overridden ################
|
|
65
|
+
|
|
66
|
+
class EndAnchored(EndAnchoredBase):
|
|
67
|
+
"""
|
|
68
|
+
Examples:
|
|
69
|
+
See :ref:`bolt_example`.
|
|
70
|
+
"""
|
|
71
|
+
def __init__(self, client: Client, id: str):
|
|
72
|
+
super().__init__(client, id)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|