Can we zoom grid

General discussions about Inkscape.
nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Can we zoom grid

Postby nihon94 » Tue Jul 10, 2012 8:41 pm

In Inkscape we can zoom the object but the grid behind object remain same.
I wonder if we can zoom the grid too? :?

Thank you

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Can we zoom grid

Postby brynn » Tue Jul 10, 2012 11:15 pm

Yes, the grid zooms right along with everything else. But how it looks when you zoom may depend on exactly how you have the grid set up. There's an option to have heavier grid lines every so many units (I think 5 is the defualt). If you have that disabled, it may not always be obvious that it's zooming. But it definitely zooms. Pay attention to the units, by scrolling to one of the rulers, and watch while you zoom, to confirm it.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Can we zoom grid

Postby nihon94 » Wed Jul 11, 2012 5:59 am

Thank you for the reply.
This is how default grid settings are:

Rectangular grid
Grid unit :px
Origin X :0
Origin Y :0
Spacing X :0
Spacing Y :0
Grid line color: Blue
Major grid line color: Blue
MAJOR GRID LINE EVERY: 5
Show dots instead of lines (Un checked)

Do you think it is disabled, or where do I need settings so grid could also zoom?
Thank you

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Can we zoom grid

Postby druban » Wed Jul 11, 2012 7:51 am

Under normal circumstances happens is that as you zoom in you see the finer divisions that Inkscape does not show when you are zoomed out. In other words, you are seeing more lines when you zoom in so it might even seem as if you have zoomed out.
But your settings are not normal!
nihon94 wrote:Spacing X :0
Spacing Y :0
In my version of IS I can't even get these settings to be 0 in the GUI. Enter some numbers in these fields, try '10' and see if it works then as expected. You can change grid settings in the document properties dialog (file menu)
When you open a new document does it do the same? If your default document is setup this way it will always go back to this condition.
If you keep having problems you can delete all your objects and post the file here so someone can look at your defs.
Your mind is what you think it is.

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: Can we zoom grid

Postby v1nce » Wed Jul 11, 2012 8:06 am

Make me think I'd like to have grid enabled only for a certain zoom level.

Anyone else feels the same ?

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Can we zoom grid

Postby druban » Wed Jul 11, 2012 9:04 am

