Empty object as selection separator

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Chris_G
Veteran
Posts: 2593
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Empty object as selection separator

Post by Chris_G »

Hi,
Here is an idea I had that I wanted to expose, before eventually making a feature request on mantis.
This is the ability to add "empty" objects during a multi selection action in the 3D view, in order to split the selection into groups.

For example, this would allow to create a sweep object directly.
If the selection is :
( 'Edge', 'Edge', 'Edge', 'Edge', 'Empty', 'Edge', 'Edge', 'Edge' )
The edges before the Empty object can be considered as the profiles, and the edges behind the Empty object as the sweep path.
This could be useful whenever a tool requires an unknown number of objects.

I see several possibilities to insert an empty object in the selection list during a multi-selection ( i.e. while CTRL is pressed ) :
- click in the free 3D space (and without CTRL pressed to clear the selection)
- click on the coordinate arrows
- click on the document in the tree-view

However, I have no idea if this would be hard to implement.
Any opinions ? Do you think this could be a useful feature ?
Chris
Post Reply