• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Help with SVG Path

New Here ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

When exporting an object as a SVG from Illustrator CC 2018, it's giving me 2 "paths" with in my path (highlighted below).
<path d="M224.42,21.1,298.85,150,224.42,278.9H75.58L1.15,150,75.58,21.1H224.42m.58-1H75L0,150,75,279.9H225L300,150,225,20.1Z"

 

Is there a setting or something I can change so it would only export as just the red text?

Views

690

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

Can you show this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Layer_1" xmlns="<a href="http://www.w3.org/2000/svg" target="_blank">http://www.w3.org/2000/svg</a>" xmlns:xlink="<a href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.org/1999/xlink</a>" x="0px" y="0px"
	 width="300px" height="300px" viewBox="0 0 300 300" style="enable-background:new 0 0 300 300;" xml:space="preserve">
<g>
	<polygon points="50.6,150.2 150.1,0.9 249.4,149.8 149.9,299.1 	"/>
	<path d="M150.1,1.8l98.7,148l-98.9,148.3l-98.7-148L150.1,1.8 M150.1,0L50,150.2L149.9,300L250,149.8L150.1,0L150.1,0z"/>
</g>
</svg>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

Basically I would like to export just the first half of the path "M150.1,1.8l98.7,148l-98.9,148.3l-98.7-148L150.1,1.8"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

Whatdoes the element look like?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

Bonjour

Je n'arrive pas à faire un copier/coller, c'est beau le modernisme !!!

svg.png

Voici le lien vers le fichier illustrator, je n'ai pas réeussi à copier le lien autrement que par inserer/edit code sample

<a href="https://share.orange.fr/#6B4Bc5YJm92ec7b6193d" target="_blank">https://share.orange.fr/#6B4Bc5YJm92ec7b6193d</a>

DE ELLEERE

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

Do you use the function "Export for screens"?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 20, 2019 Sep 20, 2019

Copy link to clipboard

Copied

How is that built? The question is why Illustrator exports this as two parts and that must be caused by the way you set it up in the AI file. Would need to see the contents of the layers panel and the appearance panel.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Le tracé est double

svg.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

But that is not in the file itself. So how do you export that SVG from Illustrator? Does it still happen when you start from scratch?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

Bonsoir Monika_Gause, (il est 19h40)

J'enlève ce qui est en trop, puis je fais "Enregistrer Sous..." SVG

Je suis scripteur pour Illustrator, pour afficher le tracé, j'utilise un script qui dessine le tracé à partir du chemin.

<path d="M150.1,1.8l98.7,148l-98.9,148.3l-98.7-148L150.1,1.8 M150.1,0L50,150.2L149.9,300L250,149.8L150.1,0L150.1,0z"/>

texte placé dans un nouveau document.document.

Pour mieux voir.

svg.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 21, 2019 Sep 21, 2019

Copy link to clipboard

Copied

LATEST
So you are drawing two paths. And then there will be two paths in your file.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines