Sketcher: drive the intent in slot creation
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Sketcher: drive the intent in slot creation
currently the slot creation in sketcher is free and you have to constrain it after. i feel very useful to have at least working horizontal and vertical constraints during the creation to drive the intent. i mean something like that:
1) click the first point
2) ability to use H or V constraint by keyboard
3) click the second point (constrained according to H or V selection)
if you skip the "step 2" the slot is free like now
what do you think?
1) click the first point
2) ability to use H or V constraint by keyboard
3) click the second point (constrained according to H or V selection)
if you skip the "step 2" the slot is free like now
what do you think?
Re: Sketcher: drive the intent in slot creation
It used to be horizontal and vertical only. It may be helpful to do something similar to the Ctrl-key with the Polyline tool: If the Ctrl key is pressed, then the old vertical/horizontal constraints are applied.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Sketcher: drive the intent in slot creation
Something like this ?
Re: Sketcher: drive the intent in slot creation
Concerning one of your last PRs: Obviously it is not only crash fixes, that can be implemented extremely fast .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Sketcher: drive the intent in slot creation
If you look at the code of the PR, you can see it's not such a big deal. And my own opinion is that this feature is interesting, which also counts.
FYI, I choosed the Ctrl key before you said it to be in sync with the 45° snapping feature of polyline arcs.
Re: Sketcher: drive the intent in slot creation
Let's take this as a proof that it is sensible to have things consistent.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Sketcher: drive the intent in slot creation
FWIW
The arcslot and roundedrectangle macros here result in constrained shapes that can be moved or rotated.
https://github.com/macdroid53/FreeCADScripts
The arcslot and roundedrectangle macros here result in constrained shapes that can be moved or rotated.
https://github.com/macdroid53/FreeCADScripts
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Sketcher: drive the intent in slot creation
Could it be smart? If you drag H or V then it constrains H or V, if other then it is free. This would be tablet friendly. This probably won't be as easy but it could be the start of adding new options without key strokes.
Re: Sketcher: drive the intent in slot creation
That would be pretty easy to implement actually.