Model.createfilletmidlines#
- Model.createfilletmidlines(collection, max_radius, min_radius, max_width, min_width, suppress_rib)#
This function is applied to a selection of surfaces given by
collection. It first recognizes triangular or rectangular fillet surfaces with radius among the range (min_radius,max_radius), and fillet profile arc length among the range (min_width,max_width). Then it splits the recognized fillets along longitudinal center lines.- Parameters:
collection (Collection) – The collection containing the surface entities.
max_radius (double) – The maximum fillet radius (must be greater than min_radius).
min_radius (double) – The minimum fillet radius (must be greater than or equal to 0).
max_width (double) – The maximum fillet profile arc length (must be greater than min_width).
min_width (double) – The minimum fillet profile arc length (must be greater than or equal to 0).
suppress_rib (int) –
The option for suppressing original fillet tangent lines.
0 - Do not suppress.
1 - Suppress.
Example#
Create fillet midlines for all of the displayed surfaces with a max radius of 40.0 , a min radius of 0.0001 , a max width of 100000.0 , a min width of 0.0 , and without suppress fillet tangent lines#import hm import hm.entities as ent model = hm.Model() surfaces = hm.Collection(model, ent.Surface, populate=True) model.createfilletmidlines( collection=surfaces, max_radius=40.0, min_radius=0.0001, max_width=100000.0, min_width=0.0, suppress_rib=0, )