Model.removeedgefillets#
- Model.removeedgefillets(collection, min_radius, max_radius, min_angle, failed_elem_size)#
Defeatures surface edge fillets.
- Parameters:
collection (Collection) – The collection containing the surface entities to defeature.
min_radius (double) – The minimum value of the fillet radius.
max_radius (double) – The maximum value of the fillet radius.
min_angle (double) – Minimum value of the fillet angle (in degrees).
failed_elem_size (double) – Filters out edge fillets with an angle point within
failed_elem_sizefrom other face vertices. Additionally, it internally filters out some concave edge fillets on “shelves” so that they are not cut by the defeature operation.
Example#
Delete all edge fillets with a radius between 3.0 and 5.0 , with an angle greater than 15.0 degrees#import hm import hm.entities as ent model = hm.Model() model.removeedgefillets( collection=hm.Collection(model, ent.Surface), min_radius=3.0, max_radius=5.0, min_angle=15.0, failed_elem_size=0.0, )