1

I have 4 rectangles:

enter image description here

How can I make the bottom ones (2,3 and 4) to take all the width provided by Rectangle1 equally?

I.e. rectangles 2, 3 and 4 must have the same size but I'd like to have no spacing in between them, and also I'd like Rectangle2 to start where Rectangle1 starts, and Rectangle4 to end where Rectangle1 ends.

7
  • So are you asking us how to divide by 3, how to measure a distance, how to scale from a point or something else?
    – joojaa
    Apr 1, 2022 at 17:59
  • Let me clear this up a bit, see the update.
    – Daniel
    Apr 1, 2022 at 18:11
  • Divide the width of first rectangle by 3 and duplicate it 3 times?
    – joojaa
    Apr 1, 2022 at 18:16
  • That can work, yes, but is not there any function in Inkscape which doesn't involve an external calculator? :)
    – Daniel
    Apr 1, 2022 at 18:17
  • 1
    Most design applications actually accept arithmetic functions in input boxes. No inkscape in front of me but try typing /3 in the width input.
    – joojaa
    Apr 1, 2022 at 18:21

2 Answers 2

3

You can do the arithmetic in the width field in Inkscape.

Duplicate Ctrl+D the long rectangle, click and drag downwards while holding down Ctrl to constrain the move vertically, then type /3 after the width value to divide by 3. Hit Enter to confirm.

Duplicate the resized piece, and move into position while holding down Ctrl to constrain the move horizontally. Use snapping if you want things to line up. Repeat for the last piece.

An example

enter image description here

2

For something as simple as this, you don't even need to use arithmetic. Just take advantage of snapping.

  • Draw a rectangle with random dimensions.
  • Duplicate it two times and snap the three rectangles tightly together.
  • Snap the three rectangles to one of the corners of the original rectangle.
  • Scale the three rectangles to the same dimensions as the original rectangle.
  • Move the three rectangles to the desired position.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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