[ Feature Request ] Sketch: Rectangle tool working like the slot one

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
Piero69
Posts: 278
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

[ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by Piero69 »

a good enhancement in sketcher is the ability to create quickly an oriented/inclined rectangle without removing the internal alignment.

A rectangle tool that works like the slot one, in which the contextual constraints lead your intent

what do you think?

@paddle
adrianinsaval
Veteran
Posts: 4064
Joined: Thu Apr 05, 2018 5:15 pm

Re: [ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by adrianinsaval »

chrisb
Veteran
Posts: 45578
Joined: Tue Mar 17, 2015 9:14 am

Re: [ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by chrisb »

adrianinsaval wrote: Thu Nov 24, 2022 1:27 pm this request already exists: https://github.com/FreeCAD/FreeCAD/issues/7221
I understand this differently, and it is already implemented: Sketcher RemoveAxesAlignment.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
adrianinsaval
Veteran
Posts: 4064
Joined: Thu Apr 05, 2018 5:15 pm

Re: [ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by adrianinsaval »

No, the request is for a new rectangle creation tool that allows creating tilted rectangles, it is not the same as remove axes alignment. Check the linked forum discussion: https://forum.freecadweb.org/viewtopic.php?f=8&t=70367
interestingly you, Piero69 and I also participated in that discussion, so this is incredibly redundant
Piero69
Posts: 278
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

Re: [ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by Piero69 »

chrisb wrote: Thu Nov 24, 2022 1:38 pm
adrianinsaval wrote: Thu Nov 24, 2022 1:27 pm this request already exists: https://github.com/FreeCAD/FreeCAD/issues/7221
I understand this differently, and it is already implemented: Sketcher RemoveAxesAlignment.
yes, my request is just to eliminate the current "double/triple step" to make a thing...
1) sketch a rectangle 2)RemoveAxesAlignment, 3)position the rectangle and give an angular constraint

with a tool working like slot is more immediate

rectangle by three point like suggest by @adrianinsaval is good and immediate
adrianinsaval
Veteran
Posts: 4064
Joined: Thu Apr 05, 2018 5:15 pm

Re: [ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by adrianinsaval »

you also have to add perpendicular constraint between the edges if yo want it to remain a rectangle after removing the axis alignment
drmacro
Veteran
Posts: 6488
Joined: Sun Mar 02, 2014 4:35 pm

Re: [ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by drmacro »

While you are waiting you are welcome to try the RoundedRectngle script I wrote a while back.

I think it creates rectangles as you desire.

https://github.com/macdroid53/FreeCADScripts
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
chrisb
Veteran
Posts: 45578
Joined: Tue Mar 17, 2015 9:14 am

Re: [ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by chrisb »

adrianinsaval wrote: Thu Nov 24, 2022 2:05 pm you also have to add perpendicular constraint between the edges if yo want it to remain a rectangle after removing the axis alignment
No, they are created automatically. Perhaps you run an old FreeCAD?
Before:
SnipScreenshot-e334d2.png
SnipScreenshot-e334d2.png (2.77 KiB) Viewed 124 times
after applying "remove axis alignment". Even the vertical distance is correctly replaced:
SnipScreenshot-914dec.png
SnipScreenshot-914dec.png (11.47 KiB) Viewed 124 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
adrianinsaval
Veteran
Posts: 4064
Joined: Thu Apr 05, 2018 5:15 pm

Re: [ Feature Request ] Sketch: Rectangle tool working like the slot one

Post by adrianinsaval »

hhmm I guess I haven't used it in a long time but that is really nice then
Post Reply