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.
Files changed (188) hide show
  1. RS2Scripting-11.23.0.dist-info/License.txt +20 -0
  2. RS2Scripting-11.23.0.dist-info/METADATA +147 -0
  3. RS2Scripting-11.23.0.dist-info/RECORD +188 -0
  4. RS2Scripting-11.23.0.dist-info/WHEEL +5 -0
  5. RS2Scripting-11.23.0.dist-info/top_level.txt +1 -0
  6. rs2/BaseModel.py +46 -0
  7. rs2/Units.py +6 -0
  8. rs2/__init__.py +0 -0
  9. rs2/_common/Client.py +67 -0
  10. rs2/_common/ProxyObject.py +12 -0
  11. rs2/_common/__init__.py +0 -0
  12. rs2/_common/documentProxy.py +5 -0
  13. rs2/interpreter/InterpreterEnums.py +86 -0
  14. rs2/interpreter/InterpreterGraphEnums.py +54 -0
  15. rs2/interpreter/InterpreterModel.py +328 -0
  16. rs2/interpreter/RS2Interpreter.py +78 -0
  17. rs2/interpreter/_UtilityResult.py +20 -0
  18. rs2/interpreter/__init__.py +0 -0
  19. rs2/interpreter/queryResults/HistoryQueryResults.py +30 -0
  20. rs2/interpreter/queryResults/MaterialQueryResults.py +67 -0
  21. rs2/interpreter/queryResults/MeshResults.py +12 -0
  22. rs2/interpreter/queryResults/TimeQueryResults.py +111 -0
  23. rs2/interpreter/queryResults/__init__.py +0 -0
  24. rs2/interpreter/supportResults/BoltResult.py +49 -0
  25. rs2/interpreter/supportResults/CompositeResult.py +24 -0
  26. rs2/interpreter/supportResults/JointResult.py +25 -0
  27. rs2/interpreter/supportResults/LinerResult.py +33 -0
  28. rs2/interpreter/supportResults/__init__.py +0 -0
  29. rs2/modeler/Model.py +350 -0
  30. rs2/modeler/RS2Modeler.py +81 -0
  31. rs2/modeler/__init__.py +0 -0
  32. rs2/modeler/properties/AbsoluteStageFactorGettersInterface.py +31 -0
  33. rs2/modeler/properties/AbsoluteStageFactorInterface.py +49 -0
  34. rs2/modeler/properties/CompositeProperty.py +81 -0
  35. rs2/modeler/properties/DiscreteFunction.py +43 -0
  36. rs2/modeler/properties/MaterialJoint.py +25 -0
  37. rs2/modeler/properties/MaterialJointOptions.py +28 -0
  38. rs2/modeler/properties/PropertyEnums.py +376 -0
  39. rs2/modeler/properties/RelativeStageFactorInterface.py +50 -0
  40. rs2/modeler/properties/ShearNormalFunction.py +45 -0
  41. rs2/modeler/properties/SnowdenAnisotropicFunction.py +56 -0
  42. rs2/modeler/properties/StructuralInterface.py +59 -0
  43. rs2/modeler/properties/UserDefinedWaterMode.py +21 -0
  44. rs2/modeler/properties/__init__.py +0 -0
  45. rs2/modeler/properties/bolt/Bolt.py +33 -0
  46. rs2/modeler/properties/bolt/EndAnchored.py +59 -0
  47. rs2/modeler/properties/bolt/FullyBonded.py +66 -0
  48. rs2/modeler/properties/bolt/PlainStrandCable.py +112 -0
  49. rs2/modeler/properties/bolt/Swellex.py +136 -0
  50. rs2/modeler/properties/bolt/Tieback.py +192 -0
  51. rs2/modeler/properties/bolt/__init__.py +0 -0
  52. rs2/modeler/properties/joint/BartonBandis.py +143 -0
  53. rs2/modeler/properties/joint/BartonBandisMaterial.py +82 -0
  54. rs2/modeler/properties/joint/DisplacementDependent.py +134 -0
  55. rs2/modeler/properties/joint/GeosyntheticHyperbolic.py +147 -0
  56. rs2/modeler/properties/joint/GeosyntheticHyperbolicMaterial.py +93 -0
  57. rs2/modeler/properties/joint/HyperbolicSoftening.py +202 -0
  58. rs2/modeler/properties/joint/Joint.py +57 -0
  59. rs2/modeler/properties/joint/MaterialDependent.py +128 -0
  60. rs2/modeler/properties/joint/MohrCoulomb.py +211 -0
  61. rs2/modeler/properties/joint/MohrCoulombMaterial.py +115 -0
  62. rs2/modeler/properties/joint/NoneSlip.py +103 -0
  63. rs2/modeler/properties/joint/__init__.py +0 -0
  64. rs2/modeler/properties/liner/CableTruss.py +199 -0
  65. rs2/modeler/properties/liner/Geosynthetic.py +167 -0
  66. rs2/modeler/properties/liner/Liner.py +31 -0
  67. rs2/modeler/properties/liner/ReinforcedConcrete.py +291 -0
  68. rs2/modeler/properties/liner/StandardBeam.py +268 -0
  69. rs2/modeler/properties/liner/__init__.py +0 -0
  70. rs2/modeler/properties/material/InitialConditions.py +152 -0
  71. rs2/modeler/properties/material/MaterialProperty.py +49 -0
  72. rs2/modeler/properties/material/StageFactors.py +100 -0
  73. rs2/modeler/properties/material/__init__.py +0 -0
  74. rs2/modeler/properties/material/datum/BaseDatum.py +23 -0
  75. rs2/modeler/properties/material/datum/Datum.py +79 -0
  76. rs2/modeler/properties/material/datum/PeakResidualDatum.py +31 -0
  77. rs2/modeler/properties/material/datum/SimpleDatum.py +17 -0
  78. rs2/modeler/properties/material/datum/__init__.py +0 -0
  79. rs2/modeler/properties/material/hydraulic/FEAGroundwater/Brooks.py +106 -0
  80. rs2/modeler/properties/material/hydraulic/FEAGroundwater/Constant.py +54 -0
  81. rs2/modeler/properties/material/hydraulic/FEAGroundwater/FEAGroundwater.py +82 -0
  82. rs2/modeler/properties/material/hydraulic/FEAGroundwater/Fredlund.py +117 -0
  83. rs2/modeler/properties/material/hydraulic/FEAGroundwater/Gardner.py +106 -0
  84. rs2/modeler/properties/material/hydraulic/FEAGroundwater/Genuchten.py +124 -0
  85. rs2/modeler/properties/material/hydraulic/FEAGroundwater/Simple.py +91 -0
  86. rs2/modeler/properties/material/hydraulic/FEAGroundwater/UserDefined.py +10 -0
  87. rs2/modeler/properties/material/hydraulic/FEAGroundwater/__init__.py +0 -0
  88. rs2/modeler/properties/material/hydraulic/Hydraulic.py +41 -0
  89. rs2/modeler/properties/material/hydraulic/StaticGroundwater.py +85 -0
  90. rs2/modeler/properties/material/hydraulic/__init__.py +0 -0
  91. rs2/modeler/properties/material/stiffness/ChSoil.py +45 -0
  92. rs2/modeler/properties/material/stiffness/Custom.py +83 -0
  93. rs2/modeler/properties/material/stiffness/CySoil.py +45 -0
  94. rs2/modeler/properties/material/stiffness/DoubleYield.py +45 -0
  95. rs2/modeler/properties/material/stiffness/HardeningSoil.py +73 -0
  96. rs2/modeler/properties/material/stiffness/HardeningSoilSmallStrainStiffness.py +73 -0
  97. rs2/modeler/properties/material/stiffness/Isotropic.py +122 -0
  98. rs2/modeler/properties/material/stiffness/ManzariAndDafalias.py +38 -0
  99. rs2/modeler/properties/material/stiffness/NonLinearHyperbolic.py +117 -0
  100. rs2/modeler/properties/material/stiffness/NonLinearIsotropic.py +255 -0
  101. rs2/modeler/properties/material/stiffness/Norsand.py +45 -0
  102. rs2/modeler/properties/material/stiffness/Orthotropic.py +180 -0
  103. rs2/modeler/properties/material/stiffness/Pm4Sand.py +80 -0
  104. rs2/modeler/properties/material/stiffness/Pm4Silt.py +87 -0
  105. rs2/modeler/properties/material/stiffness/SoftSoil.py +24 -0
  106. rs2/modeler/properties/material/stiffness/SoftSoilCreep.py +24 -0
  107. rs2/modeler/properties/material/stiffness/Stiffness.py +53 -0
  108. rs2/modeler/properties/material/stiffness/SwellingRock.py +52 -0
  109. rs2/modeler/properties/material/stiffness/TransverselyIsotropic.py +145 -0
  110. rs2/modeler/properties/material/stiffness/ViscoElastic.py +59 -0
  111. rs2/modeler/properties/material/stiffness/__init__.py +0 -0
  112. rs2/modeler/properties/material/strength/AnisotropicLinear.py +150 -0
  113. rs2/modeler/properties/material/strength/BarcelonaBasic.py +176 -0
  114. rs2/modeler/properties/material/strength/BartonBandisStrength.py +59 -0
  115. rs2/modeler/properties/material/strength/BoundingSurfacePlasticity.py +66 -0
  116. rs2/modeler/properties/material/strength/CamClay.py +113 -0
  117. rs2/modeler/properties/material/strength/ChSoilStrength.py +66 -0
  118. rs2/modeler/properties/material/strength/CySoilStrength.py +94 -0
  119. rs2/modeler/properties/material/strength/DiscreteFunction.py +41 -0
  120. rs2/modeler/properties/material/strength/DoubleYieldStrength.py +94 -0
  121. rs2/modeler/properties/material/strength/DruckerPrager.py +113 -0
  122. rs2/modeler/properties/material/strength/Finn.py +129 -0
  123. rs2/modeler/properties/material/strength/GeneralizedAnisotropic.py +20 -0
  124. rs2/modeler/properties/material/strength/GeneralizedHoekBrown.py +195 -0
  125. rs2/modeler/properties/material/strength/HardeningSoilStrength.py +101 -0
  126. rs2/modeler/properties/material/strength/HardeningSoilWithSmallStrainStiffness.py +101 -0
  127. rs2/modeler/properties/material/strength/HoekBrown.py +102 -0
  128. rs2/modeler/properties/material/strength/Hyperbolic.py +59 -0
  129. rs2/modeler/properties/material/strength/JointedGeneralizedHoekBrown.py +198 -0
  130. rs2/modeler/properties/material/strength/JointedMohrCoulomb.py +116 -0
  131. rs2/modeler/properties/material/strength/ManzariAndDafaliasStrength.py +108 -0
  132. rs2/modeler/properties/material/strength/ModifiedCamClay.py +113 -0
  133. rs2/modeler/properties/material/strength/MohrCoulombStrength.py +113 -0
  134. rs2/modeler/properties/material/strength/MohrCoulombWithCap.py +112 -0
  135. rs2/modeler/properties/material/strength/NorSandStrength.py +101 -0
  136. rs2/modeler/properties/material/strength/PM4SandStrength.py +178 -0
  137. rs2/modeler/properties/material/strength/PM4SiltStrength.py +241 -0
  138. rs2/modeler/properties/material/strength/PowerCurve.py +101 -0
  139. rs2/modeler/properties/material/strength/Shansep.py +172 -0
  140. rs2/modeler/properties/material/strength/ShearNormalFunction.py +21 -0
  141. rs2/modeler/properties/material/strength/SnowdenModAnisotropicLinear.py +78 -0
  142. rs2/modeler/properties/material/strength/SoftSoilCreepStrength.py +87 -0
  143. rs2/modeler/properties/material/strength/SoftSoilStrength.py +80 -0
  144. rs2/modeler/properties/material/strength/SofteningHardeningModel.py +150 -0
  145. rs2/modeler/properties/material/strength/Strength.py +185 -0
  146. rs2/modeler/properties/material/strength/SwellingRockStrength.py +122 -0
  147. rs2/modeler/properties/material/strength/VerticalStressRatio.py +94 -0
  148. rs2/modeler/properties/material/strength/__init__.py +0 -0
  149. rs2/modeler/properties/material/thermal/Thermal.py +74 -0
  150. rs2/modeler/properties/material/thermal/__init__.py +0 -0
  151. rs2/modeler/properties/material/thermal/conductivity/Conductivity.py +27 -0
  152. rs2/modeler/properties/material/thermal/conductivity/ConstantConductivity.py +31 -0
  153. rs2/modeler/properties/material/thermal/conductivity/CoteAndKonrad.py +45 -0
  154. rs2/modeler/properties/material/thermal/conductivity/Derives.py +17 -0
  155. rs2/modeler/properties/material/thermal/conductivity/Johansen.py +45 -0
  156. rs2/modeler/properties/material/thermal/conductivity/JohansenLu.py +24 -0
  157. rs2/modeler/properties/material/thermal/conductivity/Tabular.py +31 -0
  158. rs2/modeler/properties/material/thermal/conductivity/__init__.py +0 -0
  159. rs2/modeler/properties/material/thermal/heatcapacity/ConstantHeatCapacity.py +38 -0
  160. rs2/modeler/properties/material/thermal/heatcapacity/CustomHeatCapacity.py +38 -0
  161. rs2/modeler/properties/material/thermal/heatcapacity/HeatCapacity.py +21 -0
  162. rs2/modeler/properties/material/thermal/heatcapacity/JameNewman.py +24 -0
  163. rs2/modeler/properties/material/thermal/heatcapacity/__init__.py +0 -0
  164. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/CustomWaterContent.py +13 -0
  165. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/Konrad.py +31 -0
  166. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/SoilUnfrozenWaterContent.py +23 -0
  167. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/TiceAnderson.py +31 -0
  168. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/__init__.py +0 -0
  169. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/BrooksWaterContent.py +24 -0
  170. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/FredlundWaterContent.py +31 -0
  171. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/GardnerWaterContent.py +24 -0
  172. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/GenuchtenWaterContent.py +38 -0
  173. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/HydraulicModel.py +37 -0
  174. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/SimpleWaterContent.py +17 -0
  175. rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/__init__.py +0 -0
  176. rs2/modeler/properties/pile/Beam.py +34 -0
  177. rs2/modeler/properties/pile/Elastic.py +45 -0
  178. rs2/modeler/properties/pile/ForceDisplacement.py +59 -0
  179. rs2/modeler/properties/pile/Linear.py +59 -0
  180. rs2/modeler/properties/pile/MaterialDependentPile.py +87 -0
  181. rs2/modeler/properties/pile/MohrCoulombPile.py +94 -0
  182. rs2/modeler/properties/pile/MultiLinear.py +56 -0
  183. rs2/modeler/properties/pile/Pile.py +63 -0
  184. rs2/modeler/properties/pile/__init__.py +0 -0
  185. rs2/modeler/properties/propertyProxy.py +283 -0
  186. rs2/utilities/ApplicationManager.py +64 -0
  187. rs2/utilities/ColorPicker.py +78 -0
  188. rs2/utilities/__init__.py +0 -0
