Author Topic: ruler looks incorrect  (Read 1463 times)

July 08, 2018, 07:54:19 AM
Read 1463 times

smart.kunti

  • Sr. Newbie

  • Offline
  • **

  • 3
Hi, Firstly I have updated inkscape to 0.93 and applied solution given as above (see attached pics) but the scale is still incorrect???

I am trying to insert a Bleed Line for 2.5cms from the document size, which is correct as per the measurements on the top but the ruler doesnt agree with it...???

Document

To cross check I imported the image in GIMP but had same results!

Please help!
  • 0.93
  • Win10

July 08, 2018, 01:41:36 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum, smart.kunti!

Let's make sure you're talking about the same thing as the others who posted in this topic, because I'm not sure.  When you talk about the ruler not matching your drawing, are you talking about the rulers which are part of the Inkscape window - along the top and left edges of the canvas?  If so, that's different from what the others were talking about.  They had created custom rulers using a path effect (Path menu > Path Effect).

So if you're talking about the rulers which are part of the Inkscape window, then we don't expect those to match perfectly.  They are only there as a general guide.  To find out the actual size of objects, you need to use either the W and H fields in the Selection tool control bar, or using the Node tool, there are X and Y fields on the control bar, or use guides which can be set to precise coordinates, or a grid, which can also be configured precisely (such as with a pixel grid, for example).

And even the guides and the grid lines might not *look like* they agree with the rulers, or agree with nodes which have been set to precise coordinates.  If you look closely, you'll notice that with different zoom levels, they might appear to be more or less "off".  So you need to focus on those elements which can set precise coordinates, or the W and H fields with Selection tool.

As long as your objects' sizes are set properly (and you have the scale set properly) you can trust that they are the correct size, even though they don't match with the rulers.

I'm not familiar enough with GIMP to know if it has the same kind of situation.  And I just had suddenly wondered if other vector-capable programs such as CAD have the same situation.  I really just don't know.

If you are talking about a ruler created with a path effect, that ruler might not match the built-in rulers either!

Oh, but wait!  Having said all that (which I'll leave intact, because it will help you anyway) I just was looking more closely at your screenshot.  You have units set for pixels (which dictates how the rulers will be set).  But your object appears to be using cm for units.

If you want to use cm for units throughout your file, I think you might need to change the Scale setting in Document Properties.  Unfortunately, that thing confuses me to pieces.  But hopefully someone else will be along shortly, who can tell you exactly what to do.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

July 08, 2018, 02:10:27 PM
Reply #2

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
All I can say is that your document's units are still in mm, your display units are in px, and the unit you selected from the dropdown is cm. This is a confusing mix, tbh.

I'm not sure what exactly you want to be the same size (in your drawing, the rulers are in px, and the selected object does not look like it was the green bleed line, and the toolbar uses cm currently.).

Can you explain a bit more what exactly you would like to see on the canvas?

July 08, 2018, 09:16:39 PM
Reply #3

smart.kunti

  • Sr. Newbie

  • Offline
  • **

  • 3
Hi, Thnks for the help.

What I showed you in the screen shot is just an example.

It looks confusing because I wanted to incorporate all information I wanted to convey...

Anyways Document properties shows I applied the solution suggested in this thread, but when I convert them in mm or cm (10mm = 1cm) its not coming to exact size. See attached updated screen shots.

Outer Green image size is W-60cm and H-90cm
Inner Grey image size is W-57.5cm and H-87.5cm (2.5cm shorter than Green image)

But as per the ruler (as marked in the image) it is short by just 1.1cm

I hope I am able to explain my point.
  • 0.93
  • Win10

July 09, 2018, 07:13:51 PM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Ok, I've split this off into it's own topic, because it's not the same as the other problem.

Are the green and gray objects showing the correct size in the W and H fields, on the contol bar?

gray - 57.5 x 87.5 cm
green - 60.0 x 90.0 cm

If those are correct, then your objects are the correct size, no matter what the ruler looks like.

Are you saying that you want the gray rectangle to start at zero on the ruler, just like the green one?  If that's what you mean, then you need to change the X field to 0.00.  That won't change the size of the object.  It will just move it over.

Currently, it looks like the gray rectangle is perfectly centered over the green one.  That's why X = 1.25.  If you scroll over to the right edge of the rectangles, you'll see it's also 1.25 cm shorter than the green.  1.25 cm on the left side + 1.25 cm on the right side = 2.5, which is exactly what you said the difference is in their sizes.

But if you want the gray one to start at 0, then change the X value.  Oh, or do you mean that you want it to start at 2.5 cm?  Then change X to 2.5.

Does that fix it?  Or do I still not understand?
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

July 10, 2018, 01:29:02 AM
Reply #5

smart.kunti

  • Sr. Newbie

  • Offline
  • **

  • 3
Hi Brynn,

Thanks loads.. you got it right mate!

This is where I got it wrong: "Currently, it looks like the gray rectangle is perfectly centered over the green one.  That's why X = 1.25.  If you scroll over to the right edge of the rectangles, you'll see it's also 1.25 cm shorter than the green.  1.25 cm on the left side + 1.25 cm on the right side = 2.5, which is exactly what you said the difference is in their sizes."

All fixed thank loads mate!
  • 0.93
  • Win10

July 10, 2018, 02:52:30 AM
Reply #6

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
You're welcome!

Glad to see you're back in business  :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann