How to resize a rectangle edge only in one dimension? (PartDesign)

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
ceremcem
Posts: 226
Joined: Sun Jan 07, 2018 11:10 am

How to resize a rectangle edge only in one dimension? (PartDesign)

Post by ceremcem »

When I move a rectangle edge with mouse, it also affects the other connected edges' positions, like so:

Image

I tried pressing and holding Ctrl or Shift like I do for drawing perpendicular line in Gimp, but they seem to have no effect.

How can I drag the lines only in perpendicular directions?
User avatar
DeepSOIC
Veteran
Posts: 7900
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by DeepSOIC »

Use constraints.
Aligned your top side -> Vert Distance constraint to one of involved points -> adjust left side -> horz constraint to a corner -> ....

EDIT: you can also grab points. This moves less stuff all at once.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by NormandC »

ceremcem wrote: Sat Aug 25, 2018 11:24 pm I tried pressing and holding Ctrl or Shift like I do for drawing perpendicular line
That might be a good Sketcher enhancement request.
User avatar
ceremcem
Posts: 226
Joined: Sun Jan 07, 2018 11:10 am

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by ceremcem »

DeepSOIC wrote: Sun Aug 26, 2018 12:09 am Use constraints.
Aligned your top side -> Vert Distance constraint to one of involved points -> adjust left side -> horz constraint to a corner -> ....

EDIT: you can also grab points. This moves less stuff all at once.
Grabbing points is helpful, thank you. (I was going to say "Grabbing points is helpful when you can grab one, but it seems it's not always possible: [gif here]" but I didn't come across with that case in these days)
NormandC wrote: Sun Aug 26, 2018 4:55 am That might be a good Sketcher enhancement request.
https://www.freecadweb.org/tracker/view.php?id=3576
Last edited by ceremcem on Fri Aug 31, 2018 11:37 pm, edited 1 time in total.
User avatar
DeepSOIC
Veteran
Posts: 7900
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by DeepSOIC »

ceremcem wrote: Fri Aug 31, 2018 11:25 pm (I was going to say "Grabbing points is helpful when you can grab one, but it seems it's not always possible: [gif here]" but I didn't come across with that case in these days)
On the gif you posted, it looks like you are editing a sketch from behind. Then, indeed, points are not grabbable. It is because points are raised above the sketch in a particular direction (maybe some day, that direction will be towards camera rather than along sketch plane normal).
User avatar
ceremcem
Posts: 226
Joined: Sun Jan 07, 2018 11:10 am

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by ceremcem »

DeepSOIC wrote: Fri Aug 31, 2018 11:29 pm On the gif you posted, it looks like you are editing a sketch from behind. Then, indeed, points are not grabbable.
A-ha! Thanks for this additional tip.
User avatar
Kunda1
Veteran
Posts: 13443
Joined: Thu Jan 05, 2017 9:03 pm

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by Kunda1 »

DeepSOIC wrote: Fri Aug 31, 2018 11:29 pm On the gif you posted, it looks like you are editing a sketch from behind. Then, indeed, points are not grabbable. It is because points are raised above the sketch in a particular direction (maybe some day, that direction will be towards camera rather than along sketch plane normal).
Is there a feature ticket opened for that as well? That seems like a useful ability.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by NormandC »

I edited the summary and description to make it clearer.

Also, "PartDesign" was set as project, but this is about the Sketcher, so I moved it to the appropriate project.

Thanks for reporting.
chrisb
Veteran
Posts: 52145
Joined: Tue Mar 17, 2015 9:14 am

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by chrisb »

Polyline got during the last Sketcher enhancement period a possibility for arc mode to continue by snapped degrees of multiples of 45°. This is done by pressing the Ctrl key. Here it is analogous, so I would vote for the Ctrl key as well.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
ceremcem
Posts: 226
Joined: Sun Jan 07, 2018 11:10 am

Re: How to resize a rectangle edge only in one dimension? (PartDesign)

Post by ceremcem »

NormandC wrote: Sat Sep 01, 2018 3:41 pm
I edited the summary and description to make it clearer.

Also, "PartDesign" was set as project, but this is about the Sketcher, so I moved it to the appropriate project.

Thanks for reporting.
Thank you, it's very kind to let me know.
Post Reply