rs2.modeler.properties.DiscreteFunction module#
- class rs2.modeler.properties.DiscreteFunction.DiscreteFunction(client: Client, ID)#
Bases:
ProxyObject
- setFunctionParameters(functionType: DiscreteDrainedMode, useModulus: bool, residualStrengthFactor: float, peakTensileStrength: float, residualTensileStrength: float, useModulusResidual: bool = False)#
- getFunctionParameters()#
Returns a tuple of (DiscreteDrainedMode, useModulus, residualStrengthFactor, peakTensileStrength, residualTensileStrength, useModulusResidual)
- setInterpolationMethod(interpolationMethod: InterpolationMethod)#
- getInterpolationMethod()#
- setSymbolDrawing(symbol: SymbolTypes, exteriorColor: int, fillInterior: bool, interiorColor: int = 0)#
- getSymbolDrawing()#
Returns a tuple of (SymbolTypes, exteriorColor, fillInterior, interiorColor)
- setPointLocations(locations: list[tuple[float, float]])#
- getPointLocations()#
- setPointsC(c: list[float])#
- getPointsC()#
- setPointsPhi(phi: list[float])#
- getPointsPhi()#
- setPointsModulus(modulus: list[float])#
- getPointsModulus()#
- setPointsModulusResidual(modulusResidual: list[float])#
- getPointsModulusResidual()#