UF_MODL_create_general_flange
Defined in: uf_modl_smd.h
int UF_MODL_create_general_flange(tag_t target_face, UF_STRING_p_t bend_edge_string, UF_STRING_p_t spine_string, UF_STRING_p_t section_curves, int step_count, int poly_cubic, int reverse_normal, int reverse_thicken, char * thickness_str, char * tolerance_str, UF_MODL_parm_p_t plus, UF_MODL_parm_t bend_radius [ ] , UF_MODL_parm_t bend_angle [ ] , UF_MODL_parm_t web_length [ ] , tag_p_t general_flange_tag )
overview 概述
Creates a general flange from its target face, bend radius, bend angle, and web length. Along with these items an optional spine, thickness, tolerance string, bend direction, and step data can be set. The output is the object identifier associated to the general flange.
从其目标面、弯曲半径、弯曲角度和腹板长度创建一般法兰。随着这些项目一个可选的脊柱,厚度,公差字符串,弯曲方向和步骤数据可以设置。输出是与一般法兰相关联的对象标识符。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
| tag_t | target_face | 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 | Input | An edge in the tangent face, used as the attachment edge the generalized flange. 在切面上的一条边,用作连接边的广义法兰。 |
| UF_STRING_p_t | spine_string | Input | An edge or curve used to define the section planes for the bend and web. If this values is null, the bend edge string is used as the spine string. 用来定义弯曲和腹板的截面平面的边或曲线。如果此值为空,则将弯曲边字符串用作脊柱字符串。 |
| UF_STRING_p_t | section_curves | Input | Two or more section curves used as an alternate method for creating a general flange. The curves must start tangent to the target face, be C0 with the bend edge, be coplanar, end to end and be made up of alternating lines and arcs. If this parameter is used, the plus, bend_radius, bend_angle and web_length is ignored. 两个或多个截面曲线作为创建一般法兰的替代方法。曲线必须从与目标面相切开始,与弯曲边成 C0,是共面的,端到端,由交替的直线和弧组成。如果使用这个参数,加号、弯曲半径、弯曲角度和腹板长度将被忽略。 |
| int | step_count | Input | 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 | Input | =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 | Input | =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 | Input | =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 | Input | Thickness of the solid body created if the Modeling preference for body type is set to solid. 如果对身体类型的建模偏好设置为实体,则创建实体的厚度。 |
| char * | tolerance_str | Input | This is initially set from the the modeling distance tolerance. This value has the same effect as the modeling distance tolerance. 这是最初设置的建模距离公差。该值与建模距离公差具有相同的效果。 |
| UF_MODL_parm_p_t | plus | Input | The law specification of the target face extension between the bend edge and the start of the bend. 目标面在弯曲边缘和弯曲起始点之间伸展的规律说明。 |
| UF_MODL_parm_t | bend_radius [ ] | Input | The law specification of the radius of the bend. 弯曲半径的法律规定。 |
| UF_MODL_parm_t | bend_angle [ ] | Input | The law specification of the angle of the bend. 弯曲角度的法律规定。 |
| UF_MODL_parm_t | web_length [ ] | Input | The law specification of the length of the surface extension after the bend. 弯曲后表面延伸长度的规律说明。 |
| tag_p_t | general_flange_tag | Output | Pointer to Feature object identifier of created flange 指向已创建法兰的特征对象标识符的指针 |