Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I try to draw a grid in Inkscape, there are two different options:

  1. Extra -> Render -> Grid
  2. Extra -> Render -> Kartesian Grid

But both of them use pixel-metric(?).

Is it possible to use other metrics (e.g. millimeter).

As a workaround, I converted pixel->millimeter, but it didn't work. There is always an odd scale factor in the conversion :-(.

Do you have any solution?

share|improve this question
    
What Inkscape version are you using? I have Inkscape 0.48.4 r9939 (Jan 5 2014) and I don't find any "Extra" menu... However you're right, there's no option to set such metrics in those extensions. I would suggest to do your grid by hand... – acidrums4 Feb 23 '14 at 12:31

Sadly, menu Extensions -> Render -> Grids > Grid... does only take pixels as the measurement.

So I am pretty sure conversion is the way to do it. I find the easiest, most accurate way to do conversion calculations for Inkscape is to do it in Inkscape.

Use the rectangle tool to draw a rectangle on the canvas, then in the tools control bar for the rectangle tool, change the units to mm, and set the rectangle to the value you need (in the picture below, I set it to 5 mm square).

Enter image description here

Now, simply change the units back to px, and the width and height should have been converted to the pixel value:

Enter image description here

share|improve this answer

I prefer to use Inkscape's built-in document grid option.

Press Shift+Ctrl+D or navigate to FileDocument PropertiesGrids

Select Rectangular Grid and hit the New button.

You can then edit the properties (and units) of the created grid in the same dialog.

enter image description here

share|improve this answer
1  
I actually want to have a rendered grid which can be used for further drawings or in in the print out. This grid is only a visual reference. Of course one can use this to create a cm-wise grid, but that's alot of work :). – Tik0 Aug 25 '15 at 11:29

I don't know if the answer is to specific, but since their is no general solution to this problem, I cloned Inkscape and patched the grid functionality.

I'll try to improve my patch, so it will be maybe in a release version one day (so please don't down-vote instantly). Until then, one has to clone my repository and build it.

My solution is as follows:

Extra -> Render -> Grids -> Grid -> Divide Selection by Spacing FA

By using this option, one can use the factor given in "Horizontal/Vertical Spacing" as subdivision factor for the selection.

  1. Parameterize the selection in pt/cm/m/in/.. (or whatever) enter image description here
  2. Create a grid by Extra -> Render -> Grids -> Grid
  3. Set a tip at Divide Selection by Spacing FA
  4. Select how many subdivisions of you selection you want to have enter image description here
  5. Et voilà, a grid with 50mm/10=5mm vertical spacing and 50mm/20=2.5mm horizontal spacing

enter image description here

  1. It is also possible, to have an offset in the scale of a subdivision enter image description here
  2. The grid is now shifted in x and y direction respectively enter image description here
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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