【NX二次开发】创建老版的基准平面uf5374
阅读原文时间:2023年07月10日阅读:1

使用uf5374()

源码:

double dP1\[3\] = { 0.0,0.0,0.0 };  
double dP2\[3\] = { 0.0,1.0,0.0 };  
double dP3\[3\] = { 0.0,0.0,1.0 };  
tag\_t tagPlane;  
uf5374(dP1, dP2, dP3, &tagPlane);

使用UF_MODL_create_plane()

double dP1\[3\] = { 0.0,0.0,0.0 };  
double dDir\[3\] = { 1.0,0.0,0.0 };  
tag\_t tagPlane;  
UF\_MODL\_create\_plane(dP1, dDir, &tagPlane);

效果:

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器