Overview | Statement List | Example


Solid Cylinder圆柱体

语句根式

obj = SOLCYL/ORIGIN,xc,yc,zc,HEIGHT,h,DIAMTR,d[,AXIS,i,j,k][,IFERR,label:]

描述

允许您通过指定其放置点,高度和直径来创建一个参数化实体圆柱体。

参数

Parameter

Description

ORIGIN

Minor word indicating that the following coordinate values specify the cylinder origin.

xc,yc,zc

Work coordinate values which specify the origin of the cylinder. The origin is located on one of the circular faces of the cylinder.

HEIGHT

Minor word indicating that the following value specifies the cylinder height.

h

The distance between the two circular faces of the cylinder. The height can be positive or negative and determines one of two possible cylinders.

DIAMTR

Minor word indicating that the following value represents the cylinder diameter.

d

The diameter of the cylinder.

AXIS

Optional minor word indicating that the following values specify the cylinder axis.

i,j,k

Specifies a vector which defines the axis of the cylinder. The system defines the axis parallel to this vector. If none is specified, the system defines the cylinder 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.


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