Issue with dashed line at edges of object
Copy link to clipboard
Copied
This is rectangle on which it is applied dash option [at images below].
Question why at edges we do not have here full width/stroke of line [first image below]?
When I select projecting cap it goes with full width but also little more above [second image below]?
I noticed this through scripting but anyone can answer this questoion.
app.selection[0].strokeDashes = [12, 5]
Explore related tutorials & articles
Copy link to clipboard
Copied
@livl17017666 it preserves the exact dash and gaps of the lengths.
Instead, you want to select the icon beside that one, to give you a better styling.
Copy link to clipboard
Copied
I need to keep exact length of dash and length (except maybe one line as depending on length of whole object maybe it is not possible to fit all dashed line in that dimension, so that last dash could be different that is fine)
This is why I selected this left option "Preserve exact dash..".
But question was not about length, length on images above was fine.
Question was about right end of line why it has this step like end, why it does not ends like other lines? And how to remove this behave?
Thank you.
Copy link to clipboard
Copied
It has that step, because you chose not to optimizes the length for the edges. You can have either - or.
To optimizes it, you could
- cut the path at the corner
- outline the path and edit.
Copy link to clipboard
Copied
When you look that line with that step part, lenght of line is correct.
It just do not have full stroke at the end but part of that lets say half (this is why this step like look).
It do not needs cut.
This is part of automation process so what is possible to do manually maybe it will not be possible to do with scripting.
It will be nice to have some systemic solution for this.
Thank you.
Copy link to clipboard
Copied
In this forum 95% of people are not staff. We cannot give you "systemic solutions".
Copy link to clipboard
Copied
Monika I appreciate your effort!
If someone know why illustartor behave like this and how to change this please welcome.
Dimensions of rectangle on image are:
width: 104.26pt; height: 82.753pt
And dash:12pt; gap: 5pt
Thank you.
Copy link to clipboard
Copied
You can't change this behaviour.
Copy link to clipboard
Copied
Bonjour,
Sélectionnez "Extrémité projetée"
René

