Inkscape: Collapse borders between consecutive boxes

I need to make several diagrams with many precisely-size, consecutive, bordered boxes. I’m snapping all the edges of my boxes, but box strokes are inlaid; it looks like snapping the edge to the grid determines the maximum extent of the box. The side-effect is that when I put boxes next to one another on the grid borders appear doubled.

Here’s an example of what I’m talking about:

What’s the best work-around for this? I’ve come up with a few ways to cope, but most of them involve making bizarre sized boxes that are hard to color fill.

Answer

The way Inkscape snaps stroked objects to grid has always felt a little inconsistent to me. Perhaps there is a logic to it, but I’m just not getting it.

Anyway, a simple workaround is to temporarily remove the stroke from your boxes, e.g. by setting their stroke color to “none”, and then dragging their corners so that they lie on grid points:

Image 1

Then just add back the strokes:

Image 2

Attribution
Source : Link , Question Author : rstutsman , Answer Author : Ilmari Karonen

Leave a Comment