[New feature] Sketcher Constrain Contextually

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Hayden
Posts: 48
Joined: Thu Aug 31, 2023 12:50 pm

Re: [New feature] Sketcher Constrain Contextually

Post by Hayden »

@paddle
Why symmetric constraints conflict with horizontal and vertical constraints when added?
QQ20230914210955.png
QQ20230914210955.png (217.56 KiB) Viewed 587 times
User avatar
paddle
Veteran
Posts: 1111
Joined: Mon Feb 03, 2020 4:47 pm

Re: [New feature] Sketcher Constrain Contextually

Post by paddle »

I don't know but the same happens with the regular symmetry tool. So this is not related to sketcher_dimension.
I would guess that the symmetry is taking too many DOF or something like this. If you remove one horizontal then it's ok.
Hayden
Posts: 48
Joined: Thu Aug 31, 2023 12:50 pm

Re: [New feature] Sketcher Constrain Contextually

Post by Hayden »

paddle wrote: Thu Sep 14, 2023 1:49 pm I don't know but the same happens with the regular symmetry tool. So this is not related to sketcher_dimension.
I would guess that the symmetry is taking too many DOF or something like this. If you remove one horizontal then it's ok.
@NewJoker

Check this option and you're fine
QQ20230914221435.png
QQ20230914221435.png (44.98 KiB) Viewed 555 times
User avatar
FBXL5
Posts: 780
Joined: Sat Aug 03, 2019 8:45 pm

Re: [New feature] Sketcher Constrain Contextually

Post by FBXL5 »

Two points constrained symmetric in respect to the vertical axis Have the same distance to the horizontal axis i.e. a line between these points can only be horizontal. There is no need for an extra Horizontal constraint and a pre-existing one becomes redundant.
That applies to points symmetric in respect to the horizontal axis accordingly.
GeneFC
Veteran
Posts: 5205
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: [New feature] Sketcher Constrain Contextually

Post by GeneFC »

Hayden wrote: Thu Sep 14, 2023 2:16 pm Check this option and you're fine
I leave that option checked all the time. Some people worry that the wrong constraint can be removed, but I do not believe I have ever seen that problem.

If such a thing happens just sort it out. The auto-remove is really useful most of the time.

Gene
User avatar
paddle
Veteran
Posts: 1111
Joined: Mon Feb 03, 2020 4:47 pm

Re: [New feature] Sketcher Constrain Contextually

Post by paddle »

In my latest build it seems the line distance / DistanceX / DistanceY switching based on mouse position has become laggy. Can someone confirm if they also encounter this ? Thanks
Haavard
Posts: 190
Joined: Wed Feb 17, 2021 10:48 pm

Re: [New feature] Sketcher Constrain Contextually

Post by Haavard »

I just built master, still fast as lightning here. But i have a fast CPU, so i seldom notice performance issues..
User avatar
obelisk79
Posts: 741
Joined: Thu Sep 24, 2020 9:01 pm

Re: [New feature] Sketcher Constrain Contextually

Post by obelisk79 »

The dimension tool has no keyboard shortcut. Also, why were single character keyboard shortcuts now altered to two? The two-key shortcuts are an absolute bane of existence in freecad. I don't recall seeing a targeted discussion about modifying them to these new obtuse combinations in some cases at complete opposite sides of the keyboard.
Haavard
Posts: 190
Joined: Wed Feb 17, 2021 10:48 pm

Re: [New feature] Sketcher Constrain Contextually

Post by Haavard »

obelisk79 wrote: Tue Sep 19, 2023 2:31 am The dimension tool has no keyboard shortcut.
The dimension tool has the shortcut 'D' source

Also, why were single character keyboard shortcuts now altered to two? The two-key shortcuts are an absolute bane of existence in freecad. I don't recall seeing a targeted discussion about modifying them to these new obtuse combinations in some cases at complete opposite sides of the keyboard.
Last time i remember the sketcher shortcuts were changed was back in 2021: viewtopic.php?t=41272
I very much dislike the new shortcuts, so i added support for saving shortcuts in pref packs.
IMO the default shortcuts should be cleaned up and simplified to mostly single keys, but that discussion belongs in it's own topic.
User avatar
obelisk79
Posts: 741
Joined: Thu Sep 24, 2020 9:01 pm

Re: [New feature] Sketcher Constrain Contextually

Post by obelisk79 »

Haavard wrote: Tue Sep 19, 2023 7:51 am The dimension tool has the shortcut 'D' source
@paddle "D" doesn't show in the dimesion tool-tip like with other sketcher tools.
Last time i remember the sketcher shortcuts were changed was back in 2021: viewtopic.php?t=41272
I very much dislike the new shortcuts, so i added support for saving shortcuts in pref packs.
IMO the default shortcuts should be cleaned up and simplified to mostly single keys, but that discussion belongs in it's own topic.

herein lies the problem, I think D actually belonged to diameter before the dimension tool went in and it had to be changed, so it became K,D and radiam was changed to conform to the same style K,R

These are horrible shortcuts and I mention them because they were obviously modified due to this tool, as someone who heavily uses keyboard shortcuts while constraining (select element(s) -> shortcut to apply constraint) I find these 2-key shortcuts (tap, then tap) highly frustrating to use. If the answer is that we need to open a secondary thread and revisit the sketcher shortcuts, that's fine, but there is definitely some relationship to this tool with the recent change.
Post Reply