Hi all,
Is it possible to add the same Entity(Solid3d) twice?
I have a program that build some solids, where two of these solids are subtract from an other solid, what I did is this:
solid1
btr.AppendEntity(sol1);
tr.AddNewlyCreatedDBObject(sol1, true);
solid2
btr.AppendEntity(sol2);
tr.AddNewlyCreatedDBObject(sol2, true);
solid3
btr.AppendEntity(sol3);
tr.AddNewlyCreatedDBObject(sol3, true);
solid4(same as solid3)
btr.AppendEntity(sol4);
tr.AddNewlyCreatedDBObject(sol4, true);
sol1.BooleanOperation(BooleanOperationType.BoolSubtract, sol3);
sol2.BooleanOperation(BooleanOperationType.BoolSubtract, sol4);
what I like to do is this:
sol1.BooleanOperation(BooleanOperationType.BoolSubtract, sol3);
sol2.BooleanOperation(BooleanOperationType.BoolSubtract, sol3);
is this possible?
A side question what is the best way to create a shape for example a closet, this is a simple shape but it exists from several solids. What I do now is to create 8 solids and move them together. I think there is more efficient way to do this, but I don't know this yet :)...
Thanks.
Edited by: ACDC09 on Aug 23, 2009 2:12 PM