ansys.mapdl.core.Mapdl.lfillt#
- Mapdl.lfillt(nl1='', nl2='', rad='', pcent='', **kwargs)#
Generates a fillet line between two intersecting lines.
Mechanical APDL Command: LFILLT
- Parameters:
- nl1
str Number of the first intersecting line. If
NL1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI).- nl2
str Number of the second intersecting line.
- rad
str Radius of fillet to be generated. Radius should be less than the lengths of the two lines specified with
NL1andNL2.- pcent
str Number to be assigned to generated keypoint at fillet arc center. If zero (or blank), no keypoint is generated.
- nl1
- Returns:
intLine number of the generated line.
Notes
Generates a fillet line between two intersecting lines
NL1(P1-PINT) andNL2(P2-PINT). Three keypoints may be generated, two at the fillet tangent points (PTAN1andPTAN2) and one (optional) at the fillet arc center (PCENT). LineP1-PINTbecomesP1-PTAN1,P2-PINTbecomesP2-PTAN2, and new arc linePTAN1-PTAN2is generated. Generated keypoint and line numbers are automatically assigned (beginning with the lowest available values ( numstr )). Line divisions are set to zero (use lesize, etc. to modify).Examples
Create two intersecting lines at a right angle and add a fillet between them.
>>> k0 = mapdl.k("", 0, 0, 0) >>> k1 = mapdl.k("", 0, 1, 0) >>> k2 = mapdl.k("", 1, 0, 0) >>> l0 = mapdl.l(k0, k1) >>> l1 = mapdl.l(k0, k2) >>> lnum = mapdl.lfillt(l0, l1, 0.25) 3