Model.edgesmarksuppress#
- Model.edgesmarksuppress(collection, break_angle)#
Suppresses a group of edges.
- Parameters:
collection (Collection) – The collection containing the line entities that refer to edges to supress.
break_angle (double) – If the angle between the surfaces at the shared edge is less than or equal to the break angle, then the edge is suppressed. If the angle between the surfaces at the shared edge is greater than the break angle, the edge is not suppressed.
Example#
Suppress edges with IDs 5 , 14 , 21 , and 30 , with a break angle of 30 degrees#import hm import hm.entities as ent model = hm.Model() lines = hm.Collection(model, ent.Line, [5,14,21,30]) model.edgesmarksuppress(collection=lines)
Note
Only face edges which are interior to a surface or shared between two surfaces may be suppressed and unsuppressed. Suppressing an edge can combine two separate surfaces, and removes its affect on the mesh. The model.createmark() function is required.