SVG file Import (importing)
-
Script question.
I have been using Simon Beardâs, FlightofIdeas.RB to make SVG files out of SketchUpâs faces. This script works well in to turning faces into SVG files. I then use MS Visio to open the SVG files, and export to a DWG file. I do this to make ACAD drawing from my work.I know that Sketchup can export to ACAD, but if the faces are not absolutely parallel to a plane, they will have the wrong dimensions. The FlightofIdeas.rb allows me to export the multiple faces without aligning all the faces to the same plane.
However, I found this script, SVG.rb that should import SVG files into SketchUp. However, I get the following attached error code.
I have looked for the missing files, however, I have been unable to locate this script.
Any help would be appreciated.
Thanks in advance
Ken
-
Ken, I'll try to put rexml and svg.rb plugin together in a package for you. Stay tuned...
-
@jim said:
Ken, I'll try to put rexml and svg.rb plugin together in a package for you. Stay tuned...
Thank you. I am not even sure what all I was looking for and what all I would need.
What I wanted to do is to be able to bring back into sketchup the exported SVG files, so I could re-export the drawing into DWG files, without have to go through Visio.
Ken
-
I have not bee able to get an svg file imported. I think I have the setup right - all the files in the right place. I am able to start the import, an SVG Layer is created, but no geometry - only a lot of errors. I'm not sure at this point if it is the svg.rb file, or the rexml library that's generating the errors. I'm still trying as time permits.
I've attached what I have so far.
attachment removed due to conflict with set.rb
-
Jim
Thanks for the help. I am on my way home after 6 weeks in LA. Will be offline for a couple of days.
Thanks again for you help
Ken
-
Hello, I'm french, new here and my english is bad...
I've seen that bezier.rb is missing in the zip file.
I've found it on the Didier Bur's site.
I could open just a few svg files, but the others
can be converted to SIMPLE svg files with Inkscape.
It works for me.Xavier
-
@xavier9 said:
Hello, I'm french, new here and my english is bad...
I've seen that bezier.rb is missing in the zip file.
I've found it on the Didier Bur's site.
I could open just a few svg files, but the others
can be converted to SIMPLE svg files with Inkscape.
It works for me.Xavier
Yes, I forgot to include bezier.rb in the .zip file, I have added it to the .zip. I do have it in my plugins folder. Can you post an example svg file that you were successful in importing?
-
-
Now, a not importable svg opened with Inkscape and saved as "simple svg"
It rocks!
Xavier
-
Hm...
"Simple svg" is a french translation for "Plain svg"
So, in Inkscape, choose "Save as Plain svg" to have a file you can open in SU.
Xavier
-
Ah yes, it now works. I have Inskscape installed, but I missed the "Save as Plain SVG" Option.
Thank you, Xavier.
-
Has anyone experienced problems with the sandbox tool after installing SVG import ? I did : no more smoove...
-
yes the two don't work together
-
Thanks a lot CadFather, I'll deal with it
-
Hello. I am a newbie and I speak Russian. Translation of Google. I have a problem. When you import an SVG, I receive an error:
Error (in script) while reading âD:\Libelle_3-view-SIMPLE.svgâ:
Exception parsingHow to solve this problem?
Regards Max. -
Hi -
Has anyone used this scrip in SU8 yet?
I get the following error when I try to import:
-
Hi danbig,
You need to open your SVG file with inkscape.- Go into Inskcape's preferences
- Under "Tools" select "SVG output"
- Under "Path data" - uncheck "Allow relative coordinates"
- Right below that - check "Force repeat commands"
Be sure to save the new preferences by hitting the little triangle-in-a-box button in the top right corner of the preferences window.
Once you do that, you can save Plain SVG files and import them successfully into Sketchup for further manipulation.
-
Where I can find this SVG importer ? Is it possible to be posted here, on SketchUcation?
Thank you. -
http://flightsofideas.net/ seems to be the source of many things SVG...
e.g http://code.google.com/p/sketchup-svg-outline-plugin/downloads/detail?name=sketchup-svg-outlines-plugin-0.99.zip
and for which http://www.sketchucation.com/forums/viewtopic.php?f=323&t=29481 also applies ?
BUT this http://rhin.crai.archi.fr/rld/plugin_details.php?id=435
etc etc... -
@catalyst said:
Hi danbig,
You need to open your SVG file with inkscape.- Go into Inskcape's preferences
- Under "Tools" select "SVG output"
- Under "Path data" - uncheck "Allow relative coordinates"
- Right below that - check "Force repeat commands"
Be sure to save the new preferences by hitting the little triangle-in-a-box button in the top right corner of the preferences window.
Once you do that, you can save Plain SVG files and import them successfully into Sketchup for further manipulation.
I HAVE NOT BEEN ABLE TO SUCCESSFULLY IMPORT A PLAIN SVG FILE INTO SKETCHUP MAKE 2014 USING THIS METHOD. IS THERE ANY ADDITIONAL STEPS I NEED? GOAL IS TO INPUT A SVG FILE (THE WORDS "PEACE" "ON" AND 'EARTH" WHICH HAVE BEEN TRACED AND WELDED TOGETHER IN TO THREE INDIVIDUAL SVGS.) OF A WELDED WORD INTO SKETCHUP AND EXTRUDE IT TO MAKE A 3D 'BOX' ABOUT 2" THICK.
Advertisement