RS2Scripting 11.23.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.
- RS2Scripting-11.23.0.dist-info/License.txt +20 -0
- RS2Scripting-11.23.0.dist-info/METADATA +147 -0
- RS2Scripting-11.23.0.dist-info/RECORD +188 -0
- RS2Scripting-11.23.0.dist-info/WHEEL +5 -0
- RS2Scripting-11.23.0.dist-info/top_level.txt +1 -0
- rs2/BaseModel.py +46 -0
- rs2/Units.py +6 -0
- rs2/__init__.py +0 -0
- rs2/_common/Client.py +67 -0
- rs2/_common/ProxyObject.py +12 -0
- rs2/_common/__init__.py +0 -0
- rs2/_common/documentProxy.py +5 -0
- rs2/interpreter/InterpreterEnums.py +86 -0
- rs2/interpreter/InterpreterGraphEnums.py +54 -0
- rs2/interpreter/InterpreterModel.py +328 -0
- rs2/interpreter/RS2Interpreter.py +78 -0
- rs2/interpreter/_UtilityResult.py +20 -0
- rs2/interpreter/__init__.py +0 -0
- rs2/interpreter/queryResults/HistoryQueryResults.py +30 -0
- rs2/interpreter/queryResults/MaterialQueryResults.py +67 -0
- rs2/interpreter/queryResults/MeshResults.py +12 -0
- rs2/interpreter/queryResults/TimeQueryResults.py +111 -0
- rs2/interpreter/queryResults/__init__.py +0 -0
- rs2/interpreter/supportResults/BoltResult.py +49 -0
- rs2/interpreter/supportResults/CompositeResult.py +24 -0
- rs2/interpreter/supportResults/JointResult.py +25 -0
- rs2/interpreter/supportResults/LinerResult.py +33 -0
- rs2/interpreter/supportResults/__init__.py +0 -0
- rs2/modeler/Model.py +350 -0
- rs2/modeler/RS2Modeler.py +81 -0
- rs2/modeler/__init__.py +0 -0
- rs2/modeler/properties/AbsoluteStageFactorGettersInterface.py +31 -0
- rs2/modeler/properties/AbsoluteStageFactorInterface.py +49 -0
- rs2/modeler/properties/CompositeProperty.py +81 -0
- rs2/modeler/properties/DiscreteFunction.py +43 -0
- rs2/modeler/properties/MaterialJoint.py +25 -0
- rs2/modeler/properties/MaterialJointOptions.py +28 -0
- rs2/modeler/properties/PropertyEnums.py +376 -0
- rs2/modeler/properties/RelativeStageFactorInterface.py +50 -0
- rs2/modeler/properties/ShearNormalFunction.py +45 -0
- rs2/modeler/properties/SnowdenAnisotropicFunction.py +56 -0
- rs2/modeler/properties/StructuralInterface.py +59 -0
- rs2/modeler/properties/UserDefinedWaterMode.py +21 -0
- rs2/modeler/properties/__init__.py +0 -0
- rs2/modeler/properties/bolt/Bolt.py +33 -0
- rs2/modeler/properties/bolt/EndAnchored.py +59 -0
- rs2/modeler/properties/bolt/FullyBonded.py +66 -0
- rs2/modeler/properties/bolt/PlainStrandCable.py +112 -0
- rs2/modeler/properties/bolt/Swellex.py +136 -0
- rs2/modeler/properties/bolt/Tieback.py +192 -0
- rs2/modeler/properties/bolt/__init__.py +0 -0
- rs2/modeler/properties/joint/BartonBandis.py +143 -0
- rs2/modeler/properties/joint/BartonBandisMaterial.py +82 -0
- rs2/modeler/properties/joint/DisplacementDependent.py +134 -0
- rs2/modeler/properties/joint/GeosyntheticHyperbolic.py +147 -0
- rs2/modeler/properties/joint/GeosyntheticHyperbolicMaterial.py +93 -0
- rs2/modeler/properties/joint/HyperbolicSoftening.py +202 -0
- rs2/modeler/properties/joint/Joint.py +57 -0
- rs2/modeler/properties/joint/MaterialDependent.py +128 -0
- rs2/modeler/properties/joint/MohrCoulomb.py +211 -0
- rs2/modeler/properties/joint/MohrCoulombMaterial.py +115 -0
- rs2/modeler/properties/joint/NoneSlip.py +103 -0
- rs2/modeler/properties/joint/__init__.py +0 -0
- rs2/modeler/properties/liner/CableTruss.py +199 -0
- rs2/modeler/properties/liner/Geosynthetic.py +167 -0
- rs2/modeler/properties/liner/Liner.py +31 -0
- rs2/modeler/properties/liner/ReinforcedConcrete.py +291 -0
- rs2/modeler/properties/liner/StandardBeam.py +268 -0
- rs2/modeler/properties/liner/__init__.py +0 -0
- rs2/modeler/properties/material/InitialConditions.py +152 -0
- rs2/modeler/properties/material/MaterialProperty.py +49 -0
- rs2/modeler/properties/material/StageFactors.py +100 -0
- rs2/modeler/properties/material/__init__.py +0 -0
- rs2/modeler/properties/material/datum/BaseDatum.py +23 -0
- rs2/modeler/properties/material/datum/Datum.py +79 -0
- rs2/modeler/properties/material/datum/PeakResidualDatum.py +31 -0
- rs2/modeler/properties/material/datum/SimpleDatum.py +17 -0
- rs2/modeler/properties/material/datum/__init__.py +0 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/Brooks.py +106 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/Constant.py +54 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/FEAGroundwater.py +82 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/Fredlund.py +117 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/Gardner.py +106 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/Genuchten.py +124 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/Simple.py +91 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/UserDefined.py +10 -0
- rs2/modeler/properties/material/hydraulic/FEAGroundwater/__init__.py +0 -0
- rs2/modeler/properties/material/hydraulic/Hydraulic.py +41 -0
- rs2/modeler/properties/material/hydraulic/StaticGroundwater.py +85 -0
- rs2/modeler/properties/material/hydraulic/__init__.py +0 -0
- rs2/modeler/properties/material/stiffness/ChSoil.py +45 -0
- rs2/modeler/properties/material/stiffness/Custom.py +83 -0
- rs2/modeler/properties/material/stiffness/CySoil.py +45 -0
- rs2/modeler/properties/material/stiffness/DoubleYield.py +45 -0
- rs2/modeler/properties/material/stiffness/HardeningSoil.py +73 -0
- rs2/modeler/properties/material/stiffness/HardeningSoilSmallStrainStiffness.py +73 -0
- rs2/modeler/properties/material/stiffness/Isotropic.py +122 -0
- rs2/modeler/properties/material/stiffness/ManzariAndDafalias.py +38 -0
- rs2/modeler/properties/material/stiffness/NonLinearHyperbolic.py +117 -0
- rs2/modeler/properties/material/stiffness/NonLinearIsotropic.py +255 -0
- rs2/modeler/properties/material/stiffness/Norsand.py +45 -0
- rs2/modeler/properties/material/stiffness/Orthotropic.py +180 -0
- rs2/modeler/properties/material/stiffness/Pm4Sand.py +80 -0
- rs2/modeler/properties/material/stiffness/Pm4Silt.py +87 -0
- rs2/modeler/properties/material/stiffness/SoftSoil.py +24 -0
- rs2/modeler/properties/material/stiffness/SoftSoilCreep.py +24 -0
- rs2/modeler/properties/material/stiffness/Stiffness.py +53 -0
- rs2/modeler/properties/material/stiffness/SwellingRock.py +52 -0
- rs2/modeler/properties/material/stiffness/TransverselyIsotropic.py +145 -0
- rs2/modeler/properties/material/stiffness/ViscoElastic.py +59 -0
- rs2/modeler/properties/material/stiffness/__init__.py +0 -0
- rs2/modeler/properties/material/strength/AnisotropicLinear.py +150 -0
- rs2/modeler/properties/material/strength/BarcelonaBasic.py +176 -0
- rs2/modeler/properties/material/strength/BartonBandisStrength.py +59 -0
- rs2/modeler/properties/material/strength/BoundingSurfacePlasticity.py +66 -0
- rs2/modeler/properties/material/strength/CamClay.py +113 -0
- rs2/modeler/properties/material/strength/ChSoilStrength.py +66 -0
- rs2/modeler/properties/material/strength/CySoilStrength.py +94 -0
- rs2/modeler/properties/material/strength/DiscreteFunction.py +41 -0
- rs2/modeler/properties/material/strength/DoubleYieldStrength.py +94 -0
- rs2/modeler/properties/material/strength/DruckerPrager.py +113 -0
- rs2/modeler/properties/material/strength/Finn.py +129 -0
- rs2/modeler/properties/material/strength/GeneralizedAnisotropic.py +20 -0
- rs2/modeler/properties/material/strength/GeneralizedHoekBrown.py +195 -0
- rs2/modeler/properties/material/strength/HardeningSoilStrength.py +101 -0
- rs2/modeler/properties/material/strength/HardeningSoilWithSmallStrainStiffness.py +101 -0
- rs2/modeler/properties/material/strength/HoekBrown.py +102 -0
- rs2/modeler/properties/material/strength/Hyperbolic.py +59 -0
- rs2/modeler/properties/material/strength/JointedGeneralizedHoekBrown.py +198 -0
- rs2/modeler/properties/material/strength/JointedMohrCoulomb.py +116 -0
- rs2/modeler/properties/material/strength/ManzariAndDafaliasStrength.py +108 -0
- rs2/modeler/properties/material/strength/ModifiedCamClay.py +113 -0
- rs2/modeler/properties/material/strength/MohrCoulombStrength.py +113 -0
- rs2/modeler/properties/material/strength/MohrCoulombWithCap.py +112 -0
- rs2/modeler/properties/material/strength/NorSandStrength.py +101 -0
- rs2/modeler/properties/material/strength/PM4SandStrength.py +178 -0
- rs2/modeler/properties/material/strength/PM4SiltStrength.py +241 -0
- rs2/modeler/properties/material/strength/PowerCurve.py +101 -0
- rs2/modeler/properties/material/strength/Shansep.py +172 -0
- rs2/modeler/properties/material/strength/ShearNormalFunction.py +21 -0
- rs2/modeler/properties/material/strength/SnowdenModAnisotropicLinear.py +78 -0
- rs2/modeler/properties/material/strength/SoftSoilCreepStrength.py +87 -0
- rs2/modeler/properties/material/strength/SoftSoilStrength.py +80 -0
- rs2/modeler/properties/material/strength/SofteningHardeningModel.py +150 -0
- rs2/modeler/properties/material/strength/Strength.py +185 -0
- rs2/modeler/properties/material/strength/SwellingRockStrength.py +122 -0
- rs2/modeler/properties/material/strength/VerticalStressRatio.py +94 -0
- rs2/modeler/properties/material/strength/__init__.py +0 -0
- rs2/modeler/properties/material/thermal/Thermal.py +74 -0
- rs2/modeler/properties/material/thermal/__init__.py +0 -0
- rs2/modeler/properties/material/thermal/conductivity/Conductivity.py +27 -0
- rs2/modeler/properties/material/thermal/conductivity/ConstantConductivity.py +31 -0
- rs2/modeler/properties/material/thermal/conductivity/CoteAndKonrad.py +45 -0
- rs2/modeler/properties/material/thermal/conductivity/Derives.py +17 -0
- rs2/modeler/properties/material/thermal/conductivity/Johansen.py +45 -0
- rs2/modeler/properties/material/thermal/conductivity/JohansenLu.py +24 -0
- rs2/modeler/properties/material/thermal/conductivity/Tabular.py +31 -0
- rs2/modeler/properties/material/thermal/conductivity/__init__.py +0 -0
- rs2/modeler/properties/material/thermal/heatcapacity/ConstantHeatCapacity.py +38 -0
- rs2/modeler/properties/material/thermal/heatcapacity/CustomHeatCapacity.py +38 -0
- rs2/modeler/properties/material/thermal/heatcapacity/HeatCapacity.py +21 -0
- rs2/modeler/properties/material/thermal/heatcapacity/JameNewman.py +24 -0
- rs2/modeler/properties/material/thermal/heatcapacity/__init__.py +0 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/CustomWaterContent.py +13 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/Konrad.py +31 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/SoilUnfrozenWaterContent.py +23 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/TiceAnderson.py +31 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/__init__.py +0 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/BrooksWaterContent.py +24 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/FredlundWaterContent.py +31 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/GardnerWaterContent.py +24 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/GenuchtenWaterContent.py +38 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/HydraulicModel.py +37 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/SimpleWaterContent.py +17 -0
- rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/__init__.py +0 -0
- rs2/modeler/properties/pile/Beam.py +34 -0
- rs2/modeler/properties/pile/Elastic.py +45 -0
- rs2/modeler/properties/pile/ForceDisplacement.py +59 -0
- rs2/modeler/properties/pile/Linear.py +59 -0
- rs2/modeler/properties/pile/MaterialDependentPile.py +87 -0
- rs2/modeler/properties/pile/MohrCoulombPile.py +94 -0
- rs2/modeler/properties/pile/MultiLinear.py +56 -0
- rs2/modeler/properties/pile/Pile.py +63 -0
- rs2/modeler/properties/pile/__init__.py +0 -0
- rs2/modeler/properties/propertyProxy.py +283 -0
- rs2/utilities/ApplicationManager.py +64 -0
- rs2/utilities/ColorPicker.py +78 -0
- rs2/utilities/__init__.py +0 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
from rs2.modeler.properties.propertyProxy import PropertyProxy
|
|
2
|
+
from rs2._common.Client import Client
|
|
3
|
+
from enum import Enum, auto
|
|
4
|
+
from typing import List
|
|
5
|
+
from rs2.modeler.properties.PropertyEnums import *
|
|
6
|
+
from rs2._common.ProxyObject import ProxyObject
|
|
7
|
+
from rs2.modeler.properties.AbsoluteStageFactorInterface import AbsoluteStageFactorInterface
|
|
8
|
+
class GeosyntheticHyperbolicStageFactor(ProxyObject):
|
|
9
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
10
|
+
super().__init__(client, ID)
|
|
11
|
+
self.propertyID = propertyID
|
|
12
|
+
def getNormalStiffnessFactor(self) -> float:
|
|
13
|
+
return self._callFunction("getDoubleFactor", ["JP_NORMAL_STIFFNESS", self.propertyID], proxyArgumentIndices=[1])
|
|
14
|
+
def getShearStiffnessFactor(self) -> float:
|
|
15
|
+
return self._callFunction("getDoubleFactor", ["JP_SHEAR_STIFFNESS", self.propertyID], proxyArgumentIndices=[1])
|
|
16
|
+
def getPeakAdhesionAtSigninfFactor(self) -> float:
|
|
17
|
+
return self._callFunction("getDoubleFactor", ["JP_PEAK_ADHESION", self.propertyID], proxyArgumentIndices=[1])
|
|
18
|
+
def getPeakFrictionAngleAtSign0Factor(self) -> float:
|
|
19
|
+
return self._callFunction("getDoubleFactor", ["JP_PEAK_FRICTION_ANGLE_GEOSYN", self.propertyID], proxyArgumentIndices=[1])
|
|
20
|
+
def getResAdhesionAtSigninfFactor(self) -> float:
|
|
21
|
+
return self._callFunction("getDoubleFactor", ["JP_ADHESION_RES", self.propertyID], proxyArgumentIndices=[1])
|
|
22
|
+
def getResFrictionAngleAtSign0Factor(self) -> float:
|
|
23
|
+
return self._callFunction("getDoubleFactor", ["JP_FRICTION_ANGLE_RES_GEOSYN", self.propertyID], proxyArgumentIndices=[1])
|
|
24
|
+
def getAdditionalPressureInsideJointFactor(self) -> float:
|
|
25
|
+
return self._callFunction("getDoubleFactor", ["JP_ADDITIONAL_PRESSURE", self.propertyID], proxyArgumentIndices=[1])
|
|
26
|
+
def getGroundwaterPressureFactor(self) -> float:
|
|
27
|
+
return self._callFunction("__getattribute__", ["m_groundwater_pressure_factor"])
|
|
28
|
+
def getJointPermeableFactor(self) -> bool:
|
|
29
|
+
return self._callFunction("__getattribute__", ["m_joint_permeable_factor"])
|
|
30
|
+
class GeosyntheticHyperbolicDefinedStageFactor(GeosyntheticHyperbolicStageFactor):
|
|
31
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
32
|
+
super().__init__(client, ID, propertyID)
|
|
33
|
+
def setNormalStiffnessFactor(self, value: float):
|
|
34
|
+
return self._callFunction("setDoubleFactor", ["JP_NORMAL_STIFFNESS", value, self.propertyID], proxyArgumentIndices=[2])
|
|
35
|
+
def setShearStiffnessFactor(self, value: float):
|
|
36
|
+
return self._callFunction("setDoubleFactor", ["JP_SHEAR_STIFFNESS", value, self.propertyID], proxyArgumentIndices=[2])
|
|
37
|
+
def setPeakAdhesionAtSigninfFactor(self, value: float):
|
|
38
|
+
return self._callFunction("setDoubleFactor", ["JP_PEAK_ADHESION", value, self.propertyID], proxyArgumentIndices=[2])
|
|
39
|
+
def setPeakFrictionAngleAtSign0Factor(self, value: float):
|
|
40
|
+
return self._callFunction("setDoubleFactor", ["JP_PEAK_FRICTION_ANGLE_GEOSYN", value, self.propertyID], proxyArgumentIndices=[2])
|
|
41
|
+
def setResAdhesionAtSigninfFactor(self, value: float):
|
|
42
|
+
return self._callFunction("setDoubleFactor", ["JP_ADHESION_RES", value, self.propertyID], proxyArgumentIndices=[2])
|
|
43
|
+
def setResFrictionAngleAtSign0Factor(self, value: float):
|
|
44
|
+
return self._callFunction("setDoubleFactor", ["JP_FRICTION_ANGLE_RES_GEOSYN", value, self.propertyID], proxyArgumentIndices=[2])
|
|
45
|
+
def setAdditionalPressureInsideJointFactor(self, value: float):
|
|
46
|
+
return self._callFunction("setDoubleFactor", ["JP_ADDITIONAL_PRESSURE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
47
|
+
def setGroundwaterPressureFactor(self, GroundWaterPressure: float):
|
|
48
|
+
return self._callFunction("setGroundwaterPressureFactor", [GroundWaterPressure])
|
|
49
|
+
def setJointPermeableFactor(self, Permeable: bool):
|
|
50
|
+
return self._callFunction("setJointPermeableFactor", [Permeable])
|
|
51
|
+
class GeosyntheticHyperbolic(PropertyProxy):
|
|
52
|
+
def __init__(self, client : Client, ID, documentProxyID):
|
|
53
|
+
super().__init__(client, ID, documentProxyID)
|
|
54
|
+
stageFactorInterfaceID = self._callFunction("getStageFactorInterface", [], keepReturnValueReference=True)
|
|
55
|
+
self.stageFactorInterface = AbsoluteStageFactorInterface[GeosyntheticHyperbolicDefinedStageFactor, GeosyntheticHyperbolicStageFactor](self._client, stageFactorInterfaceID, ID, GeosyntheticHyperbolicDefinedStageFactor, GeosyntheticHyperbolicStageFactor)
|
|
56
|
+
def getPeakAdhesionAtSigninf(self) -> float:
|
|
57
|
+
return self._getDoubleProperty("JP_PEAK_ADHESION")
|
|
58
|
+
def setPeakAdhesionAtSigninf(self, value: float):
|
|
59
|
+
return self._setDoubleProperty("JP_PEAK_ADHESION", value)
|
|
60
|
+
def getPeakFrictionAngleAtSign0(self) -> float:
|
|
61
|
+
return self._getDoubleProperty("JP_PEAK_FRICTION_ANGLE_GEOSYN")
|
|
62
|
+
def setPeakFrictionAngleAtSign0(self, value: float):
|
|
63
|
+
return self._setDoubleProperty("JP_PEAK_FRICTION_ANGLE_GEOSYN", value)
|
|
64
|
+
def getResAdhesionAtSigninf(self) -> float:
|
|
65
|
+
return self._getDoubleProperty("JP_ADHESION_RES")
|
|
66
|
+
def setResAdhesionAtSigninf(self, value: float):
|
|
67
|
+
return self._setDoubleProperty("JP_ADHESION_RES", value)
|
|
68
|
+
def getResFrictionAngleAtSign0(self) -> float:
|
|
69
|
+
return self._getDoubleProperty("JP_FRICTION_ANGLE_RES_GEOSYN")
|
|
70
|
+
def setResFrictionAngleAtSign0(self, value: float):
|
|
71
|
+
return self._setDoubleProperty("JP_FRICTION_ANGLE_RES_GEOSYN", value)
|
|
72
|
+
def getNormalStiffness(self) -> float:
|
|
73
|
+
return self._getDoubleProperty("JP_NORMAL_STIFFNESS")
|
|
74
|
+
def setNormalStiffness(self, value: float):
|
|
75
|
+
return self._setDoubleProperty("JP_NORMAL_STIFFNESS", value)
|
|
76
|
+
def getShearStiffness(self) -> float:
|
|
77
|
+
return self._getDoubleProperty("JP_SHEAR_STIFFNESS")
|
|
78
|
+
def setShearStiffness(self, value: float):
|
|
79
|
+
return self._setDoubleProperty("JP_SHEAR_STIFFNESS", value)
|
|
80
|
+
def getApplyPorePressure(self) -> bool:
|
|
81
|
+
return self._getBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE")
|
|
82
|
+
def setApplyPorePressure(self, value: bool):
|
|
83
|
+
return self._setBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE", value)
|
|
84
|
+
def getApplyAdditionalPressureInsideJoint(self) -> bool:
|
|
85
|
+
return self._getBoolProperty("JP_USE_ADDITIONAL_PRESSURE")
|
|
86
|
+
def setApplyAdditionalPressureInsideJoint(self, value: bool):
|
|
87
|
+
return self._setBoolProperty("JP_USE_ADDITIONAL_PRESSURE", value)
|
|
88
|
+
def getAdditionalPressureType(self) -> AdditionalPressureType:
|
|
89
|
+
return AdditionalPressureType(self._getEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE"))
|
|
90
|
+
def setAdditionalPressureType(self, value: AdditionalPressureType):
|
|
91
|
+
return self._setEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE", value)
|
|
92
|
+
def getAdditionalPressureInsideJoint(self) -> float:
|
|
93
|
+
return self._getDoubleProperty("JP_ADDITIONAL_PRESSURE")
|
|
94
|
+
def setAdditionalPressureInsideJoint(self, value: float):
|
|
95
|
+
return self._setDoubleProperty("JP_ADDITIONAL_PRESSURE", value)
|
|
96
|
+
def getApplyPressureToLinerSideOnly(self) -> bool:
|
|
97
|
+
return self._getBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY")
|
|
98
|
+
def setApplyPressureToLinerSideOnly(self, value: bool):
|
|
99
|
+
return self._setBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY", value)
|
|
100
|
+
def getApplyStageFactors(self) -> bool:
|
|
101
|
+
return self._getBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES")
|
|
102
|
+
def setApplyStageFactors(self, value: bool):
|
|
103
|
+
return self._setBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES", value)
|
|
104
|
+
def setPiezoID(self, piezoName: str):
|
|
105
|
+
return self._callFunction("python_setPiezoPressureID", [piezoName])
|
|
106
|
+
def getPiezoID(self):
|
|
107
|
+
return self._callFunction("python_getPiezoPressureID", [])
|
|
108
|
+
def setProperties(self, PeakAdhesionAtSigninf : float = None, PeakFrictionAngleAtSign0 : float = None, ResAdhesionAtSigninf : float = None, ResFrictionAngleAtSign0 : float = None, NormalStiffness : float = None, ShearStiffness : float = None, ApplyPorePressure : bool = None, ApplyAdditionalPressureInsideJoint : bool = None, AdditionalPressureType : AdditionalPressureType = None, AdditionalPressureInsideJoint : float = None, ApplyPressureToLinerSideOnly : bool = None, ApplyStageFactors : bool = None):
|
|
109
|
+
if PeakAdhesionAtSigninf is not None:
|
|
110
|
+
self._setDoubleProperty("JP_PEAK_ADHESION", PeakAdhesionAtSigninf)
|
|
111
|
+
if PeakFrictionAngleAtSign0 is not None:
|
|
112
|
+
self._setDoubleProperty("JP_PEAK_FRICTION_ANGLE_GEOSYN", PeakFrictionAngleAtSign0)
|
|
113
|
+
if ResAdhesionAtSigninf is not None:
|
|
114
|
+
self._setDoubleProperty("JP_ADHESION_RES", ResAdhesionAtSigninf)
|
|
115
|
+
if ResFrictionAngleAtSign0 is not None:
|
|
116
|
+
self._setDoubleProperty("JP_FRICTION_ANGLE_RES_GEOSYN", ResFrictionAngleAtSign0)
|
|
117
|
+
if NormalStiffness is not None:
|
|
118
|
+
self._setDoubleProperty("JP_NORMAL_STIFFNESS", NormalStiffness)
|
|
119
|
+
if ShearStiffness is not None:
|
|
120
|
+
self._setDoubleProperty("JP_SHEAR_STIFFNESS", ShearStiffness)
|
|
121
|
+
if ApplyPorePressure is not None:
|
|
122
|
+
self._setBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE", ApplyPorePressure)
|
|
123
|
+
if ApplyAdditionalPressureInsideJoint is not None:
|
|
124
|
+
self._setBoolProperty("JP_USE_ADDITIONAL_PRESSURE", ApplyAdditionalPressureInsideJoint)
|
|
125
|
+
if AdditionalPressureType is not None:
|
|
126
|
+
self._setEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE", AdditionalPressureType)
|
|
127
|
+
if AdditionalPressureInsideJoint is not None:
|
|
128
|
+
self._setDoubleProperty("JP_ADDITIONAL_PRESSURE", AdditionalPressureInsideJoint)
|
|
129
|
+
if ApplyPressureToLinerSideOnly is not None:
|
|
130
|
+
self._setBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY", ApplyPressureToLinerSideOnly)
|
|
131
|
+
if ApplyStageFactors is not None:
|
|
132
|
+
self._setBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES", ApplyStageFactors)
|
|
133
|
+
def getProperties(self):
|
|
134
|
+
return {
|
|
135
|
+
"PeakAdhesionAtSigninf" : self.getPeakAdhesionAtSigninf(),
|
|
136
|
+
"PeakFrictionAngleAtSign0" : self.getPeakFrictionAngleAtSign0(),
|
|
137
|
+
"ResAdhesionAtSigninf" : self.getResAdhesionAtSigninf(),
|
|
138
|
+
"ResFrictionAngleAtSign0" : self.getResFrictionAngleAtSign0(),
|
|
139
|
+
"NormalStiffness" : self.getNormalStiffness(),
|
|
140
|
+
"ShearStiffness" : self.getShearStiffness(),
|
|
141
|
+
"ApplyPorePressure" : self.getApplyPorePressure(),
|
|
142
|
+
"ApplyAdditionalPressureInsideJoint" : self.getApplyAdditionalPressureInsideJoint(),
|
|
143
|
+
"AdditionalPressureType" : self.getAdditionalPressureType(),
|
|
144
|
+
"AdditionalPressureInsideJoint" : self.getAdditionalPressureInsideJoint(),
|
|
145
|
+
"ApplyPressureToLinerSideOnly" : self.getApplyPressureToLinerSideOnly(),
|
|
146
|
+
"ApplyStageFactors" : self.getApplyStageFactors(),
|
|
147
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
from rs2.modeler.properties.propertyProxy import PropertyProxy
|
|
2
|
+
from rs2._common.Client import Client
|
|
3
|
+
from enum import Enum, auto
|
|
4
|
+
from typing import List
|
|
5
|
+
from rs2.modeler.properties.PropertyEnums import *
|
|
6
|
+
from rs2._common.ProxyObject import ProxyObject
|
|
7
|
+
from rs2.modeler.properties.AbsoluteStageFactorInterface import AbsoluteStageFactorInterface
|
|
8
|
+
class GeosyntheticHyperbolicMaterialStageFactor(ProxyObject):
|
|
9
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
10
|
+
super().__init__(client, ID)
|
|
11
|
+
self.propertyID = propertyID
|
|
12
|
+
def getPeakAdhesionAtSigninfFactor(self) -> float:
|
|
13
|
+
return self._callFunction("getDoubleFactor", ["JP_PEAK_ADHESION", self.propertyID], proxyArgumentIndices=[1])
|
|
14
|
+
def getPeakFrictionAngleAtSign0Factor(self) -> float:
|
|
15
|
+
return self._callFunction("getDoubleFactor", ["JP_PEAK_FRICTION_ANGLE_GEOSYN", self.propertyID], proxyArgumentIndices=[1])
|
|
16
|
+
def getResAdhesionAtSigninfFactor(self) -> float:
|
|
17
|
+
return self._callFunction("getDoubleFactor", ["JP_ADHESION_RES", self.propertyID], proxyArgumentIndices=[1])
|
|
18
|
+
def getResFrictionAngleAtSign0Factor(self) -> float:
|
|
19
|
+
return self._callFunction("getDoubleFactor", ["JP_FRICTION_ANGLE_RES_GEOSYN", self.propertyID], proxyArgumentIndices=[1])
|
|
20
|
+
def getDilationRatioFactor(self) -> float:
|
|
21
|
+
return self._callFunction("__getattribute__", ["m_dilation_ratio"])
|
|
22
|
+
def getJointPermeableFactor(self) -> bool:
|
|
23
|
+
return self._callFunction("__getattribute__", ["m_joint_permeable_factor"])
|
|
24
|
+
class GeosyntheticHyperbolicMaterialDefinedStageFactor(GeosyntheticHyperbolicMaterialStageFactor):
|
|
25
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
26
|
+
super().__init__(client, ID, propertyID)
|
|
27
|
+
def setPeakAdhesionAtSigninfFactor(self, value: float):
|
|
28
|
+
return self._callFunction("setDoubleFactor", ["JP_PEAK_ADHESION", value, self.propertyID], proxyArgumentIndices=[2])
|
|
29
|
+
def setPeakFrictionAngleAtSign0Factor(self, value: float):
|
|
30
|
+
return self._callFunction("setDoubleFactor", ["JP_PEAK_FRICTION_ANGLE_GEOSYN", value, self.propertyID], proxyArgumentIndices=[2])
|
|
31
|
+
def setResAdhesionAtSigninfFactor(self, value: float):
|
|
32
|
+
return self._callFunction("setDoubleFactor", ["JP_ADHESION_RES", value, self.propertyID], proxyArgumentIndices=[2])
|
|
33
|
+
def setResFrictionAngleAtSign0Factor(self, value: float):
|
|
34
|
+
return self._callFunction("setDoubleFactor", ["JP_FRICTION_ANGLE_RES_GEOSYN", value, self.propertyID], proxyArgumentIndices=[2])
|
|
35
|
+
def setDilationRatioFactor(self, dilationRatioFactor: float):
|
|
36
|
+
return self._callFunction("setDilationRatio", [dilationRatioFactor])
|
|
37
|
+
def setJointPermeableFactor(self, Permeable: bool):
|
|
38
|
+
return self._callFunction("setJointPermeableFactor", [Permeable])
|
|
39
|
+
class GeosyntheticHyperbolicMaterial(PropertyProxy):
|
|
40
|
+
def __init__(self, client : Client, ID, documentProxyID):
|
|
41
|
+
super().__init__(client, ID, documentProxyID)
|
|
42
|
+
stageFactorInterfaceID = self._callFunction("getStageFactorInterface", [], keepReturnValueReference=True)
|
|
43
|
+
self.stageFactorInterface = AbsoluteStageFactorInterface[GeosyntheticHyperbolicMaterialDefinedStageFactor, GeosyntheticHyperbolicMaterialStageFactor](self._client, stageFactorInterfaceID, ID, GeosyntheticHyperbolicMaterialDefinedStageFactor, GeosyntheticHyperbolicMaterialStageFactor)
|
|
44
|
+
def getPeakAdhesionAtSigninf(self) -> float:
|
|
45
|
+
return self._getDoubleProperty("JP_PEAK_ADHESION")
|
|
46
|
+
def setPeakAdhesionAtSigninf(self, value: float):
|
|
47
|
+
return self._setDoubleProperty("JP_PEAK_ADHESION", value)
|
|
48
|
+
def getPeakFrictionAngleAtSign0(self) -> float:
|
|
49
|
+
return self._getDoubleProperty("JP_PEAK_FRICTION_ANGLE_GEOSYN")
|
|
50
|
+
def setPeakFrictionAngleAtSign0(self, value: float):
|
|
51
|
+
return self._setDoubleProperty("JP_PEAK_FRICTION_ANGLE_GEOSYN", value)
|
|
52
|
+
def getResAdhesionAtSigninf(self) -> float:
|
|
53
|
+
return self._getDoubleProperty("JP_ADHESION_RES")
|
|
54
|
+
def setResAdhesionAtSigninf(self, value: float):
|
|
55
|
+
return self._setDoubleProperty("JP_ADHESION_RES", value)
|
|
56
|
+
def getResFrictionAngleAtSign0(self) -> float:
|
|
57
|
+
return self._getDoubleProperty("JP_FRICTION_ANGLE_RES_GEOSYN")
|
|
58
|
+
def setResFrictionAngleAtSign0(self, value: float):
|
|
59
|
+
return self._setDoubleProperty("JP_FRICTION_ANGLE_RES_GEOSYN", value)
|
|
60
|
+
def getApplyStageFactors(self) -> bool:
|
|
61
|
+
return self._getBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES")
|
|
62
|
+
def setApplyStageFactors(self, value: bool):
|
|
63
|
+
return self._setBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES", value)
|
|
64
|
+
def getTensileStrength(self) -> float:
|
|
65
|
+
return self._getDoubleProperty("JP_TENSILE_GEOSYN")
|
|
66
|
+
def setTensileStrength(self, value: float):
|
|
67
|
+
return self._setDoubleProperty("JP_TENSILE_GEOSYN", value)
|
|
68
|
+
def setDilationRatio(self, dilationRatio: float):
|
|
69
|
+
return self._callFunction("setDilationRatio", [dilationRatio])
|
|
70
|
+
def getDilationRatio(self) -> float:
|
|
71
|
+
return self._callFunction("__getattribute__", ["dilation_ratio"])
|
|
72
|
+
def setProperties(self, PeakAdhesionAtSigninf : float = None, PeakFrictionAngleAtSign0 : float = None, ResAdhesionAtSigninf : float = None, ResFrictionAngleAtSign0 : float = None, ApplyStageFactors : bool = None, TensileStrength : float = None):
|
|
73
|
+
if PeakAdhesionAtSigninf is not None:
|
|
74
|
+
self._setDoubleProperty("JP_PEAK_ADHESION", PeakAdhesionAtSigninf)
|
|
75
|
+
if PeakFrictionAngleAtSign0 is not None:
|
|
76
|
+
self._setDoubleProperty("JP_PEAK_FRICTION_ANGLE_GEOSYN", PeakFrictionAngleAtSign0)
|
|
77
|
+
if ResAdhesionAtSigninf is not None:
|
|
78
|
+
self._setDoubleProperty("JP_ADHESION_RES", ResAdhesionAtSigninf)
|
|
79
|
+
if ResFrictionAngleAtSign0 is not None:
|
|
80
|
+
self._setDoubleProperty("JP_FRICTION_ANGLE_RES_GEOSYN", ResFrictionAngleAtSign0)
|
|
81
|
+
if ApplyStageFactors is not None:
|
|
82
|
+
self._setBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES", ApplyStageFactors)
|
|
83
|
+
if TensileStrength is not None:
|
|
84
|
+
self._setDoubleProperty("JP_TENSILE_GEOSYN", TensileStrength)
|
|
85
|
+
def getProperties(self):
|
|
86
|
+
return {
|
|
87
|
+
"PeakAdhesionAtSigninf" : self.getPeakAdhesionAtSigninf(),
|
|
88
|
+
"PeakFrictionAngleAtSign0" : self.getPeakFrictionAngleAtSign0(),
|
|
89
|
+
"ResAdhesionAtSigninf" : self.getResAdhesionAtSigninf(),
|
|
90
|
+
"ResFrictionAngleAtSign0" : self.getResFrictionAngleAtSign0(),
|
|
91
|
+
"ApplyStageFactors" : self.getApplyStageFactors(),
|
|
92
|
+
"TensileStrength" : self.getTensileStrength(),
|
|
93
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
from rs2.modeler.properties.propertyProxy import PropertyProxy
|
|
2
|
+
from rs2._common.Client import Client
|
|
3
|
+
from enum import Enum, auto
|
|
4
|
+
from typing import List
|
|
5
|
+
from rs2.modeler.properties.PropertyEnums import *
|
|
6
|
+
from rs2._common.ProxyObject import ProxyObject
|
|
7
|
+
from rs2.modeler.properties.AbsoluteStageFactorInterface import AbsoluteStageFactorInterface
|
|
8
|
+
class HyperbolicSofteningStageFactor(ProxyObject):
|
|
9
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
10
|
+
super().__init__(client, ID)
|
|
11
|
+
self.propertyID = propertyID
|
|
12
|
+
def getNormalStiffnessFactor(self) -> float:
|
|
13
|
+
return self._callFunction("getDoubleFactor", ["JP_NORMAL_STIFFNESS", self.propertyID], proxyArgumentIndices=[1])
|
|
14
|
+
def getShearStiffnessFactor(self) -> float:
|
|
15
|
+
return self._callFunction("getDoubleFactor", ["JP_SHEAR_STIFFNESS", self.propertyID], proxyArgumentIndices=[1])
|
|
16
|
+
def getPeakCohesionFactor(self) -> float:
|
|
17
|
+
return self._callFunction("getDoubleFactor", ["JP_HYPERBOL_COHESION", self.propertyID], proxyArgumentIndices=[1])
|
|
18
|
+
def getPeakFrictionFactor(self) -> float:
|
|
19
|
+
return self._callFunction("getDoubleFactor", ["JP_HYPERBOL_FRICTION", self.propertyID], proxyArgumentIndices=[1])
|
|
20
|
+
def getResCohesionFactor(self) -> float:
|
|
21
|
+
return self._callFunction("getDoubleFactor", ["JP_HYPERBOL_COHESION_RES", self.propertyID], proxyArgumentIndices=[1])
|
|
22
|
+
def getResFrictionFactor(self) -> float:
|
|
23
|
+
return self._callFunction("getDoubleFactor", ["JP_HYPERBOL_FRICTION_RES", self.propertyID], proxyArgumentIndices=[1])
|
|
24
|
+
def getTensileStrengthFactor(self) -> float:
|
|
25
|
+
return self._callFunction("getDoubleFactor", ["JP_HYPERBOL_TENSILE_STRENGTH", self.propertyID], proxyArgumentIndices=[1])
|
|
26
|
+
def getResTensileStrengthFactor(self) -> float:
|
|
27
|
+
return self._callFunction("getDoubleFactor", ["JP_HYPERBOL_TENSILE_STRENGTH_RES", self.propertyID], proxyArgumentIndices=[1])
|
|
28
|
+
def getDeltaRFactor(self) -> float:
|
|
29
|
+
return self._callFunction("getDoubleFactor", ["JP_HYPERBOL_DELTAP_R", self.propertyID], proxyArgumentIndices=[1])
|
|
30
|
+
def getInitialSlopeFactor(self) -> float:
|
|
31
|
+
return self._callFunction("getDoubleFactor", ["JP_HYPERBOL_INITIAL_SLOPE", self.propertyID], proxyArgumentIndices=[1])
|
|
32
|
+
def getWorkSofteningFactor(self) -> bool:
|
|
33
|
+
return self._callFunction("getBoolFactor", ["JP_WORK_SOFTENING", self.propertyID], proxyArgumentIndices=[1])
|
|
34
|
+
def getAdditionalPressureInsideJointFactor(self) -> float:
|
|
35
|
+
return self._callFunction("getDoubleFactor", ["JP_ADDITIONAL_PRESSURE", self.propertyID], proxyArgumentIndices=[1])
|
|
36
|
+
def getGroundwaterPressureFactor(self) -> float:
|
|
37
|
+
return self._callFunction("__getattribute__", ["m_groundwater_pressure_factor"])
|
|
38
|
+
def getJointPermeableFactor(self) -> bool:
|
|
39
|
+
return self._callFunction("__getattribute__", ["m_joint_permeable_factor"])
|
|
40
|
+
class HyperbolicSofteningDefinedStageFactor(HyperbolicSofteningStageFactor):
|
|
41
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
42
|
+
super().__init__(client, ID, propertyID)
|
|
43
|
+
def setNormalStiffnessFactor(self, value: float):
|
|
44
|
+
return self._callFunction("setDoubleFactor", ["JP_NORMAL_STIFFNESS", value, self.propertyID], proxyArgumentIndices=[2])
|
|
45
|
+
def setShearStiffnessFactor(self, value: float):
|
|
46
|
+
return self._callFunction("setDoubleFactor", ["JP_SHEAR_STIFFNESS", value, self.propertyID], proxyArgumentIndices=[2])
|
|
47
|
+
def setPeakCohesionFactor(self, value: float):
|
|
48
|
+
return self._callFunction("setDoubleFactor", ["JP_HYPERBOL_COHESION", value, self.propertyID], proxyArgumentIndices=[2])
|
|
49
|
+
def setPeakFrictionFactor(self, value: float):
|
|
50
|
+
return self._callFunction("setDoubleFactor", ["JP_HYPERBOL_FRICTION", value, self.propertyID], proxyArgumentIndices=[2])
|
|
51
|
+
def setResCohesionFactor(self, value: float):
|
|
52
|
+
return self._callFunction("setDoubleFactor", ["JP_HYPERBOL_COHESION_RES", value, self.propertyID], proxyArgumentIndices=[2])
|
|
53
|
+
def setResFrictionFactor(self, value: float):
|
|
54
|
+
return self._callFunction("setDoubleFactor", ["JP_HYPERBOL_FRICTION_RES", value, self.propertyID], proxyArgumentIndices=[2])
|
|
55
|
+
def setTensileStrengthFactor(self, value: float):
|
|
56
|
+
return self._callFunction("setDoubleFactor", ["JP_HYPERBOL_TENSILE_STRENGTH", value, self.propertyID], proxyArgumentIndices=[2])
|
|
57
|
+
def setResTensileStrengthFactor(self, value: float):
|
|
58
|
+
return self._callFunction("setDoubleFactor", ["JP_HYPERBOL_TENSILE_STRENGTH_RES", value, self.propertyID], proxyArgumentIndices=[2])
|
|
59
|
+
def setDeltaRFactor(self, value: float):
|
|
60
|
+
return self._callFunction("setDoubleFactor", ["JP_HYPERBOL_DELTAP_R", value, self.propertyID], proxyArgumentIndices=[2])
|
|
61
|
+
def setInitialSlopeFactor(self, value: float):
|
|
62
|
+
return self._callFunction("setDoubleFactor", ["JP_HYPERBOL_INITIAL_SLOPE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
63
|
+
def setWorkSofteningFactor(self, value: bool):
|
|
64
|
+
return self._callFunction("setBoolFactor", ["JP_WORK_SOFTENING", value, self.propertyID], proxyArgumentIndices=[2])
|
|
65
|
+
def setAdditionalPressureInsideJointFactor(self, value: float):
|
|
66
|
+
return self._callFunction("setDoubleFactor", ["JP_ADDITIONAL_PRESSURE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
67
|
+
def setGroundwaterPressureFactor(self, GroundWaterPressure: float):
|
|
68
|
+
return self._callFunction("setGroundwaterPressureFactor", [GroundWaterPressure])
|
|
69
|
+
def setJointPermeableFactor(self, Permeable: bool):
|
|
70
|
+
return self._callFunction("setJointPermeableFactor", [Permeable])
|
|
71
|
+
class HyperbolicSoftening(PropertyProxy):
|
|
72
|
+
def __init__(self, client : Client, ID, documentProxyID):
|
|
73
|
+
super().__init__(client, ID, documentProxyID)
|
|
74
|
+
stageFactorInterfaceID = self._callFunction("getStageFactorInterface", [], keepReturnValueReference=True)
|
|
75
|
+
self.stageFactorInterface = AbsoluteStageFactorInterface[HyperbolicSofteningDefinedStageFactor, HyperbolicSofteningStageFactor](self._client, stageFactorInterfaceID, ID, HyperbolicSofteningDefinedStageFactor, HyperbolicSofteningStageFactor)
|
|
76
|
+
def getPeakCohesion(self) -> float:
|
|
77
|
+
return self._getDoubleProperty("JP_HYPERBOL_COHESION")
|
|
78
|
+
def setPeakCohesion(self, value: float):
|
|
79
|
+
return self._setDoubleProperty("JP_HYPERBOL_COHESION", value)
|
|
80
|
+
def getPeakFriction(self) -> float:
|
|
81
|
+
return self._getDoubleProperty("JP_HYPERBOL_FRICTION")
|
|
82
|
+
def setPeakFriction(self, value: float):
|
|
83
|
+
return self._setDoubleProperty("JP_HYPERBOL_FRICTION", value)
|
|
84
|
+
def getResCohesion(self) -> float:
|
|
85
|
+
return self._getDoubleProperty("JP_HYPERBOL_COHESION_RES")
|
|
86
|
+
def setResCohesion(self, value: float):
|
|
87
|
+
return self._setDoubleProperty("JP_HYPERBOL_COHESION_RES", value)
|
|
88
|
+
def getResFriction(self) -> float:
|
|
89
|
+
return self._getDoubleProperty("JP_HYPERBOL_FRICTION_RES")
|
|
90
|
+
def setResFriction(self, value: float):
|
|
91
|
+
return self._setDoubleProperty("JP_HYPERBOL_FRICTION_RES", value)
|
|
92
|
+
def getTensileStrength(self) -> float:
|
|
93
|
+
return self._getDoubleProperty("JP_HYPERBOL_TENSILE_STRENGTH")
|
|
94
|
+
def setTensileStrength(self, value: float):
|
|
95
|
+
return self._setDoubleProperty("JP_HYPERBOL_TENSILE_STRENGTH", value)
|
|
96
|
+
def getResTensileStrength(self) -> float:
|
|
97
|
+
return self._getDoubleProperty("JP_HYPERBOL_TENSILE_STRENGTH_RES")
|
|
98
|
+
def setResTensileStrength(self, value: float):
|
|
99
|
+
return self._setDoubleProperty("JP_HYPERBOL_TENSILE_STRENGTH_RES", value)
|
|
100
|
+
def getDeltaR(self) -> float:
|
|
101
|
+
return self._getDoubleProperty("JP_HYPERBOL_DELTAP_R")
|
|
102
|
+
def setDeltaR(self, value: float):
|
|
103
|
+
return self._setDoubleProperty("JP_HYPERBOL_DELTAP_R", value)
|
|
104
|
+
def getInitialSlope(self) -> float:
|
|
105
|
+
return self._getDoubleProperty("JP_HYPERBOL_INITIAL_SLOPE")
|
|
106
|
+
def setInitialSlope(self, value: float):
|
|
107
|
+
return self._setDoubleProperty("JP_HYPERBOL_INITIAL_SLOPE", value)
|
|
108
|
+
def getWorkSoftening(self) -> bool:
|
|
109
|
+
return self._getBoolProperty("JP_WORK_SOFTENING")
|
|
110
|
+
def setWorkSoftening(self, value: bool):
|
|
111
|
+
return self._setBoolProperty("JP_WORK_SOFTENING", value)
|
|
112
|
+
def getNormalStiffness(self) -> float:
|
|
113
|
+
return self._getDoubleProperty("JP_NORMAL_STIFFNESS")
|
|
114
|
+
def setNormalStiffness(self, value: float):
|
|
115
|
+
return self._setDoubleProperty("JP_NORMAL_STIFFNESS", value)
|
|
116
|
+
def getShearStiffness(self) -> float:
|
|
117
|
+
return self._getDoubleProperty("JP_SHEAR_STIFFNESS")
|
|
118
|
+
def setShearStiffness(self, value: float):
|
|
119
|
+
return self._setDoubleProperty("JP_SHEAR_STIFFNESS", value)
|
|
120
|
+
def getApplyPorePressure(self) -> bool:
|
|
121
|
+
return self._getBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE")
|
|
122
|
+
def setApplyPorePressure(self, value: bool):
|
|
123
|
+
return self._setBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE", value)
|
|
124
|
+
def getApplyAdditionalPressureInsideJoint(self) -> bool:
|
|
125
|
+
return self._getBoolProperty("JP_USE_ADDITIONAL_PRESSURE")
|
|
126
|
+
def setApplyAdditionalPressureInsideJoint(self, value: bool):
|
|
127
|
+
return self._setBoolProperty("JP_USE_ADDITIONAL_PRESSURE", value)
|
|
128
|
+
def getAdditionalPressureType(self) -> AdditionalPressureType:
|
|
129
|
+
return AdditionalPressureType(self._getEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE"))
|
|
130
|
+
def setAdditionalPressureType(self, value: AdditionalPressureType):
|
|
131
|
+
return self._setEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE", value)
|
|
132
|
+
def getAdditionalPressureInsideJoint(self) -> float:
|
|
133
|
+
return self._getDoubleProperty("JP_ADDITIONAL_PRESSURE")
|
|
134
|
+
def setAdditionalPressureInsideJoint(self, value: float):
|
|
135
|
+
return self._setDoubleProperty("JP_ADDITIONAL_PRESSURE", value)
|
|
136
|
+
def getApplyPressureToLinerSideOnly(self) -> bool:
|
|
137
|
+
return self._getBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY")
|
|
138
|
+
def setApplyPressureToLinerSideOnly(self, value: bool):
|
|
139
|
+
return self._setBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY", value)
|
|
140
|
+
def getApplyStageFactors(self) -> bool:
|
|
141
|
+
return self._getBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES")
|
|
142
|
+
def setApplyStageFactors(self, value: bool):
|
|
143
|
+
return self._setBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES", value)
|
|
144
|
+
def setPiezoID(self, piezoName: str):
|
|
145
|
+
return self._callFunction("python_setPiezoPressureID", [piezoName])
|
|
146
|
+
def getPiezoID(self):
|
|
147
|
+
return self._callFunction("python_getPiezoPressureID", [])
|
|
148
|
+
def setProperties(self, PeakCohesion : float = None, PeakFriction : float = None, ResCohesion : float = None, ResFriction : float = None, TensileStrength : float = None, ResTensileStrength : float = None, DeltaR : float = None, InitialSlope : float = None, WorkSoftening : bool = None, NormalStiffness : float = None, ShearStiffness : float = None, ApplyPorePressure : bool = None, ApplyAdditionalPressureInsideJoint : bool = None, AdditionalPressureType : AdditionalPressureType = None, AdditionalPressureInsideJoint : float = None, ApplyPressureToLinerSideOnly : bool = None, ApplyStageFactors : bool = None):
|
|
149
|
+
if PeakCohesion is not None:
|
|
150
|
+
self._setDoubleProperty("JP_HYPERBOL_COHESION", PeakCohesion)
|
|
151
|
+
if PeakFriction is not None:
|
|
152
|
+
self._setDoubleProperty("JP_HYPERBOL_FRICTION", PeakFriction)
|
|
153
|
+
if ResCohesion is not None:
|
|
154
|
+
self._setDoubleProperty("JP_HYPERBOL_COHESION_RES", ResCohesion)
|
|
155
|
+
if ResFriction is not None:
|
|
156
|
+
self._setDoubleProperty("JP_HYPERBOL_FRICTION_RES", ResFriction)
|
|
157
|
+
if TensileStrength is not None:
|
|
158
|
+
self._setDoubleProperty("JP_HYPERBOL_TENSILE_STRENGTH", TensileStrength)
|
|
159
|
+
if ResTensileStrength is not None:
|
|
160
|
+
self._setDoubleProperty("JP_HYPERBOL_TENSILE_STRENGTH_RES", ResTensileStrength)
|
|
161
|
+
if DeltaR is not None:
|
|
162
|
+
self._setDoubleProperty("JP_HYPERBOL_DELTAP_R", DeltaR)
|
|
163
|
+
if InitialSlope is not None:
|
|
164
|
+
self._setDoubleProperty("JP_HYPERBOL_INITIAL_SLOPE", InitialSlope)
|
|
165
|
+
if WorkSoftening is not None:
|
|
166
|
+
self._setBoolProperty("JP_WORK_SOFTENING", WorkSoftening)
|
|
167
|
+
if NormalStiffness is not None:
|
|
168
|
+
self._setDoubleProperty("JP_NORMAL_STIFFNESS", NormalStiffness)
|
|
169
|
+
if ShearStiffness is not None:
|
|
170
|
+
self._setDoubleProperty("JP_SHEAR_STIFFNESS", ShearStiffness)
|
|
171
|
+
if ApplyPorePressure is not None:
|
|
172
|
+
self._setBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE", ApplyPorePressure)
|
|
173
|
+
if ApplyAdditionalPressureInsideJoint is not None:
|
|
174
|
+
self._setBoolProperty("JP_USE_ADDITIONAL_PRESSURE", ApplyAdditionalPressureInsideJoint)
|
|
175
|
+
if AdditionalPressureType is not None:
|
|
176
|
+
self._setEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE", AdditionalPressureType)
|
|
177
|
+
if AdditionalPressureInsideJoint is not None:
|
|
178
|
+
self._setDoubleProperty("JP_ADDITIONAL_PRESSURE", AdditionalPressureInsideJoint)
|
|
179
|
+
if ApplyPressureToLinerSideOnly is not None:
|
|
180
|
+
self._setBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY", ApplyPressureToLinerSideOnly)
|
|
181
|
+
if ApplyStageFactors is not None:
|
|
182
|
+
self._setBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES", ApplyStageFactors)
|
|
183
|
+
def getProperties(self):
|
|
184
|
+
return {
|
|
185
|
+
"PeakCohesion" : self.getPeakCohesion(),
|
|
186
|
+
"PeakFriction" : self.getPeakFriction(),
|
|
187
|
+
"ResCohesion" : self.getResCohesion(),
|
|
188
|
+
"ResFriction" : self.getResFriction(),
|
|
189
|
+
"TensileStrength" : self.getTensileStrength(),
|
|
190
|
+
"ResTensileStrength" : self.getResTensileStrength(),
|
|
191
|
+
"DeltaR" : self.getDeltaR(),
|
|
192
|
+
"InitialSlope" : self.getInitialSlope(),
|
|
193
|
+
"WorkSoftening" : self.getWorkSoftening(),
|
|
194
|
+
"NormalStiffness" : self.getNormalStiffness(),
|
|
195
|
+
"ShearStiffness" : self.getShearStiffness(),
|
|
196
|
+
"ApplyPorePressure" : self.getApplyPorePressure(),
|
|
197
|
+
"ApplyAdditionalPressureInsideJoint" : self.getApplyAdditionalPressureInsideJoint(),
|
|
198
|
+
"AdditionalPressureType" : self.getAdditionalPressureType(),
|
|
199
|
+
"AdditionalPressureInsideJoint" : self.getAdditionalPressureInsideJoint(),
|
|
200
|
+
"ApplyPressureToLinerSideOnly" : self.getApplyPressureToLinerSideOnly(),
|
|
201
|
+
"ApplyStageFactors" : self.getApplyStageFactors(),
|
|
202
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
from rs2.modeler.properties.propertyProxy import PropertyProxy
|
|
2
|
+
from rs2._common.Client import Client
|
|
3
|
+
from enum import Enum, auto
|
|
4
|
+
from typing import List
|
|
5
|
+
from rs2.modeler.properties.PropertyEnums import *
|
|
6
|
+
from rs2.modeler.properties.joint.NoneSlip import NoneSlip
|
|
7
|
+
from rs2.modeler.properties.joint.MohrCoulomb import MohrCoulomb
|
|
8
|
+
from rs2.modeler.properties.joint.BartonBandis import BartonBandis
|
|
9
|
+
from rs2.modeler.properties.joint.GeosyntheticHyperbolic import GeosyntheticHyperbolic
|
|
10
|
+
from rs2.modeler.properties.joint.HyperbolicSoftening import HyperbolicSoftening
|
|
11
|
+
from rs2.modeler.properties.joint.MaterialDependent import MaterialDependent
|
|
12
|
+
from rs2.modeler.properties.joint.DisplacementDependent import DisplacementDependent
|
|
13
|
+
class JointProperty(PropertyProxy):
|
|
14
|
+
"""
|
|
15
|
+
:ref:`Joint Example`
|
|
16
|
+
"""
|
|
17
|
+
def __init__(self, client : Client, ID, documentProxyID):
|
|
18
|
+
self.NoneSlip = NoneSlip(client, ID, documentProxyID)
|
|
19
|
+
self.MohrCoulomb = MohrCoulomb(client, ID, documentProxyID)
|
|
20
|
+
self.BartonBandis = BartonBandis(client, ID, documentProxyID)
|
|
21
|
+
self.GeosyntheticHyperbolic = GeosyntheticHyperbolic(client, ID, documentProxyID)
|
|
22
|
+
self.HyperbolicSoftening = HyperbolicSoftening(client, ID, documentProxyID)
|
|
23
|
+
self.MaterialDependent = MaterialDependent(client, ID, documentProxyID)
|
|
24
|
+
self.DisplacementDependent = DisplacementDependent(client, ID, documentProxyID)
|
|
25
|
+
super().__init__(client, ID, documentProxyID)
|
|
26
|
+
def getJointName(self) -> str:
|
|
27
|
+
return self._getCStringProperty("JP_NAME")
|
|
28
|
+
def setJointName(self, value: str):
|
|
29
|
+
return self._setCStringProperty("JP_NAME", value)
|
|
30
|
+
def getJointColor(self) -> int:
|
|
31
|
+
return self._getUnsignedLongProperty("JP_COLOR")
|
|
32
|
+
def setJointColor(self, value: int):
|
|
33
|
+
return self._setUnsignedLongProperty("JP_COLOR", value)
|
|
34
|
+
def getSlipCriterion(self) -> JointTypes:
|
|
35
|
+
return JointTypes(self._getEnumEJointTypesProperty("JP_SLIP_CRITIRION"))
|
|
36
|
+
def setSlipCriterion(self, value: JointTypes):
|
|
37
|
+
return self._setEnumEJointTypesProperty("JP_SLIP_CRITIRION", value)
|
|
38
|
+
def getInitialDeformation(self) -> bool:
|
|
39
|
+
return self._getBoolProperty("JP_INITIAL_DEFORMATION")
|
|
40
|
+
def setInitialDeformation(self, value: bool):
|
|
41
|
+
return self._setBoolProperty("JP_INITIAL_DEFORMATION", value)
|
|
42
|
+
def SetApplySSR(self, applySSR: bool):
|
|
43
|
+
return self._callFunction("SetApplySSR", [applySSR])
|
|
44
|
+
def GetApplySSR(self) -> bool:
|
|
45
|
+
return self._callFunction("GetApplySSR", [])
|
|
46
|
+
def SetPermeable(self, permeable: bool):
|
|
47
|
+
return self._callFunction("SetPermeable", [permeable])
|
|
48
|
+
def GetPermeable(self) -> bool:
|
|
49
|
+
return self._callFunction("GetPermeable", [])
|
|
50
|
+
def SetMeshConforming(self, meshConforming: bool):
|
|
51
|
+
return self._callFunction("SetMeshConforming", [meshConforming])
|
|
52
|
+
def GetMeshConforming(self) -> bool:
|
|
53
|
+
return self._callFunction("GetMeshConforming", [])
|
|
54
|
+
def SetAllowSlipStartFromStage(self, stage: int):
|
|
55
|
+
return self._callFunction("SetAllowSlipStartFromStage", [stage])
|
|
56
|
+
def GetAllowSlipStartFromStage(self) -> int:
|
|
57
|
+
return self._callFunction("GetAllowSlipStartFromStage", [])
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
from rs2.modeler.properties.propertyProxy import PropertyProxy
|
|
2
|
+
from rs2._common.Client import Client
|
|
3
|
+
from enum import Enum, auto
|
|
4
|
+
from typing import List
|
|
5
|
+
from rs2.modeler.properties.PropertyEnums import *
|
|
6
|
+
from rs2._common.ProxyObject import ProxyObject
|
|
7
|
+
from rs2.modeler.properties.AbsoluteStageFactorInterface import AbsoluteStageFactorInterface
|
|
8
|
+
class MaterialDependentStageFactor(ProxyObject):
|
|
9
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
10
|
+
super().__init__(client, ID)
|
|
11
|
+
self.propertyID = propertyID
|
|
12
|
+
def getNormalStiffnessFactor(self) -> float:
|
|
13
|
+
return self._callFunction("getDoubleFactor", ["JP_NORMAL_STIFFNESS", self.propertyID], proxyArgumentIndices=[1])
|
|
14
|
+
def getShearStiffnessFactor(self) -> float:
|
|
15
|
+
return self._callFunction("getDoubleFactor", ["JP_SHEAR_STIFFNESS", self.propertyID], proxyArgumentIndices=[1])
|
|
16
|
+
def getInterfaceCoefficientFactor(self) -> float:
|
|
17
|
+
return self._callFunction("getDoubleFactor", ["JP_INTERFACE_COEFFICIENT", self.propertyID], proxyArgumentIndices=[1])
|
|
18
|
+
def getAdditionalPressureInsideJointFactor(self) -> float:
|
|
19
|
+
return self._callFunction("getDoubleFactor", ["JP_ADDITIONAL_PRESSURE", self.propertyID], proxyArgumentIndices=[1])
|
|
20
|
+
def getGroundwaterPressureFactor(self) -> float:
|
|
21
|
+
return self._callFunction("__getattribute__", ["m_groundwater_pressure_factor"])
|
|
22
|
+
def getJointPermeableFactor(self) -> bool:
|
|
23
|
+
return self._callFunction("__getattribute__", ["m_joint_permeable_factor"])
|
|
24
|
+
class MaterialDependentDefinedStageFactor(MaterialDependentStageFactor):
|
|
25
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
26
|
+
super().__init__(client, ID, propertyID)
|
|
27
|
+
def setNormalStiffnessFactor(self, value: float):
|
|
28
|
+
return self._callFunction("setDoubleFactor", ["JP_NORMAL_STIFFNESS", value, self.propertyID], proxyArgumentIndices=[2])
|
|
29
|
+
def setShearStiffnessFactor(self, value: float):
|
|
30
|
+
return self._callFunction("setDoubleFactor", ["JP_SHEAR_STIFFNESS", value, self.propertyID], proxyArgumentIndices=[2])
|
|
31
|
+
def setInterfaceCoefficientFactor(self, value: float):
|
|
32
|
+
return self._callFunction("setDoubleFactor", ["JP_INTERFACE_COEFFICIENT", value, self.propertyID], proxyArgumentIndices=[2])
|
|
33
|
+
def setAdditionalPressureInsideJointFactor(self, value: float):
|
|
34
|
+
return self._callFunction("setDoubleFactor", ["JP_ADDITIONAL_PRESSURE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
35
|
+
def setGroundwaterPressureFactor(self, GroundWaterPressure: float):
|
|
36
|
+
return self._callFunction("setGroundwaterPressureFactor", [GroundWaterPressure])
|
|
37
|
+
def setJointPermeableFactor(self, Permeable: bool):
|
|
38
|
+
return self._callFunction("setJointPermeableFactor", [Permeable])
|
|
39
|
+
class MaterialDependent(PropertyProxy):
|
|
40
|
+
def __init__(self, client : Client, ID, documentProxyID):
|
|
41
|
+
super().__init__(client, ID, documentProxyID)
|
|
42
|
+
stageFactorInterfaceID = self._callFunction("getStageFactorInterface", [], keepReturnValueReference=True)
|
|
43
|
+
self.stageFactorInterface = AbsoluteStageFactorInterface[MaterialDependentDefinedStageFactor, MaterialDependentStageFactor](self._client, stageFactorInterfaceID, ID, MaterialDependentDefinedStageFactor, MaterialDependentStageFactor)
|
|
44
|
+
def getInterfaceCoefficient(self) -> float:
|
|
45
|
+
return self._getDoubleProperty("JP_INTERFACE_COEFFICIENT")
|
|
46
|
+
def setInterfaceCoefficient(self, value: float):
|
|
47
|
+
return self._setDoubleProperty("JP_INTERFACE_COEFFICIENT", value)
|
|
48
|
+
def getDefineStiffness(self) -> DefineStiffness:
|
|
49
|
+
return DefineStiffness(self._getEnumEJointStiffnessDefineProperty("JP_DEFINE_STIFFNESS"))
|
|
50
|
+
def setDefineStiffness(self, value: DefineStiffness):
|
|
51
|
+
return self._setEnumEJointStiffnessDefineProperty("JP_DEFINE_STIFFNESS", value)
|
|
52
|
+
def getNormalStiffness(self) -> float:
|
|
53
|
+
return self._getDoubleProperty("JP_NORMAL_STIFFNESS")
|
|
54
|
+
def setNormalStiffness(self, value: float):
|
|
55
|
+
return self._setDoubleProperty("JP_NORMAL_STIFFNESS", value)
|
|
56
|
+
def getShearStiffness(self) -> float:
|
|
57
|
+
return self._getDoubleProperty("JP_SHEAR_STIFFNESS")
|
|
58
|
+
def setShearStiffness(self, value: float):
|
|
59
|
+
return self._setDoubleProperty("JP_SHEAR_STIFFNESS", value)
|
|
60
|
+
def getStiffnessCoefficient(self) -> float:
|
|
61
|
+
return self._getDoubleProperty("JP_STIFFNESS_COEFFICIENT")
|
|
62
|
+
def setStiffnessCoefficient(self, value: float):
|
|
63
|
+
return self._setDoubleProperty("JP_STIFFNESS_COEFFICIENT", value)
|
|
64
|
+
def getApplyPorePressure(self) -> bool:
|
|
65
|
+
return self._getBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE")
|
|
66
|
+
def setApplyPorePressure(self, value: bool):
|
|
67
|
+
return self._setBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE", value)
|
|
68
|
+
def getApplyAdditionalPressureInsideJoint(self) -> bool:
|
|
69
|
+
return self._getBoolProperty("JP_USE_ADDITIONAL_PRESSURE")
|
|
70
|
+
def setApplyAdditionalPressureInsideJoint(self, value: bool):
|
|
71
|
+
return self._setBoolProperty("JP_USE_ADDITIONAL_PRESSURE", value)
|
|
72
|
+
def getAdditionalPressureType(self) -> AdditionalPressureType:
|
|
73
|
+
return AdditionalPressureType(self._getEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE"))
|
|
74
|
+
def setAdditionalPressureType(self, value: AdditionalPressureType):
|
|
75
|
+
return self._setEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE", value)
|
|
76
|
+
def getAdditionalPressureInsideJoint(self) -> float:
|
|
77
|
+
return self._getDoubleProperty("JP_ADDITIONAL_PRESSURE")
|
|
78
|
+
def setAdditionalPressureInsideJoint(self, value: float):
|
|
79
|
+
return self._setDoubleProperty("JP_ADDITIONAL_PRESSURE", value)
|
|
80
|
+
def getApplyPressureToLinerSideOnly(self) -> bool:
|
|
81
|
+
return self._getBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY")
|
|
82
|
+
def setApplyPressureToLinerSideOnly(self, value: bool):
|
|
83
|
+
return self._setBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY", value)
|
|
84
|
+
def getApplyStageFactors(self) -> bool:
|
|
85
|
+
return self._getBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES")
|
|
86
|
+
def setApplyStageFactors(self, value: bool):
|
|
87
|
+
return self._setBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES", value)
|
|
88
|
+
def setPiezoID(self, piezoName: str):
|
|
89
|
+
return self._callFunction("python_setPiezoPressureID", [piezoName])
|
|
90
|
+
def getPiezoID(self):
|
|
91
|
+
return self._callFunction("python_getPiezoPressureID", [])
|
|
92
|
+
def setProperties(self, InterfaceCoefficient : float = None, DefineStiffness : DefineStiffness = None, NormalStiffness : float = None, ShearStiffness : float = None, StiffnessCoefficient : float = None, ApplyPorePressure : bool = None, ApplyAdditionalPressureInsideJoint : bool = None, AdditionalPressureType : AdditionalPressureType = None, AdditionalPressureInsideJoint : float = None, ApplyPressureToLinerSideOnly : bool = None, ApplyStageFactors : bool = None):
|
|
93
|
+
if InterfaceCoefficient is not None:
|
|
94
|
+
self._setDoubleProperty("JP_INTERFACE_COEFFICIENT", InterfaceCoefficient)
|
|
95
|
+
if DefineStiffness is not None:
|
|
96
|
+
self._setEnumEJointStiffnessDefineProperty("JP_DEFINE_STIFFNESS", DefineStiffness)
|
|
97
|
+
if NormalStiffness is not None:
|
|
98
|
+
self._setDoubleProperty("JP_NORMAL_STIFFNESS", NormalStiffness)
|
|
99
|
+
if ShearStiffness is not None:
|
|
100
|
+
self._setDoubleProperty("JP_SHEAR_STIFFNESS", ShearStiffness)
|
|
101
|
+
if StiffnessCoefficient is not None:
|
|
102
|
+
self._setDoubleProperty("JP_STIFFNESS_COEFFICIENT", StiffnessCoefficient)
|
|
103
|
+
if ApplyPorePressure is not None:
|
|
104
|
+
self._setBoolProperty("JP_USE_GROUNDWATER_PORE_PRESSURE", ApplyPorePressure)
|
|
105
|
+
if ApplyAdditionalPressureInsideJoint is not None:
|
|
106
|
+
self._setBoolProperty("JP_USE_ADDITIONAL_PRESSURE", ApplyAdditionalPressureInsideJoint)
|
|
107
|
+
if AdditionalPressureType is not None:
|
|
108
|
+
self._setEnumEJointWaterPressureTypeProperty("JP_ADDITIONAL_TYPE", AdditionalPressureType)
|
|
109
|
+
if AdditionalPressureInsideJoint is not None:
|
|
110
|
+
self._setDoubleProperty("JP_ADDITIONAL_PRESSURE", AdditionalPressureInsideJoint)
|
|
111
|
+
if ApplyPressureToLinerSideOnly is not None:
|
|
112
|
+
self._setBoolProperty("JP_USE_PRESSURE_TO_LINER_SIDE_ONLY", ApplyPressureToLinerSideOnly)
|
|
113
|
+
if ApplyStageFactors is not None:
|
|
114
|
+
self._setBoolProperty("JP_USE_STAGE_JOINT_PROPERTIES", ApplyStageFactors)
|
|
115
|
+
def getProperties(self):
|
|
116
|
+
return {
|
|
117
|
+
"InterfaceCoefficient" : self.getInterfaceCoefficient(),
|
|
118
|
+
"DefineStiffness" : self.getDefineStiffness(),
|
|
119
|
+
"NormalStiffness" : self.getNormalStiffness(),
|
|
120
|
+
"ShearStiffness" : self.getShearStiffness(),
|
|
121
|
+
"StiffnessCoefficient" : self.getStiffnessCoefficient(),
|
|
122
|
+
"ApplyPorePressure" : self.getApplyPorePressure(),
|
|
123
|
+
"ApplyAdditionalPressureInsideJoint" : self.getApplyAdditionalPressureInsideJoint(),
|
|
124
|
+
"AdditionalPressureType" : self.getAdditionalPressureType(),
|
|
125
|
+
"AdditionalPressureInsideJoint" : self.getAdditionalPressureInsideJoint(),
|
|
126
|
+
"ApplyPressureToLinerSideOnly" : self.getApplyPressureToLinerSideOnly(),
|
|
127
|
+
"ApplyStageFactors" : self.getApplyStageFactors(),
|
|
128
|
+
}
|