You can turn grids on and off so easily at any time, ( #) I don't see the advantage ...
Your mind is what you think it is.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Can we zoom grid

Postby nihon94 » Wed Jul 11, 2012 9:39 am

v1nce wrote:Make me think I'd like to have grid enabled only for a certain zoom level.

Anyone else feels the same ?


You are right, I am new to Inkscape and by asking questions this is how I learn.
"By mistakes and error we learn, those who play safe could not" :D

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Can we zoom grid

Postby nihon94 » Wed Jul 11, 2012 9:41 am

druban wrote:You can turn grids on and off so easily at any time, ( #) I don't see the advantage ...


Thank you for answer. Advantage and disadvantage depends on the work we do. In some cases we need grids enable.
In othercases when eyes want us to do something :geek:

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Can we zoom grid

Postby nihon94 » Wed Jul 11, 2012 9:51 am

Thank you for your detailed reply.

I made a testing folder by the name Gridtesting. Then by following your advice I changed
Spacing X and Spacing Y to 30. I saved the blank svg file and opened the new document and settings back to default settings which I have mentioned in first posting. So, you are right about settings.

As this is not a big problem. I have saved the grid settings I can open that and work and save as by giving new name whenever I wanted to work with grids.

PS* in my other posting about color palette I did not get any reply did I do some thing wrong? :?

Thank you
---------------------------------------------------------------------------------------

druban wrote:Under normal circumstances happens is that as you zoom in you see the finer divisions that Inkscape does not show when you are zoomed out. In other words, you are seeing more lines when you zoom in so it might even seem as if you have zoomed out.
But your settings are not normal!
nihon94 wrote:Spacing X :0
Spacing Y :0
In my version of IS I can't even get these settings to be 0 in the GUI. Enter some numbers in these fields, try '10' and see if it works then as expected. You can change grid settings in the document properties dialog (file menu)
When you open a new document does it do the same? If your default document is setup this way it will always go back to this condition.
If you keep having problems you can delete all your objects and post the file here so someone can look at your defs.

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: Can we zoom grid

Postby v1nce » Wed Jul 11, 2012 9:54 am

druban wrote:You can turn grids on and off so easily at any time, ( #) I don't see the advantage ...


because you're using only 1 grid and because '#' maps well on your us keyboard but not at all on my fr keyboard.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Can we zoom grid

Postby nihon94 » Wed Jul 11, 2012 10:02 am

v1nce wrote:
druban wrote:You can turn grids on and off so easily at any time, ( #) I don't see the advantage ...


because you're using only 1 grid and because '#' maps well on your us keyboard but not at all on my fr keyboard.


My keyboard is in Japanese but it got keys :D
Merci

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Can we zoom grid

Postby druban » Wed Jul 11, 2012 1:10 pm

v1nce wrote:because you're using only 1 grid and because '#' maps well on your us keyboard but not at all on my fr keyboard.


In fact I am using two grids. The finer grid is not visible when zoomed out. But I take your point! For people doing very technical illustration it might be nice to be able to swap isometric with rectilinear grids on the fly... I am sure you have other examples of why several kinds of grids might be necessary in the same doc....
I understand from your many posts that you are dissatisfied with Inkscape and SVG in general, and you have made many informative and reasonable arguments. So I suppose there is a good reason that you can't remap the 'show grid' shortcut to a different key that maps well to a frenchkeyboard, using the 'keys' file. I have remapped so many of my shortcuts that I'm not even sure which ones are original!
nihon94 wrote:My keyboard is in Japanese but it got keys
Merci

so evrythning is working now, I hope.
Doo itasimasite! ;)
Your mind is what you think it is.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Can we zoom grid

Postby brynn » Wed Jul 11, 2012 4:08 pm

The grid is definitely zooming. It cannot be disabled. You can't stop the grid from zooming. But the major grid lines can be disabled, so that you don't have major grid lines.

I'm thinking that you're zooming very fast, so that starting point and ending point might look the same. Try using Zoom tool, and click far left button on Zoom control bar. Watch canvas as you click. Keep watching, click again. Keep watching, keep clicking. See how grid spaces get wider and wider, then at some point, suddenly they are small again? That's because you have zoomed to a certain point where lines that are too close together to be seen at lower zoom, are now spaced so that you can see them. As you zoom, at another certain point, you will see major grid lines and minor grid lines. Major ones are darker blue. If you don't have major grid lines, they are all the same blue, and harder to see.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Can we zoom grid

Postby nihon94 » Wed Jul 11, 2012 7:47 pm

Thank you very much for details. I always learn something new :geek: .
You are right. I did and check as you said. By following your advice now I can understand
what you meant.

Once again thank you
----------------------------------------------------------------------------------

brynn wrote:The grid is definitely zooming. It cannot be disabled. You can't stop the grid from zooming. But the major grid lines can be disabled, so that you don't have major grid lines.

I'm thinking that you're zooming very fast, so that starting point and ending point might look the same. Try using Zoom tool, and click far left button on Zoom control bar. Watch canvas as you click. Keep watching, click again. Keep watching, keep clicking. See how grid spaces get wider and wider, then at some point, suddenly they are small again? That's because you have zoomed to a certain point where lines that are too close together to be seen at lower zoom, are now spaced so that you can see them. As you zoom, at another certain point, you will see major grid lines and minor grid lines. Major ones are darker blue. If you don't have major grid lines, they are all the same blue, and harder to see.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Can we zoom grid

Postby nihon94 » Wed Jul 11, 2012 7:56 pm

Thank you for reply.
Oh you do speak Japanese.
Je suis convaincu avec Inkscape et l'aimer :D
Merci
---------------------------------------


druban wrote:
v1nce wrote:because you're using only 1 grid and because '#' maps well on your us keyboard but not at all on my fr keyboard.


In fact I am using two grids. The finer grid is not visible when zoomed out. But I take your point! For people doing very technical illustration it might be nice to be able to swap isometric with rectilinear grids on the fly... I am sure you have other examples of why several kinds of grids might be necessary in the same doc....
I understand from your many posts that you are dissatisfied with Inkscape and SVG in general, and you have made many informative and reasonable arguments. So I suppose there is a good reason that you can't remap the 'show grid' shortcut to a different key that maps well to a frenchkeyboard, using the 'keys' file. I have remapped so many of my shortcuts that I'm not even sure which ones are original!
nihon94 wrote:My keyboard is in Japanese but it got keys
Merci

so evrythning is working now, I hope.
Doo itasimasite! ;)

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Can we zoom grid

Postby druban » Wed Jul 11, 2012 7:58 pm

nihon94 wrote:Spacing X and Spacing Y to 30. I saved the blank svg file and opened the new document and settings back to default settings which I have mentioned in first posting. So, you are right about settings

If this means that whenever you open a new document your spacing goes back to zero then maybe your default file has become corrupted. The default.svg file in your users/appdata/inkscape/templates folder can be edited in a text editor. Carefully change the two spacing fields to what you want and save the file replacing the defective one. Now your grids should work when you create a new document.
Your mind is what you think it is.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Can we zoom grid

Postby nihon94 » Wed Jul 11, 2012 8:29 pm

Thank you very much for reply.
Here is a text copy of default svg file, where should I change X and Y spacing?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://web.resource.org/cc/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
width="744.09448819"
height="1052.3622047">
<defs />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="375"
inkscape:cy="520"
inkscape:document-units="px"
inkscape:current-layer="layer1" />
<metadata>
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" />
</svg>

Thank you
-----------------------------------------------------------------

druban wrote:
nihon94 wrote:Spacing X and Spacing Y to 30. I saved the blank svg file and opened the new document and settings back to default settings which I have mentioned in first posting. So, you are right about settings

If this means that whenever you open a new document your spacing goes back to zero then maybe your default file has become corrupted. The default.svg file in your users/appdata/inkscape/templates folder can be edited in a text editor. Carefully change the two spacing fields to what you want and save the file replacing the defective one. Now your grids should work when you create a new document.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Can we zoom grid

Postby ~suv » Wed Jul 11, 2012 9:31 pm

druban wrote:
nihon94 wrote:Spacing X and Spacing Y to 30. I saved the blank svg file and opened the new document and settings back to default settings which I have mentioned in first posting. So, you are right about settings

If this means that whenever you open a new document your spacing goes back to zero then maybe your default file has become corrupted. The default.svg file in your users/appdata/inkscape/templates folder can be edited in a text editor. Carefully change the two spacing fields to what you want and save the file replacing the defective one. Now your grids should work when you create a new document.

Be aware that the default values for new grids in documents which don't have one initially (e.g. the default empty document template) are defined in Inkscape's preferences ('File > Inkscape Preferences > Grids').

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: Can we zoom grid

Postby v1nce » Wed Jul 11, 2012 10:06 pm

druban wrote:In fact I am using two grids. The finer grid is not visible when zoomed out.


How you do that ?

druban wrote:I understand from your many posts that you are dissatisfied with Inkscape and SVG in general,


Dissatisfied ? Because I'm complaining all the time ? ;)
I'm not that dissatisfied I really like inkscape and svg (otherwise I would'nt keep on posting)
Even if some choices and priorities in svg still puzzle me. If it goes all along the way I suppose 3d shaders will enter the spec before a perspective transform.

druban wrote:and you have made many informative and reasonable arguments.

You see you agree that I complain for good reasons :)

druban wrote:So I suppose there is a good reason that you can't remap the 'show grid' shortcut to a different key that maps well to a frenchkeyboard,

A very good one ; I'm too lazy ;)


Return to “General Discussions”