Overview | Statement List | Example


Torus圆环

语句格式

obj = SOLTOR/ORIGIN,xc,yc,zc,RADIUS,r1,r2,[,AXIS,i,j,k][,IFERR,label:]

描述

允许您通过指定它的放置点,大半径和小半径,以创建一个非参数化实体圆环。

参数

Parameter

Description

ORIGIN

Minor word indicating that the following values specify the origin of the torus.

xc,yc,zc

Work coordinate values specifying the origin.

RADIUS

Minor word indicating that the following values specify major and minor torus values.

r1

Major radius of the torus. If you enter a negative major radius, then the minor radius must be greater than the absolute value of the major radius. Refer to Figure 1-9, Figure 1-10, and Figure 1-11.

r2

Minor radius of the torus. The minor radius cannot be negative.

AXIS

Optional minor word indicating that the following values specify the axis of the torus.

i,j,k

Specifies a vector to define the torus axis. The system defines the axis parallel to this vector. If none is specified, the system defines the axis parallel to the ZC axis of the WCS.

IFERR,label:

Specifies a label to which program execution jumps if an error occurs. Possible errors include an invalidly specified axis or origin, parameter values not within the correct range, etc.

Torus: Positive Radii

 Torus: Major Radius Less than Minor Radius, Both Positive


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