rs3.properties.ShearNormalFunction module#

class rs3.properties.ShearNormalFunction.ShearNormalFunction(client: Client, shearNormalFunctionID: str)#

Bases: _ProxyObject

getName() str#
setName(name)#
setFunctionPoints(value: list[tuple[float, float]] | list[tuple[float, float, float]])#

Set shear-normal function data points.

Parameters:

value

list of tuples Each data point may be provided as:

  • (normal, shear) for elastic material

  • (normal, shear, residual_shear) for plastic material

Example

>>> shearNormalFunction = self.model.getShearNormalFunctions()[0]
>>> shearNormalFunction.setFunctionPoints([(1.1, 2.2), (4.4, 5.5), (7.7, 8.8)])
>>> shearNormalFunction.setFunctionPoints([(1.1, 2.2, 3.3), (4.4, 5.5, 6.6), (7.7, 8.8, 9.9)])
getFunctionPoints() list[tuple[float, float]] | list[tuple[float, float, float]]#

Get shear-normal function points.

Returns:

  • a list of (normal, shear) data points for elastic material

  • a list of (normal, shear, residual_shear) data points for plastic material

getMaterialType() MaterialType#
setMaterialType(materialType: MaterialType)#
getAutoCalcTensile() bool#
setAutoCalcTensile(autoCalcTensile: bool)#
getTensileStrength() float#
setTensileStrength(tensileStrength: float)#
getResidualTensileStrength() float#
setResidualTensileStrength(residualTensileStrength: float)#
getDilationRatiio() float#
setDilationRatiio(dilationRatiio: float)#