UF_MODL_ask_general_pad1
Defined in: uf_modl_pads.h
int UF_MODL_ask_general_pad1(tag_t general_pad_tag, UF_MODL_faces_p_t placement_faces, UF_MODL_offset_trans_faces_p_t top_faces, UF_MODL_pocketpad_outline_p_t outline, UF_MODL_parm_p_t placement_radius, UF_MODL_parm_p_t top_radius )
overview 概述
Retrieves the parameters with face collectors and section builders used to create a general pad.
使用用于创建通用垫的面收集器和剖面构建器检索参数。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
| tag_t | general_pad_tag | Input | Object identifier of the general pad feature whose parameters are to be retrieved. 要检索其参数的通用垫特征的对象标识符。 |
| UF_MODL_faces_p_t | placement_faces | Output to UF_free | The face collector used to define the shape of the pad at the placement faces. The first face of the face collector is used to determine the target body. The caller must allocate a UF_MODL_faces_t structure and pass a pointer to that structure. This will be filled with allocated data which must be freed by calling UF_MODL_free_general_pad. 面板收集器用于定义放置面上垫子的形状。面部收集器的第一面用于确定目标体。调用方必须分配一个 UF _ MODL _ faces _ t 结构并传递一个指向该结构的指针。这将被分配的数据填充,这些数据必须通过调用 UF _ MODL _ free _ general _ pad 来释放。 |
| UF_MODL_offset_trans_faces_p_t | top_faces | Output to UF_free | The definition of the top of the pad. The top can either be an offset or translation of the specified face collector. If the top was an offset or translate of the placement faces, then the UF_MODL_faces_p_t pointer within this structure, points to the placement faces structure. The caller must allocate a UF_MODL_offset_trans_faces_t structure and pass a pointer to that structure. This will be filled with allocated data which must be freed by calling UF_MODL_free_general_pad. 垫子顶部的定义。顶部可以是指定的面收集器的偏移量或平移量。如果顶部是放置面的偏移量或平移量,那么该结构中的 UF _ MODL _ faces _ p _ t 指针指向放置面结构。调用方必须分配一个 UF _ MODL _ off _ trans _ faces _ t 结构,并传递一个指向该结构的指针。这将被分配的数据填充,这些数据必须通过调用 UF _ MODL _ free _ general _ pad 来释放。 |
| UF_MODL_pocketpad_outline_p_t | outline | Output to UF_free | The definition of the curves used to define the shape of the pad. The shape can be defined by a single section builder at either the placement face or the top face, and then the other section builder is derived with a taper angle. The shape can also be defined by specifying section builders at both the placement face and the top face. The caller must allocate a UF_MODL_pocketpad_outline_t structure and pass a pointer to that structure. This will be filled with allocated data which must be freed by calling UF_MODL_free_general_pad. 曲线的定义用于定义垫片的形状。该形状可以由一个单一的截面生成器定义在放置面或顶面,然后其他截面生成器导出与锥角。形状也可以通过在放置面和顶面指定截面构造函数来定义。调用方必须分配一个 UF _ MODL _ pocketpad _ profile _ t 结构,并传递一个指向该结构的指针。这将被分配的数据填充,这些数据必须通过调用 UF _ MODL _ free _ general _ pad 来释放。 |
| UF_MODL_parm_p_t | placement_radius | Output to UF_free | The specification of the radius desired between the side of the pad and the placement face. The caller must allocate a UF_MODL_parm_t structure and pass a pointer to that structure. This will be filled with allocated data which must be freed by calling UF_MODL_free_general_pad. 垫片侧面与放置面之间所需半径的规范。调用方必须分配一个 UF _ MODL _ parm _ t 结构并传递一个指向该结构的指针。这将被分配的数据填充,这些数据必须通过调用 UF _ MODL _ free _ general _ pad 来释放。 |
| UF_MODL_parm_p_t | top_radius | Output to UF_free | The specification of the radius desired between the side of the pad and the top of the pad. The caller must allocate a UF_MODL_parm_t structure and pass a pointer to that structure. This will be filled with allocated data which must be freed by calling UF_MODL_free_general_pad. 衬垫侧面和衬垫顶部之间所需半径的规范。调用方必须分配一个 UF _ MODL _ parm _ t 结构并传递一个指向该结构的指针。这将被分配的数据填充,这些数据必须通过调用 UF _ MODL _ free _ general _ pad 来释放。 |