@@ -0,0 +1,31 @@
1
+ from rs2._common.ProxyObject import ProxyObject
2
+ from typing import Generic
3
+ from typing import TypeVar
4
+ from rs2.modeler.properties.PropertyEnums import *
5
+
6
+ DefinedStageFactor = TypeVar('DefinedStageFactor', bound=ProxyObject)
7
+ StageFactor = TypeVar('StageFactor', bound=ProxyObject)
8
+
9
+ class AbsoluteStageFactorGettersInterface(ProxyObject, Generic[DefinedStageFactor, StageFactor]):
10
+
11
+ def __init__(self, client, proxyId, propertyID, definedFactorClass, factorClass):
12
+ super().__init__(client, proxyId)
13
+ self._definedStageFactorType = definedFactorClass
14
+ self._stageFactorType = factorClass
15
+ self.propertyID = propertyID
16
+
17
+ def getDefinedStageFactors(self) -> dict[int, DefinedStageFactor]:
18
+ """
19
+ Returns a map of stage factors. The key is the stage at which the stage factor is applied. The value is the stage factor object
20
+ """
21
+ stageFactorReferenceIds = self._callFunction('getDefinedStageFactors', [], keepReturnValueReference=True)
22
+ stageFactors = {}
23
+ for stageKey in stageFactorReferenceIds :
24
+ stageFactors[stageKey] = self._definedStageFactorType(self._client, stageFactorReferenceIds[stageKey], self.propertyID)
25
+ return stageFactors
26
+ def getStageFactor(self, stage: int) -> StageFactor:
27
+ """
28
+ Returns the stage factor for the given stage.
29
+ """
30
+ factorReferenceID = self._callFunction('getStageFactor', [stage], keepReturnValueReference=True)
31
+ return self._stageFactorType(self._client, factorReferenceID, self.propertyID)
@@ -0,0 +1,49 @@
1
+ from rs2._common.ProxyObject import ProxyObject
2
+ from typing import Generic
3
+ from typing import TypeVar
4
+ from rs2.modeler.properties.PropertyEnums import *
5
+
6
+ DefinedStageFactor = TypeVar('DefinedStageFactor', bound=ProxyObject)
7
+ StageFactor = TypeVar('StageFactor', bound=ProxyObject)
8
+
9
+ class AbsoluteStageFactorInterface(ProxyObject, Generic[DefinedStageFactor, StageFactor]):
10
+
11
+ def __init__(self, client, proxyId, propertyID, definedFactorClass, factorClass):
12
+ super().__init__(client, proxyId)
13
+ self._definedStageFactorType = definedFactorClass
14
+ self._stageFactorType = factorClass
15
+ self.propertyID = propertyID
16
+
17
+ def getDefinedStageFactors(self) -> dict[int, DefinedStageFactor]:
18
+ """
19
+ Returns a map of stage factors. The key is the stage at which the stage factor is applied. The value is the stage factor object
20
+ """
21
+ stageFactorReferenceIds = self._callFunction('getDefinedStageFactors', [], keepReturnValueReference=True)
22
+ stageFactors = {}
23
+ for stageKey in stageFactorReferenceIds :
24
+ stageFactors[stageKey] = self._definedStageFactorType(self._client, stageFactorReferenceIds[stageKey], self.propertyID)
25
+ return stageFactors
26
+ def getStageFactor(self, stage: int) -> StageFactor:
27
+ """
28
+ Returns the stage factor for the given stage.
29
+ """
30
+ factorReferenceID = self._callFunction('getStageFactor', [stage], keepReturnValueReference=True)
31
+ return self._stageFactorType(self._client, factorReferenceID, self.propertyID)
32
+ def createStageFactor(self, stage: int) -> DefinedStageFactor:
33
+ """
34
+ Creates a stage factor for the given stage.
35
+
36
+ NOTE: Invalidates any existing stage factor proxies. Get them again using getDefinedStageFactors or getStageFactor.
37
+ """
38
+ factorReferenceID = self._callFunction('createStageFactor', [stage], keepReturnValueReference=True)
39
+ return self._definedStageFactorType(self._client, factorReferenceID, self.propertyID)
40
+ def setDefinedStageFactors(self, stageFactors: dict[int, StageFactor]):
41
+ """
42
+ Sets the defined stage factors to those given.
43
+
44
+ NOTE: Invalidates any existing stage factor proxies. Get them again using getDefinedStageFactors or getStageFactor.
45
+ """
46
+ stageFactorIdMap = {}
47
+ for stage in stageFactors :
48
+ stageFactorIdMap[stage] = stageFactors[stage]._ID
49
+ return self._callFunction("setDefinedStageFactors", [stageFactorIdMap], proxyArgumentIndices = [0])
@@ -0,0 +1,81 @@
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
+ class CompositeProperty(PropertyProxy):
7
+ """
8
+ :ref:`Composite Liner Example`
9
+ """
10
+ def getCompositeName(self) -> str:
11
+ return self._getCStringProperty("CLP_NAME")
12
+ def setCompositeName(self, value: str):
13
+ return self._setCStringProperty("CLP_NAME", value)
14
+ def getCompositeColor(self) -> int:
15
+ return self._getUnsignedLongProperty("CLP_COLOR")
16
+ def setCompositeColor(self, value: int):
17
+ return self._setUnsignedLongProperty("CLP_COLOR", value)
18
+ def getJointPlacement(self) -> CompositeJointPlacementTypes:
19
+ return CompositeJointPlacementTypes(self._getEnumECompositeJointPlacementProperty("CLP_JOINT_PLACEMENT"))
20
+ def setJointPlacement(self, value: CompositeJointPlacementTypes):
21
+ return self._setEnumECompositeJointPlacementProperty("CLP_JOINT_PLACEMENT", value)
22
+ def getCompositeJointPropertyName(self) -> str:
23
+ """
24
+ Returns the applied joint name
25
+ """
26
+ return self._callFunction("getCompositeJointPropertyName", [])
27
+ def setCompositeJointPropertyByName(self, jointName: str):
28
+ """
29
+ Set joint by name
30
+ """
31
+ return self._callFunction("setCompositeJointPropertyByName", [jointName])
32
+ def getCompositeLinerPropertyName(self, layerNumber: int) -> str:
33
+ """
34
+ Returns the liner name for specified layer number
35
+ """
36
+ return self._callFunction("getCompositeLinerPropertyName", [layerNumber])
37
+ def setCompositeLinerPropertyByName(self, layerNumber: int, linerName: str):
38
+ """
39
+ Set liner by name for specified layer number
40
+ """
41
+ return self._callFunction("setCompositeLinerPropertyByName", [layerNumber, linerName])
42
+ def getNumberOfLayers(self) -> int:
43
+ """
44
+ Returns number of layers
45
+ """
46
+ return self._callFunction("getNumberOfLayers", [])
47
+ def setNumberOfLayers(self, num_layers: int):
48
+ """
49
+ Set number of layers
50
+ """
51
+ return self._callFunction("setNumberOfLayers", [num_layers])
52
+ def getJointApplied(self) -> bool:
53
+ """
54
+ Returns boolean indicating whether joint interface is applied or not
55
+ """
56
+ return self._callFunction("getJointApplied", [])
57
+ def setJointApplied(self, joint_applied: bool):
58
+ """
59
+ Set joint interface as boolean
60
+ """
61
+ return self._callFunction("setJointApplied", [joint_applied])
62
+ def getInstallDelay(self, layerNumber: int) -> int:
63
+ """
64
+ Returns install delay as integer for specified layer number
65
+ """
66
+ return self._callFunction("getInstallDelay", [layerNumber])
67
+ def setInstallDelay(self, layerNumber: int, stagesBelow: int):
68
+ """
69
+ Set install delay for specified layer number. Please note that install delay cannot be set for first layer.
70
+ """
71
+ return self._callFunction("setInstallDelay", [layerNumber, stagesBelow])
72
+ def getRemovedStage(self, layerNumber: int) -> int:
73
+ """
74
+ Returns removed stages as integer for specified layer number
75
+ """
76
+ return self._callFunction("getRemovedStage", [layerNumber])
77
+ def setRemovedStage(self, layerNumber: int, stagesBelow: int):
78
+ """
79
+ Set removed stages for specified layer number. To set the removed stages to "Never", please set stagesBelow to -1
80
+ """
81
+ return self._callFunction("setRemovedStage", [layerNumber, stagesBelow])
@@ -0,0 +1,43 @@
1
+ from rs2._common.ProxyObject import ProxyObject
2
+ from rs2.modeler.properties.PropertyEnums import *
3
+ class DiscreteFunction(ProxyObject):
4
+ def setFunctionParameters(self, functionType : DiscreteDrainedMode, useModulus : bool, residualStrengthFactor : float, peakTensileStrength : float, residualTensileStrength : float, useModulusResidual : bool = False):
5
+ return self._callFunction('setFunctionParameters', [functionType.value, useModulus, residualStrengthFactor, peakTensileStrength, residualTensileStrength, useModulusResidual])
6
+ def getFunctionParameters(self):
7
+ """
8
+ Returns a tuple of (DiscreteDrainedMode, useModulus, residualStrengthFactor, peakTensileStrength, residualTensileStrength, useModulusResidual)
9
+ """
10
+ params = self._callFunction('getFunctionParameters', [])
11
+ return (DiscreteDrainedMode(params[0]), params[1], params[2], params[3], params[4], params[5])
12
+ def setInterpolationMethod(self, interpolationMethod : InterpolationMethod):
13
+ return self._callFunction('setInterpolationMethod', [interpolationMethod.value])
14
+ def getInterpolationMethod(self):
15
+ return InterpolationMethod(self._callFunction('getInterpolationMethod', []))
16
+ def setSymbolDrawing(self, symbol : SymbolTypes, exteriorColor : int, fillInterior : bool, interiorColor : int = 0):
17
+ return self._callFunction('setSymbolDrawing', [symbol.value, exteriorColor, fillInterior, interiorColor])
18
+ def getSymbolDrawing(self):
19
+ """
20
+ Returns a tuple of (SymbolTypes, exteriorColor, fillInterior, interiorColor)
21
+ """
22
+ symbolDrawing = self._callFunction('getSymbolDrawing', [])
23
+ return (SymbolTypes(symbolDrawing[0]), symbolDrawing[1], symbolDrawing[2], symbolDrawing[3])
24
+ def setPointLocations(self, locations : list[tuple[float, float]]):
25
+ return self._callFunction('setPointLocations', [locations])
26
+ def getPointLocations(self):
27
+ return self._callFunction('getPointLocations', [])
28
+ def setPointsC(self, c : list[float]):
29
+ return self._callFunction('setPointsC', [c])
30
+ def getPointsC(self):
31
+ return self._callFunction('getPointsC', [])
32
+ def setPointsPhi(self, phi : list[float]):
33
+ return self._callFunction('setPointsPhi', [phi])
34
+ def getPointsPhi(self):
35
+ return self._callFunction('getPointsPhi', [])
36
+ def setPointsModulus(self, modulus : list[float]):
37
+ return self._callFunction('setPointsModulus', [modulus])
38
+ def getPointsModulus(self):
39
+ return self._callFunction('getPointsModulus', [])
40
+ def setPointsModulusResidual(self, modulusResidual : list[float]):
41
+ return self._callFunction('setPointsModulusResidual', [modulusResidual])
42
+ def getPointsModulusResidual(self):
43
+ return self._callFunction('getPointsModulusResidual', [])
@@ -0,0 +1,25 @@
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.MohrCoulombMaterial import MohrCoulombMaterial
7
+ from rs2.modeler.properties.joint.BartonBandisMaterial import BartonBandisMaterial
8
+ from rs2.modeler.properties.joint.GeosyntheticHyperbolicMaterial import GeosyntheticHyperbolicMaterial
9
+ class MaterialJoint(PropertyProxy):
10
+ """
11
+ :ref:`Material Joint Example`
12
+ """
13
+ def __init__(self, client : Client, ID, documentProxyID):
14
+ self.MohrCoulombMaterial = MohrCoulombMaterial(client, ID, documentProxyID)
15
+ self.BartonBandisMaterial = BartonBandisMaterial(client, ID, documentProxyID)
16
+ self.GeosyntheticHyperbolicMaterial = GeosyntheticHyperbolicMaterial(client, ID, documentProxyID)
17
+ super().__init__(client, ID, documentProxyID)
18
+ def getSlipCriterion(self) -> JointTypes:
19
+ return JointTypes(self._getEnumEJointTypesProperty("JP_SLIP_CRITIRION"))
20
+ def setSlipCriterion(self, value: JointTypes):
21
+ return self._setEnumEJointTypesProperty("JP_SLIP_CRITIRION", value)
22
+ def SetApplySSR(self, applySSR: bool):
23
+ return self._callFunction("SetApplySSR", [applySSR])
24
+ def GetApplySSR(self) -> bool:
25
+ return self._callFunction("GetApplySSR", [])
@@ -0,0 +1,28 @@
1
+ from rs2._common.ProxyObject import ProxyObject
2
+ from rs2.modeler.properties.PropertyEnums import *
3
+ from rs2.modeler.properties.MaterialJoint import MaterialJoint
4
+ class MaterialJointOptions(ProxyObject):
5
+ def __init__(self, client, ID, documentProxyID):
6
+ self.documentProxyID = documentProxyID
7
+ super().__init__(client, ID)
8
+
9
+ def setNumberOfJoints(self, value: int):
10
+ return self._callFunction("setNumberOfJoints", [value])
11
+ def getNumberOfJoints(self) -> int:
12
+ return self._callFunction("getNumberOfJoints")
13
+ def setUseTracePlane(self, jointIndex: int, value: bool):
14
+ return self._callFunction("setUseTracePlane", [jointIndex, value])
15
+ def getUseTracePlane(self, jointIndex: int) -> bool:
16
+ return self._callFunction("getUseTracePlane", [jointIndex])
17
+ def setTracePlaneProperties(self, jointIndex: int, tracePlaneDipDirection : float, dip : float, dipDirection : float):
18
+ return self._callFunction("setTracePlaneProperties", [jointIndex, tracePlaneDipDirection, dip, dipDirection])
19
+ def getTracePlaneProperties(self, jointIndex: int) -> tuple[float,float,float]:
20
+ """ returns a tuple (traceplanedipdirection, dip, dipdirection) for the joint at the given index
21
+ """
22
+ return self._callFunction("getTracePlaneProperties", [jointIndex])
23
+ def setInclination(self, jointIndex: int, value: float):
24
+ return self._callFunction("setInclination", [jointIndex, value])
25
+ def getInclination(self, jointIndex: int) -> float:
26
+ return self._callFunction("getInclination", [jointIndex])
27
+ def getJoint(self, jointIndex: int) -> MaterialJoint:
28
+ return MaterialJoint(self._client, self._callFunction("getJoint", [jointIndex], keepReturnValueReference=True), self.documentProxyID)
@@ -0,0 +1,376 @@
1
+ from enum import Enum, auto
2
+ class BoltTypes(Enum):
3
+ END_ANCHORED = "END_ANCHORED"
4
+ FULLY_BONDED = "FULLY_BONDED"
5
+ PLAIN_STRAND_CABLE = "QUEENS_CABLE"
6
+ SWELLEX = "SHEAR_BOLT"
7
+ TIEBACK = "TIEBACK_BOLT"
8
+ class BulgeTypes(Enum):
9
+ GARFORD_BULB_25MM = "PHASE2_BULGE_GARFORD_25"
10
+ NUT_CASE_21MM = "PHASE2_BULGE_NUTCASE_21"
11
+ class SecondaryBondLengthType(Enum):
12
+ PERCENTAGE_OF_LENGTH = "P2_BOLT_TIEBACK_SECONDARY_PERCENT"
13
+ LENGTH = "P2_BOLT_TIEBACK_SECONDARY_PHYSICAL"
14
+ FULLY_BONDED = "P2_BOLT_TIEBACK_SECONDARY_FULLY"
15
+ class BoltModels(Enum):
16
+ PLASTIC = "P2_BOLT_PLASTIC"
17
+ ELASTIC = "P2_BOLT_ELASTIC"
18
+ class LinerTypes(Enum):
19
+ STANDARD_BEAM = "P2_LINER_STANDARD_BEAM"
20
+ GEOSYNTHETIC = "P2_LINER_GEOSYNTHETIC"
21
+ REINFORCED_CONCRETE = "P2_LINER_REINFORCED_CONCRETE"
22
+ CABLE_TRUSS = "P2_LINER_CABLE_TRUSS"
23
+ class LinerFormulation(Enum):
24
+ BERNOULLI = "P2_LINER_FORMULATION_BERNOULLI"
25
+ TIMOSHENKO = "P2_LINER_FORMULATION_TIMOSHENKO"
26
+ class MaterialType(Enum):
27
+ ELASTIC = "ELASTIC"
28
+ PLASTIC = "PLASTIC"
29
+ class GeometryChoice(Enum):
30
+ AREA = "LNP_USE_AREA"
31
+ THICKNESS = "LNP_USE_THICKNESS"
32
+ class StaticWaterModes(Enum):
33
+ DRY = "SWM_DRY"
34
+ PORE_WATER_PRESSURE = "SWM_PWP"
35
+ RU = "SWM_RU"
36
+ PIEZO = "SWM_PIEZO"
37
+ GRID = "SWM_GRID"
38
+ INTERPOLATED = "SWM_INTERPOLATED"
39
+ class StageFactorDefinitionMethod(Enum):
40
+ ABSOLUTE_STAGE_FACTOR = 0
41
+ RELATIVE_STAGE_FACTOR = 1
42
+ class JointTypes(Enum):
43
+ NONE = "JOINT_NONE"
44
+ MOHR_COULOMB = "JOINT_MOHR_COULOMB"
45
+ BARTON_BANDIS = "JOINT_BARTON_BANDIS"
46
+ GEOSYNTHETIC_HYPERBOLIC = "JOINT_HYPERBOLIC_SIMPLE"
47
+ MATERIAL_DEPENDENT = "JOINT_MATERIAL_DEPENDENT"
48
+ HYPERBOLIC_SOFTENING = "JOINT_HYPERBOLIC_SOFTENING"
49
+ DISPLACEMENT_DEPENDENT = "JOINT_DISPLACEMENT_DEPENDENT"
50
+ class AdditionalPressureType(Enum):
51
+ PRESSURE = "JOINT_ADDITIONAL_PRESSURE_BY_VALUE"
52
+ PIEZOMETRIC_LINE = "JOINT_ADDITIONAL_PRESSURE_BY_PIEZO"
53
+ class DefineStiffness(Enum):
54
+ DEFINE_PARAMETER = "DEFINE_PARAMETER"
55
+ MATERIAL_DEPENDENT = "MATERIAL_DEPENDENT"
56
+ class PileApplicationType(Enum):
57
+ CONSTANT = "APPLICATION_CONSTANT"
58
+ DEFINE_BEAM_SEGMENT_BY_LENGTH = "APPLICATION_BY_LENGTH"
59
+ class PileEndCondition(Enum):
60
+ NONE = "FP_NONE"
61
+ FORCE = "FP_FORCE"
62
+ DISPLACEMENT = "FP_DISPLACEMENT"
63
+ class PileForceApplicationPoint(Enum):
64
+ TOP = "FP_TOP"
65
+ BOTTOM = "FP_BOTTOM"
66
+ class PileSkinResistanceType(Enum):
67
+ ELASTIC = "SKIN_RESISTANCE_ELASTIC"
68
+ MOHR_COULOMB = "SKIN_RESISTANCE_C_PHI"
69
+ LINEAR = "SKIN_RESISTANCE_LINEAR"
70
+ MULTI_LINEAR = "SKIN_RESISTANCE_MULTI_LINEAR"
71
+ MATERIAL_DEPENDENT = "SKIN_RESISTANCE_MATERIAL_DEPENDENT"
72
+ class PileDefinitionMethod(Enum):
73
+ DISTANCE_FROM_TOP = "DISTANCE_FROM_TOP"
74
+ ELEVATION = "ELEVATION"
75
+ class PileConnectionType(Enum):
76
+ FREE = "CONNECT_FREE"
77
+ HINGED = "CONNECT_HINGED"
78
+ RIGID = "CONNECT_RIGID"
79
+ SEMI_RIGID = "CONNECT_SEMIRIGID"
80
+ class CompositeJointPlacementTypes(Enum):
81
+ BETWEEN_SOIL_ROCK_AND_FIRST_LINER = "BETWEEN_SOIL_ROCK_AND_FIRST_LINER"
82
+ BETWEEN_FIRST_AND_SECOND_LINER = "BETWEEN_FIRST_AND_SECOND_LINER"
83
+ BETWEEN_SECOND_AND_THIRD_LINER = "BETWEEN_SECOND_AND_THIRD_LINER"
84
+ BETWEEN_THIRD_AND_FOURTH_LINER = "BETWEEN_THIRD_AND_FOURTH_LINER"
85
+ class ThermalType(Enum):
86
+ CONSTANT = "THERMAL_CONSTANT"
87
+ JOHANSEN = "THERMAL_JOHANSEN"
88
+ JOHANSEN_LU = "THERMAL_JOHANSEN_LU"
89
+ DE_VRIES = "THERMAL_DEVRIES"
90
+ COTE_AND_KONRAD = "THERMAL_COTE_AND_KONRAD"
91
+ CUSTOM = "THERMAL_TABULAR"
92
+ class ThermalWaterContentMethodType(Enum):
93
+ USE_FROM_GROUNDWATER = "THERMAL_WATER_CONTENT_FROM_GROUNDWATER"
94
+ DEFINE = "THERMAL_WATER_CONTENT_DEFINE"
95
+ class ThermalHeatCapacityType(Enum):
96
+ CONSTANT = "THERMAL_HEAT_CAPACITY_CONSTANT"
97
+ JAME_NEWMAN = "THERMAL_HEAT_CAPACITY_JAMENEWMAN"
98
+ CUSTOM = "THERMAL_HEAT_CAPACITY_CUSTOM"
99
+ class ThermalWaterContentType(Enum):
100
+ KONRAD = "THERMAL_WATER_CONTENT_KONRAD"
101
+ TICE_AND_ANDERSON = "THERMAL_WATER_CONTENT_TICE_ANDERSON"
102
+ SOIL_WATER_CONTENT_IN_HYDRAULIC_PROPERTIES = "THERMAL_WATER_CONTENT_HYDRO_MODEL"
103
+ CUSTOM = "THERMAL_WATER_CONTENT_CUSTOM"
104
+ SIMPLE = "THERMAL_WATER_CONTENT_DEFAULT"
105
+ class ThermalVolumetricDepencenceType(Enum):
106
+ TEMPERATURE = "THERMAL_VOLUMETRIC_DEPENDENCE_TEMPERATURE"
107
+ WATER_CONTENT = "THERMAL_VOLUMETRIC_DEPENDENCE_WATER_CONTENT"
108
+ class GroundWaterModes(Enum):
109
+ SIMPLE = "SL_WATER_MODE_SIMPLE"
110
+ FREDLUND_AND_XING = "SL_WATER_MODE_FREDLUND"
111
+ VAN_GENUCHTEN = "SL_WATER_MODE_VAN_GENUCHTEN"
112
+ BROOKS_AND_COREY = "SL_WATER_MODE_BROOK"
113
+ USER_DEFINED = "SL_WATER_MODE_USER_DEFINED"
114
+ GARDNER = "SL_WATER_MODE_GARDNER"
115
+ CUSTOM = "SL_WATER_MODE_CONSTANT"
116
+ class ThermalSoilType(Enum):
117
+ FINE = "THERMAL_SOIL_FINE"
118
+ COARSE = "THERMAL_SOIL_COARSE"
119
+ CRUSHED_ROCK = "THERMAL_SOIL_CRUSHED_ROCK"
120
+ PEAT = "THERMAL_SOIL_PEAT"
121
+ class MVModel(Enum):
122
+ NONE = "MV_NONE"
123
+ CONSTANT = "MV_CONSTANT"
124
+ FLUID = "MV_FLUID"
125
+ ELASTIC_CONSOLIDATION_1D = "MV_1D_ELASTIC"
126
+ ELASTIC_CONSOLIDATION_2D = "MV_2D_ELASTIC"
127
+ class WCInputType(Enum):
128
+ BY_WATER_CONTENT = "WC_INPUT_WC"
129
+ BY_DEGREE_OF_SATURATION = "WC_INPUT_DOS"
130
+ class UnsaturatedParameterType(Enum):
131
+ NONE = "UNSATURATED_NOT_APPLIED"
132
+ UNSATURATED_SHEAR_STRENGTH = "UNSATURATED_SHEAR_STRESS"
133
+ SINGLE_EFFECTIVE_STRESS = "UNSATURATED_SINGLE_EFFECTIVE_STRESS"
134
+ class UnsaturatedShearStrengthType(Enum):
135
+ FREDLUND = "UNSATURATED_FREDLUND"
136
+ VANAPALLI = "UNSATURATED_VANAPALLI"
137
+ class UnsaturatedSingleEffectiveStressMethod(Enum):
138
+ BISHOP = "UNSATURATED_BISHOP"
139
+ TABULAR_VALUE = "UNSATURATED_TABULAR_VALUE"
140
+ GUDEHUS_1995 = "UNSATURATED_GUDEHUS_1995"
141
+ KHALILI_2004 = "UNSATURATED_KHALILI_2004"
142
+ BOLZON_1996 = "UNSATURATED_BOLZON_1996"
143
+ AITCHISON_1960 = "UNSATURATED_AITCHISON_1960"
144
+ KOHGO_1993 = "UNSATURATED_KOHGO_1993"
145
+ class UnsaturatedTabularValueMethod(Enum):
146
+ WITH_RESPECT_TO_SUCTION = "UNSATURATED_RESPECT_SUCTION"
147
+ WITH_RESPECT_TO_DEGREE_OF_SATURATION = "UNSATURATED_RESPECT_DEGREE_SATURATION"
148
+ WITH_RESPECT_TO_EFFECTIVE_DEGREE_OF_SATURATION = "UNSATURATED_RESPECT_EFFECTIVE_DEGREE_SATURATION"
149
+ class InitialElementLoadingType(Enum):
150
+ FIELD_STRESS_ONLY = "INITIAL_MAT_LOADING__FIELD_STRESS_ONLY"
151
+ FIELD_STRESS_AND_BODY_FORCE = "INITIAL_MAT_LOADING__BOTH_FIELD_AND_BODY"
152
+ BODY_FORCE_ONLY = "INITIAL_MAT_LOADING__BODY_FORCE_ONLY"
153
+ NONE = "INITIAL_MAT_LOADING__NONE"
154
+ class MaterialElasticityTypes(Enum):
155
+ ISOTROPIC = "ISOTROPIC"
156
+ TRANSVERSELY_ISOTROPIC = "TRANSVERSELY_ISOTROPIC"
157
+ ORTHOTROPIC = "ORTHOTROPIC"
158
+ DUNCAN_CHANG_HYPERBOLIC = "NON_LINEAR_HYPERBOLIC"
159
+ NON_LINEAR_ISOTROPIC = "NON_LINEAR_ISOTROPIC"
160
+ VISCO_ELASTIC = "VISCO_ELASTIC"
161
+ CUSTOM = "CUSTOM_STIFFNESS"
162
+ class ElasticParameters(Enum):
163
+ CONSTANT_SHEAR_MODULUS = "CONSTANT_SHEAR_MODULUS"
164
+ CONSTANT_POISSON_RATIO = "CONSTANT_POISSON_RATIO"
165
+ class SpecificVolumeAtUnitPressure(Enum):
166
+ CRITICAL_STATE_LINE_GAMMA = "CRITICAL_STATE_LINE"
167
+ NORMAL_COMPRESSION_LINE = "NORMAL_COMPRESSION_LINE"
168
+ class InitialStateOfConsolidation(Enum):
169
+ PRECONSOLIDATION_PRESSURE = "PRECONSOLIDATION_PRESSURE"
170
+ OVERCONSOLIDATION_RATIO = "OVERCONSOLIDATION_RATIO"
171
+ class TensileCutoffOptions(Enum):
172
+ NONE = "TENSILE_CUTOFF_NONE"
173
+ HOEK_MARTIN_2004 = "TENSILE_CUTOFF_HOEK_MARTIN"
174
+ USER_DEFINED = "TENSILE_CUTOFF_USER_DEFINED"
175
+ class NLIFormulaTypes(Enum):
176
+ NLI_TYPE_FORMULA1 = "NLI_TYPE_FORMULA1"
177
+ NLI_TYPE_FORMULA2 = "NLI_TYPE_FORMULA2"
178
+ NLI_TYPE_FORMULA3 = "NLI_TYPE_FORMULA3"
179
+ NLI_TYPE_FORMULA4 = "NLI_TYPE_FORMULA4"
180
+ class PoissonRatioType(Enum):
181
+ CONSTANT = "POISSON_RATIO_CONSTANT"
182
+ STRESS_DEPENDENT = "POISSON_RATIO_STRESS_DEPENDENT"
183
+ class AnisotropyDefinitions(Enum):
184
+ ANGLE = "ANISOTROPY_DEFINITION_ANGLE"
185
+ SURFACE = "ANISOTROPY_DEFINITION_SURFACE"
186
+ class MCCapType(Enum):
187
+ VERTICAL = "MC_CAP_VERTICAL"
188
+ ELLIPTICAL = "MC_CAP_ELLIPTICAL"
189
+ class CapHardeningTypes(Enum):
190
+ EXPONENTIAL = "MC_CAP_HARDENING_EXPONENTIAL"
191
+ TABULAR = "MC_CAP_HARDENING_TABULAR"
192
+ class CapTypes(Enum):
193
+ NONE = "MC_CAP_TYPE_NOT_ACTIVE"
194
+ VERTICAL = "MC_CAP_TYPE_VERTICAL"
195
+ ELLIPTICAL = "MC_CAP_TYPE_ELLIPTICAL"
196
+ class ConeHardeningTypes(Enum):
197
+ HARDENING_PROPERTY = "CONE_HARDENING_EXPONENTIAL"
198
+ TABULAR = "CONE_HARDENING_TABULAR"
199
+ class DilationTypes(Enum):
200
+ COMPACTION_DILATION = "DILATION_COMPACTION"
201
+ DILATION_ONLY = "DILATION_ANGLE"
202
+ class HatchStyle(Enum):
203
+ HatchStyleVertical = "HatchStyleVertical"
204
+ HatchStyleForwardDiagonal = "HatchStyleForwardDiagonal"
205
+ HatchStyleBackwardDiagonal = "HatchStyleBackwardDiagonal"
206
+ HatchStyleCross = "HatchStyleCross"
207
+ HatchStyleDiagonalCross = "HatchStyleDiagonalCross"
208
+ HatchStyle05Percent = "HatchStyle05Percent"
209
+ HatchStyle10Percent = "HatchStyle10Percent"
210
+ HatchStyle20Percent = "HatchStyle20Percent"
211
+ HatchStyle25Percent = "HatchStyle25Percent"
212
+ HatchStyle30Percent = "HatchStyle30Percent"
213
+ HatchStyle40Percent = "HatchStyle40Percent"
214
+ HatchStyle50Percent = "HatchStyle50Percent"
215
+ HatchStyle60Percent = "HatchStyle60Percent"
216
+ HatchStyle70Percent = "HatchStyle70Percent"
217
+ HatchStyle75Percent = "HatchStyle75Percent"
218
+ HatchStyle80Percent = "HatchStyle80Percent"
219
+ HatchStyle90Percent = "HatchStyle90Percent"
220
+ HatchStyleLightDownwardDiagonal = "HatchStyleLightDownwardDiagonal"
221
+ HatchStyleLightUpwardDiagonal = "HatchStyleLightUpwardDiagonal"
222
+ HatchStyleDarkDownwardDiagonal = "HatchStyleDarkDownwardDiagonal"
223
+ HatchStyleDarkUpwardDiagonal = "HatchStyleDarkUpwardDiagonal"
224
+ HatchStyleWideDownwardDiagonal = "HatchStyleWideDownwardDiagonal"
225
+ HatchStyleWideUpwardDiagonal = "HatchStyleWideUpwardDiagonal"
226
+ HatchStyleLightVertical = "HatchStyleLightVertical"
227
+ HatchStyleLightHorizontal = "HatchStyleLightHorizontal"
228
+ HatchStyleNarrowVertical = "HatchStyleNarrowVertical"
229
+ HatchStyleNarrowHorizontal = "HatchStyleNarrowHorizontal"
230
+ HatchStyleDarkVertical = "HatchStyleDarkVertical"
231
+ HatchStyleDarkHorizontal = "HatchStyleDarkHorizontal"
232
+ HatchStyleDashedDownwardDiagonal = "HatchStyleDashedDownwardDiagonal"
233
+ HatchStyleDashedUpwardDiagonal = "HatchStyleDashedUpwardDiagonal"
234
+ HatchStyleDashedHorizontal = "HatchStyleDashedHorizontal"
235
+ HatchStyleDashedVertical = "HatchStyleDashedVertical"
236
+ HatchStyleSmallConfetti = "HatchStyleSmallConfetti"
237
+ HatchStyleLargeConfetti = "HatchStyleLargeConfetti"
238
+ HatchStyleZigZag = "HatchStyleZigZag"
239
+ HatchStyleWave = "HatchStyleWave"
240
+ HatchStyleDiagonalBrick = "HatchStyleDiagonalBrick"
241
+ HatchStyleHorizontalBrick = "HatchStyleHorizontalBrick"
242
+ HatchStyleWeave = "HatchStyleWeave"
243
+ HatchStylePlaid = "HatchStylePlaid"
244
+ HatchStyleDivot = "HatchStyleDivot"
245
+ HatchStyleDottedGrid = "HatchStyleDottedGrid"
246
+ HatchStyleDottedDiamond = "HatchStyleDottedDiamond"
247
+ HatchStyleShingle = "HatchStyleShingle"
248
+ HatchStyleTrellis = "HatchStyleTrellis"
249
+ HatchStyleSphere = "HatchStyleSphere"
250
+ HatchStyleSmallGrid = "HatchStyleSmallGrid"
251
+ HatchStyleSmallCheckerBoard = "HatchStyleSmallCheckerBoard"
252
+ HatchStyleLargeCheckerBoard = "HatchStyleLargeCheckerBoard"
253
+ HatchStyleOutlinedDiamond = "HatchStyleOutlinedDiamond"
254
+ class UnloadingConditions(Enum):
255
+ MEAN_STRESS = "UC_MEAN_STRESS"
256
+ DEVIATORIC_STRESS = "UC_DEVIATORIC_STRESS"
257
+ VOLUMETRIC_STRAIN = "UC_VOLUMETRIC_STRAIN"
258
+ DEVIATORIC_STRAIN = "UC_DEVIATORIC_STRAIN"
259
+ class CustomMode(Enum):
260
+ CUSTOM_Q = "CUSTOM_Q"
261
+ CUSTOM_P = "CUSTOM_P"
262
+ CUSTOM_S3 = "CUSTOM_S3"
263
+ CUSTOM_U = "CUSTOM_U"
264
+ CUSTOM_EPSV = "CUSTOM_EPSV"
265
+ CUSTOM_GAMMA = "CUSTOM_GAMMA"
266
+ class StressHistoryTypes(Enum):
267
+ OVER_CONSOLIDATION_OCR = "SHT_OCR"
268
+ PRECONSOLIDATION_PRESSURE_PC = "SHT_PC"
269
+ class StressHistoryDefinitionMethods(Enum):
270
+ STRESS_HISTORY_CONSTANT = "STRESS_HISTORY_CONSTANT"
271
+ STRESS_HISTORY_DEPTH = "STRESS_HISTORY_DEPTH"
272
+ STRESS_HISTORY_ELEVATION = "STRESS_HISTORY_ELEVATION"
273
+ class MaterialBehaviours(Enum):
274
+ DRAINED = "DRAINED"
275
+ UNDRAINED = "UNDRAINED"
276
+ class StrengthCriteriaTypes(Enum):
277
+ MOHR_COULOMB = "MOHR_COULOMB"
278
+ HOEK_BROWN = "HOEK_BROWN"
279
+ DRUCKER_PRAGER = "DRUCKER_PRAGER"
280
+ GENERALIZED_HOEK_BROWN = "GENERALIZED_HOEK_BROWN"
281
+ CAM_CLAY = "CAM_CLAY"
282
+ MODIFIED_CAM_CLAY = "MODIFIED_CAM_CLAY"
283
+ DISCRETE_FUNCTION = "DISCRETE_FUNCTION"
284
+ MOHR_COULOMB_CAP = "MOHR_COULOMB_CAP"
285
+ SOFTENING_HARDENING = "SOFTENING_HARDENING"
286
+ BARTON_BANDIS = "BARTON_BANDIS"
287
+ HYPERBOLIC = "HYPERBOLIC"
288
+ POWER_CURVE = "POWER_CURVE"
289
+ SHEAR_NORMAL_FUNCTION = "SHEAR_NORMAL_FUNCTION"
290
+ BOUNDING_SURFACE_PLASTICITY = "BOUNDING_SURFACE_PLASTICITY"
291
+ MANZARI_AND_DAFALIAS = "MANZARI_AND_DAFALIAS"
292
+ SNOWDEN_MODIFIED_ANISOTROPIC_LINEAR = "SNOWDEN_MODIFIED_ANISOTROPIC_LINEAR"
293
+ ANISOTROPIC_LINEAR = "ANISOTROPIC_LINEAR"
294
+ GENERALIZED_ANISOTROPIC = "GENERALIZED_ANISOTROPIC"
295
+ SHANSEP = "SHANSEP"
296
+ VERTICAL_STRESS_RATIO = "VERTICAL_STRESS_RATIO"
297
+ BARCELONA_BASIC = "BARCELONA_BASIC"
298
+ CHSOIL = "CHSOIL"
299
+ CYSOIL = "CYSOIL"
300
+ DOUBLE_YIELD = "DOUBLE_YIELD"
301
+ HARDENING_SOIL = "HARDENING_SOIL"
302
+ HARDENING_SOIL_SMALL_STRAIN_STIFFNESS = "HARDENING_SOIL_SMALL_STRAIN_STIFFNESS"
303
+ SOFT_SOIL = "SOFT_SOIL"
304
+ SOFT_SOIL_CREEP = "SOFT_SOIL_CREEP"
305
+ SWELLING_ROCK = "SWELLING_ROCK"
306
+ JOINTED_MOHR_COULOMB = "JOINTED_MOHR_COULOMB"
307
+ JOINTED_GENERALIZED_HOEK_BROWN = "JOINTED_GENERALIZED_HOEK_BROWN"
308
+ NORSAND = "NORSAND"
309
+ FINN = "FINN"
310
+ PM4_SAND = "PM4_SAND"
311
+ PM4_SILT = "PM4_SILT"
312
+ class HuTypes(Enum):
313
+ CUSTOM = "HT_CUSTOM"
314
+ AUTO = "HT_AUTO"
315
+ class EnhancedSimpleSoilTypes(Enum):
316
+ GENERAL = "SL_ES_SOIL_TYPE_GENERAL"
317
+ SAND = "SL_ES_SOIL_TYPE_SAND"
318
+ SILT = "SL_ES_SOIL_TYPE_SILT"
319
+ CLAY = "SL_ES_SOIL_TYPE_CLAY"
320
+ LOAM = "SL_ES_SOIL_TYPE_LOAM"
321
+ class DilationOption(Enum):
322
+ DILATION_ONLY = "DILATION_ONLY"
323
+ DILATION_ROWES = "DILATION_ROWES"
324
+ class CySoilCapOption(Enum):
325
+ NON = "CYS_CAP_NON"
326
+ ELLIPTICAL = "CYS_CAP_ELLIPTICAL"
327
+ class Dilatancy(Enum):
328
+ DILATANCY_DEACTIVATED = "DILATANCY_DEACTIVATED"
329
+ DILATANCY_ACTIVATED = "DILATANCY_ACTIVATED"
330
+ class InitialConsolidation(Enum):
331
+ OVER_CONSOLIDATION_RATIO = "OVER_CONSOLIDATION_RATIO"
332
+ INITIAL_MEAN_STRESS = "CONSOL_INITIAL_MEAN_STRESS"
333
+ class SwellingForm(Enum):
334
+ WITTKE = "WITTKE"
335
+ ANAGNOSTOU = "ANAGNOSTOU"
336
+ class WaterCondition(Enum):
337
+ SWELLING = "SWELLING"
338
+ SWELLING_WITH_WATER = "SWELLING_WITH_WATER"
339
+ class ViscoElasticTypes(Enum):
340
+ MAXWELL = "VET_MAXWELL"
341
+ BURGERS = "VET_BURGERS"
342
+ STANDARD = "VET_STANDARD"
343
+ class NorSandInitialConsolidationCondition(Enum):
344
+ OCR = "NORSAND_OCR"
345
+ INITIAL_MEAN_STRESS = "NORSAND_INITIAL_MEAN_STRESS"
346
+ class FinnFormula(Enum):
347
+ FINN_MARTIN = "FINN_MARTIN"
348
+ FINN_BYRNE = "FINN_BYRNE"
349
+ class FinnByrneDefinition(Enum):
350
+ FINN_BYRNE_C1_C2 = "FINN_BYRNE_C1_C2"
351
+ FINN_BYRNE_N1 = "FINN_BYRNE_N1"
352
+ class DatumType(Enum):
353
+ DATUM_TYPE_DEPTH = "DATUM_TYPE_DEPTH"
354
+ DATUM_TYPE_RADIAL = "DATUM_TYPE_RADIAL"
355
+ class SnowdenAnisotropicFunctionType(Enum):
356
+ FUNCTION_TYPE_SHEAR_NORMAL = "FUNCTION_TYPE_SHEAR_NORMAL"
357
+ FUNCTION_TYPE_COHESION_PHI = "FUNCTION_TYPE_COHESION_PHI"
358
+ class InterpolationMethod(Enum):
359
+ THIN_PLATE_SPLINE = "BCINTERPOLATE_THINPLATESPLINE"
360
+ MODIFIED_CHUGH = "BCINTERPOLATE_CHUGH"
361
+ LOCAL_THIN_PLATE_SPLINE = "BCINTERPOLATE_LOCALTHINPLATESPLINE"
362
+ TIN_TRIANGULATION = "BCINTERPOLATE_TINTRIANGULATION"
363
+ INVERSE_DISTANCE = "BCINTERPOLATE_INVERSEDISTANCE"
364
+ LINEAR_BY_ELEVATION = "BCINTERPOLATE_LINEARBYELEVATION"
365
+ CHUGH = "BCINTERPOLATE_ORIGINALCHUGH"
366
+ class SymbolTypes(Enum):
367
+ SQUARE = "SL_SYMBOL_TYPE_SQUARE"
368
+ TRIANGLE = "SL_SYMBOL_TYPE_TRI"
369
+ RHOMB = "SL_SYMBOL_TYPE_RHOMB"
370
+ CIRCLE = "SL_SYMBOL_TYPE_CIRCLE"
371
+ VERT_CROSS = "SL_SYMBOL_TYPE_CROSS"
372
+ DIAG_CROSS = "SL_SYMBOL_TYPE_X"
373
+ DOT = "SL_SYMBOL_TYPE_DOT"
374
+ class DiscreteDrainedMode(Enum):
375
+ UNDRAINED = "SL_DISCRETE_UNDRAINED"
376
+ DRAINED = "SL_DISCRETE_DRAINED"