Inkscape Community

Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: Bad Hair Day on June 28, 2019, 12:19:54 AM

Title: Hex grid being seen through an opaque object
Post by: Bad Hair Day on June 28, 2019, 12:19:54 AM
Hi,

The anaxomorphic grid I have turned on is very visible through objects I have drawn on the canvas, even when they are 100% opaque and a very dark color.  Is there a way I can tell the grid to stay hidden/out of sight behind any objects I have?

Thanks,

BHD
PS  I am making great progress on my hex map!
Title: Re: Hex grid being seen through an opaque object
Post by: Moini on June 28, 2019, 07:19:13 AM
Depends.

Is the axonometric grid an object, or a grid as provided by Inkscape?

You can set the grid colors, opacity, type (dots/lines) in the document properties.

Object colors and z-order are determined via their color as set via Fill+Stroke dialog, and z-order as determined by stacking them up or down.
Title: Re: Hex grid being seen through an opaque object
Post by: flamingolady on June 28, 2019, 08:26:29 AM
Another simple thing you could also do, is put the grid on a separate layer to itself, then just hide that whole layer.
Or, I also like to 'lock' my background object so it doesn't move around when working on it.  Object properties
Title: Re: Hex grid being seen through an opaque object
Post by: Bad Hair Day on June 28, 2019, 10:35:48 PM
It is the grid provided by the Inkscape program.
Title: Re: Hex grid being seen through an opaque object
Post by: Moini on June 29, 2019, 04:24:32 AM
Then use the 'Grid' tab in the document properties.

(These grids are per document, and not per layer. There's no way to put them 'below' the objects, but you can use a dot pattern or make them partially transparent.)
Title: Re: Hex grid being seen through an opaque object
Post by: Lazur on June 29, 2019, 05:52:34 AM
Hi.

Just a reminder that even if your hexagons fit perfectly next to eachother you'll still experience the "gap issue".
That is, from the edges to be rendered with anti-aliasing, both objects will have a lowered opacity "on the subpixel level" and two of those being at 50% opacity, won't add up to 100%.

Personally I prefer using overlapping of objects.
Other solution could be adding a stroke to all tiles or forcing a non-anti-aliased look. Latter can be achieved by switching off anti-aliasing completely in the document settings (Shift+Ctrl+D) although that doesn't work perfectly when exporting a drawing to png.
Title: Re: Hex grid being seen through an opaque object
Post by: flamingolady on June 29, 2019, 11:00:45 AM
PS to chg the opacity of the Inkscape grid, go to the grid tab as usual, then click on the color (mine is auto blue), a mini fill n stroke box pops up and you can either use the slider to adjust the fill or type a number in the box for the opacity. You can also change the color of the lines for thr major and minor grid lines.  You may only need a lighter color.
Title: Re: Hex grid being seen through an opaque object
Post by: brynn on June 29, 2019, 10:50:26 PM
You can toggle the grid on and off using the View menu, or the key shortcut Shift + 3.  But there's no way to hide it or make it selectively hidden.  It's either all on or all off.