Inkscape.org
Creating New Extensions d string data problem
  1. #1
    czkPanda czkPanda @czkPanda

    Hi 

    I am trying to get the 'd' string data of the paths and calculate new paths based on the one I drew on the Inkscape.  But when I make some changes on the paths, for example, move it from one place to another. And then I run my program, it seems my program still got the old d-string data as the program-generated patterns seems to be calculated based on the old data. 

    Does anyone know how to solve this issue?

    Thanks!

  2. #2
    inklinea inklinea @inklinea⛰️

    Would need to know the type of inkscape object.

    I going to guess you are talking about a Star / Polygon or connector path ? 

  3. #3
    czkPanda czkPanda @czkPanda

    The inkscape object I was reading were normal paths, and combined paths, the d string is like the following format 'M 79.35048 138.93678 L 79.61866 138.51478 L 80.53182 137.07788 L 80.80000 136.65589 L 80.33161 136.83086 L 76.95550 138.09199 L 76.48711 138.26696 L 76.74891 137.84098' or the combined d. 

  4. #4
    inklinea inklinea @inklinea⛰️

    Can you post an example svg for me. 

    I think I need to see it first, there are several things which can cause this to happen.