Model.edgesmarkaddmidpoint#
- Model.edgesmarkaddmidpoint(collection)#
Splits each of the input face edges at its midpoint by adding a fixed point on the edge.
- Parameters:
collection (Collection) – The collection containing the line entities that refer to edges.
Example#
Split the edges with IDs 95 , 101 and 102 at their midpoints#import hm import hm.entities as ent model = hm.Model() lines = hm.Collection(model, ent.Lines, [95,101,102]) model.edgesmarkaddmidpoint(collection=lines)