Model.createfillet#
- Model.createfillet(line1_entity, line2_entity, radius, trim, quadselected)#
Creates a fillet between two lines.
- Parameters:
line1_entity (Entity) – The first line entity.
line2_entity (Entity) – The second line entity.
radius (double) – The radius of the fillet.
trim (int) –
0 - To leave the lines intact.
1 - To trim line1 and line2 at the fillet boundary.
quadselected (int) – The quadrant to select, if more than one possible fillet location exists.
Example#
Create a fillet between line with ID 1 and line with ID 2 with radius 5.4#import hm import hm.entities as ent model = hm.Model() model.createfillet( line1_entity=ent.Line(model, 1), line2_entity=ent.Line(model, 2), radius=5.4, trim=0, quadselected=0, )
Note
If more than one possible fillet line exists, you must select the fillet quadrant. The number of this quadrant is then used in the quadselected argument.