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.
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.
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,
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.
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.
I'd use a custom line pattern:
I used 0.3 2 5 2 ... it probably got changed because I changed the size of the rectangle.
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
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,
You need the Dashed Stroke LPE.
https://wiki.inkscape.org/wiki/Release_notes/1.0/en#Dashed_Stroke_LPE
@Paddy_CAD please take a look at the svg attachment in first post.
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.