set_material_thresholds#
- Q3d.set_material_thresholds(insulator_threshold=None, perfect_conductor_threshold=None, magnetic_threshold=None)[source]#
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
True
when successful,False
when failed.