iCAx开思工具箱

标题: 用caa怎么取得一个零件比如立方体的边长等信息啊? [打印本页]

作者: ggcua    时间: 2004-8-7 11:19
标题: 用caa怎么取得一个零件比如立方体的边长等信息啊?
用caa怎么取得一个零件比如立方体的边长等信息啊?
  
仔细看了api,不是很清楚大致找那些api来完成这些任务呢。烦劳大家了,
  
这些能用不?
Mathematics.CATLISTP(CATMathCircleArc2D)  
Mathematics.CATLISTP(CATMathDirection2D)  
Mathematics.CATLISTP(CATMathLine2D)  
Mathematics.CATLISTP(CATMathPoint2D)  
Mathematics.CATLISTP(CATMathTransformation)  
Mathematics.CATLISTV(CATMathPoint)  
Mathematics.CATMath2x2Matrix  
Mathematics.CATMath3x3Matrix  
Mathematics.CATMathAxis  
Mathematics.CATMathAxis2D  
Mathematics.CATMathBox  
Mathematics.CATMathBox2D  
Mathematics.CATMathCircleArc2D  
Mathematics.CATMathComplex  
Mathematics.CATMathComplexf  
Mathematics.CATMathDirection2Df  
Mathematics.CATMathDirectionf  
Mathematics.CATMathLine2D  
Mathematics.CATMathPlane  
Mathematics.CATMathPoint  
Mathematics.CATMathPoint2D  
Mathematics.CATMathPoint2Df
作者: acoka    时间: 2004-8-8 19:30
1,从CATISpecObject得到CATBody的list
2,求所有的1次元CATCell (GetAllCell())
3,从得到的线的CATCell=>CATEdge
  
4,GetVertices(CATVertex**,CATVertex**)  
Returns the start and end vertices of this CATEdge.  
  
5, 求2点距离
  
做法有很多,记得我写过一个catia的图形和拓扑要素的帖子,原理在里面可以找到
作者: ggcua    时间: 2004-8-9 09:11
caa的api帮助写的很粗略啊,没有一个详细的说明,学习起来怎么个思路好那?
作者: acoka    时间: 2004-8-9 09:19
自学了话,就只好啃use case了
  
图形内核的一些说明
https://www.aoxue.org/cgi-bin/bbs/topic_show.cgi?id=56641&h=1&bpg=1&age=0




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