I am wondering if anyone knows of a way to take a dashed line and quickly turn it into multiple lines, retaining its dash pattern. Maybe I need to get into some kind of scripting? If anyone could point me in the right direction that would be great. Thanks.
There is a extetendScript that can do this effortlessly and precise: breakDashes.jsx
If you take five minutes to learn where to paste scripts into the right folder and then inside Illustrator go to File → Scripts → BreakDashes
You might also need to sign up to GitHub too in order to download the file.
When I did this for the Cricut to upload into Design Space, I wanted to use the dashes as cut marks for a folding line. To do this efficiently, I needed to make sure the lines ended up as a compound path. For those facing a similar need, hopefully this will work for you. Note: I am using Illustrator CS6.
Making a dotted single cut using a brush pattern (mine was a very thin line)
- Object -> Expand appearance
- Object -> Compound path -> Make
Making a dotted single cut using a dashed stroke 1. Object -> Expand 2. Object -> Compound path -> Make
To convert a solid line into a series of smaller lines (not paths), use the method described at: https://community.adobe.com/t5/illustrator/transform-dashed-lines-into-separate-small-lines/td-p/2876098
I quote the answer given there:
Correct answer by tolyn_dayana
I know this is an old post. Just to share my method. I found the best solution for this problem :
1- create a single line i.e. 12pt long 1pt thick
2- make a pattern brush from the line
3- In pattern brush options dialog box, put 50% in spacing box.
4- apply the pattern brush to your desired shape.
5- you can still adjust the gaps in spacing box and hit apply to stroke
6- You can also change stroke weight !
7- go to object -> expand appearance.
Hope this will help.