NX二次开发UF_MODL_ask_bead 函数介绍

105 阅读3分钟

UF_MODL_ask_bead

Defined in: uf_modl_smd.h 
int UF_MODL_ask_bead(tag_t bead_tag, UF_MODL_project_curves_p_t centerline, UF_MODL_faces_p_t placement_faces, UF_MODL_offset_trans_faces_p_t secondary_faces, UF_MODL_bead_section_plane_p_t section_plane, UF_MODL_vector_p_t section_axis, UF_MODL_bead_section_parms_p_t section_parms )

overview 概述

Retrieves the parameters used to create a bead.


检索用于创建磁珠的参数。

UFUN例子

获取源码例子请搜索 里海NX二次开发3000例专栏

parameters 参数

tag_tbead_tagInputObject tag for the bead feature
珠特性的对象标记
UF_MODL_project_curves_p_tcenterlineOutput to UF_freePointer to information which defines the centerline of the bead. The caller must allocate a UF_MODL_project_curves_t structure and pass in a pointer to it. This routine will fill the structure with allocated data which must be freed by calling UF_MODL_free_bead.
指向定义珠子中心线的信息的指针。调用方必须分配一个 UF _ MODL _ project _ Curve _ t 结构,并传递一个指向它的指针。这个例程将用分配的数据填充结构,这些数据必须通过调用 UF _ MODL _ free _ ead 来释放。
UF_MODL_faces_p_tplacement_facesOutput to UF_freePointer to information which defines the placement faces for the bead. The caller must allocate a UF_MODL_faces_t structure and pass in a pointer to it. This routine will fill the structure with allocated data which must be freed by calling UF_MODL_free_bead.
指向定义珠子放置面的信息的指针。调用方必须分配一个 UF _ MODL _ faces _ t 结构并传递一个指向它的指针。这个例程将用分配的数据填充结构,这些数据必须通过调用 UF _ MODL _ free _ ead 来释放。
UF_MODL_offset_trans_faces_p_tsecondary_facesOutput to UF_freePointer to information used to define the optional secondary faces for the bead. The caller must allocate a UF_MODL_offset_trans_faces_t structure and pass in a pointer to it. This routine will fill the structure with allocated data which must be freed by calling UF_MODL_free_bead.
指向用于定义珠子的可选辅助面的信息的指针。调用方必须分配一个 UF _ MODL _ off _ trans _ faces _ t 结构,并传入一个指向它的指针。这个例程将用分配的数据填充结构,这些数据必须通过调用 UF _ MODL _ free _ ead 来释放。
UF_MODL_bead_section_plane_p_tsection_planeOutput to UF_freePointer to direction information for the orientation plane normal of the bead sections. The caller must allocate a UF_MODL_bead_section_plane_t structure and pass in a pointer to it. This routine will fill the structure with allocated data which must be freed by calling UF_MODL_free_bead.
珠子截面方向平面法线的方向信息指针。调用方必须分配一个 UF _ MODL _ ead _ section _ plant 结构,并传递一个指向它的指针。这个例程将用分配的数据填充结构,这些数据必须通过调用 UF _ MODL _ free _ ead 来释放。
UF_MODL_vector_p_tsection_axisOutput to UF_freePointer to direction information for the centerline of the bead cross section. The caller must allocate a UF_MODL_vector_t structure and pass in a pointer to it. This routine will fill the structure with allocated data which must be freed by calling UF_MODL_free_bead.
指向珠子横截面中心线的方向信息的指针。调用方必须分配一个 UF _ MODL _ Vector _ t 结构并传递一个指向它的指针。这个例程将用分配的数据填充结构,这些数据必须通过调用 UF _ MODL _ free _ ead 来释放。
UF_MODL_bead_section_parms_p_tsection_parmsOutput to UF_freePointer to information which defines the cross sectional shape of the bead. The caller must allocate a UF_MODL_bead_section_parms_t structure and pass in a pointer to it. This routine will fill the structure with allocated data which must be freed by calling UF_MODL_free_bead.
指向定义珠子横截面形状的信息的指针。调用方必须分配一个 UF _ MODL _ ead _ section _ parms _ t 结构,并传递一个指向它的指针。这个例程将用分配的数据填充结构,这些数据必须通过调用 UF _ MODL _ free _ ead 来释放。