Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1334 times and has 2 replies Next Thread
Cazeu64
Newbie



France
Joined: Dec 8, 2017
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
SVG Export with ID field in <path>

Hi

Sorry about my english level, that's not my native language.

I need to figure out how to implement id field in <path> tag into SVG file.

Basically, I have :

<path d="bla bla bla">


I would like to have :

<path id="id" d="bla bla bla">


Or even

<path class="class1" d="bla bla bla">


If someone knows something about this, I really would appreciate it :).

Thanks in advance,

Cazeu64.
[Dec 8, 2017, 10:51:22 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: SVG Export with ID field in <path>

I don't think it will be possible from Sweet Home 3D. SVG paths are automatically generated from Java AWT drawing orders with FreeHEP library.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Dec 9, 2017, 9:24:23 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: SVG Export with ID field in <path>

Inkscape will, if I remember correctly, assign id's automatically. And and using Inkscape's XML editor, it is reasonably easy to change them to something sensible. Saving as Optimized SVG is good for filtering out unwanted stuff after editing (like ungroup/regroup to remove the transform elements). End result is an .svg file that is relatively easy to edit with any editor. ok
[Dec 9, 2017, 12:42:34 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved