set_material_thresholds#

Q3d.set_material_thresholds(insulator_threshold=None, perfect_conductor_threshold=None, magnetic_threshold=None)[source]#

Set material threshold.

Parameters:
insulator_thresholdfloat, optional

Threshold for the insulator or conductor. The default is “None”, in which case the threshold is set to 10000.

perfect_conductor_thresholdfloat, 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_thresholdfloat, optional

Threshold that decides whether a material is magnetic. The default is “None”, in which case the value is set to 1.01.

Returns:
bool

True when successful, False when failed.