Overview | Statement List | Example 1 | Example 2 | Example 3


创建圆角面

Synopsis

obj = FILSRF/surf1,surf2,point[,TOLER,tl],RADIUS,r1[,r2],[LINEAR|SSHAPE][,lsurf1,lpoint1,lsurf2,lpoint2][,VECT,x,y,z][,RESULT,result][,IFERR,label:]

Description

Creates a fillet sheet between two previously defined faces by defining a radius, an approximate center point, and an optional tolerance. The resulting fillet sheet's underlying surface type is a B-surface.

The fillet can be limited between two limiting faces, and its generation direction can be controlled by specifying a vector.

If no limiting faces are specified, the fillet is generated from edge to edge of the faces being filleted. If no vector is specified, the fillet is created from the start point to the end point.

Parameters

Parameter

Description

surf1,surf2

The two existing faces to be filleted. The faces do not have to intersect, but the maximum distance between any two points of tangency must be less than or equal to twice the specified radius of the fillet.

point

A previously defined point which approximates the location of the fillet center and indicates the quadrant where the fillet is created.

TOLER

The optional minor word TOLER indicates that a maximum deviation tolerance value is to be specified. If none is specified, the default is the value set in the Unigraphics option Preferences->Modeling. You can also read and set this tolerance using the GPA &DISTOL.

tl

The maximum allowed distance between the fillet edge and the indicated surfaces.

RADIUS

Minor word that indicates that a radius or radii values are to be specified.

r1,r2

Fillet radii values. If the fillet has a constant radius only one radius value (r1) is needed. If the fillet has a variable radius fillet, then two radius values are needed (r1,r2) where the start radius is r1 and the end radius is r2.

LINEAR

Minor word that specifies that a linearly varying variable radius fillet is to be created.

SSHAPE

Minor word that specifies that an S-shaped variable radius fillet is to be created.

If neither LINEAR nor SSHAPE is specified, the default is a linearly varying radius. If only one radius is specified (r1) or if both radii are the same (r1 and r2), the fillet is a constant radius fillet.

lsurf1

An existing sheet which is used to limit the length of the fillet. The fillet begins where this sheet intersects the two faces being filleted.

lpoint1

An existing point which lies at the approximate center of the beginning of the fillet. This point defines which intersection, if multiple intersections exist between the limiting sheet and the filleting faces, is used to define the start of the fillet.

lsurf2

An existing sheet which is used to limit the length of the fillet. The fillet stops where this sheet intersects the two faces being filleted.

lpoint2

An existing point which lies at the approximate center of the end of the fillet. This point defines which intersection, if multiple intersections exist between the limiting sheet and the filleting faces, are used to define the end of the fillet.

VECT

Minor word that indicates that a vector is to be specified to control the direction in which the fillet is created.

x,y,z

Numerical components of a vector that controls the direction the fillet is created. The fillet is created in the direction that the vector points.

When no vector is specified, the fillet is created from the start point to the end point. If there are two possible paths between the start point and end point (e.g., between two points along the bottom edge of a cylinder), the fillet is created along the shortest distance.

RESULT

Minor word which indicates that a value is to be assigned to the subsequent argument based upon the results of the fillet creation.

result

A numerical value is assigned to this argument based upon the results of the fillet creation. This information can be used in conjunction with IFERR, label:. For example, if the value 5 is returned, an incomplete fillet was created due to the fillet radius exceeding the curvature of the sheets. In this case you could either delete the incomplete fillet or continue. The values which can be returned are as follows (negative values indicate errors in the input data, positive values indicate errors in the fillet creation):

Value

Error Returned

-7

Invalid surface type.

-6

Object is not a point.

-5

Tolerance too small.

-4

Tolerance too large.

-3

End radius too small.

-2

Start radius too small.

-1

Fixed radius too small.

0

Successful fillet creation.

1

Not used.

2

Not used.

3

Not used.

4

Not used.

5

Cannot create entire fillet due to
fillet radius exceeding curvature of surfaces.

6

Out of memory.

7

Unable to create fillets.

IFERR,label:

Specifies a label to which program execution jumps if an error occurs during filleting. Use this in conjunction with the results parameter previously described.

NOTE: If a value of 5 is returned to the result area, then IFERR,label: is not activated and no other error message is given. This allows a partial fillet to be returned to the program.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.