Inkscape.org
Beyond the Basics Dashes as discs instead of ovals?
  1. #1
    Alpha_Zen Alpha_Zen @Alpha_Zen

    Hello!

    Is there a way to make dashes with round caps real discs instead of ovals?

    When creating a form/line and activating non-line-ish dashes, they are perfectly square (see picture, first line). When changing to rounded caps, they get ovals (second line). What I need are perfectly round discs (third line). For the picture I converted the round-caps-dashed line into a vector and moved one half of each of the dashes' nodes towards the other end to get the discs. This is not that much of a problem for short lines like this, but it's not applicable for more complex forms with a big number of dashes.

  2. #2
    Polygon Polygon @Polygon🌶

    As far as I know you can do this just via XML edit: Where it reads as "Stroke-dasharray:1,2;"  change it to "Stroke-dasharray:0,2;" :

  3. #3
    Tyler Durden Tyler Durden @TylerDurden
    *

    I'd use Pattern along Path (path effect).

    http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Paths-LivePathEffects-PatternAlongPath.html

    New Document 1   Inkscape 2020 07 13 08 25 56
  4. #4
    Polygon Polygon @Polygon🌶

    I would have recommend it if it were somehow predictable:

     

     

  5. #5
    Alpha_Zen Alpha_Zen @Alpha_Zen

    Oh, thanks, I will try the xml edit. 

     

    I remembered pattern along path and got the same problems at corners. My workaround was manually placed discs to cover up the distorted ones in the corners.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Dashes as discs instead of ovals?