New Sketcher functions

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!
Post Reply
Olav
Posts: 211
Joined: Sun Nov 27, 2016 7:58 pm
Location: Netherlands

New Sketcher functions

Post by Olav »

I hadn't used FreeCAD 0.19 for a few weeks, can't remember seeing this before:

Schermafdruk_2020-12-20_18-34-41.png
Schermafdruk_2020-12-20_18-34-41.png (281.12 KiB) Viewed 4276 times

Already constrained elements of the sketch appear in pale green, making the hunt for unconstrained elements much easier.

To whom it may concern, I just wanted to say thank you. That's all.
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Is this new? I love it.

Post by kisolre »

@Abdullah added this yesterday.
Olav
Posts: 211
Joined: Sun Nov 27, 2016 7:58 pm
Location: Netherlands

Re: Is this new? I love it.

Post by Olav »

kisolre wrote: Sun Dec 20, 2020 5:46 pm @Abdullah added this yesterday.
I hope he reads this. Thank you, Abdullah, I'm honestly impressed. FreeCAD is just getting better and better.
aapo
Posts: 624
Joined: Mon Oct 29, 2018 6:41 pm

Re: Is this new? I love it.

Post by aapo »

Olav wrote: Sun Dec 20, 2020 6:05 pm I hope he reads this. Thank you, Abdullah, I'm honestly impressed. FreeCAD is just getting better and better.
Fully agreed, it's a great usability improvement right there. Here is a reading tip, the thread where Abdullah discusses his new Sketcher feature: https://forum.freecadweb.org/viewtopic.php?f=10&t=53221
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Is this new? I love it.

Post by Kunda1 »

abdullah wrote: pinged by pinger macro
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Is this new? I love it.

Post by PrzemoF »

Simple and brilliant! :D
Olav
Posts: 211
Joined: Sun Nov 27, 2016 7:58 pm
Location: Netherlands

Re: Is this new? I love it.

Post by Olav »

aapo wrote: Sun Dec 20, 2020 9:15 pm Fully agreed, it's a great usability improvement right there. Here is a reading tip, the thread where Abdullah discusses his new Sketcher feature: https://forum.freecadweb.org/viewtopic.php?f=10&t=53221
Thank you, I read it. I'm not sure I understand everything that was said and that's OK. But in any case it's nice to see such lively engagement from everybody.
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: Is this new? I love it.

Post by abdullah »

Kunda1 wrote: Sun Dec 20, 2020 9:40 pm
abdullah wrote: pinged by pinger macro
Olav wrote: Sun Dec 20, 2020 6:05 pm I hope he reads this. Thank you, Abdullah, I'm honestly impressed. FreeCAD is just getting better and better.
Thanks Olav :D :D :D

Kunda made sure I read it (Thanks Kunda).

It is something I had in my list for years. However, many times a lot of things have to come together to find the right solution. Funnily, the solution was right in front of me, but I was looking for a different solution. For years I tried to reuse the matrix decomposition used for detecting conflicting/redundant constraints for this detection. I partially succeeded via that route, with a special form of that decomposition that was slow, but implementing it like today would make FreeCAD less responsive specially with big sketches (that is how the hyperlink on the number of DoFs was born). I posted in several other forums, but nobody seemed to know how to solve that problem (or it was impossible to solve it). This until I realised that I could run two separate matrix decompositions, one for constraints and another one for geometry. I could even run them in different threads making use of two cores of the CPU. This was an enlightenment moment.

Then things need to come together. A new mechanism born to solve a totally different problem (uncouple workbenches and help integration of a fork) turned out to be perfect for conveying geometry information to colour the sketch. I got fed up of the pole weights in "mm" units, and implemented a new way. This was important because implementing this mechanism led me to a problem with the poles of B-Splines while dragging, which could only be reasonable solved with enhanced solver information, which led me to work on the matrix decompositions I mention above. These enhanced solver information, then allowed me to improve the Block constraint yesterday (you will have to wait some days or compile master for that). Basically, several seemly unrelated features came together nicely.

There are two things left to say. First, nothing of this would have come without you. You are an amazing community. We all are. Nothing would have come without Werner hunting bugs and fixing my memory leaks in the background. Nothing would have come without the continuous words of encouragement from users that participate in development discussion and that contribute with their ideas to development. Nothing would have come without the perseverance of forum moderators that ping me here and there when there are bugs to fix. But more importantly nothing would have come if it weren't because I once discovered FreeCAD, posted in the help forum and the way I was treated there made me simply want to stay. Thanks for being there for me.

Second, nothing comes for free. I might have introduced between 1 and 2 trillion bugs and crashes with the commits of the last days. So, please use FreeCAD and hunt them for me, so that we get them fixed before release ;)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Is this new? I love it.

Post by Kunda1 »

Got something in my eye while reading this 🥲
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Olav
Posts: 211
Joined: Sun Nov 27, 2016 7:58 pm
Location: Netherlands

Re: Is this new? I love it.

Post by Olav »

abdullah wrote: Mon Dec 21, 2020 5:56 am This until I realised that I could run two separate matrix decompositions, one for constraints and another one for geometry. I could even run them in different threads making use of two cores of the CPU. This was an enlightenment moment.
I know a little about programming but I'm no mathematician, so I only very vaguely understand what you are saying. Matrix decomposition? I really need to look that up. But I'm honestly glad for your moment of enlightenment.

As a FreeCAD user I'm only a hobbyist who wants to make models and I do understand that you just made that easier. So thanks again.

Second, nothing comes for free. I might have introduced between 1 and 2 trillion bugs and crashes with the commits of the last days. So, please use FreeCAD and hunt them for me, so that we get them fixed before release ;)
No rest for the wicked! :lol:

I also saw my screenshot appear on Twitter. Nice. Yes, I do prefer to arrange my toolbars to the side to save vertical space.
Post Reply