How could I mix rounded and square caps in one single path in Illustrator? For example, I need to make a rounded cap on the starting point and a square one on its end? See the screen capture underneath.
You could use the scissor tool to sever the path without a gap or you could create a custom pattern brush. But the way I think is the most interesting and creates the best results is adding a custom arrowhead to Illustrator.
To do this you have to find and edit Illustrators
To define custom arrowheads, open the Arrowheads.ai file, which is located under
ShowPackageContent\Required\Resources\<locale>\(for Mac) and
\Support Files\Required\Resources\<locale>\(for Windows). Follow the instructions in the file to create custom arrowheads. Place the updated Arrowheads.ai file at:
<Illustrator home>\Plug-ins\and avoid replacing the existing Arrowheads.ai file.
Add an arrowhead that looks like this:
Now you access the new arrowhead in the
Change the size of the arrowhead to fit the stroke width and change the alignment method, so the stroke tip extends beyond the end of the path.