NEW FEATURE ! Sketcher Tool Settings.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: NEW FEATURE ! Sketcher Tool Settings.
I mean shift.
JFYI there is a thread about shortcuts in FC, opened by @openbrain. But I can't find it ATM sorry.
OK, here: https://forum.freecadweb.org/viewtopic.php?f=8&t=44973
JFYI there is a thread about shortcuts in FC, opened by @openbrain. But I can't find it ATM sorry.
OK, here: https://forum.freecadweb.org/viewtopic.php?f=8&t=44973
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: NEW FEATURE ! Sketcher Tool Settings.
a more recent one specific to sketcher were many shortcuts were changed by abdullah:
https://forum.freecadweb.org/viewtopic.php?f=3&t=41272
https://forum.freecadweb.org/viewtopic.php?f=3&t=41272
Re: NEW FEATURE ! Sketcher Tool Settings.
So I posted the PR : https://github.com/FreeCAD/FreeCAD/pull/5389
Regarding this, I'm not sure it would create so many conflicts. Because the ctrl keypress is sent to viewproviderSketch which then handles it as it usually does (send it to the tool handler or other). And if the tool handler catch the ctrl (so only when polyline is used) I don't know if that prevent further use down the line.-alex- wrote: ↑Mon Jan 17, 2022 3:29 pm Thanks @paddle for the great job done here.
But please do not use Maj or CTRL keys as shortkeys because Maj+RMB and CTRL+RMB are already used to rotate and pan in 3D view, even in sketch editing mode (a bit buggy in this mode BTW) . Rotate and pan this way is very useful to avoid carpal tunnel syndrom.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: NEW FEATURE ! Sketcher Tool Settings.
I just tested and it doesn't create any conflict. Both work simulatenously.-alex- wrote: ↑Mon Jan 17, 2022 3:34 pm I mean shift.
JFYI there is a thread about shortcuts in FC, opened by @openbrain. But I can't find it ATM sorry.
OK, here: https://forum.freecadweb.org/viewtopic.php?f=8&t=44973
If you are in edit mode, and being using polyline after second line, pressing shift + RMB will change mode once, then rotate. So it's really not a big deal here.
It actually works better than in bare edit mode because the right click doesn't trigger the menu which makes shift+RMB buggy in sketcher.
Even with other tools, when you press shift + RMB it will exit the tool because of the right click, then start bugging with right click menu.
While in this polyline from second line, it doesn't exit the tool and rotate correctly. Maybe there's a way to solve your bugs hidden in there
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: NEW FEATURE ! Sketcher Tool Settings.
I don't think it's desired to change polyline mode when one want's to use mouse navigation...
Re: NEW FEATURE ! Sketcher Tool Settings.
This depends on the mouse model. I use the Gesture model, and the rotate key combo is ALT+LMB.
Gene
Re: NEW FEATURE ! Sketcher Tool Settings.
It shouldn't interfere with an o the mouse models, and "pressing shift + RMB will change mode once, then rotate" is exactly one mode change too many.
It was also discussed to use the modifiers for the global shortcuts, so they shouldn't interfere with those. I have the strong feeling that while creating a polyline the new stuff shouldn't be active at all. I mean you don't start adding dimensions for a rectangle either before you have added the second point.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: NEW FEATURE ! Sketcher Tool Settings.
No but it seems it doesn't happen very often. Even rotating while in sketcher in general is not done so often.adrianinsaval wrote: ↑Mon Jan 17, 2022 6:25 pm I don't think it's desired to change polyline mode when one want's to use mouse navigation...
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: NEW FEATURE ! Sketcher Tool Settings.
That's also a possibility. To not activate the tool for polyline. But it works well and if you already know the dimensions of the shape you want it's most useful. Dumping it for the sake of keeping the 'M' shortcut feels wrong, against change and improvement.
Shift shortcut works well. It's only a small usecase where you want to rotate in sketcher (not often) with shift + RMB (not often and which doesn't work properly in sketcher.) while using the polyline tool (not often). And the outcome is just that it change the mode of the tool when you start the rotation.
Beside we can use another key than shift. What about the F3-F12 keys? Or Screenlock or pause (though most laptop won't have those).
Edit : Beside maybe we can just catch the +RMB in the polyline tool and cancel the mode change if + RMB is done.
I don't understand what you mean. Why don't you add dimensions of a rectangle before adding second point? If you know you want a 20 by 20mm rectangle why would you wait until you have second point before adding the dimensions manually ?I mean you don't start adding dimensions for a rectangle either before you have added the second point.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: NEW FEATURE ! Sketcher Tool Settings.
I think you are very wrong here, perhaps due to personal experience. I have read here several times that a user starts almost always using polyline - but only if they are familiar with the M key.
A rectangle in sketcher is drawn by clicking two points, either diagonal or center plus corner. Perhaps I misunderstood your tool, but can you specify the width of a rectangle before having clicked the second point?I don't understand what you mean. Why don't you add dimensions of a rectangle before adding second point? If you know you want a 20 by 20mm rectangle why would you wait until you have second point before adding the dimensions manually ?I mean you don't start adding dimensions for a rectangle either before you have added the second point.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.