[solved] how to get subselection in order without observer?

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: how to get subselection in order without observer?

Post by openBrain »

wmayer wrote: Thu Sep 29, 2022 3:25 pm git commit 10e9e3b9b5
Thanks.
User avatar
dprojects
Posts: 721
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: how to get subselection in order without observer?

Post by dprojects »

wmayer wrote: Thu Sep 29, 2022 3:25 pm git commit 10e9e3b9b5
Very nice ! Thanks !

However I am sitting at 0.20 ;-) but if the FreeCAD 0.21 will be released and I will release new workbench version for the new FreeCAD version this will be very useful to have it. This will probably simplify many things at FreeCAD development.

I will mark this topic as solved and save it at bookmarks for future use.

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [solved] how to get subselection in order without observer?

Post by wmayer »

dprojects wrote: Thu Sep 29, 2022 5:49 pm However I am sitting at 0.20
We can also backport this change to v0.20.
User avatar
dprojects
Posts: 721
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: [solved] how to get subselection in order without observer?

Post by dprojects »

wmayer wrote: Thu Sep 29, 2022 8:23 pm
dprojects wrote: Thu Sep 29, 2022 5:49 pm However I am sitting at 0.20
We can also backport this change to v0.20.
But this will be available at 0.20.2 ? From my perspective it is not needed because I develop workbench for 0.20 to get better stability. It would not be possible to develop workbench with so many features working with always new weekly build. This changes too often and I am not able to test all features each day. For me bugs no matter. You can use bug to create feature. Sometimes if the bug will be fixed it might break something useful. So the certification process for new version is not easy, this require check all features. I not plan to release workbench for 0.20.x versions because they are too quick.

But the backport for sure will be very useful for other developers. I was thinking to create such feature with single button click. If user have already selected vertices, just one icon click and you have it. And probably I will add such thing in the future. But for now I will use observer. This will be more "difficult" to use but it has also added value. The observer will help to choose the correct vertex. The vertices are hard to hit, so the observer will select the vertex if user click face or edge.

@wmayer I admire your knowledge and I am even surprised you are always willing to help. All developers should be like you. Thanks for that attitude.

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [solved] how to get subselection in order without observer?

Post by wmayer »

dprojects wrote: Fri Sep 30, 2022 12:33 pm But this will be available at 0.20.2 ? From my perspective it is not needed because I develop workbench for 0.20 to get better stability.
Anyway, here it is: git commit d8d521150d
Post Reply