Page 1 of 1

Custom distance between objects

Posted: Fri Aug 30, 2013 7:58 pm
by aiat_gamer
I have a few rectangle all parallel to each other. I want to set their distance, but not at a constant distance. I thought about doing it for every two using object ---> Rows and columns but the problem is that when I want to set the distance between two objects, it rounds the number! For example I want to set the distance to 0.475 mm but it rounds it up to 0.5 :roll: . Is there a solution to this or another different way I can achieve my goal?

Re: Custom distance between objects

Posted: Sat Aug 31, 2013 9:54 am
by Lazur
Hi.

Could you explain a bit more your goal?

Maybe you could use a spacer object and the align and distribute panel.

Probably the mentioned number rounding is caused by some stroke widths?

Re: Custom distance between objects

Posted: Sat Aug 31, 2013 8:02 pm
by aiat_gamer
Image

This is what I want to do, if you can help me please tell me step by step as I am very much a total noob!

Re: Custom distance between objects

Posted: Sun Sep 01, 2013 8:32 am
by tylerdurden
You might try setting guides by double-clicking on them and entering the desired value.

guides-dblClick.jpg
guides-dblClick.jpg (123.88 KiB) Viewed 8229 times


Then you could snap the corners of your rectangles' "bounding boxes" to the guides.

Re: Custom distance between objects

Posted: Sun Sep 01, 2013 9:02 am
by Lazur
I would go this way:
SVG Image

However inkscape is not a cad program, and if you add/subtract from the paths, it can produce about 0,01 pixel inaccuracy.

Re: Custom distance between objects

Posted: Sun Sep 01, 2013 10:27 am
by tylerdurden
"Remove Overlaps" seems pretty good too...

All the spacers can be sized & roughly placed overlapped, selected with the rectangles... then click the button:
overlaps.jpg
overlaps.jpg (82.06 KiB) Viewed 8208 times


Afterwards, the spacers can be moved to another layer and hidden (for future use).

(Too bad there is not a "Remove Gaps" button.)