马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
我在做把立体给对称复制的命令
我开始用CATDynTransformation,为了能连颜色都一起复制,我用CATDynTransformation::CATDynModification模式,
但发现一个问题:如果复制对象里有孔之类的feature的时候,在3DView上点复制后的孔的面的时候,原来的孔的面也一起高亮(他们在同一个Body的时候)
于是我改用CATDynTransformation::CATDynCreation模式,并自己修改所有的面之间的CATCGMJournal为Modify,结果更坏,自己做的对称复制feature甚至不能高亮
后来改用CATTransfoManager,问题也没有解决,它的参数CATTransfoManagerType 的意思也看不太懂,不知道有没有用过它的同行能给指点一下
CATTransfoManagerType
enum CATTransfoManagerType {
Duplicate,
FullDuplicate,
Replace
}
Defines the mode of the transformation process.
Parameters:
CATTransfoManager:uplicate
Duplicates and transforms the objects that are Added to the CATTransfoManager.
Does not duplicate a forward linked object if it is geometrically invariant by the transformation, except if this forward linked object is specifically Added to the CATTransfoManager. Duplicates a forward linked object if it is not geometrically invariant by the transformation.
CATTransfoManager::FullDuplicate
Duplicates and transforms the objects that are Added to the CATTransfoManager.
Duplicates a forward linked object even if it is geometrically invariant by the transformation,
CATTransfoManager::Replace
Only transforms the objects that are Added to the CATTransfoManager.
Does not replace a forward linked object if it is geometrically invariant by the transformation, except if this forward linked object is specifically Added to the CATTransfoManager. Replaces a forward linked object if it is not geometrically invariant by the transformation.
Invariant means that it is invariant within its maximum limits. An line is invariant by a transformation along its direction, a circle is invariant by a rotation of center the center of the circle, as examples. |