Model.surfacemarkmerge#
- Model.surfacemarkmerge(collection, breakangle, minradius, maxradius)#
Combines the selected surfaces into one surface, and divides the surface along the internal edges that correspond to fillets and feature lines.
- Parameters:
collection (Collection) – The collection containing the surface entities to combine.
breakangle (double) – The threshold used to recognize feature lines.
minradius (double) – The lower limit of the radius of curvature used to recognize fillets.
maxradius (double) – The upper limit of the radius of curvature used to recognize fillets.
Example#
Combine a surface with a feature breakangle of 30.0 and fillet radii of 1.0 and 15.0#import hm import hm.entities as ent model = hm.Model() model.surfacemarkmerge( collection=hm.Collection(model, ent.Surface, [1, 31, 57, 91, 93, 145, 189, 190]), breakangle=30.0, minradius=1.0, maxradius=15.0, )