Inkscape.org
Beyond the Basics Automatic generation of markers on a new path
  1. #1
    Nicolas Nicolas @Nicolas67

    Hello,
    Does anyone know how can I get automatically markers on a new path.

    I create markers on existing paths and If I create and new path, there is no markers.
    Is it possible to get them automatically created like the one I already created or to have a easy function to generate them?

  2. #2
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Inkscape retains your fill, stroke and dash settings but forgets which marker you used. You can force it to remember by copy [ctrl+c] and paste style [shift+ctrl+c] without changing selection. The next path you draw will have the same markers.

    I don't think this is intentional behaviour. Also, the style attribute expands unnecessarily, changing from this....

    fill: none;
    stroke: #c83737;
    stroke-width: 2;
    marker-end: url(#Diamond);

    to this....

    fill: none;
    stroke: #c83737;
    stroke-width: 2;
    marker-end: url(#Diamond);
    font-variation-settings: normal;
    opacity: 1;
    vector-effect: none;
    fill-opacity: 1;
    stroke-linecap: butt;
    stroke-linejoin: miter;
    stroke-miterlimit: 4;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    stroke-opacity: 1;
    -inkscape-stroke: none;
    stop-color: #000000;
    stop-opacity: 1;

    It might be time for a bug report.

  3. #3
    COD COD @COD
    *

    I filed a similar (but actually quite different) buggy 2 weeks ago. Buggy has been around since 2008. Style spam? Style bloat? 

    https://gitlab.com/inkscape/inkscape/-/issues/5690

    Bug report needed for the marker not being remembered


    Edit 2: If using copy computed style, you will end up with style "spam". If using verbatim then no style "spam". 
     

  4. #4
    Nicolas Nicolas @Nicolas67

    It works (Verbatim and CTRL+C then Shift+CTRL+V on th new path).

    It helps.

    Thank you!

  5. #5
    COD COD @COD

    Marker setting should be remembered in last style used or is that a misunderstanding on my part? 

  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    https://gitlab.com/inkscape/inbox/-/issues/4506

     

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Automatic generation of markers on a new path