高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】exploding 3d solids
exploding 3d solids
exploding 3d solids
i'm trying to find a way to explode a 3d solid into a set of simpler entities (polyfacemesh would do). i've been looking at a thread from march 2007 which suggested using decomposeforsave, but i have also run into the problem that my database is open purely for read so this function fails.
the solution that was given in that thread showed code which immediately drew the object, but given that i want to process the entities without drawing them i don't think this approach will help.
has anyone got any suggestions as to a simple way to do this?
tia
ian johnson.
you can use
p3dsolid->explodegeometry() (defined in oddbentity class).
it will create a set of non-database resident entities.
sergey slezkin
thanks for the reply however, using explodegeometry i get the odresult "ecannotexplodeentity" - is it possible this is not a general problem but something specific to this particular 3dsolid?
please, attach a file with 3dsolid. i'll check.
drawing file attached.
the solid from your file can be exploded in odamfcapp:
edit/registered commands/oda example commands/exexplodegeometry.
most probably modelergeometry module is missing in your application. it's responsible for operations with acis objects.
sergey slezkin
|