gotcha

Author Topic: Measure Extention  (Read 2713 times)

April 20, 2018, 10:15:28 PM
Read 2713 times

Allymelba

  • Sr. Newbie

  • Offline
  • **

  • 3
I am interested in using inkscape to draft and store digital patterns for making clothes.  One of the tools I need is to know the length of a curved line.  When I use the measurement extension it gives what is obviously a very inaccurate  result. For example If I  draw a 10 cm line using the grid and then give it an EXTREMELY SLIGHT curve the result is 13 cm. When I have tried longer lines or deeper curves the errors are larger. Is this a bug?

I also have two items I would like to add to the 'wish list'.  Or perhaps someone can tell me how to achieve them.

 First. It would be nice if with the ruler tool I could also have the numbers showing the measurement at each mark. It would be even nicer if this could update/change automatically as you change the length of the line, or the length of the line increases as you deepen the curve on a curved line.  This is very helpful in pattern making as you often need to match to curves.  At times this is actually two sets of 'parallel' curves as you need to match (or know the difference between the two pieces) for the seam lines and the cutting lines.

Second. It would be nice if I could draw a line that stayed the same length even when the line is deformed from exactly straight into a curve.
  • 92.3 x64
  • Windows 10

April 21, 2018, 01:12:42 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
I don't get this result. Which document template are you using? Have you created a new document with Inkscape 0.92.3, or have you started from a document pre-0.92, or?

Can you share a file?

As I'm not sure I entirely understand everything else:

- have you already discovered the 'ruler' path effect? It will create marks along the path (but will not label them), you need to count, or play with the major/minor step size to measure quickly.

- the measurement tool shows measurements at each crossing of a line (if set to work that way) - is that what you mean?

April 21, 2018, 01:14:56 PM
Reply #2

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
When we have fully clarified what you mean, the correct place for posting feature requests will be at https://bugs.launchpad.net/inkscape .

April 21, 2018, 08:01:45 PM
Reply #3

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

For example If I  draw a 10 cm line using the grid and then give it an EXTREMELY SLIGHT curve the result is 13 cm. When I have tried longer lines or deeper curves the errors are larger.

I don't understand what you mean.  If you have a straight line of 10 cm, and you curve the line without moving the end point, the line naturally becomes longer.  And the more of a curve, or the more number of curves, the longer it gets.  That's how the Measure Path extension is supposed to work.  It measures the actual length of the path, including the curve(s).

If you are looking to acquire the straight line measurement between the 2 end points, then the Measurement tool  :meas:  is what you need.

For your 2 potential wishlist items:

1 -- It sounds like you essentially need the digital version of a ruler or measuring tape, right?  Rather than the distance between 2 marks, you want the distance at the mark, right?  And in this case, you do want the curve to be measured?  I don't think such a tool currently exists in Inkscape.  The Measure Path extension does measure the curve, but it doesn't put the distance at certain points along the path - only from beginning to end.

2 -- For this, you don't want the curve to be measured.  You only want the distance between the end points of a line?  As far as I understand, this is what the Measurement tool does.
  • 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                       

April 21, 2018, 10:05:46 PM
Reply #4

Allymelba

  • Sr. Newbie

  • Offline
  • **

  • 3
I have investigated a bit further.  When I apply the extension "measure line" to line that has been curved I get a result that is probably accurate. However if  I apply the "Path effects RULER" to the line then the "measure line" extension produces what is obviously a wrong measurement. The error varies depending on the units I have chosen for he ruler effect.

See the attached file. Line practise April 2018.svg
*Line practise April 2018.svg
(10.26 kB . 297x210)
(viewed 1398 times)
  • 92.3 x64
  • Windows 10

April 21, 2018, 10:33:38 PM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
To create an appropriate comparison, the paths which you apply the Ruler LPE to, need to be converted back to paths before you measure them.  The Live Path Effect changes the path significantly and can't be used as an accurate measure.

So select them, and do Path menu > Object to path.  After that, you should get the right measurement.

I'm not sure why you would want to use the Ruler LPE for your purpose.  As far as I understand, that just creates a drawing of a ruler.  But it's like a real ruler.  Let's say you make a one meter ruler.  Well, it's always a one meter ruler, and you can't stretch it and use it to measure something longer than a meter.

You could make a ruler, let's say the length of your "fabric" or canvas, and reference it as you draw the pattern pieces.  But it doesn't fit with your previous description of what kind of tools you want.
  • 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                       

April 22, 2018, 08:40:03 AM
Reply #6

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Aha, you're stacking both on top of each other.

Okay, so the trick is to temporarly disable the path effect by clicking on the 'eye' icon. Then the measure extension gets fed the correct path for measuring.

April 22, 2018, 08:15:01 PM
Reply #7

Allymelba

  • Sr. Newbie

  • Offline
  • **

  • 3
Thankyou Moini. I have given that a try and it works well. I can now get an accurate measure.  I will post the 'wish list' in the appropriate forum.
  • 92.3 x64
  • Windows 10

April 23, 2018, 12:53:41 PM
Reply #8

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
You're welcome!

Do you sew from your own patterns that you make in Inkscape? If so, there's a group of people collecting interesting user projects which produce real-world items.

Brynn's a member of them and would probably be happy if you could share a picture of something that has turned out nice / cool / interesting / special ;-) (and I'm always curious, too).