找回密码 注册 QQ登录
开思网工业级高精度在线3D打印服务

iCAx开思网

CAD/CAM/CAE/设计/模具 高清视频【积分说明】如何快速获得积分?快速3D打印 手板模型CNC加工服务在线3D打印服务,上传模型,自动报价
查看: 24029|回复: 13
打印 上一主题 下一主题

[原创] 如何实现CATIA中的拆解命令

[复制链接]
跳转到指定楼层
1
发表于 2012-12-4 14:11:52 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
接合.1是由不同的线段组合在一起的,如何实现创成式外形设计中的拆解命令,将其拆分为不同的线段。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 赞一下!赞一下!
14
发表于 2014-3-11 10:56:05 | 只看该作者
lansehaiyu 发表于 2012-12-14 09:28
CATIGeometricalElement_var spGeoElem(CopySelectArrange);
        if(spGeoElem==NULL_var)
        {

同学 CATIGeometricalElement_var spGeoElem(CopySelectArrange); 这个CopySelectArrange参数是什么类型啊  用啥转换过来的呀  我现在也在做这个东西 一直没弄出来
13
发表于 2013-10-9 10:30:28 | 只看该作者
lansehaiyu 发表于 2012-12-14 09:28
CATIGeometricalElement_var spGeoElem(CopySelectArrange);
        if(spGeoElem==NULL_var)
        {

Featurize之后的特征使用CATIDatumFactory接口转化到无参特征 然后再挂到结构树上就可以了
12
发表于 2013-10-2 15:10:50 | 只看该作者
没看懂、、、、、、、、、、、、、、、、、、
11
发表于 2013-4-3 13:25:21 | 只看该作者
学习了
10
发表于 2012-12-24 09:02:21 | 只看该作者
在逆向里面有这个命令

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
9
发表于 2012-12-14 16:00:18 | 只看该作者
spSpecTmp 和ispInputParent 对象不为空,但是显示不出来,CATIDescendents->Append()方法也显示不出来
8
发表于 2012-12-14 11:16:25 | 只看该作者
你判断一下你的spSpecTmp 和ispInputParent 对象是否为空,如果不为空,应该会显示的~~~试试CATIDescendents->Append()方法~~~
7
发表于 2012-12-14 09:28:48 | 只看该作者
CATIGeometricalElement_var spGeoElem(CopySelectArrange);
        if(spGeoElem==NULL_var)
        {
                cout<<"得到GeometricalElement失败!"<<endl;
                return FALSE;
        }

        CATBody_var spBody = spGeoElem->GetBodyResult();

        CATLISTP(CATCell) LISTCell;
        int nCellType = 1; //取vertex是0, 取edge是1, 取face是2, 取volumn是3
        spBody->GetAllCells(LISTCell, nCellType);
        cout<<"列表LISTCell的几何体个数:"<<LISTCell.Size()<<endl;

        CATIFeaturize_var spIFEdgeElem = NULL_var;

        for( int index = 1; index <= LISTCell.Size(); index++ )
        {
                CATCell *pEdgeCell = LISTCell[index];
                if(!pEdgeCell)
                {
                        continue;
                }
                CATCell_var spEdgeCell = pEdgeCell;
                if(!spEdgeCell)
                {
                        continue;
                };
                CATIBRepAccess_var BRepEdge1 = CATBRepDecode(spEdgeCell,spGeoElem);
                spIFEdgeElem = BRepEdge1;
                cout<<index<<endl;
                if (NULL_var == spIFEdgeElem)
                {
                        cout<<"未识别出一条边!"<<endl;
                        return FALSE;
                }

                CATISpecObject_var spEdgeElem = NULL_var;
                spEdgeElem = spIFEdgeElem->FeaturizeF(MfDuplicateFeature | MfPermanentBody | MfSelectingFeatureSupport | MfFunctionalFeaturization);
                if (NULL_var == spEdgeElem)
                {
                        cout<<"特征化失败!"<<endl;
                        return FALSE;
                }
               CATISpecObject_var spSpecTmp = spEdgeElem;                        CATISpecObject_var ispInputParent = spGsmTool;
        InsertInProceduralView(spSpecTmp,ispInputParent);

        }
这样怎么添加不到结构树上
6
发表于 2012-12-4 16:43:33 | 只看该作者
lansehaiyu 发表于 2012-12-4 16:26
还想请问下,怎么在CAA中更改草图的支撑平面呢

CATISketch->AttachToPlane ()或者CATISketch->SetAxisData()
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3D打印手板模型快速制作服务,在线报价下单!

QQ 咨询|手机版|联系我们|iCAx开思网 ( 粤ICP备2025491344号-1

GMT+8, 2025-11-10 20:10 , Processed in 0.058256 second(s), 15 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2025 www.iCAx.org

快速回复 返回顶部 返回列表