RS2Scripting 11.24.2__tar.gz → 11.25.0__tar.gz
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.24.2/src/RS2Scripting.egg-info → rs2scripting-11.25.0}/PKG-INFO +11 -15
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/README.md +10 -14
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/pyproject.toml +1 -1
- {rs2scripting-11.24.2 → rs2scripting-11.25.0/src/RS2Scripting.egg-info}/PKG-INFO +11 -15
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/RS2Scripting.egg-info/SOURCES.txt +2 -0
- rs2scripting-11.25.0/src/rs2/BaseModel.py +83 -0
- rs2scripting-11.25.0/src/rs2/Units.py +35 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/_common/Client.py +1 -1
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/InterpreterEnums.py +5 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/InterpreterGraphEnums.py +11 -1
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/InterpreterModel.py +3 -4
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/RS2Interpreter.py +9 -11
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/queryResults/HistoryQueryResults.py +12 -8
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/queryResults/MaterialQueryResults.py +16 -11
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/queryResults/MeshResults.py +7 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/queryResults/TimeQueryResults.py +21 -16
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/supportResults/BoltResult.py +16 -12
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/supportResults/CompositeResult.py +16 -12
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/supportResults/JointResult.py +10 -9
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/supportResults/LinerResult.py +10 -7
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/Model.py +41 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/RS2Modeler.py +9 -11
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/AbsoluteStageFactorGettersInterface.py +2 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/AbsoluteStageFactorInterface.py +2 -0
- rs2scripting-11.25.0/src/rs2/modeler/properties/HydroDistributionFunction.py +18 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/MaterialJoint.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/PropertyEnums.py +17 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/RelativeStageFactorInterface.py +2 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/bolt/Bolt.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/BartonBandis.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/BartonBandisMaterial.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/DisplacementDependent.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/GeosyntheticHyperbolic.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/GeosyntheticHyperbolicMaterial.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/HyperbolicSoftening.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/Joint.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/MaterialDependent.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/MohrCoulomb.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/MohrCoulombMaterial.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/NoneSlip.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/liner/CableTruss.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/liner/Geosynthetic.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/liner/Liner.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/liner/ReinforcedConcrete.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/liner/StandardBeam.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/InitialConditions.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/MaterialProperty.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/StageFactors.py +4 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/datum/Datum.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/Brooks.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/Constant.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/FEAGroundwater.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/Fredlund.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/Gardner.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/Genuchten.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/Simple.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/Hydraulic.py +6 -3
- rs2scripting-11.25.0/src/rs2/modeler/properties/material/hydraulic/HydroDistribution.py +165 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/StaticGroundwater.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/Isotropic.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/NonLinearHyperbolic.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/NonLinearIsotropic.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/Orthotropic.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/Stiffness.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/TransverselyIsotropic.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/BarcelonaBasic.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/BartonBandisStrength.py +11 -11
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/CamClay.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/DiscreteFunction.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/DruckerPrager.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/GeneralizedHoekBrown.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/HoekBrown.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/JointedGeneralizedHoekBrown.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/JointedMohrCoulomb.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/ModifiedCamClay.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/MohrCoulombStrength.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/MohrCoulombWithCap.py +6 -5
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/SofteningHardeningModel.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/Strength.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/Thermal.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/conductivity/Conductivity.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/heatcapacity/HeatCapacity.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/SoilUnfrozenWaterContent.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/HydraulicModel.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/ForceDisplacement.py +3 -2
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/Pile.py +3 -3
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/utilities/ApplicationManager.py +10 -4
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/utilities/ColorPicker.py +10 -4
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testExampleCode.py +3 -0
- rs2scripting-11.24.2/src/rs2/BaseModel.py +0 -46
- rs2scripting-11.24.2/src/rs2/Units.py +0 -15
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/License.txt +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/setup.cfg +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/RS2Scripting.egg-info/dependency_links.txt +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/RS2Scripting.egg-info/requires.txt +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/RS2Scripting.egg-info/top_level.txt +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/_common/ProxyObject.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/_common/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/_common/documentProxy.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/_UtilityResult.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/queryResults/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/supportResults/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/CompositeProperty.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/DiscreteFunction.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/MaterialJointOptions.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/ShearNormalFunction.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/SnowdenAnisotropicFunction.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/StructuralInterface.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/UserDefinedWaterMode.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/bolt/EndAnchored.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/bolt/FullyBonded.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/bolt/PlainStrandCable.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/bolt/Swellex.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/bolt/Tieback.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/bolt/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/joint/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/liner/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/datum/BaseDatum.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/datum/PeakResidualDatum.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/datum/SimpleDatum.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/datum/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/UserDefined.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/hydraulic/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/ChSoil.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/Custom.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/CySoil.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/DoubleYield.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/HardeningSoil.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/HardeningSoilSmallStrainStiffness.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/ManzariAndDafalias.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/Norsand.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/Pm4Sand.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/Pm4Silt.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/SoftSoil.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/SoftSoilCreep.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/SwellingRock.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/ViscoElastic.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/stiffness/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/AnisotropicLinear.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/BoundingSurfacePlasticity.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/ChSoilStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/CySoilStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/DoubleYieldStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/Finn.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/GeneralizedAnisotropic.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/HardeningSoilStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/HardeningSoilWithSmallStrainStiffness.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/Hyperbolic.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/ManzariAndDafaliasStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/NorSandStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/PM4SandStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/PM4SiltStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/PowerCurve.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/Shansep.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/ShearNormalFunction.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/SnowdenModAnisotropicLinear.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/SoftSoilCreepStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/SoftSoilStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/SwellingRockStrength.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/VerticalStressRatio.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/strength/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/conductivity/ConstantConductivity.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/conductivity/CoteAndKonrad.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/conductivity/Derives.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/conductivity/Johansen.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/conductivity/JohansenLu.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/conductivity/Tabular.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/conductivity/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/heatcapacity/ConstantHeatCapacity.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/heatcapacity/CustomHeatCapacity.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/heatcapacity/JameNewman.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/heatcapacity/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/CustomWaterContent.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/Konrad.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/TiceAnderson.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/BrooksWaterContent.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/FredlundWaterContent.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/GardnerWaterContent.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/GenuchtenWaterContent.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/SimpleWaterContent.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/material/thermal/soilunfrozenwatercontent/hydraulic/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/Beam.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/Elastic.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/Linear.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/MaterialDependentPile.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/MohrCoulombPile.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/MultiLinear.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/pile/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/modeler/properties/propertyProxy.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/utilities/__init__.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testFileOpenWarning.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testInterpreterMultipleFileCloseProgram.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testInterpreterSaveAs.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testInterpreterSingleFileCloseProgram.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testMaterialJointOptions.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testModelerMultipleFileCloseProgram.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testModelerSingleFileCloseProgram.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testOpenFileNoResults.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testSaveAs.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testShearNormalFunction.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testSnowdenAnisotropicFunction.py +0 -0
- {rs2scripting-11.24.2 → rs2scripting-11.25.0}/tests/testStiffnessYoungModulusE1EZFactor.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: RS2Scripting
|
|
3
|
-
Version: 11.
|
|
3
|
+
Version: 11.25.0
|
|
4
4
|
Summary: Client library for interacting with RS2 through python
|
|
5
5
|
Author: Rocscience
|
|
6
6
|
License: MIT License
|
|
@@ -102,23 +102,19 @@ To run a sub-folder of tests, navigate to the 'tests' folder, and run:
|
|
|
102
102
|
## Documentation
|
|
103
103
|
The following steps can be taken to regenerate the RS2 Scripting Documentation:
|
|
104
104
|
1. Create python a virtual environment. Navigate to the root directory of your workspace and run the commands below:
|
|
105
|
-
```python -m venv
|
|
106
|
-
```
|
|
105
|
+
```python -m venv myenv```
|
|
106
|
+
```myenv\Scripts\activate```
|
|
107
107
|
2. Rebuild the RS2 library in your virtual environment by following the [Build](#build) section.
|
|
108
|
-
3.
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
4. Install a LaTeX distribution. MiKTeX Reccomended: https://miktex.org/download
|
|
108
|
+
3. Install the documentation requirement packages.
|
|
109
|
+
```pip install -r docs/requirements.txt```
|
|
110
|
+
4. Run docs/example_code/runAllExamples.bat file in the folder to update example results. This will run the examples using the version of RS2 you have installed on your machine.
|
|
112
111
|
5. To generate the documentation run the following:
|
|
113
112
|
```python generateAndBuildDocumentation.py```
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
8. Click the play button to generate the documentation file.
|
|
120
|
-
Note: The first time you generate documentation using TeXworks, a package installation window will appear indicating that numerous packages could not be found. Deselect the "Always show this dialog" checkbox and click the install button.
|
|
121
|
-
9. The Documentation in PDF format will be located here: ```RS2 Python Client Library\docs/_build/pdf/rs2scriptingclientlibrary.pdf```
|
|
113
|
+
|
|
114
|
+
"examples.rst" and "index.rst" files are manually written and should be manually modified. "generateAndBuildDocumentation.py" will not overwrite them.
|
|
115
|
+
|
|
116
|
+
Rocscience logo is saved under _static folder.
|
|
117
|
+
|
|
122
118
|
|
|
123
119
|
### Adding To Documentation
|
|
124
120
|
The following steps can be taken to add a new proxy object to the autogenerated documentation:
|
|
@@ -85,23 +85,19 @@ To run a sub-folder of tests, navigate to the 'tests' folder, and run:
|
|
|
85
85
|
## Documentation
|
|
86
86
|
The following steps can be taken to regenerate the RS2 Scripting Documentation:
|
|
87
87
|
1. Create python a virtual environment. Navigate to the root directory of your workspace and run the commands below:
|
|
88
|
-
```python -m venv
|
|
89
|
-
```
|
|
88
|
+
```python -m venv myenv```
|
|
89
|
+
```myenv\Scripts\activate```
|
|
90
90
|
2. Rebuild the RS2 library in your virtual environment by following the [Build](#build) section.
|
|
91
|
-
3.
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
4. Install a LaTeX distribution. MiKTeX Reccomended: https://miktex.org/download
|
|
91
|
+
3. Install the documentation requirement packages.
|
|
92
|
+
```pip install -r docs/requirements.txt```
|
|
93
|
+
4. Run docs/example_code/runAllExamples.bat file in the folder to update example results. This will run the examples using the version of RS2 you have installed on your machine.
|
|
95
94
|
5. To generate the documentation run the following:
|
|
96
95
|
```python generateAndBuildDocumentation.py```
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
8. Click the play button to generate the documentation file.
|
|
103
|
-
Note: The first time you generate documentation using TeXworks, a package installation window will appear indicating that numerous packages could not be found. Deselect the "Always show this dialog" checkbox and click the install button.
|
|
104
|
-
9. The Documentation in PDF format will be located here: ```RS2 Python Client Library\docs/_build/pdf/rs2scriptingclientlibrary.pdf```
|
|
96
|
+
|
|
97
|
+
"examples.rst" and "index.rst" files are manually written and should be manually modified. "generateAndBuildDocumentation.py" will not overwrite them.
|
|
98
|
+
|
|
99
|
+
Rocscience logo is saved under _static folder.
|
|
100
|
+
|
|
105
101
|
|
|
106
102
|
### Adding To Documentation
|
|
107
103
|
The following steps can be taken to add a new proxy object to the autogenerated documentation:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: RS2Scripting
|
|
3
|
-
Version: 11.
|
|
3
|
+
Version: 11.25.0
|
|
4
4
|
Summary: Client library for interacting with RS2 through python
|
|
5
5
|
Author: Rocscience
|
|
6
6
|
License: MIT License
|
|
@@ -102,23 +102,19 @@ To run a sub-folder of tests, navigate to the 'tests' folder, and run:
|
|
|
102
102
|
## Documentation
|
|
103
103
|
The following steps can be taken to regenerate the RS2 Scripting Documentation:
|
|
104
104
|
1. Create python a virtual environment. Navigate to the root directory of your workspace and run the commands below:
|
|
105
|
-
```python -m venv
|
|
106
|
-
```
|
|
105
|
+
```python -m venv myenv```
|
|
106
|
+
```myenv\Scripts\activate```
|
|
107
107
|
2. Rebuild the RS2 library in your virtual environment by following the [Build](#build) section.
|
|
108
|
-
3.
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
4. Install a LaTeX distribution. MiKTeX Reccomended: https://miktex.org/download
|
|
108
|
+
3. Install the documentation requirement packages.
|
|
109
|
+
```pip install -r docs/requirements.txt```
|
|
110
|
+
4. Run docs/example_code/runAllExamples.bat file in the folder to update example results. This will run the examples using the version of RS2 you have installed on your machine.
|
|
112
111
|
5. To generate the documentation run the following:
|
|
113
112
|
```python generateAndBuildDocumentation.py```
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
8. Click the play button to generate the documentation file.
|
|
120
|
-
Note: The first time you generate documentation using TeXworks, a package installation window will appear indicating that numerous packages could not be found. Deselect the "Always show this dialog" checkbox and click the install button.
|
|
121
|
-
9. The Documentation in PDF format will be located here: ```RS2 Python Client Library\docs/_build/pdf/rs2scriptingclientlibrary.pdf```
|
|
113
|
+
|
|
114
|
+
"examples.rst" and "index.rst" files are manually written and should be manually modified. "generateAndBuildDocumentation.py" will not overwrite them.
|
|
115
|
+
|
|
116
|
+
Rocscience logo is saved under _static folder.
|
|
117
|
+
|
|
122
118
|
|
|
123
119
|
### Adding To Documentation
|
|
124
120
|
The following steps can be taken to add a new proxy object to the autogenerated documentation:
|
|
@@ -36,6 +36,7 @@ src/rs2/modeler/properties/AbsoluteStageFactorGettersInterface.py
|
|
|
36
36
|
src/rs2/modeler/properties/AbsoluteStageFactorInterface.py
|
|
37
37
|
src/rs2/modeler/properties/CompositeProperty.py
|
|
38
38
|
src/rs2/modeler/properties/DiscreteFunction.py
|
|
39
|
+
src/rs2/modeler/properties/HydroDistributionFunction.py
|
|
39
40
|
src/rs2/modeler/properties/MaterialJoint.py
|
|
40
41
|
src/rs2/modeler/properties/MaterialJointOptions.py
|
|
41
42
|
src/rs2/modeler/properties/PropertyEnums.py
|
|
@@ -81,6 +82,7 @@ src/rs2/modeler/properties/material/datum/PeakResidualDatum.py
|
|
|
81
82
|
src/rs2/modeler/properties/material/datum/SimpleDatum.py
|
|
82
83
|
src/rs2/modeler/properties/material/datum/__init__.py
|
|
83
84
|
src/rs2/modeler/properties/material/hydraulic/Hydraulic.py
|
|
85
|
+
src/rs2/modeler/properties/material/hydraulic/HydroDistribution.py
|
|
84
86
|
src/rs2/modeler/properties/material/hydraulic/StaticGroundwater.py
|
|
85
87
|
src/rs2/modeler/properties/material/hydraulic/__init__.py
|
|
86
88
|
src/rs2/modeler/properties/material/hydraulic/FEAGroundwater/Brooks.py
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
from rs2._common.ProxyObject import ProxyObject
|
|
2
|
+
from rs2._common.documentProxy import DocumentProxy
|
|
3
|
+
from rs2.Units import Units
|
|
4
|
+
class BaseModel(ProxyObject):
|
|
5
|
+
|
|
6
|
+
def __init__(self, client, ID):
|
|
7
|
+
super().__init__(client, ID)
|
|
8
|
+
self._documentProxy = self._getDocument()
|
|
9
|
+
|
|
10
|
+
def _getDocument(self):
|
|
11
|
+
documentObjectID = self._callFunction('getDocument', [], keepReturnValueReference=True)
|
|
12
|
+
return DocumentProxy(self._client, documentObjectID)
|
|
13
|
+
|
|
14
|
+
def _enforceFeaFezEnding(self, path: str):
|
|
15
|
+
if not (path.endswith('.fea') or path.endswith('.fez')):
|
|
16
|
+
raise ValueError('Path must end with .fea or .fez')
|
|
17
|
+
|
|
18
|
+
def close(self):
|
|
19
|
+
'''
|
|
20
|
+
Closes the model
|
|
21
|
+
|
|
22
|
+
Examples:
|
|
23
|
+
|
|
24
|
+
.. code::
|
|
25
|
+
|
|
26
|
+
model.close()
|
|
27
|
+
|
|
28
|
+
See a full example in :ref:`Model Example`.
|
|
29
|
+
|
|
30
|
+
'''
|
|
31
|
+
return self._callFunction('close', [])
|
|
32
|
+
|
|
33
|
+
def save(self):
|
|
34
|
+
'''
|
|
35
|
+
Saves the model
|
|
36
|
+
|
|
37
|
+
Examples:
|
|
38
|
+
|
|
39
|
+
.. code::
|
|
40
|
+
|
|
41
|
+
model.save()
|
|
42
|
+
|
|
43
|
+
See a full example in :ref:`Model Example`.
|
|
44
|
+
|
|
45
|
+
'''
|
|
46
|
+
return self._callFunction('save', [])
|
|
47
|
+
|
|
48
|
+
def getUnits(self):
|
|
49
|
+
'''
|
|
50
|
+
|
|
51
|
+
Get Solid, Hydro and Thermal units for your model from RS2Modeler or RS2Interpreter.
|
|
52
|
+
|
|
53
|
+
See Also:
|
|
54
|
+
Each of solid units, hydro units and thermal units of your model can be accessed through `rs2.Units <rs2.Units.html>`_.
|
|
55
|
+
|
|
56
|
+
Examples:
|
|
57
|
+
|
|
58
|
+
.. code-block:: python
|
|
59
|
+
|
|
60
|
+
modeler = RS2Modeler()
|
|
61
|
+
model = modeler.openFile(rf"{current_dir}\example_models\SupportStructuralResults.fez")
|
|
62
|
+
# Get Solid, Hydro and Thermal units of your model
|
|
63
|
+
modelerUnits = model.getUnits()
|
|
64
|
+
print("\\nModeler Units")
|
|
65
|
+
print("\\nSolid Units :")
|
|
66
|
+
# Get solid units
|
|
67
|
+
pprint(modelerUnits.solid_units)
|
|
68
|
+
print("\\nHydro Units :")
|
|
69
|
+
# Get hydro units
|
|
70
|
+
pprint(modelerUnits.hydro_units)
|
|
71
|
+
print("\\nThermal Units :")
|
|
72
|
+
# Get thermal units
|
|
73
|
+
pprint(modelerUnits.thermal_units)
|
|
74
|
+
|
|
75
|
+
See a full example in :ref:`Get Model Units Example`
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
'''
|
|
79
|
+
NUM_UNITS = 3
|
|
80
|
+
data = self._callFunction('getUnits', [])
|
|
81
|
+
if (len (data) !=NUM_UNITS) :
|
|
82
|
+
assert False, "Expected 3 units, got " + str(len(data))
|
|
83
|
+
return Units(*data)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
class Units:
|
|
3
|
+
"""
|
|
4
|
+
Attributes:
|
|
5
|
+
solid_units (list[tuple[str]]): List of all solid units for your model.
|
|
6
|
+
hydro_units (list[tuple[str]]): List of all hydraulic units for your model.
|
|
7
|
+
thermal_units (list[tuple[str]]): List of all thermal units for your model.
|
|
8
|
+
|
|
9
|
+
Examples:
|
|
10
|
+
|
|
11
|
+
.. code-block:: python
|
|
12
|
+
|
|
13
|
+
modeler = RS2Modeler()
|
|
14
|
+
model = modeler.openFile(rf"{current_dir}\example_models\SupportStructuralResults.fez")
|
|
15
|
+
# Get Solid, Hydro and Thermal units of your model
|
|
16
|
+
modelerUnits = model.getUnits()
|
|
17
|
+
print("\\nModeler Units")
|
|
18
|
+
print("\\nSolid Units :")
|
|
19
|
+
# Get solid units
|
|
20
|
+
pprint(modelerUnits.solid_units)
|
|
21
|
+
print("\\nHydro Units :")
|
|
22
|
+
# Get hydro units
|
|
23
|
+
pprint(modelerUnits.hydro_units)
|
|
24
|
+
print("\\nThermal Units :")
|
|
25
|
+
# Get thermal units
|
|
26
|
+
pprint(modelerUnits.thermal_units)
|
|
27
|
+
|
|
28
|
+
See a full example in :ref:`Get Model Units Example`.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
"""
|
|
32
|
+
def __init__(self, solid_units=None, hydro_units=None, thermal_units=None):
|
|
33
|
+
self.solid_units = solid_units
|
|
34
|
+
self.hydro_units = hydro_units
|
|
35
|
+
self.thermal_units = thermal_units
|
|
@@ -5,7 +5,7 @@ from multiprocessing.connection import Client as multiProcessingClient
|
|
|
5
5
|
|
|
6
6
|
class Client:
|
|
7
7
|
def __init__(self, host, port):
|
|
8
|
-
self.compatibleProgramVersion = "11.
|
|
8
|
+
self.compatibleProgramVersion = "11.025"
|
|
9
9
|
self.connection = self.establishConnection(host, port)
|
|
10
10
|
if self.connection == None:
|
|
11
11
|
raise RuntimeError("Could not establish connection with the server. Make sure the server is started on the application.")
|
|
@@ -28,6 +28,11 @@ class ExportResultType(Enum):
|
|
|
28
28
|
SEEPAGE_TOTAL_HYDRAULIC_GRADIENT = "INTERPRET_HYD_GRAD_TOTAL"
|
|
29
29
|
SEEPAGE_HORIZONTAL_PERMEABILITY = "INTERPRET_PERMEABILITY_X"
|
|
30
30
|
SEEPAGE_VERTICAL_PERMEABILITY = "INTERPRET_PERMEABILITY_Y"
|
|
31
|
+
SEEPAGE_SPATIAL_PERM = "INTERPRET_SPATIAL_PERM"
|
|
32
|
+
SEEPAGE_SPATIAL_WC = "INTERPRET_SPATIAL_WC"
|
|
33
|
+
SEEPAGE_SPATIAL_WC_RES = "INTERPRET_SPATIAL_WC_R"
|
|
34
|
+
SEEPAGE_SPATIAL_CONDY = "INTERPRET_SPATIAL_CONDY"
|
|
35
|
+
SEEPAGE_SPATIAL_ANGLE= "INTERPRET_SPATIAL_ANGLE"
|
|
31
36
|
SEEPAGE_YIELDED_ELEMENTS = "INTERPRET_YIELDED_ELEMENTS"
|
|
32
37
|
SOLID_STRAIN_VOLUMETRIC_STRAIN = "INTERPRET_STRAIN_VOLUMETRIC"
|
|
33
38
|
SOLID_STRAIN_MAX_SHEAR_STRAIN = "INTERPRET_STRAIN_MAX_SHEAR"
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
from enum import Enum, auto
|
|
2
2
|
class HistoryQueryGraphEnums():
|
|
3
|
+
"""
|
|
4
|
+
Set the history query graph.
|
|
5
|
+
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
class VerticalAxisTypes(Enum):
|
|
4
10
|
HORIZONTAL_DISPLACEMENT = 4070
|
|
5
11
|
VERTICAL_DISPLACEMENT = 4071
|
|
@@ -14,8 +20,8 @@ class HistoryQueryGraphEnums():
|
|
|
14
20
|
STRAIN_XX = 4080
|
|
15
21
|
STRAIN_YY = 4081
|
|
16
22
|
STRAIN_XY = 4082
|
|
17
|
-
EXCESS_PORE_PRESSURE = 4083
|
|
18
23
|
# Water
|
|
24
|
+
EXCESS_PORE_PRESSURE = 4083
|
|
19
25
|
PORE_PRESSURE = 4084
|
|
20
26
|
HORIZONTAL_HYDRAULIC_VELOCITY = 4085
|
|
21
27
|
VERTICAL_HYDRAULIC_VELOCITY = 4086
|
|
@@ -33,6 +39,10 @@ class HistoryQueryGraphEnums():
|
|
|
33
39
|
STAGE_LOAD_PERCENTAGE = 9096
|
|
34
40
|
|
|
35
41
|
class TimeQueryGraphEnums():
|
|
42
|
+
"""
|
|
43
|
+
Set the time query graph.
|
|
44
|
+
|
|
45
|
+
"""
|
|
36
46
|
class VerticalAxisTypes(Enum):
|
|
37
47
|
X_VELOCITY = 4041
|
|
38
48
|
X_DISPLACEMENT = 4042
|
|
@@ -18,11 +18,10 @@ class Model(BaseModel):
|
|
|
18
18
|
'''
|
|
19
19
|
Saves the model using the given file name.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.. code-block:: python
|
|
21
|
+
Examples:
|
|
22
|
+
.. code-block:: python
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
model.saveCopyAs('C:/simple_3_stage.fez')
|
|
26
25
|
'''
|
|
27
26
|
formattedFileName = fileName.replace('/', '\\')
|
|
28
27
|
self._enforceFeaFezEnding(formattedFileName)
|
|
@@ -13,11 +13,10 @@ class RS2Interpreter:
|
|
|
13
13
|
'''
|
|
14
14
|
Takes in the absolute path to an rs2 file to be opened in the modeler.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
.. code-block:: python
|
|
16
|
+
Examples:
|
|
17
|
+
.. code-block:: python
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
model = modeler.openFile('C:/simple_3_stage.fez')
|
|
21
20
|
'''
|
|
22
21
|
request = functionRequest('open_file', [fileName], keepReturnValueReference=True)
|
|
23
22
|
modelObjectId = self.client.callFunction(request)
|
|
@@ -56,15 +55,14 @@ class RS2Interpreter:
|
|
|
56
55
|
'''
|
|
57
56
|
Closes the modeler program. All unsaved models are saved by default.
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.. code-block:: python
|
|
58
|
+
Examples:
|
|
59
|
+
.. code-block:: python
|
|
62
60
|
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
#Saves all models before closing
|
|
62
|
+
modeler.closeProgram(True)
|
|
65
63
|
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
#Closes without saving any models
|
|
65
|
+
modeler.closeProgram(False)
|
|
68
66
|
'''
|
|
69
67
|
request = functionRequest('closeProgram', [saveModels])
|
|
70
68
|
portUsed = self.client.callFunction(request)
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
class HistoryQueryResult:
|
|
2
2
|
"""
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
This class shows History Query Result.
|
|
4
|
+
|
|
5
|
+
Attributes:
|
|
6
|
+
x_location (double): X-Coordinate for history query point.
|
|
7
|
+
y_location (double): Y-Coordinate for history query point.
|
|
8
|
+
horizontal_axis_result (double): Horizontal Axis Result for history query point.
|
|
9
|
+
vertical_axis_result (double): Vertical Axis Result for history query point.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Examples:
|
|
13
|
+
:ref:`History Query Example`
|
|
11
14
|
"""
|
|
15
|
+
|
|
12
16
|
def __init__(self, x_location, y_location, horizontal_axis_result, vertical_axis_result):
|
|
13
17
|
self.horizontal_axis_result = horizontal_axis_result
|
|
14
18
|
self.vertical_axis_result = vertical_axis_result
|
|
@@ -2,14 +2,17 @@ from rs2.interpreter._UtilityResult import *
|
|
|
2
2
|
|
|
3
3
|
class QueryResult:
|
|
4
4
|
"""
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
y_location (double): Y-Coordinate for material query point.
|
|
11
|
-
distance (double): Distance for material query point.
|
|
5
|
+
|
|
6
|
+
Attributes:
|
|
7
|
+
x_location (double): X-Coordinate for material query point.
|
|
8
|
+
y_location (double): Y-Coordinate for material query point.
|
|
9
|
+
distance (double): Distance for material query point.
|
|
12
10
|
value (double): Result type value for material query point.
|
|
11
|
+
|
|
12
|
+
Examples:
|
|
13
|
+
|
|
14
|
+
:ref:`Material Query Example`
|
|
15
|
+
|
|
13
16
|
"""
|
|
14
17
|
def __init__(self, x_location, y_location, distance, value):
|
|
15
18
|
self.x_location = x_location
|
|
@@ -44,13 +47,15 @@ class QueryResult:
|
|
|
44
47
|
|
|
45
48
|
class MaterialQueryResults:
|
|
46
49
|
"""
|
|
47
|
-
|
|
48
|
-
:ref:`Material Query Example`
|
|
49
|
-
|
|
50
|
-
Attributes:
|
|
50
|
+
Attributes:
|
|
51
51
|
entity_ID (str): Unique Identifier for material query.
|
|
52
52
|
material_id (int): Material Identifier for material query.
|
|
53
53
|
query_values (list[QueryResult]): List of QueryResult point objects making up the material query.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
Examples:
|
|
57
|
+
|
|
58
|
+
:ref:`Material Query Example`
|
|
54
59
|
"""
|
|
55
60
|
def __init__(self, entity_ID, material_id, query_values):
|
|
56
61
|
self.entity_ID = entity_ID
|
{rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/queryResults/MeshResults.py
RENAMED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
class MeshResults:
|
|
2
2
|
"""
|
|
3
|
-
Examples:
|
|
4
|
-
:ref:`Get Mesh Results Example`
|
|
5
3
|
|
|
6
|
-
|
|
4
|
+
Attributes:
|
|
7
5
|
results (list[list[double]]): Mesh results containing x-coordinate, y-coordinate and result type value for each node in your model.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Examples:
|
|
9
|
+
|
|
10
|
+
:ref:`Get Mesh Results Example`
|
|
11
|
+
|
|
8
12
|
"""
|
|
9
13
|
results = None
|
|
10
14
|
|
{rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/queryResults/TimeQueryResults.py
RENAMED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
class QueryPointResult:
|
|
2
2
|
"""
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Attributes:
|
|
3
|
+
Returns query point result.
|
|
4
|
+
|
|
5
|
+
Attributes:
|
|
7
6
|
x_location (double): X-Coordinate for time query point.
|
|
8
7
|
y_location (double): Y-Coordinate for time query point.
|
|
9
8
|
time (double): Dynamic stage time for time query point.
|
|
10
9
|
value (double): Value for time query point.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Examples:
|
|
13
|
+
|
|
14
|
+
:ref:`Time Query Example`
|
|
15
|
+
|
|
11
16
|
"""
|
|
12
17
|
def __init__(self, x_location, y_location, time, value):
|
|
13
18
|
self.x_location = x_location
|
|
@@ -41,11 +46,11 @@ class QueryPointResult:
|
|
|
41
46
|
|
|
42
47
|
class QueryLineResult:
|
|
43
48
|
"""
|
|
44
|
-
|
|
45
|
-
:ref:`Time Query Example`
|
|
46
|
-
|
|
47
|
-
Attributes:
|
|
49
|
+
Attributes:
|
|
48
50
|
query_values (list[QueryPointResult]): List of QueryPointResult objects making up the result for the time query line.
|
|
51
|
+
|
|
52
|
+
Examples:
|
|
53
|
+
:ref:`Time Query Example`
|
|
49
54
|
"""
|
|
50
55
|
def __init__(self, list_node_values):
|
|
51
56
|
list_node_value_obj = []
|
|
@@ -67,12 +72,12 @@ class QueryLineResult:
|
|
|
67
72
|
|
|
68
73
|
class TimeQueryPointResults:
|
|
69
74
|
"""
|
|
70
|
-
|
|
71
|
-
:ref:`Time Query Example`
|
|
72
|
-
|
|
73
|
-
Attributes:
|
|
75
|
+
Attributes:
|
|
74
76
|
entity_ID (str): Unique Identifier for time query point.
|
|
75
77
|
query_values (list[QueryPointResult]): List of QueryPointResult object for time query point.
|
|
78
|
+
|
|
79
|
+
Examples:
|
|
80
|
+
:ref:`Time Query Example`
|
|
76
81
|
"""
|
|
77
82
|
# Stores all time query points result for specific stage
|
|
78
83
|
def __init__(self, entity_ID, query_point_values):
|
|
@@ -103,12 +108,12 @@ class TimeQueryPointResults:
|
|
|
103
108
|
|
|
104
109
|
class TimeQueryLineResults:
|
|
105
110
|
"""
|
|
106
|
-
|
|
107
|
-
:ref:`Time Query Example`
|
|
108
|
-
|
|
109
|
-
Attributes:
|
|
111
|
+
Attributes:
|
|
110
112
|
entity_ID (str): Unique Identifier for time query line.
|
|
111
113
|
line_data (list[QueryLineResult]): List of QueryLineResult object for time query line.
|
|
114
|
+
|
|
115
|
+
Examples:
|
|
116
|
+
:ref:`Time Query Example`
|
|
112
117
|
"""
|
|
113
118
|
# Stores all time query line result for specific stage
|
|
114
119
|
def __init__(self, entity_ID, list_query_line_data):
|
{rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/supportResults/BoltResult.py
RENAMED
|
@@ -11,15 +11,16 @@ class BoltElementYieldStatus(Enum):
|
|
|
11
11
|
|
|
12
12
|
class BoltYieldingResult:
|
|
13
13
|
"""
|
|
14
|
-
|
|
15
|
-
:ref:`Support Bolt Results Example`
|
|
16
|
-
|
|
17
|
-
Attributes:
|
|
14
|
+
Attributes:
|
|
18
15
|
start_x (double): Start X-Coordinate for support bolt.
|
|
19
16
|
start_y (double): Start Y-Coordinate for support bolt.
|
|
20
17
|
end_x (double): End X-Coordinate for support bolt.
|
|
21
18
|
end_y (double): End Y-Coordinate for support bolt.
|
|
22
19
|
yielding_flag (BoltElementYieldStatus): Enum representing bolt yielded status.
|
|
20
|
+
|
|
21
|
+
Examples:
|
|
22
|
+
:ref:`Support Bolt Results Example`
|
|
23
|
+
|
|
23
24
|
"""
|
|
24
25
|
def __init__(self, start_x, start_y, end_x, end_y, yielding_flag):
|
|
25
26
|
self.start_x = start_x #0
|
|
@@ -32,10 +33,8 @@ class BoltYieldingResult:
|
|
|
32
33
|
|
|
33
34
|
class BoltForceDisplacementResult:
|
|
34
35
|
"""
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
Attributes:
|
|
36
|
+
|
|
37
|
+
Attributes:
|
|
39
38
|
location_x (double): Start X-Coordinate for support bolt.
|
|
40
39
|
location_y (double): Start Y-Coordinate for support bolt.
|
|
41
40
|
distance (double): Distance of support bolt.
|
|
@@ -44,6 +43,9 @@ class BoltForceDisplacementResult:
|
|
|
44
43
|
shear_force (double): Shear Force for support bolt.
|
|
45
44
|
rock_displacement (double): Rock Displacement for support bolt.
|
|
46
45
|
bolt_displacement (double): Bolt Displacement for support bolt.
|
|
46
|
+
|
|
47
|
+
Examples:
|
|
48
|
+
:ref:`Support Bolt Results Example`
|
|
47
49
|
"""
|
|
48
50
|
def __init__(self, location_x, location_y, distance, axial_force, axial_stress, shear_force, rock_displacement, bolt_displacement):
|
|
49
51
|
self.location_x = location_x #0
|
|
@@ -58,10 +60,8 @@ class BoltForceDisplacementResult:
|
|
|
58
60
|
|
|
59
61
|
class BoltResult:
|
|
60
62
|
"""
|
|
61
|
-
Examples:
|
|
62
|
-
:ref:`Support Bolt Results Example`
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Attributes:
|
|
65
65
|
entity_id (str): Unique Identifier for support bolt.
|
|
66
66
|
start_x (double): Start X-Coordinate for support bolt.
|
|
67
67
|
start_y (double): Start Y-Coordinate for support bolt.
|
|
@@ -69,7 +69,11 @@ class BoltResult:
|
|
|
69
69
|
end_y (double): End Y-Coordinate for support bolt.
|
|
70
70
|
yielding_results (list[BoltYieldingResult]): List of bolt yielding result for support bolt.
|
|
71
71
|
force_displacement_results (list[BoltForceDisplacementResult]): List of bolt force displacement result for support bolt.
|
|
72
|
-
|
|
72
|
+
|
|
73
|
+
Examples:
|
|
74
|
+
:ref:`Support Bolt Results Example`
|
|
75
|
+
|
|
76
|
+
"""
|
|
73
77
|
def __init__(self, entity_id, entity_data, yielding_results: list[BoltYieldingResult], force_displacement_results: list[BoltForceDisplacementResult]):
|
|
74
78
|
if len(entity_data) == 0 or len(entity_data[0]) == 0:
|
|
75
79
|
assert False, 'location not defined'
|
{rs2scripting-11.24.2 → rs2scripting-11.25.0}/src/rs2/interpreter/supportResults/CompositeResult.py
RENAMED
|
@@ -3,13 +3,14 @@ from rs2.interpreter.supportResults.JointResult import JointResult
|
|
|
3
3
|
|
|
4
4
|
class PileResult:
|
|
5
5
|
"""
|
|
6
|
-
|
|
7
|
-
:ref:`Support Pile Results Example`
|
|
8
|
-
|
|
9
|
-
Attributes:
|
|
6
|
+
Attributes:
|
|
10
7
|
entity_id (str): Unique Identifier for support pile.
|
|
11
8
|
joint_result (list[JointResult]): List of all joint results for support pile.
|
|
12
9
|
liner_result (list[LinerResult]): List of all liner results for support pile.
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
|
|
13
|
+
:ref:`Support Pile Results Example`
|
|
13
14
|
"""
|
|
14
15
|
def __init__(self, entity_id, joint_result: list[JointResult], liner_result: list[LinerResult]):
|
|
15
16
|
self.entity_id = entity_id
|
|
@@ -18,13 +19,14 @@ class PileResult:
|
|
|
18
19
|
|
|
19
20
|
class CompositeResult:
|
|
20
21
|
"""
|
|
21
|
-
|
|
22
|
-
:ref:`Support Composite Results Example`
|
|
23
|
-
|
|
24
|
-
Attributes:
|
|
22
|
+
Attributes:
|
|
25
23
|
entity_id (str): Unique Identifier for support composite.
|
|
26
24
|
joint_result (list[JointResult]): List of all joint results for support composite.
|
|
27
25
|
liner_result (list[LinerResult]): List of all liner results for support composite.
|
|
26
|
+
|
|
27
|
+
Examples:
|
|
28
|
+
|
|
29
|
+
:ref:`Support Composite Results Example`
|
|
28
30
|
"""
|
|
29
31
|
def __init__(self, entity_id, joint_result: list[JointResult], liner_result: list[LinerResult]):
|
|
30
32
|
self.entity_id = entity_id
|
|
@@ -33,13 +35,15 @@ class CompositeResult:
|
|
|
33
35
|
|
|
34
36
|
class StructuralResult:
|
|
35
37
|
"""
|
|
36
|
-
|
|
37
|
-
:ref:`Support Structural Results Example`
|
|
38
|
-
|
|
39
|
-
Attributes:
|
|
38
|
+
Attributes:
|
|
40
39
|
entity_id (str): Unique Identifier for support structural.
|
|
41
40
|
joint_result (list[JointResult]): List of all joint results for support structural.
|
|
42
41
|
liner_result (list[LinerResult]): List of all liner results for support structural.
|
|
42
|
+
|
|
43
|
+
Examples:
|
|
44
|
+
|
|
45
|
+
:ref:`Support Structural Results Example`
|
|
46
|
+
|
|
43
47
|
"""
|
|
44
48
|
def __init__(self, entity_id, joint_result: list[JointResult], liner_result: list[LinerResult]):
|
|
45
49
|
self.entity_id = entity_id
|