Inkscape.org
Beyond the Basics Possible to append dash-dot using Dashed stroke path effect (or other means) ?
  1. #1
    Grobe Grobe @Grobe
    *

    Hi.

    I often see technical drawings use boxes that have a dash-dot pattern, and I'd love to be able to quickly append to a path is possible (I can do it manually but takes extra time and must be redrawn each time shape or size are adjusted).

    I've being playing around using the Dashed stroke effect, but it seems that dash-dot pattern isn't possible. I've also tried to put the same path effect twice, but it doesn't give the wanted result.

    Path Dotted2
  2. #2
    bleke bleke @bleke

    I'd use a custom line pattern:

     

  3. #3
    bleke bleke @bleke

    I used 0.3 2 5 2 ... it probably got changed because I changed the size of the rectangle.

  4. #4
    Grobe Grobe @Grobe

    Yes, stroke style. But stroke style alone doesn't create the neat corners that the Dashed stroke effect does.

    I've also tried out the extension printing_marks_dotted.zip (update from 25.12.2021), but this seems very unstable and give general error messages and I've not managed to make it produce any visible effect. Maybe I don't know how to use it properly.

    Btw : I use Inkscape appimage variant on Linux

  5. #5
    bleke bleke @bleke

    If you want it neat with nice corners you'll probably have to do it manually. I work quite a bit with commercial CAD programs and they mess up the corners too,

  6. #6
    Paddy_CAD Paddy_CAD @Paddy_CAD

    You need the Dashed Stroke LPE.

    https://wiki.inkscape.org/wiki/Release_notes/1.0/en#Dashed_Stroke_LPE

  7. #7
    Grobe Grobe @Grobe

    @Paddy_CAD please take a look at the svg attachment in first post.

  8. #8
    Paddy_CAD Paddy_CAD @Paddy_CAD
    *

    I had a teacher who told his classes, "Read the question. Twice. Then answer." It seems I forgot her good advice.

    Now that I properly understand the problem, I can offer this solution. Draw a rectangle and convert it to paths [Path > Object to Path] or [shift+ctrl+c]. Switch to the node tool [n] and select all nodes [ctrl+a]. In the toolbar click [Break path at selected nodes]. This changes the closed shape into four separate line segments. Now apply the [Pattern Along Path] LPE.

    Use the node tool to change the rectangle size. Resizing with the Select tool applies a transform and stretches the dashed line pattern. Resize instead with the node tool to recalculate the dashes.

    Dashes
Inkscape Inkscape.org Inkscape Forum Beyond the Basics Possible to append dash-dot using Dashed stroke path effect (or other means) ?