Name of a solid in a compound - from selection

Need help, or want to share a macro? Post here!
DeepSOIC
Posts: 4507
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Name of a solid in a compound - from selection

Postby DeepSOIC » Mon Mar 20, 2017 7:59 pm

bernd wrote:because the inner could have less volume than the outer
True :oops: . Bounding box diagonal is used in wire sorting for face making, so it should work for solids too.
HoWil
Posts: 386
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Name of a solid in a compound - from selection

Postby HoWil » Tue Mar 21, 2017 6:57 am

bernd wrote:Just realized the system might not work if a solid is inside another solid, because all elements of the inner solid belong to the outer solid too. I need to try this on the mesh region object.

You maybe consider another test case like a sphere completely inside a box where one not so easily can select a face or edge. This shortcoming was the starting point to write the Element-selector macro.

Here an according file where I would like to select the inner solid as part of the BooleanFragments:


BR,
HoWil