Model.surfacemarkremovelinefillets#
- Model.surfacemarkremovelinefillets(collection, min_radius, max_radius, min_angle, double_array)#
Defeatures specific surface edge fillets.
- Parameters:
collection (Collection) – The collection containing the surface entities to defeature the edge fillets.
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).
double_array (hwDoubleList) – The list of doubles that contains the coordinates of the fillets to defeature.
Example#
Delete 3 edge fillets with coordinates [ ( 112.800768 , -97.9869801 , 90.4349669 ) ( 113.103246 , 71.2980238 , 87.1212897 ) and ( -118.799245 , -97.7195516 , 110.804638 ) ] with a radius between 3.0 and 5.0 , and an angle greater than 15.0 degrees#import hm import hm.entities as ent model = hm.Model() model.surfacemarkremovelinefillets( collection=hm.Collection(model, ent.Surface), min_radius=3.0, max_radius=5.0, min_angle=15.0, float_array=[ 112.800768, -97.9869801, 90.4349669, 113.103246, 71.2980238, 87.1212897, -118.799245, -97.7195516, 110.804638, ], )