UF_MODL_ask_general_flange
Defined in: uf_modl_smd.h
int UF_MODL_ask_general_flange(tag_t general_flange_tag, UF_STRING_p_t bend_edge_string, UF_STRING_p_t spine_string, int * step_count, int * poly_cubic, int * reverse_normal, int * reverse_thicken, char thickness_str [ UF_MAX_EXP_BUFSIZE ] , char tolerance_str [ UF_MAX_EXP_BUFSIZE ] , UF_MODL_parm_p_t plus, UF_MODL_parm_t bend_radius [ ] , UF_MODL_parm_t bend_angle [ ] , UF_MODL_parm_t web_length [ ] )
overview 概述
Retrieves the parameters used to create a general flange.
检索用于创建一般法兰的参数。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
| tag_t | general_flange_tag | Input | Attachment face for the generalized flange. The flange is constrained to be tangent to this face along the bend edge. 广义法兰连接面。法兰被约束沿着弯曲边与这个面相切。 |
| UF_STRING_p_t | bend_edge_string | Output | An edge in the tangent face, used as the attachment edge the generalized flange. 在切面上的一条边,用作连接边的广义法兰。 |
| UF_STRING_p_t | spine_string | Output | An edge or curve used to define the section planes for the bend and web. If this value is null, the bend edge string is used as the spine string. 用来定义弯曲和腹板的截面平面的边或曲线。如果此值为空,则将弯曲边字符串用作脊柱字符串。 |
| int * | step_count | Output | The number of steps in the generalized flange. Zero is an invalid number. For each step include a value for the bend radius, bend angle and web. 广义凸缘中的台阶数。零是一个无效的数字。每个步骤包括一个弯曲半径,弯曲角度和腹板的值。 |
| int * | poly_cubic | Output | =0 Use Rational Exact B-splines curves represented by exact conics. =1 Use Polynomial approximate to produce a surface with better parameterization. This does not produce exact conics. = 0使用精确二次曲线表示的有理精确 B 样条曲线。= 1使用多项式近似得到参量化更好的曲面。这不会产生精确的二次曲线。 |
| int * | reverse_normal | Output | =0 Use the tangent face normal at the center of the bend edge to determine the direction of the flange. =1 Use the reverse of the tangent face normal at the center of the bend edge to determine the direction of the flange. = 0利用弯曲边中心法向切面来确定法兰的方向。= 1利用弯曲边中心法向切面的反向来确定法兰的方向。 |
| int * | reverse_thicken | Output | =0 If Body type is solid, thicken the plus bend and web along the direction of the bend. =1 If Body type is solid, thicken the plus bend and web opposite to the direction of the bend. = 0如果体型是实心的,沿着弯曲的方向加厚正弯和腹板。= 1如果体型为实心,则加厚与弯曲方向相反的正弯和腹板。 |
| char | thickness_str [ UF_MAX_EXP_BUFSIZE ] | Output | Thickness of the solid body created if the Modeling preference for body type is set to solid. The calling program must pass in a character array large enough to hold the thickness string. 如果对身体类型的建模偏好设置为实体,则创建实体的厚度。调用程序必须传入一个足以容纳厚度字符串的大字符数组。 |
| char | tolerance_str [ UF_MAX_EXP_BUFSIZE ] | Output | This is initially set from the the modeling distance tolerance. This value has the same effect as the modeling distance tolerance. The calling program must pass in a character array large enough to hold the tolerance string. 这是最初设置的建模距离公差。该值与建模距离公差具有相同的效果。调用程序必须传入一个足以容纳公差字符串的大字符数组。 |
| UF_MODL_parm_p_t | plus | Output | The law specification of the target face extension between the bend edge and the start of the bend. 目标面在弯曲边缘和弯曲起始点之间伸展的规律说明。 |
| UF_MODL_parm_t | bend_radius [ ] | Output | The law specification of the radius of the bend. There will be one value in this array for each step in the flange. The caller is responsible for allocating an array large enough to handle the number of steps. 弯曲半径的法律规定。在这个数组中,对于法兰中的每一步,都将有一个值。调用方负责分配一个大到足以处理步骤数的数组。 |
| UF_MODL_parm_t | bend_angle [ ] | Output | The law specification of the angle of the bend. There will be one value in this array for each step in the flange. The caller is responsible for allocating an array large enough to handle the number of steps. 弯曲角度的法律规定。在这个数组中,对于法兰中的每一步,都将有一个值。调用方负责分配一个大到足以处理步骤数的数组。 |
| UF_MODL_parm_t | web_length [ ] | Output | The law specification of the length of the surface extension after the bend. There will be one value in this array for each step in the flange. The caller is responsible for allocating an array large enough to handle the number of steps. 弯曲后表面延伸长度的规律说明。在这个数组中,对于法兰中的每一步,都将有一个值。调用方负责分配一个大到足以处理步骤数的数组。 |