set_material_thresholds#
- Q3d.set_material_thresholds(insulator_threshold: float | None = None, perfect_conductor_threshold: float | None = None, magnetic_threshold: float | None = None) bool#
Set material threshold.
- Parameters:
- insulator_threshold
float,optional Threshold for the insulator or conductor. The default is “None”, in which case the threshold is set to 10000.
- perfect_conductor_threshold
float,optional Threshold that decides whether a conductor is perfectly conducting. This value must be higher than the value for the insulator threshold. The default is
None, in which case the value is set to 1E+030.- magnetic_threshold
float,optional Threshold that decides whether a material is magnetic. The default is “None”, in which case the value is set to 1.01.
- insulator_threshold
- Returns:
- bool
Truewhen successful,Falsewhen failed.