高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|