rs2.modeler.properties.ShearNormalFunction module#
- class rs2.modeler.properties.ShearNormalFunction.ShearNormalFunction(client: Client, ID)#
Bases:
ProxyObject
- getName() str #
- setMaterialType(materialType: MaterialType)#
- getMaterialType() str #
- setPeakTensileStrength(peakTensileStrength: float)#
- getPeakTensileStrength() float #
- setResidualTensileStrength(residualTensileStrength: float)#
- getResidualTensileStrength() float #
- setDilationRatio(dilationRatio: float)#
- getDilationRatio() float #
- setUseCalculatedTensileStrength(useCalculatedTensileStrength: bool)#
- getUseCalculatedTensileStrength() bool #
- setFunctionPoints(functionPoints: list[tuple[float, float, float]])#
set the function points. Each point has (normal, shear, residual shear). Residual shear is ignored if the material type is not plastic. Function must not be concave. If a concave function is provided, it will transform the function into a convex function.
- Parameters:
functionPoints – list of tuples of (normal, shear, residual shear)
- Returns:
None
- getFunctionPoints() list[tuple[float, float, float]] #
returns the function points as a list of tuples of (normal, shear, residual shear). Residual shear is ignored if the material type is not plastic.
- Returns:
list of tuples of (normal, shear, residual shear)
- Return type:
list[tuple(float,float,float)]