Material#
Soil material library entry. Numeric strength and unit-weight values use
project-native units from getProjectUnits().
The cohesion setter parameter is named cohesionKPa for historical wire
reasons; pass the value in the project’s native stress unit, not necessarily
kilopascals.
- class rswall.Material.Material#
Bases:
_ProxyObjectRepresents a soil material in an RSWall project.
Wraps a SoilData entry in the project property library.
- setUnitWeight(unitWeight)#
Set unit weight in project native units (allows 0; rejects negatives).
- setUseSaturatedWeight(useSaturatedWeight)#
Enable or disable saturated unit weight.
- setSatUnitWeight(satUnitWeight)#
Set saturated unit weight in project native units (allows 0; rejects negatives).
- setFrictionAngle(frictionAngleDegrees)#
Set friction angle in degrees.
- setInterfaceFrictionAngle(interfaceFrictionAngleDegrees)#
Set soil-structure friction angle in degrees.
- getCohesion()#
Cohesion in project native stress units.
The underlying wire field is named
cohesionKPa; the returned value is still in the project’s native stress unit.- Return type:
- setCohesion(cohesionKPa)#
Set cohesion in project native stress units.
The parameter is named
cohesionKPafor historical wire-protocol reasons. Pass the value in the project’s native stress unit fromgetProjectUnits()(not necessarily kilopascals).
- setInterfaceAdhesionRatio(interfaceAdhesionRatio)#
Set interface adhesion ratio (0 to 1).