文章作者:里海
来源网站:https://blog.csdn.net/WangPaiFeiXingYuan
简介:
布尔求和 UF_MODL_unite_bodies_with_retained_options
效果:
代码:
#include "me.hpp"
#include <uf.h>
#include <uf_modl.h>
void ufusr(char* param, int* retcode, int paramLen)
{
UF_initialize();
UF_FEATURE_SIGN sign = UF_NULLSIGN;
double point1[3] = { 0.0, 0.0, 0.0 };
double point2[3] = { 25.0, 25.0, 25.0 };
char* len[3] = { "50", "50", "50" };
tag_t blockFeat1 = NULL_TAG;
tag_t blockFeat2 &