[Feature Request] Rectangle from 3 corners
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: [Feature Request] Rectangle from 3 corners
To have not six different rectangles around...
Is it possible to use a key (Ctrl, shift, ...) That when holding that automatically is choosen for a 3 point (Or two point )whatever is default?
Maybe a option to switch on user preferences in the Edit Parameter tool?
Is it possible to use a key (Ctrl, shift, ...) That when holding that automatically is choosen for a 3 point (Or two point )whatever is default?
Maybe a option to switch on user preferences in the Edit Parameter tool?
Re: [Feature Request] Rectangle from 3 corners
You are right. I see the advantage of such a tool.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [Feature Request] Rectangle from 3 corners
No, I don't think so. Horizontal and Vertical are the most basic constraints which have their semantics without any other element. Personally I have probably more often changed just one line in a rectangle by making one of its sides angled than turning a whole rectangle.
Sounds reasonable.Also another question: should we also have a mode of 3 points rectangle by center?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [Feature Request] Rectangle from 3 corners
Another question then. How should it be in the widget :chrisb wrote: ↑Sun Jul 24, 2022 11:35 pmNo, I don't think so. Horizontal and Vertical are the most basic constraints which have their semantics without any other element. Personally I have probably more often changed just one line in a rectangle by making one of its sides angled than turning a whole rectangle.Sounds reasonable.Also another question: should we also have a mode of 3 points rectangle by center?
4 modes in the dropdown:
- Diagonal
- Center
- Diagonal 3 points
- Center 3 points
Or alternatively, we keep 2 modes and we add one checkboxe 'By 3 points'.
I'm not sure what is the best for the UI. I'm not super fond of having 4 modes. What do you think?
However ultimately I would like to replace the dropdown by an array of buttons with icon corresponding to each mode. In which case having 4 modes wouldn't be annoying.
Edit: Here's what I meant in a mockup :
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: [Feature Request] Rectangle from 3 corners
That's what I would go for. It is known behaviour, and saves space (yes, I'm a real estate nazi). On the other hand: I am not very fond of the drop downs either, because it means two clicks with rather precise mouse movements. Sat allo I would be grateful for an idea of making this easier without the cost of additional space.
I don't like that, because it needs so much clicking and additional space. And going into that direction, we should offer another checkbox for using the centered versions.Or alternatively, we keep 2 modes and we add one checkboxe 'By 3 points'.
I cannot really estimate how often this would be changed during a Sketcher or even a FreeCAD session. I guess that I would change these modes rather rarely and thus the four dropdown modes would be very fine with me.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [Feature Request] Rectangle from 3 corners
It can be easier with only two points, and you can even have it made with an angle. The rectangle of course would be square by default, but that could change as well.
First you put in the two points, then a line shows up between the points. You can select the line and it appears to be a rectangle, that one can move in both directions. It should always snap as a rectangle between the two selected points, but is snaps as the nearest end point. When you get to the nearest point of the "new line", the angle of the line shows up and you can have an "angled rectangle".
But the easier answer is to just forget is, because it is rather foolish. Anyone can make a macro.
First you put in the two points, then a line shows up between the points. You can select the line and it appears to be a rectangle, that one can move in both directions. It should always snap as a rectangle between the two selected points, but is snaps as the nearest end point. When you get to the nearest point of the "new line", the angle of the line shows up and you can have an "angled rectangle".
But the easier answer is to just forget is, because it is rather foolish. Anyone can make a macro.
About Nim. Latest Release 2.0.2. Here is Nim in 100 seconds and a Nim package. There are Qt and OCCT packages.
Re: [Feature Request] Rectangle from 3 corners
Don't take this as being against this feature. But, the response to this thread has not been overwhelming.
Sure, these QOL tools are seen as good additions to FreeCAD. But, there is nothing wrong with useful macro/Python. I see this particular tool as occasionally useful, certainly not something I'd use daily...maybe not even weekly.
Alternatively, continuously adding "useful to some" and corner case tools could be seen as bloatware.
What, IMO, would really be a great update would be user defined toolbars. That would allow libraries of macro/Python "features" and/or existing tools to be added, as needed, by the user, not by a random developer or a committee.
Just my $0.02
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: [Feature Request] Rectangle from 3 corners
What about a the use of a extra key? I don't know if FC has it, but i can remember that other CAD software have it(probably Autocad ) That when holding a key the lines are only in horizontal / vertical direction.chrisb wrote: ↑Tue Jul 26, 2022 1:14 amThat's what I would go for. It is known behaviour, and saves space (yes, I'm a real estate nazi). On the other hand: I am not very fond of the drop downs either, because it means two clicks with rather precise mouse movements. Sat allo I would be grateful for an idea of making this easier without the cost of additional space.
It is possible to use something similar that forces a straight rectangle and so that the second point is not needed(basically only point one and tree are used and two is added automatically)...
If talking about bloatware in the sketcher are more useless(wrong word but i assume everybody understand what i meant) features.