点击查看详细介绍

关于CAM模块的PlanarMilling操作的几何设置问题

springqwer 11年前 5818 3

购买与咨询 NX 二次开发视频教程,请联系微信号:13890821008  QQ号:85585969  


新人求指导!最近刚起步CAM模块的开发,添加操作之后的几何驱动设置方面停了好几天了;比如我添加一个平面铣操作,怎么样去设置它的边界,底面以及材料侧啊?请问有函数可以实现吗?求高手指导!

0

最新回复 (3)
  • 蓝摩羯 11年前
    1

    int UF_CAMBND_append_bnd_from_curve
    (

    tag_t object_tag,
    UF_CAM_geom_type_t type,
    int count,
    tag_t * curves,
    UF_CAMBND_boundary_data_p_t boundary_data,
    UF_CAMBND_app_data_p_t * app_data

    )

    UF_CAMBND_boundary_data_s
    Data Members


    boundary_type

    UF_CAM_boundary_type_t

    Boundary type.


    plane_type

    int

    Boundary plane type.
    0 = user defined
    1 = automatic


    origin [ 3 ]

    double

    Origin of the plane.
    It is used only if plane type is 0.


    matrix [ 9 ]

    double

    The rotation matrix of the plane.
    It is used only if plane type is 0.


    material_side

    UF_CAM_material_side_t

    Material side.


    ignore_holes

    int

    Ignore holes in the face.
    0 = do not ignore holes
    1 = ignore holes


    ignore_islands

    int

    Ignore islands in the face.
    0 = do not ignore islands
    1 = ignore islands


    ignore_chamfers

    int

    Ignore chamfers of the face.
    0 = do not ignore chamfers
    1 = ignore chamfers


    app_data

    UF_CAMBND_app_data_t *

    Application data applied to
    the boundary.
    NULL = no application data.

  • 蓝摩羯 11年前
    2

    上面是设置边界。材料侧
    这个是设置底面
    UF_PARAM_set_tag_value(op_tag,UF_PARAM_FLOOR,plane);

  • jimk 6年前
    3

    UF_CAM_geom_type_t type,选哪一种方式

请登录后发表新帖