UF_MODL_ask_general_pocket
Defined in: uf_modl_pockets.h
int UF_MODL_ask_general_pocket(tag_t general_pocket_tag, UF_MODL_faces_p_t placement_faces, UF_MODL_offset_trans_faces_p_t floor_faces, UF_MODL_pocketpad_outline_p_t outline, UF_MODL_parm_p_t placement_radius, UF_MODL_parm_p_t floor_radius )
overview 概述
Retrieves the parameters used to create a general pocket.
检索用于创建常规口袋的参数。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
tag_t | general_pocket_tag | Input | Object identifier of the general pocket feature whose parameters are to be retrieved. 通用口袋特征的对象标识符,其参数将被检索。 |
UF_MODL_faces_p_t | placement_faces | Output to UF_free | The faces used to define the shape of the pocket at the placement faces. The first face is used to determine the target body. The caller must allocate a UF_MODL_faces_t structure, and pass in a pointer to that structure. The structure will be filled with allocated data which can be freed by calling UF_MODL_free_general_pocket. 用于定义放置面上的口袋形状的面。第一个面用于确定目标体。调用方必须分配一个 UF _ MODL _ faces _ t 结构,并传入指向该结构的指针。这个结构将被分配的数据填充,这些数据可以通过调用 UF _ MODL _ free _ general _ bag 来释放。 |
UF_MODL_offset_trans_faces_p_t | floor_faces | Output to UF_free | The definition of the floor of the pocket. The floor can either be an offset or translation of the specified faces. If the floor 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 in a pointer to that structure. The structure will be filled with allocated data which can be freed by calling UF_MODL_free_general_pocket. 口袋地板的定义。地板可以是指定面的偏移量或平移量。如果地板是放置面的偏移量或平移量,那么该结构中的 UF _ MODL _ faces _ p _ t 指针指向放置面结构。调用方必须分配一个 UF _ MODL _ off _ trans _ faces _ t 结构,并传入一个指向该结构的指针。这个结构将被分配的数据填充,这些数据可以通过调用 UF _ MODL _ free _ general _ bag 来释放。 |
UF_MODL_pocketpad_outline_p_t | outline | Output to UF_free | The definition of the curves used to define the shape of the pocket. The shape can be defined by a single set of curves at either the placement face or the floor face, and then the other curves are derived with a taper angle. The shape can also be defined by specifying curves at both the placement face and the floor face. The caller must allocate a UF_MODL_pocketpad_outline_t structure, and pass in a pointer to that structure. The structure will be filled with allocated data which can be freed by calling UF_MODL_free_general_pocket. 曲线的定义用来定义口袋的形状。通过在放置面或地板面上定义一组曲线来确定形状,然后用锥角推导出其他曲线。形状也可以通过在放置面和地板面上指定曲线来定义。调用方必须分配一个 UF _ MODL _ pocketpad _ profile _ t 结构,并传递一个指向该结构的指针。这个结构将被分配的数据填充,这些数据可以通过调用 UF _ MODL _ free _ general _ bag 来释放。 |
UF_MODL_parm_p_t | placement_radius | Output to UF_free | The specification of the radius desired between the side of the pocket and the placement face. The caller must allocate a UF_MODL_parm_p_t structure, and pass in a pointer to that structure. The structure will be filled with allocated data which can be freed by calling UF_MODL_free_general_pocket. 口袋侧面与放置面之间所需半径的规范。调用方必须分配一个 UF _ MODL _ parm _ p _ t 结构,并传入一个指向该结构的指针。这个结构将被分配的数据填充,这些数据可以通过调用 UF _ MODL _ free _ general _ bag 来释放。 |
UF_MODL_parm_p_t | floor_radius | Output to UF_free | The specification of the radius desired between the side of the pocket and the floor of the pocket. The caller must allocate a UF_MODL_parm_p_t structure, and pass in a pointer to that structure. The structure will be filled with allocated data which can be freed by calling UF_MODL_free_general_pocket. 口袋侧面与口袋底部之间所需半径的规格。调用方必须分配一个 UF _ MODL _ parm _ p _ t 结构,并传入一个指向该结构的指针。这个结构将被分配的数据填充,这些数据可以通过调用 UF _ MODL _ free _ general _ bag 来释放。 |