MeshEnvelope.set_variable_thickness
- MeshEnvelope.set_variable_thickness(tmin=None, tmax=None)
Set variable thickness based on inverse height using the pattern_inverse_height_thickness function.
This method applies thickness variation based on the height of vertices in the middle mesh, where higher vertices get thinner thickness and lower vertices get thicker thickness.
Parameters
- tminfloat, optional
Minimum thickness. If None, will be calculated as 3/1000 of the diagonal of the xy bounding box.
- tmaxfloat, optional
Maximum thickness. If None, will be calculated as 50/1000 of the diagonal of the xy bounding box.