0

I want to create an adjacent rectangle while expanding other rectangle's wall. Lets say this is our first draw

first draw

I want to expand its right side while keeping the wall, just like that

second draw

how I can accomplish this?

0

First double click on the shape (or select "edit paths by nodes tool" or click N or F2) then select nodes(1 & 2 as shown in picture below) of the side you want to move and click and drag(In any direction you want to expand the side) any node(1 or 2) while holding ctrl

before

You can expand any side this way

after

And if you want to do something like that looks like your second image than click on object and click ctrl+D(or go to edit menu > duplicate) to duplicate object and follow the process explained above and you will get results shown below:

other option

  • I'm pretty sure based on the second example image, OP wanted to keep that vertical wall in place, like this: example gif — I don't use Inkscape, so I did the gif in Illustrator. – Joonas Jan 8 at 8:54
  • You have two objects right? that could be done, let me just improve the answer. – thepooran Jan 8 at 8:59
  • Yea I cheated by just duplicating the object, locking it and selecting the top points and then moved them. — I should say I was just guessing.... so I don't know if you want to wait for OP to confirm or deny what I was saying before you make changes. – Joonas Jan 8 at 9:01
  • @Joonas Okay. I think I should improve my answer. thanks for pointing it out. – thepooran Jan 8 at 9:04
  • @joonas many thanks for the answer. is there a way to do it without a dublicate item. iam asking because iam gonna do it many times and idk what to do with duplicated items at the end. – kai Jan 8 at 12:19
1

For a solution without duplicate objects and minimum added nodes, I would go like this:

With cusp node snapping switched on, select the tool for straight lines (Shift+F6) and draw a single segment exactly between the two corners.

enter image description here

(use Enter or right click to finish drawing) The new segment will look like this:

enter image description here

Select the original shape and move its segment to the right.

enter image description here

You can combine the two paths using Ctrl+K (Path > Combine) to have the whole thing in one path object.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.