ZW3D 二次开发-创建圆柱体
使用中望3d用户函数 cvxPartCyl 创建圆柱体
函数定义:
ZW_API_C evxErrors cvxPartCyl(svxCylData *Cyl, int *idShape);
typedef struct svxCylData
{evxBoolType Combine; /**<@brief combination method */int idPlane; /**<@brief optional datum plane (0 to use XY plane) */int useAxis; /**<@brief flag to use axis, 0 default */svxAxis axis; /**<@brief optional axis */svxPoint Center; /**<@brief center of bottom face */double Radius; /**<@brief radius (mm) in XY plane */double Length; /**<@brief length (mm) along Z */