查看单个帖子
旧 2009-05-07, 06:07 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】using Region Boolean Operators

using region boolean operators
using region boolean operators
hi,
when attempting to use the boolean operator for the oddbregion class i seem to get an "undefined" odresult from the operation. here is an example of the code i'm attempting to execute:
code:
pregion->upgradeopen();
psubtractregion->upgradeopen();
pregion->booleanoper(oddb::kboolsubtract, (oddbregion*)psubtractregion.get());
psubtractregion->downgradeopen();
pregion->downgradeopen();i'm assuming the function might be unimplemented, but hoping that i have just forgotten to load a required module.
i'm currently using dwgdirect v2.4.2 but can move to newer versions if necessary.
boolean operations are not implemented. they are available only with spamodeler module. you should have spatial library and licence to use it.
where are 2 implementations of modelergeometry module responsible for supporting acis objects: "home made" and based on native spatial library.
boolean operations are implemented only in spatial modeler which requires spatial license.
but non-spatial modeler implementation should return enotimplemented.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)