iCAx开思工具箱

标题: 关于CAM模块的PlanarMilling操作的几何设置问题 [打印本页]

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

作者: 蓝摩羯    时间: 2014-5-11 21:59
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.

作者: 蓝摩羯    时间: 2014-5-11 22:02
上面是设置边界。材料侧
这个是设置底面
UF_PARAM_set_tag_value(op_tag,UF_PARAM_FLOOR,plane);
作者: jimk    时间: 2019-2-23 14:56
UF_CAM_geom_type_t type,选哪一种方式




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3