• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

SVG file Import (importing)

Scheduled Pinned Locked Moved Developers' Forum
20 Posts 11 Posters 23.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    ken
    last edited by 15 Oct 2008, 19:08

    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


    ToSketchup10-15.jpg

    Fight like your the third monkey on Noah's Ark gangway.

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 15 Oct 2008, 21:30

      Ken, I'll try to put rexml and svg.rb plugin together in a package for you. Stay tuned...

      Hi

      1 Reply Last reply Reply Quote 0
      • K Offline
        ken
        last edited by 16 Oct 2008, 13:38

        @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

        Fight like your the third monkey on Noah's Ark gangway.

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 16 Oct 2008, 19:52

          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

          Hi

          1 Reply Last reply Reply Quote 0
          • K Offline
            ken
            last edited by 16 Oct 2008, 23:54

            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

            Fight like your the third monkey on Noah's Ark gangway.

            1 Reply Last reply Reply Quote 0
            • X Offline
              xavier9
              last edited by 17 Oct 2008, 07:08

              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

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by 17 Oct 2008, 09:17

                @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?

                Hi

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xavier9
                  last edited by 17 Oct 2008, 09:38

                  This one is importable

                  Xavier


                  Importable AFTER decompression!

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    xavier9
                    last edited by 17 Oct 2008, 10:00

                    Now, a not importable svg opened with Inkscape and saved as "simple svg"

                    It rocks!

                    Xavier


                    the two versions are included

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xavier9
                      last edited by 17 Oct 2008, 13:06

                      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

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jim
                        last edited by 17 Oct 2008, 20:05

                        Ah yes, it now works. I have Inskscape installed, but I missed the "Save as Plain SVG" Option.

                        Thank you, Xavier.

                        Hi

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          Eulgrand
                          last edited by 22 May 2009, 17:28

                          Has anyone experienced problems with the sandbox tool after installing SVG import ? I did : no more smoove...

                          1 Reply Last reply Reply Quote 0
                          • CadFatherC Offline
                            CadFather
                            last edited by 22 May 2009, 18:19

                            yes the two don't work together

                            1 Reply Last reply Reply Quote 0
                            • E Offline
                              Eulgrand
                              last edited by 22 May 2009, 18:24

                              Thanks a lot CadFather, I'll deal with it 😉

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                maxim_
                                last edited by 27 Sept 2010, 19:58

                                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 parsing

                                How to solve this problem?
                                Regards Max.

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  danbig
                                  last edited by 29 Oct 2010, 22:38

                                  Hi -

                                  Has anyone used this scrip in SU8 yet?

                                  I get the following error when I try to import:
                                  Capture.PNG

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    Catalyst
                                    last edited by 5 May 2011, 01:17

                                    Hi danbig,
                                    You need to open your SVG file with inkscape.

                                    1. Go into Inskcape's preferences
                                    2. Under "Tools" select "SVG output"
                                    3. Under "Path data" - uncheck "Allow relative coordinates"
                                    4. 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.

                                    1 Reply Last reply Reply Quote 0
                                    • dereiD Offline
                                      derei
                                      last edited by 5 Feb 2012, 19:54

                                      Where I can find this SVG importer ? Is it possible to be posted here, on SketchUcation?
                                      Thank you.

                                      DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by 5 Feb 2012, 20:49

                                        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...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Majenta
                                          last edited by 13 Jan 2015, 01:37

                                          @catalyst said:

                                          Hi danbig,
                                          You need to open your SVG file with inkscape.

                                          1. Go into Inskcape's preferences
                                          2. Under "Tools" select "SVG output"
                                          3. Under "Path data" - uncheck "Allow relative coordinates"
                                          4. 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.

                                          1 Reply Last reply Reply Quote 0
                                          • 1 / 1
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement