Why does the Part --> booleans returns Compounds

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Why does the Part --> booleans returns Compounds

Post by bernd »

fixed. grep found another Lattice2 ... Not an important one but I changed it anyway ... https://github.com/berndhahnebach/FreeC ... it/bd0828c

How about the name PartTools or should it better called CompoundTools ? ATM I do not plan to add more tools, I'm just interested in the CompoundFilter, but you never know ...

bernd
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Why does the Part --> booleans returns Compounds

Post by bernd »

https://github.com/berndhahnebach/FreeC ... oundfilter

- rebased on master
- renamed to CompoundTools instead PartTools
- fix some minor issues

@DeepSOIC:
an open question see https://github.com/berndhahnebach/FreeC ... er.py#L125

What are thes two lines for? The variable b is not used anywhere
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Why does the Part --> booleans returns Compounds

Post by bernd »

User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Why does the Part --> booleans returns Compounds

Post by DeepSOIC »

Sorry about ignoring, bernd!
That line where b is not used anywhere was supposed to mark which compound children were taken, for purposes of Invert property to work. Looks like I made a beginner mistake, and probably never bothered to test if it works.
Post Reply