Hi,
I was wondering how to resize a rectangle diagonally.
Without making it bigger, but just longer..
and not scaling the whole thing, but just increasing the length.
Kind regards,
Virt
How to resize a rectangle diagonally..
How to resize a rectangle diagonally..
- Attachments
-
- example.png (10.24 KiB) Viewed 3756 times
Re: How to resize a rectangle diagonally..
Hi.
You can use a 2 node open path with no fill but outline, and butt caps, to draw such a rectangle.
Then you can edit it with the node editor tool to be diagonal, or,
with the select tool if the scale stroke width with the path option is disabled.
You can use a 2 node open path with no fill but outline, and butt caps, to draw such a rectangle.
Then you can edit it with the node editor tool to be diagonal, or,
with the select tool if the scale stroke width with the path option is disabled.
Re: How to resize a rectangle diagonally..
The rectangle tool should give you the true dimensions of the rectangle to resize in length or width no matter the orientation
Your mind is what you think it is.
Re: How to resize a rectangle diagonally..
Lazur URH wrote:Hi.
You can use a 2 node open path with no fill but outline, and butt caps, to draw such a rectangle.
Then you can edit it with the node editor tool to be diagonal, or,
with the select tool if the scale stroke width with the path option is disabled.
Thanks!
Re: How to resize a rectangle diagonally..
druban wrote:The rectangle tool should give you the true dimensions of the rectangle to resize in length or width no matter the orientation
Yeah, so increasing it there would only increase length?
Re: How to resize a rectangle diagonally..
If you are not in object select mode but in the rectangle's toolbar, you can use the handles to change the length in a fixed direction, however you would need a parallel guideline to snap one of the corners
-or the exact width cannot be kept.
-or the exact width cannot be kept.
Re: How to resize a rectangle diagonally..
Lazur URH wrote:If you are not in object select mode but in the rectangle's toolbar, you can use the handles to change the length in a fixed direction, however you would need a parallel guideline to snap one of the corners
-or the exact width cannot be kept.
Thanks for helping out.
I got it now.

Cheers and a happy new year to you all!
Re: How to resize a rectangle diagonally..
Cheers and happy new year in design!
Re: How to resize a rectangle diagonally..
I´d go with user druban - select rectangle with
rectangle tool and type in the new "H:" (height) - that´s it.
Or use the node tool with ctrl+alt keys down:
Cheers
P.

Or use the node tool with ctrl+alt keys down:
Cheers
P.
Last edited by Polygon on Mon Jul 30, 2018 8:49 pm, edited 1 time in total.
Re: How to resize a rectangle diagonally..
To resize or extend a rectangle diagonally, I can offer three alternate methods.
1) One method is to combine multiple instances of your rotated rectangle.
Duplicate your rectangle, and move it along the direction of the length as far as desired.
Zooming in to do the move will help you align the rectangles better by eye.
Now you can change them to paths (Path menu > Object to Path) and then do Path > Union.
Once you've united the two rectangle paths, you can click on the Path Nodes tool, and remove the four nodes that are now along the sides of the Union Path. (If you have aligned them well, you will probably only see six nodes, because the nodes along the sides will be in the same places, on top of each other. Click on a side node, hit Delete, then click on the node below that and delete it as well.)
Alternatively, if you are satisfied with the alignment of your rectangles, and don't want a path, you can just Group the objects (Objects menu > Group)
Downside: Unless you are extending the rectangle by an exact multiple (like twice as long), there will be no snap options to use, and you have to align the rectangles by eye. This is actually my least favorite of the three options.
Method 2) Select your diagonal rectangle and change it to a path; Path menu > Object to Path.
Now click the Path Nodes tool to see the path nodes.
With the Path Nodes tool still active, drag a rectangle around the two nodes you want to extend, to select them.
Ctrl-Alt-drag them out in approximately the direction of extension.
(The Ctrl-Alt constrains the direction to be in the same direction as the rectangle path.)
Downside: The only downside I've found is that (reportedly) Ctrl-Alt-dragging the two nodes in version 0.48 does not work the same way. It does reportedly work in 0.47, and in 0.92 it works.
Bonus notes for method 2) If you Ctrl-Alt-drag your rectangle path significantly to the side rather than in the direction of extension, you can get a curved "rectangle", like an "S".
Also, if you change an unrotated rectangle to a path, and then Ctrl-Alt-drag two end nodes to the side, it is an easy and predictable way to create slanted parallelograms.
3) This one is possibly my favorite. In this one we specifically do NOT change it to a path.
With the rotated rectangle object selected, click on the Path Nodes tool or the Rectangle tool to show the rectangle controls.
There are two square handles and two round handles, although the round handles are typically on top of each other.
(To see the second round handle you can drag the visible one toward the center of the rectangle, and it will slide along one side, revealing the round handle that was beneath it.)
Ctrl-drag a square handle out in the direction you want to extend the rectangle.
The Ctrl option makes it easy to keep the rectangle from changing in the "width" direction.
1) One method is to combine multiple instances of your rotated rectangle.
Duplicate your rectangle, and move it along the direction of the length as far as desired.
Zooming in to do the move will help you align the rectangles better by eye.
Now you can change them to paths (Path menu > Object to Path) and then do Path > Union.
Once you've united the two rectangle paths, you can click on the Path Nodes tool, and remove the four nodes that are now along the sides of the Union Path. (If you have aligned them well, you will probably only see six nodes, because the nodes along the sides will be in the same places, on top of each other. Click on a side node, hit Delete, then click on the node below that and delete it as well.)
Alternatively, if you are satisfied with the alignment of your rectangles, and don't want a path, you can just Group the objects (Objects menu > Group)
Downside: Unless you are extending the rectangle by an exact multiple (like twice as long), there will be no snap options to use, and you have to align the rectangles by eye. This is actually my least favorite of the three options.
Method 2) Select your diagonal rectangle and change it to a path; Path menu > Object to Path.
Now click the Path Nodes tool to see the path nodes.
With the Path Nodes tool still active, drag a rectangle around the two nodes you want to extend, to select them.
Ctrl-Alt-drag them out in approximately the direction of extension.
(The Ctrl-Alt constrains the direction to be in the same direction as the rectangle path.)
Downside: The only downside I've found is that (reportedly) Ctrl-Alt-dragging the two nodes in version 0.48 does not work the same way. It does reportedly work in 0.47, and in 0.92 it works.
Bonus notes for method 2) If you Ctrl-Alt-drag your rectangle path significantly to the side rather than in the direction of extension, you can get a curved "rectangle", like an "S".
Also, if you change an unrotated rectangle to a path, and then Ctrl-Alt-drag two end nodes to the side, it is an easy and predictable way to create slanted parallelograms.
3) This one is possibly my favorite. In this one we specifically do NOT change it to a path.
With the rotated rectangle object selected, click on the Path Nodes tool or the Rectangle tool to show the rectangle controls.
There are two square handles and two round handles, although the round handles are typically on top of each other.
(To see the second round handle you can drag the visible one toward the center of the rectangle, and it will slide along one side, revealing the round handle that was beneath it.)
Ctrl-drag a square handle out in the direction you want to extend the rectangle.
The Ctrl option makes it easy to keep the rectangle from changing in the "width" direction.
Re: How to resize a rectangle diagonally..
Necromancer rolls a 16!!
I guess this means at least two more seasons of The Walking Dead and probably another spinoff series.
It's a long first post so I am going to assume not a robot. Speak, friend, and enter.
I guess this means at least two more seasons of The Walking Dead and probably another spinoff series.
It's a long first post so I am going to assume not a robot. Speak, friend, and enter.
Your mind is what you think it is.