bool ReplaceFace(tag_t targFace, tag_t toolFace, logical reverse_direction)
{
tag_t target_faces[1];
target_faces[0] = targFace;
tag_t non_blend_faces[1];
non_blend_faces[0] = targFace;
//logical reverse_direction = false;
tag_t feature_tag = NULL_TAG;
try
{
UF_MODL_create_replace_face(target_faces, 1, non_blend_faces, 1, toolFace, reverse_direction, &feature_tag);
}
catch (const std::exception&)
{
reverse_direction = 1;
UF_MODL_create_replace_face(target_faces, 1, non_blend_faces, 1, toolFace, reverse_direction, &feature_tag);
}
return true;
}
UG二次开发, UFUN 替换面
最新推荐文章于 2024-07-22 09:43:39 发布