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,167 @@
|
|
|
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.RelativeStageFactorInterface import RelativeStageFactorInterface
|
|
8
|
+
class GeosyntheticStageFactor(ProxyObject):
|
|
9
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
10
|
+
super().__init__(client, ID)
|
|
11
|
+
self.propertyID = propertyID
|
|
12
|
+
def getGeosyntheticUnitWeightFactor(self) -> float:
|
|
13
|
+
return self._callFunction("getDoubleFactor", ["LNP_UNIT_WEIGTH_GEOSYNTHETIC", self.propertyID], proxyArgumentIndices=[1])
|
|
14
|
+
def getTensileModulusFactor(self) -> float:
|
|
15
|
+
return self._callFunction("getDoubleFactor", ["LNP_TENSILE_MODULUS", self.propertyID], proxyArgumentIndices=[1])
|
|
16
|
+
def getAxialStrainExpansionFactor(self) -> float:
|
|
17
|
+
return self._callFunction("getDoubleFactor", ["LNP_AXIAL_STRAIN", self.propertyID], proxyArgumentIndices=[1])
|
|
18
|
+
def getTensileStrengthPeakFactor(self) -> float:
|
|
19
|
+
return self._callFunction("getDoubleFactor", ["LNP_TENSILE_STRENGTH", self.propertyID], proxyArgumentIndices=[1])
|
|
20
|
+
def getTensileStrengthResidualFactor(self) -> float:
|
|
21
|
+
return self._callFunction("getDoubleFactor", ["LNP_TENSILE_STRENGTH_RES", self.propertyID], proxyArgumentIndices=[1])
|
|
22
|
+
def getConductivityFactor(self) -> float:
|
|
23
|
+
return self._callFunction("getDoubleFactor", ["LNP_THERAMAL_CONDUCTIVITY", self.propertyID], proxyArgumentIndices=[1])
|
|
24
|
+
def getSpecificHeatCapacityFactor(self) -> float:
|
|
25
|
+
return self._callFunction("getDoubleFactor", ["LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY", self.propertyID], proxyArgumentIndices=[1])
|
|
26
|
+
def getExpansionCoefficientFactor(self) -> float:
|
|
27
|
+
return self._callFunction("getDoubleFactor", ["LNP_THERAMAL_EXPANSION_ALPHA", self.propertyID], proxyArgumentIndices=[1])
|
|
28
|
+
class GeosyntheticDefinedStageFactor(GeosyntheticStageFactor):
|
|
29
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
30
|
+
super().__init__(client, ID, propertyID)
|
|
31
|
+
def setGeosyntheticUnitWeightFactor(self, value: float):
|
|
32
|
+
return self._callFunction("setDoubleFactor", ["LNP_UNIT_WEIGTH_GEOSYNTHETIC", value, self.propertyID], proxyArgumentIndices=[2])
|
|
33
|
+
def setTensileModulusFactor(self, value: float):
|
|
34
|
+
return self._callFunction("setDoubleFactor", ["LNP_TENSILE_MODULUS", value, self.propertyID], proxyArgumentIndices=[2])
|
|
35
|
+
def setAxialStrainExpansionFactor(self, value: float):
|
|
36
|
+
return self._callFunction("setDoubleFactor", ["LNP_AXIAL_STRAIN", value, self.propertyID], proxyArgumentIndices=[2])
|
|
37
|
+
def setTensileStrengthPeakFactor(self, value: float):
|
|
38
|
+
return self._callFunction("setDoubleFactor", ["LNP_TENSILE_STRENGTH", value, self.propertyID], proxyArgumentIndices=[2])
|
|
39
|
+
def setTensileStrengthResidualFactor(self, value: float):
|
|
40
|
+
return self._callFunction("setDoubleFactor", ["LNP_TENSILE_STRENGTH_RES", value, self.propertyID], proxyArgumentIndices=[2])
|
|
41
|
+
def setConductivityFactor(self, value: float):
|
|
42
|
+
return self._callFunction("setDoubleFactor", ["LNP_THERAMAL_CONDUCTIVITY", value, self.propertyID], proxyArgumentIndices=[2])
|
|
43
|
+
def setSpecificHeatCapacityFactor(self, value: float):
|
|
44
|
+
return self._callFunction("setDoubleFactor", ["LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY", value, self.propertyID], proxyArgumentIndices=[2])
|
|
45
|
+
def setExpansionCoefficientFactor(self, value: float):
|
|
46
|
+
return self._callFunction("setDoubleFactor", ["LNP_THERAMAL_EXPANSION_ALPHA", value, self.propertyID], proxyArgumentIndices=[2])
|
|
47
|
+
class Geosynthetic(PropertyProxy):
|
|
48
|
+
def __init__(self, client : Client, ID, documentProxyID):
|
|
49
|
+
super().__init__(client, ID, documentProxyID)
|
|
50
|
+
stageFactorInterfaceID = self._callFunction("getStageFactorInterface", [], keepReturnValueReference=True)
|
|
51
|
+
self.stageFactorInterface = RelativeStageFactorInterface[GeosyntheticDefinedStageFactor, GeosyntheticStageFactor](self._client, stageFactorInterfaceID, ID, GeosyntheticDefinedStageFactor, GeosyntheticStageFactor)
|
|
52
|
+
def getGeosyntheticUnitWeight(self) -> float:
|
|
53
|
+
return self._getDoubleProperty("LNP_UNIT_WEIGTH_GEOSYNTHETIC")
|
|
54
|
+
def setGeosyntheticUnitWeight(self, value: float):
|
|
55
|
+
return self._setDoubleProperty("LNP_UNIT_WEIGTH_GEOSYNTHETIC", value)
|
|
56
|
+
def getInitialTemperature(self) -> float:
|
|
57
|
+
return self._getDoubleProperty("LNP_THERAMAL_INITIAL_TEMPERATURE")
|
|
58
|
+
def setInitialTemperature(self, value: float):
|
|
59
|
+
return self._setDoubleProperty("LNP_THERAMAL_INITIAL_TEMPERATURE", value)
|
|
60
|
+
def getTensileModulus(self) -> float:
|
|
61
|
+
return self._getDoubleProperty("LNP_TENSILE_MODULUS")
|
|
62
|
+
def setTensileModulus(self, value: float):
|
|
63
|
+
return self._setDoubleProperty("LNP_TENSILE_MODULUS", value)
|
|
64
|
+
def getMaterialType(self) -> MaterialType:
|
|
65
|
+
return MaterialType(self._getEnumEMaterialAnalysisTypesProperty("LNP_MATERIAL_TYPE"))
|
|
66
|
+
def setMaterialType(self, value: MaterialType):
|
|
67
|
+
return self._setEnumEMaterialAnalysisTypesProperty("LNP_MATERIAL_TYPE", value)
|
|
68
|
+
def getTensileStrengthPeak(self) -> float:
|
|
69
|
+
return self._getDoubleProperty("LNP_TENSILE_STRENGTH")
|
|
70
|
+
def setTensileStrengthPeak(self, value: float):
|
|
71
|
+
return self._setDoubleProperty("LNP_TENSILE_STRENGTH", value)
|
|
72
|
+
def getTensileStrengthResidual(self) -> float:
|
|
73
|
+
return self._getDoubleProperty("LNP_TENSILE_STRENGTH_RES")
|
|
74
|
+
def setTensileStrengthResidual(self, value: float):
|
|
75
|
+
return self._setDoubleProperty("LNP_TENSILE_STRENGTH_RES", value)
|
|
76
|
+
def getActivateThermal(self) -> bool:
|
|
77
|
+
return self._getBoolProperty("LNP_THERAMAL_ACTIVATE")
|
|
78
|
+
def setActivateThermal(self, value: bool):
|
|
79
|
+
return self._setBoolProperty("LNP_THERAMAL_ACTIVATE", value)
|
|
80
|
+
def getStaticTemperatureMode(self) -> StaticWaterModes:
|
|
81
|
+
return StaticWaterModes(self._getEnumEStaticWaterModesProperty("LNP_STATIC_TEMPERATURE_METHOD"))
|
|
82
|
+
def setStaticTemperatureMode(self, value: StaticWaterModes):
|
|
83
|
+
return self._setEnumEStaticWaterModesProperty("LNP_STATIC_TEMPERATURE_METHOD", value)
|
|
84
|
+
def getStaticTemperature(self) -> float:
|
|
85
|
+
return self._getDoubleProperty("LNP_STATIC_TEMPERATURE_CONST")
|
|
86
|
+
def setStaticTemperature(self, value: float):
|
|
87
|
+
return self._setDoubleProperty("LNP_STATIC_TEMPERATURE_CONST", value)
|
|
88
|
+
def getConductivity(self) -> float:
|
|
89
|
+
return self._getDoubleProperty("LNP_THERAMAL_CONDUCTIVITY")
|
|
90
|
+
def setConductivity(self, value: float):
|
|
91
|
+
return self._setDoubleProperty("LNP_THERAMAL_CONDUCTIVITY", value)
|
|
92
|
+
def getSpecificHeatCapacity(self) -> float:
|
|
93
|
+
return self._getDoubleProperty("LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY")
|
|
94
|
+
def setSpecificHeatCapacity(self, value: float):
|
|
95
|
+
return self._setDoubleProperty("LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY", value)
|
|
96
|
+
def getThermalExpansion(self) -> bool:
|
|
97
|
+
return self._getBoolProperty("LNP_THERAMAL_EXPANSION_IS_ON")
|
|
98
|
+
def setThermalExpansion(self, value: bool):
|
|
99
|
+
return self._setBoolProperty("LNP_THERAMAL_EXPANSION_IS_ON", value)
|
|
100
|
+
def getExpansionCoefficient(self) -> float:
|
|
101
|
+
return self._getDoubleProperty("LNP_THERAMAL_EXPANSION_ALPHA")
|
|
102
|
+
def setExpansionCoefficient(self, value: float):
|
|
103
|
+
return self._setDoubleProperty("LNP_THERAMAL_EXPANSION_ALPHA", value)
|
|
104
|
+
def getAxialStrainExpansion(self) -> float:
|
|
105
|
+
return self._getDoubleProperty("LNP_AXIAL_STRAIN")
|
|
106
|
+
def setAxialStrainExpansion(self, value: float):
|
|
107
|
+
return self._setDoubleProperty("LNP_AXIAL_STRAIN", value)
|
|
108
|
+
def getStageGeosyntheticProperties(self) -> bool:
|
|
109
|
+
return self._getBoolProperty("LNP_USE_STAGE_GEOSYN")
|
|
110
|
+
def setStageGeosyntheticProperties(self, value: bool):
|
|
111
|
+
return self._setBoolProperty("LNP_USE_STAGE_GEOSYN", value)
|
|
112
|
+
def getStaticTemperatureGridToUse(self) -> str:
|
|
113
|
+
return self._callFunction("getStaticTemperatureGridToUse", [])
|
|
114
|
+
def setStaticTemperatureGridToUse(self, gridName: str):
|
|
115
|
+
"""
|
|
116
|
+
Grids "None" and "Default Grid" available by default.
|
|
117
|
+
"""
|
|
118
|
+
return self._callFunction("setStaticTemperatureGridToUse", [gridName])
|
|
119
|
+
def setProperties(self, GeosyntheticUnitWeight : float = None, InitialTemperature : float = None, TensileModulus : float = None, MaterialType : MaterialType = None, TensileStrengthPeak : float = None, TensileStrengthResidual : float = None, ActivateThermal : bool = None, StaticTemperatureMode : StaticWaterModes = None, StaticTemperature : float = None, Conductivity : float = None, SpecificHeatCapacity : float = None, ThermalExpansion : bool = None, ExpansionCoefficient : float = None, AxialStrainExpansion : float = None, StageGeosyntheticProperties : bool = None):
|
|
120
|
+
if GeosyntheticUnitWeight is not None:
|
|
121
|
+
self._setDoubleProperty("LNP_UNIT_WEIGTH_GEOSYNTHETIC", GeosyntheticUnitWeight)
|
|
122
|
+
if InitialTemperature is not None:
|
|
123
|
+
self._setDoubleProperty("LNP_THERAMAL_INITIAL_TEMPERATURE", InitialTemperature)
|
|
124
|
+
if TensileModulus is not None:
|
|
125
|
+
self._setDoubleProperty("LNP_TENSILE_MODULUS", TensileModulus)
|
|
126
|
+
if MaterialType is not None:
|
|
127
|
+
self._setEnumEMaterialAnalysisTypesProperty("LNP_MATERIAL_TYPE", MaterialType)
|
|
128
|
+
if TensileStrengthPeak is not None:
|
|
129
|
+
self._setDoubleProperty("LNP_TENSILE_STRENGTH", TensileStrengthPeak)
|
|
130
|
+
if TensileStrengthResidual is not None:
|
|
131
|
+
self._setDoubleProperty("LNP_TENSILE_STRENGTH_RES", TensileStrengthResidual)
|
|
132
|
+
if ActivateThermal is not None:
|
|
133
|
+
self._setBoolProperty("LNP_THERAMAL_ACTIVATE", ActivateThermal)
|
|
134
|
+
if StaticTemperatureMode is not None:
|
|
135
|
+
self._setEnumEStaticWaterModesProperty("LNP_STATIC_TEMPERATURE_METHOD", StaticTemperatureMode)
|
|
136
|
+
if StaticTemperature is not None:
|
|
137
|
+
self._setDoubleProperty("LNP_STATIC_TEMPERATURE_CONST", StaticTemperature)
|
|
138
|
+
if Conductivity is not None:
|
|
139
|
+
self._setDoubleProperty("LNP_THERAMAL_CONDUCTIVITY", Conductivity)
|
|
140
|
+
if SpecificHeatCapacity is not None:
|
|
141
|
+
self._setDoubleProperty("LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY", SpecificHeatCapacity)
|
|
142
|
+
if ThermalExpansion is not None:
|
|
143
|
+
self._setBoolProperty("LNP_THERAMAL_EXPANSION_IS_ON", ThermalExpansion)
|
|
144
|
+
if ExpansionCoefficient is not None:
|
|
145
|
+
self._setDoubleProperty("LNP_THERAMAL_EXPANSION_ALPHA", ExpansionCoefficient)
|
|
146
|
+
if AxialStrainExpansion is not None:
|
|
147
|
+
self._setDoubleProperty("LNP_AXIAL_STRAIN", AxialStrainExpansion)
|
|
148
|
+
if StageGeosyntheticProperties is not None:
|
|
149
|
+
self._setBoolProperty("LNP_USE_STAGE_GEOSYN", StageGeosyntheticProperties)
|
|
150
|
+
def getProperties(self):
|
|
151
|
+
return {
|
|
152
|
+
"GeosyntheticUnitWeight" : self.getGeosyntheticUnitWeight(),
|
|
153
|
+
"InitialTemperature" : self.getInitialTemperature(),
|
|
154
|
+
"TensileModulus" : self.getTensileModulus(),
|
|
155
|
+
"MaterialType" : self.getMaterialType(),
|
|
156
|
+
"TensileStrengthPeak" : self.getTensileStrengthPeak(),
|
|
157
|
+
"TensileStrengthResidual" : self.getTensileStrengthResidual(),
|
|
158
|
+
"ActivateThermal" : self.getActivateThermal(),
|
|
159
|
+
"StaticTemperatureMode" : self.getStaticTemperatureMode(),
|
|
160
|
+
"StaticTemperature" : self.getStaticTemperature(),
|
|
161
|
+
"Conductivity" : self.getConductivity(),
|
|
162
|
+
"SpecificHeatCapacity" : self.getSpecificHeatCapacity(),
|
|
163
|
+
"ThermalExpansion" : self.getThermalExpansion(),
|
|
164
|
+
"ExpansionCoefficient" : self.getExpansionCoefficient(),
|
|
165
|
+
"AxialStrainExpansion" : self.getAxialStrainExpansion(),
|
|
166
|
+
"StageGeosyntheticProperties" : self.getStageGeosyntheticProperties(),
|
|
167
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.liner.StandardBeam import StandardBeam
|
|
7
|
+
from rs2.modeler.properties.liner.Geosynthetic import Geosynthetic
|
|
8
|
+
from rs2.modeler.properties.liner.ReinforcedConcrete import ReinforcedConcrete
|
|
9
|
+
from rs2.modeler.properties.liner.CableTruss import CableTruss
|
|
10
|
+
class LinerProperty(PropertyProxy):
|
|
11
|
+
"""
|
|
12
|
+
:ref:`Liner Example`
|
|
13
|
+
"""
|
|
14
|
+
def __init__(self, client : Client, ID, documentProxyID):
|
|
15
|
+
self.StandardBeam = StandardBeam(client, ID, documentProxyID)
|
|
16
|
+
self.Geosynthetic = Geosynthetic(client, ID, documentProxyID)
|
|
17
|
+
self.ReinforcedConcrete = ReinforcedConcrete(client, ID, documentProxyID)
|
|
18
|
+
self.CableTruss = CableTruss(client, ID, documentProxyID)
|
|
19
|
+
super().__init__(client, ID, documentProxyID)
|
|
20
|
+
def getLinerName(self) -> str:
|
|
21
|
+
return self._getCStringProperty("LNP_NAME")
|
|
22
|
+
def setLinerName(self, value: str):
|
|
23
|
+
return self._setCStringProperty("LNP_NAME", value)
|
|
24
|
+
def getLinerColor(self) -> int:
|
|
25
|
+
return self._getUnsignedLongProperty("LNP_COLOR")
|
|
26
|
+
def setLinerColor(self, value: int):
|
|
27
|
+
return self._setUnsignedLongProperty("LNP_COLOR", value)
|
|
28
|
+
def getLinerType(self) -> LinerTypes:
|
|
29
|
+
return LinerTypes(self._getEnumELinerTypesProperty("LNP_LINER_TYPE"))
|
|
30
|
+
def setLinerType(self, value: LinerTypes):
|
|
31
|
+
return self._setEnumELinerTypesProperty("LNP_LINER_TYPE", value)
|
|
@@ -0,0 +1,291 @@
|
|
|
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.RelativeStageFactorInterface import RelativeStageFactorInterface
|
|
8
|
+
class ReinforcedConcreteStageFactor(ProxyObject):
|
|
9
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
10
|
+
super().__init__(client, ID)
|
|
11
|
+
self.propertyID = propertyID
|
|
12
|
+
def getConcreteUnitWeightFactor(self) -> float:
|
|
13
|
+
return self._callFunction("getDoubleFactor", ["LNP_UNIT_WEIGTH_CONCRETE", self.propertyID], proxyArgumentIndices=[1])
|
|
14
|
+
def getAreaFactor(self) -> float:
|
|
15
|
+
return self._callFunction("getDoubleFactor", ["LNP_AREA", self.propertyID], proxyArgumentIndices=[1])
|
|
16
|
+
def getWeightFactor(self) -> float:
|
|
17
|
+
return self._callFunction("getDoubleFactor", ["LNP_WEIGHT_REIN", self.propertyID], proxyArgumentIndices=[1])
|
|
18
|
+
def getThicknessFactor(self) -> float:
|
|
19
|
+
return self._callFunction("getDoubleFactor", ["LNP_THICKNESS_CONCRETE", self.propertyID], proxyArgumentIndices=[1])
|
|
20
|
+
def getConcreteYoungsModulusFactor(self) -> float:
|
|
21
|
+
return self._callFunction("getDoubleFactor", ["LNP_YOUNGS_MODULUS_CONCRETE", self.propertyID], proxyArgumentIndices=[1])
|
|
22
|
+
def getConcreteCompressiveStrengthFactor(self) -> float:
|
|
23
|
+
return self._callFunction("getDoubleFactor", ["LNP_COMPRESSIVE_STRENGTH_CONCRETE", self.propertyID], proxyArgumentIndices=[1])
|
|
24
|
+
def getConcreteTensileStrengthFactor(self) -> float:
|
|
25
|
+
return self._callFunction("getDoubleFactor", ["LNP_TENSILE_STRENGTH_CONCRETE", self.propertyID], proxyArgumentIndices=[1])
|
|
26
|
+
def getAxialStrainExpansionFactor(self) -> float:
|
|
27
|
+
return self._callFunction("getDoubleFactor", ["LNP_AXIAL_STRAIN", self.propertyID], proxyArgumentIndices=[1])
|
|
28
|
+
def getConductivityFactor(self) -> float:
|
|
29
|
+
return self._callFunction("getDoubleFactor", ["LNP_THERAMAL_CONDUCTIVITY", self.propertyID], proxyArgumentIndices=[1])
|
|
30
|
+
def getSpecificHeatCapacityFactor(self) -> float:
|
|
31
|
+
return self._callFunction("getDoubleFactor", ["LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY", self.propertyID], proxyArgumentIndices=[1])
|
|
32
|
+
def getExpansionCoefficientFactor(self) -> float:
|
|
33
|
+
return self._callFunction("getDoubleFactor", ["LNP_THERAMAL_EXPANSION_ALPHA", self.propertyID], proxyArgumentIndices=[1])
|
|
34
|
+
class ReinforcedConcreteDefinedStageFactor(ReinforcedConcreteStageFactor):
|
|
35
|
+
def __init__(self, client : Client, ID, propertyID):
|
|
36
|
+
super().__init__(client, ID, propertyID)
|
|
37
|
+
def setConcreteUnitWeightFactor(self, value: float):
|
|
38
|
+
return self._callFunction("setDoubleFactor", ["LNP_UNIT_WEIGTH_CONCRETE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
39
|
+
def setAreaFactor(self, value: float):
|
|
40
|
+
return self._callFunction("setDoubleFactor", ["LNP_AREA", value, self.propertyID], proxyArgumentIndices=[2])
|
|
41
|
+
def setWeightFactor(self, value: float):
|
|
42
|
+
return self._callFunction("setDoubleFactor", ["LNP_WEIGHT_REIN", value, self.propertyID], proxyArgumentIndices=[2])
|
|
43
|
+
def setThicknessFactor(self, value: float):
|
|
44
|
+
return self._callFunction("setDoubleFactor", ["LNP_THICKNESS_CONCRETE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
45
|
+
def setConcreteYoungsModulusFactor(self, value: float):
|
|
46
|
+
return self._callFunction("setDoubleFactor", ["LNP_YOUNGS_MODULUS_CONCRETE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
47
|
+
def setConcreteCompressiveStrengthFactor(self, value: float):
|
|
48
|
+
return self._callFunction("setDoubleFactor", ["LNP_COMPRESSIVE_STRENGTH_CONCRETE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
49
|
+
def setConcreteTensileStrengthFactor(self, value: float):
|
|
50
|
+
return self._callFunction("setDoubleFactor", ["LNP_TENSILE_STRENGTH_CONCRETE", value, self.propertyID], proxyArgumentIndices=[2])
|
|
51
|
+
def setAxialStrainExpansionFactor(self, value: float):
|
|
52
|
+
return self._callFunction("setDoubleFactor", ["LNP_AXIAL_STRAIN", value, self.propertyID], proxyArgumentIndices=[2])
|
|
53
|
+
def setConductivityFactor(self, value: float):
|
|
54
|
+
return self._callFunction("setDoubleFactor", ["LNP_THERAMAL_CONDUCTIVITY", value, self.propertyID], proxyArgumentIndices=[2])
|
|
55
|
+
def setSpecificHeatCapacityFactor(self, value: float):
|
|
56
|
+
return self._callFunction("setDoubleFactor", ["LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY", value, self.propertyID], proxyArgumentIndices=[2])
|
|
57
|
+
def setExpansionCoefficientFactor(self, value: float):
|
|
58
|
+
return self._callFunction("setDoubleFactor", ["LNP_THERAMAL_EXPANSION_ALPHA", value, self.propertyID], proxyArgumentIndices=[2])
|
|
59
|
+
class ReinforcedConcrete(PropertyProxy):
|
|
60
|
+
def __init__(self, client : Client, ID, documentProxyID):
|
|
61
|
+
super().__init__(client, ID, documentProxyID)
|
|
62
|
+
stageFactorInterfaceID = self._callFunction("getStageFactorInterface", [], keepReturnValueReference=True)
|
|
63
|
+
self.stageFactorInterface = RelativeStageFactorInterface[ReinforcedConcreteDefinedStageFactor, ReinforcedConcreteStageFactor](self._client, stageFactorInterfaceID, ID, ReinforcedConcreteDefinedStageFactor, ReinforcedConcreteStageFactor)
|
|
64
|
+
def getConcreteUnitWeight(self) -> float:
|
|
65
|
+
return self._getDoubleProperty("LNP_UNIT_WEIGTH_CONCRETE")
|
|
66
|
+
def setConcreteUnitWeight(self, value: float):
|
|
67
|
+
return self._setDoubleProperty("LNP_UNIT_WEIGTH_CONCRETE", value)
|
|
68
|
+
def getIncludeWeightInStressAnalysis(self) -> bool:
|
|
69
|
+
return self._getBoolProperty("LNP_USE_WEIGHT")
|
|
70
|
+
def setIncludeWeightInStressAnalysis(self, value: bool):
|
|
71
|
+
return self._setBoolProperty("LNP_USE_WEIGHT", value)
|
|
72
|
+
def getInitialTemperature(self) -> float:
|
|
73
|
+
return self._getDoubleProperty("LNP_THERAMAL_INITIAL_TEMPERATURE")
|
|
74
|
+
def setInitialTemperature(self, value: float):
|
|
75
|
+
return self._setDoubleProperty("LNP_THERAMAL_INITIAL_TEMPERATURE", value)
|
|
76
|
+
def getReinforcement(self) -> bool:
|
|
77
|
+
return self._getBoolProperty("LNP_USE_REINFORCEMENT")
|
|
78
|
+
def setReinforcement(self, value: bool):
|
|
79
|
+
return self._setBoolProperty("LNP_USE_REINFORCEMENT", value)
|
|
80
|
+
def getSpacing(self) -> float:
|
|
81
|
+
return self._getDoubleProperty("LNP_SPACING")
|
|
82
|
+
def setSpacing(self, value: float):
|
|
83
|
+
return self._setDoubleProperty("LNP_SPACING", value)
|
|
84
|
+
def getSectionDepth(self) -> float:
|
|
85
|
+
return self._getDoubleProperty("LNP_SECTION_DEPTH")
|
|
86
|
+
def setSectionDepth(self, value: float):
|
|
87
|
+
return self._setDoubleProperty("LNP_SECTION_DEPTH", value)
|
|
88
|
+
def getArea(self) -> float:
|
|
89
|
+
return self._getDoubleProperty("LNP_STEELSET_AREA")
|
|
90
|
+
def setArea(self, value: float):
|
|
91
|
+
return self._setDoubleProperty("LNP_STEELSET_AREA", value)
|
|
92
|
+
def getMomentOfInertia(self) -> float:
|
|
93
|
+
return self._getDoubleProperty("LNP_MOMENT_OF_INERTIA")
|
|
94
|
+
def setMomentOfInertia(self, value: float):
|
|
95
|
+
return self._setDoubleProperty("LNP_MOMENT_OF_INERTIA", value)
|
|
96
|
+
def getYoungsModulus(self) -> float:
|
|
97
|
+
return self._getDoubleProperty("LNP_YOUNGS_MODULUS_REIN")
|
|
98
|
+
def setYoungsModulus(self, value: float):
|
|
99
|
+
return self._setDoubleProperty("LNP_YOUNGS_MODULUS_REIN", value)
|
|
100
|
+
def getCompressiveStrength(self) -> float:
|
|
101
|
+
return self._getDoubleProperty("LNP_COMPRESSIVE_STRENGTH_REIN")
|
|
102
|
+
def setCompressiveStrength(self, value: float):
|
|
103
|
+
return self._setDoubleProperty("LNP_COMPRESSIVE_STRENGTH_REIN", value)
|
|
104
|
+
def getTensileStrength(self) -> float:
|
|
105
|
+
return self._getDoubleProperty("LNP_TENSILE_STRENGTH_REIN")
|
|
106
|
+
def setTensileStrength(self, value: float):
|
|
107
|
+
return self._setDoubleProperty("LNP_TENSILE_STRENGTH_REIN", value)
|
|
108
|
+
def getWeight(self) -> float:
|
|
109
|
+
return self._getDoubleProperty("LNP_WEIGHT_REIN")
|
|
110
|
+
def setWeight(self, value: float):
|
|
111
|
+
return self._setDoubleProperty("LNP_WEIGHT_REIN", value)
|
|
112
|
+
def getConcrete(self) -> bool:
|
|
113
|
+
return self._getBoolProperty("LNP_USE_CONCRETE")
|
|
114
|
+
def setConcrete(self, value: bool):
|
|
115
|
+
return self._setBoolProperty("LNP_USE_CONCRETE", value)
|
|
116
|
+
def getThickness(self) -> float:
|
|
117
|
+
return self._getDoubleProperty("LNP_THICKNESS_CONCRETE")
|
|
118
|
+
def setThickness(self, value: float):
|
|
119
|
+
return self._setDoubleProperty("LNP_THICKNESS_CONCRETE", value)
|
|
120
|
+
def getConcreteYoungsModulus(self) -> float:
|
|
121
|
+
return self._getDoubleProperty("LNP_YOUNGS_MODULUS_CONCRETE")
|
|
122
|
+
def setConcreteYoungsModulus(self, value: float):
|
|
123
|
+
return self._setDoubleProperty("LNP_YOUNGS_MODULUS_CONCRETE", value)
|
|
124
|
+
def getPoissonRatio(self) -> float:
|
|
125
|
+
return self._getDoubleProperty("LNP_POISSONS_RATIO_CONCRETE")
|
|
126
|
+
def setPoissonRatio(self, value: float):
|
|
127
|
+
return self._setDoubleProperty("LNP_POISSONS_RATIO_CONCRETE", value)
|
|
128
|
+
def getConcreteCompressiveStrength(self) -> float:
|
|
129
|
+
return self._getDoubleProperty("LNP_COMPRESSIVE_STRENGTH_CONCRETE")
|
|
130
|
+
def setConcreteCompressiveStrength(self, value: float):
|
|
131
|
+
return self._setDoubleProperty("LNP_COMPRESSIVE_STRENGTH_CONCRETE", value)
|
|
132
|
+
def getConcreteTensileStrength(self) -> float:
|
|
133
|
+
return self._getDoubleProperty("LNP_TENSILE_STRENGTH_CONCRETE")
|
|
134
|
+
def setConcreteTensileStrength(self, value: float):
|
|
135
|
+
return self._setDoubleProperty("LNP_TENSILE_STRENGTH_CONCRETE", value)
|
|
136
|
+
def getMaterialType(self) -> MaterialType:
|
|
137
|
+
return MaterialType(self._getEnumEMaterialAnalysisTypesProperty("LNP_MATERIAL_TYPE"))
|
|
138
|
+
def setMaterialType(self, value: MaterialType):
|
|
139
|
+
return self._setEnumEMaterialAnalysisTypesProperty("LNP_MATERIAL_TYPE", value)
|
|
140
|
+
def getSlidingGap(self) -> bool:
|
|
141
|
+
return self._getBoolProperty("LNP_USE_SLIDING_GAP")
|
|
142
|
+
def setSlidingGap(self, value: bool):
|
|
143
|
+
return self._setBoolProperty("LNP_USE_SLIDING_GAP", value)
|
|
144
|
+
def getStrainAtLocking(self) -> float:
|
|
145
|
+
return self._getDoubleProperty("LNP_STRAIN_AT_LOCKING")
|
|
146
|
+
def setStrainAtLocking(self, value: float):
|
|
147
|
+
return self._setDoubleProperty("LNP_STRAIN_AT_LOCKING", value)
|
|
148
|
+
def getBeamElementFormulation(self) -> LinerFormulation:
|
|
149
|
+
return LinerFormulation(self._getEnumELinerFormulationProperty("LNP_BEAM_ELEMENT_FORMULATION"))
|
|
150
|
+
def setBeamElementFormulation(self, value: LinerFormulation):
|
|
151
|
+
return self._setEnumELinerFormulationProperty("LNP_BEAM_ELEMENT_FORMULATION", value)
|
|
152
|
+
def getAxialStrainExpansion(self) -> float:
|
|
153
|
+
return self._getDoubleProperty("LNP_AXIAL_STRAIN")
|
|
154
|
+
def setAxialStrainExpansion(self, value: float):
|
|
155
|
+
return self._setDoubleProperty("LNP_AXIAL_STRAIN", value)
|
|
156
|
+
def getActivateThermal(self) -> bool:
|
|
157
|
+
return self._getBoolProperty("LNP_THERAMAL_ACTIVATE")
|
|
158
|
+
def setActivateThermal(self, value: bool):
|
|
159
|
+
return self._setBoolProperty("LNP_THERAMAL_ACTIVATE", value)
|
|
160
|
+
def getStaticTemperatureMode(self) -> StaticWaterModes:
|
|
161
|
+
return StaticWaterModes(self._getEnumEStaticWaterModesProperty("LNP_STATIC_TEMPERATURE_METHOD"))
|
|
162
|
+
def setStaticTemperatureMode(self, value: StaticWaterModes):
|
|
163
|
+
return self._setEnumEStaticWaterModesProperty("LNP_STATIC_TEMPERATURE_METHOD", value)
|
|
164
|
+
def getStaticTemperature(self) -> float:
|
|
165
|
+
return self._getDoubleProperty("LNP_STATIC_TEMPERATURE_CONST")
|
|
166
|
+
def setStaticTemperature(self, value: float):
|
|
167
|
+
return self._setDoubleProperty("LNP_STATIC_TEMPERATURE_CONST", value)
|
|
168
|
+
def getConductivity(self) -> float:
|
|
169
|
+
return self._getDoubleProperty("LNP_THERAMAL_CONDUCTIVITY")
|
|
170
|
+
def setConductivity(self, value: float):
|
|
171
|
+
return self._setDoubleProperty("LNP_THERAMAL_CONDUCTIVITY", value)
|
|
172
|
+
def getSpecificHeatCapacity(self) -> float:
|
|
173
|
+
return self._getDoubleProperty("LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY")
|
|
174
|
+
def setSpecificHeatCapacity(self, value: float):
|
|
175
|
+
return self._setDoubleProperty("LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY", value)
|
|
176
|
+
def getThermalExpansion(self) -> bool:
|
|
177
|
+
return self._getBoolProperty("LNP_THERAMAL_EXPANSION_IS_ON")
|
|
178
|
+
def setThermalExpansion(self, value: bool):
|
|
179
|
+
return self._setBoolProperty("LNP_THERAMAL_EXPANSION_IS_ON", value)
|
|
180
|
+
def getExpansionCoefficient(self) -> float:
|
|
181
|
+
return self._getDoubleProperty("LNP_THERAMAL_EXPANSION_ALPHA")
|
|
182
|
+
def setExpansionCoefficient(self, value: float):
|
|
183
|
+
return self._setDoubleProperty("LNP_THERAMAL_EXPANSION_ALPHA", value)
|
|
184
|
+
def getStageConcreteProperties(self) -> bool:
|
|
185
|
+
return self._getBoolProperty("LNP_USE_STAGE_CONCRETE")
|
|
186
|
+
def setStageConcreteProperties(self, value: bool):
|
|
187
|
+
return self._setBoolProperty("LNP_USE_STAGE_CONCRETE", value)
|
|
188
|
+
def getStaticTemperatureGridToUse(self) -> str:
|
|
189
|
+
return self._callFunction("getStaticTemperatureGridToUse", [])
|
|
190
|
+
def setStaticTemperatureGridToUse(self, gridName: str):
|
|
191
|
+
"""
|
|
192
|
+
Grids "None" and "Default Grid" available by default.
|
|
193
|
+
"""
|
|
194
|
+
return self._callFunction("setStaticTemperatureGridToUse", [gridName])
|
|
195
|
+
def setProperties(self, ConcreteUnitWeight : float = None, IncludeWeightInStressAnalysis : bool = None, InitialTemperature : float = None, Reinforcement : bool = None, Spacing : float = None, SectionDepth : float = None, Area : float = None, MomentOfInertia : float = None, YoungsModulus : float = None, CompressiveStrength : float = None, TensileStrength : float = None, Weight : float = None, Concrete : bool = None, Thickness : float = None, ConcreteYoungsModulus : float = None, PoissonRatio : float = None, ConcreteCompressiveStrength : float = None, ConcreteTensileStrength : float = None, MaterialType : MaterialType = None, SlidingGap : bool = None, StrainAtLocking : float = None, BeamElementFormulation : LinerFormulation = None, AxialStrainExpansion : float = None, ActivateThermal : bool = None, StaticTemperatureMode : StaticWaterModes = None, StaticTemperature : float = None, Conductivity : float = None, SpecificHeatCapacity : float = None, ThermalExpansion : bool = None, ExpansionCoefficient : float = None, StageConcreteProperties : bool = None):
|
|
196
|
+
if ConcreteUnitWeight is not None:
|
|
197
|
+
self._setDoubleProperty("LNP_UNIT_WEIGTH_CONCRETE", ConcreteUnitWeight)
|
|
198
|
+
if IncludeWeightInStressAnalysis is not None:
|
|
199
|
+
self._setBoolProperty("LNP_USE_WEIGHT", IncludeWeightInStressAnalysis)
|
|
200
|
+
if InitialTemperature is not None:
|
|
201
|
+
self._setDoubleProperty("LNP_THERAMAL_INITIAL_TEMPERATURE", InitialTemperature)
|
|
202
|
+
if Reinforcement is not None:
|
|
203
|
+
self._setBoolProperty("LNP_USE_REINFORCEMENT", Reinforcement)
|
|
204
|
+
if Spacing is not None:
|
|
205
|
+
self._setDoubleProperty("LNP_SPACING", Spacing)
|
|
206
|
+
if SectionDepth is not None:
|
|
207
|
+
self._setDoubleProperty("LNP_SECTION_DEPTH", SectionDepth)
|
|
208
|
+
if Area is not None:
|
|
209
|
+
self._setDoubleProperty("LNP_STEELSET_AREA", Area)
|
|
210
|
+
if MomentOfInertia is not None:
|
|
211
|
+
self._setDoubleProperty("LNP_MOMENT_OF_INERTIA", MomentOfInertia)
|
|
212
|
+
if YoungsModulus is not None:
|
|
213
|
+
self._setDoubleProperty("LNP_YOUNGS_MODULUS_REIN", YoungsModulus)
|
|
214
|
+
if CompressiveStrength is not None:
|
|
215
|
+
self._setDoubleProperty("LNP_COMPRESSIVE_STRENGTH_REIN", CompressiveStrength)
|
|
216
|
+
if TensileStrength is not None:
|
|
217
|
+
self._setDoubleProperty("LNP_TENSILE_STRENGTH_REIN", TensileStrength)
|
|
218
|
+
if Weight is not None:
|
|
219
|
+
self._setDoubleProperty("LNP_WEIGHT_REIN", Weight)
|
|
220
|
+
if Concrete is not None:
|
|
221
|
+
self._setBoolProperty("LNP_USE_CONCRETE", Concrete)
|
|
222
|
+
if Thickness is not None:
|
|
223
|
+
self._setDoubleProperty("LNP_THICKNESS_CONCRETE", Thickness)
|
|
224
|
+
if ConcreteYoungsModulus is not None:
|
|
225
|
+
self._setDoubleProperty("LNP_YOUNGS_MODULUS_CONCRETE", ConcreteYoungsModulus)
|
|
226
|
+
if PoissonRatio is not None:
|
|
227
|
+
self._setDoubleProperty("LNP_POISSONS_RATIO_CONCRETE", PoissonRatio)
|
|
228
|
+
if ConcreteCompressiveStrength is not None:
|
|
229
|
+
self._setDoubleProperty("LNP_COMPRESSIVE_STRENGTH_CONCRETE", ConcreteCompressiveStrength)
|
|
230
|
+
if ConcreteTensileStrength is not None:
|
|
231
|
+
self._setDoubleProperty("LNP_TENSILE_STRENGTH_CONCRETE", ConcreteTensileStrength)
|
|
232
|
+
if MaterialType is not None:
|
|
233
|
+
self._setEnumEMaterialAnalysisTypesProperty("LNP_MATERIAL_TYPE", MaterialType)
|
|
234
|
+
if SlidingGap is not None:
|
|
235
|
+
self._setBoolProperty("LNP_USE_SLIDING_GAP", SlidingGap)
|
|
236
|
+
if StrainAtLocking is not None:
|
|
237
|
+
self._setDoubleProperty("LNP_STRAIN_AT_LOCKING", StrainAtLocking)
|
|
238
|
+
if BeamElementFormulation is not None:
|
|
239
|
+
self._setEnumELinerFormulationProperty("LNP_BEAM_ELEMENT_FORMULATION", BeamElementFormulation)
|
|
240
|
+
if AxialStrainExpansion is not None:
|
|
241
|
+
self._setDoubleProperty("LNP_AXIAL_STRAIN", AxialStrainExpansion)
|
|
242
|
+
if ActivateThermal is not None:
|
|
243
|
+
self._setBoolProperty("LNP_THERAMAL_ACTIVATE", ActivateThermal)
|
|
244
|
+
if StaticTemperatureMode is not None:
|
|
245
|
+
self._setEnumEStaticWaterModesProperty("LNP_STATIC_TEMPERATURE_METHOD", StaticTemperatureMode)
|
|
246
|
+
if StaticTemperature is not None:
|
|
247
|
+
self._setDoubleProperty("LNP_STATIC_TEMPERATURE_CONST", StaticTemperature)
|
|
248
|
+
if Conductivity is not None:
|
|
249
|
+
self._setDoubleProperty("LNP_THERAMAL_CONDUCTIVITY", Conductivity)
|
|
250
|
+
if SpecificHeatCapacity is not None:
|
|
251
|
+
self._setDoubleProperty("LNP_THERAMAL_SPECIFIC_HEAT_CAPACITY", SpecificHeatCapacity)
|
|
252
|
+
if ThermalExpansion is not None:
|
|
253
|
+
self._setBoolProperty("LNP_THERAMAL_EXPANSION_IS_ON", ThermalExpansion)
|
|
254
|
+
if ExpansionCoefficient is not None:
|
|
255
|
+
self._setDoubleProperty("LNP_THERAMAL_EXPANSION_ALPHA", ExpansionCoefficient)
|
|
256
|
+
if StageConcreteProperties is not None:
|
|
257
|
+
self._setBoolProperty("LNP_USE_STAGE_CONCRETE", StageConcreteProperties)
|
|
258
|
+
def getProperties(self):
|
|
259
|
+
return {
|
|
260
|
+
"ConcreteUnitWeight" : self.getConcreteUnitWeight(),
|
|
261
|
+
"IncludeWeightInStressAnalysis" : self.getIncludeWeightInStressAnalysis(),
|
|
262
|
+
"InitialTemperature" : self.getInitialTemperature(),
|
|
263
|
+
"Reinforcement" : self.getReinforcement(),
|
|
264
|
+
"Spacing" : self.getSpacing(),
|
|
265
|
+
"SectionDepth" : self.getSectionDepth(),
|
|
266
|
+
"Area" : self.getArea(),
|
|
267
|
+
"MomentOfInertia" : self.getMomentOfInertia(),
|
|
268
|
+
"YoungsModulus" : self.getYoungsModulus(),
|
|
269
|
+
"CompressiveStrength" : self.getCompressiveStrength(),
|
|
270
|
+
"TensileStrength" : self.getTensileStrength(),
|
|
271
|
+
"Weight" : self.getWeight(),
|
|
272
|
+
"Concrete" : self.getConcrete(),
|
|
273
|
+
"Thickness" : self.getThickness(),
|
|
274
|
+
"ConcreteYoungsModulus" : self.getConcreteYoungsModulus(),
|
|
275
|
+
"PoissonRatio" : self.getPoissonRatio(),
|
|
276
|
+
"ConcreteCompressiveStrength" : self.getConcreteCompressiveStrength(),
|
|
277
|
+
"ConcreteTensileStrength" : self.getConcreteTensileStrength(),
|
|
278
|
+
"MaterialType" : self.getMaterialType(),
|
|
279
|
+
"SlidingGap" : self.getSlidingGap(),
|
|
280
|
+
"StrainAtLocking" : self.getStrainAtLocking(),
|
|
281
|
+
"BeamElementFormulation" : self.getBeamElementFormulation(),
|
|
282
|
+
"AxialStrainExpansion" : self.getAxialStrainExpansion(),
|
|
283
|
+
"ActivateThermal" : self.getActivateThermal(),
|
|
284
|
+
"StaticTemperatureMode" : self.getStaticTemperatureMode(),
|
|
285
|
+
"StaticTemperature" : self.getStaticTemperature(),
|
|
286
|
+
"Conductivity" : self.getConductivity(),
|
|
287
|
+
"SpecificHeatCapacity" : self.getSpecificHeatCapacity(),
|
|
288
|
+
"ThermalExpansion" : self.getThermalExpansion(),
|
|
289
|
+
"ExpansionCoefficient" : self.getExpansionCoefficient(),
|
|
290
|
+
"StageConcreteProperties" : self.getStageConcreteProperties(),
|
|
291
|
+
}
|