sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] KML Tools (2.0.0-beta) — updated 31.05.2013

    Scheduled Pinned Locked Moved Plugins
    137 Posts 49 Posters 150.7k Views 49 Watching
    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.
    • A
      Antimo98
      last edited by

      I use SketchUp 2014.
      The file (attached) contains an image and a single poligon realized and exported in KML by Google Earth
      When I run the kml tools for any files .kml everywhere it is in PC (c:, Desktop, other directory) always it says:

      1. "the model does not contain a Google Earth terrain. Do you want import one first , Yes No"
        in both cases
      2. "File seems non to exist. Please check the file path does not contain Unicode characters. This is a limitation of SketchUp and its Ruby version."

      Where is the problem?

      Thank you for all contributions.
      Regards
      Antimo


      Good in Google Earth but not in SU.

      1 Reply Last reply
      Reply Quote 0
      • B
        balique_bap
        last edited by

        @antimo98 said:

        I use SketchUp 2014.
        The file (attached) contains an image and a single poligon realized and exported in KML by Google Earth
        When I run the kml tools for any files .kml everywhere it is in PC (c:, Desktop, other directory) always it says:

        1. "the model does not contain a Google Earth terrain. Do you want import one first , Yes No"
          in both cases
        2. "File seems non to exist. Please check the file path does not contain Unicode characters. This is a limitation of SketchUp and its Ruby version."

        Where is the problem?

        Thank you for all contributions.
        Regards
        Antimo

        I have the same issue.

        Has anybody found a solution ?

        Thank you very much,

        Baptiste

        1 Reply Last reply
        Reply Quote 0
        • B
          balique_bap
          last edited by

          Post to be deleted.

          1 Reply Last reply
          Reply Quote 0
          • U
            usablake
            last edited by

            Sweet plugin, any plans for an update to use with new versions?

            1 Reply Last reply
            Reply Quote 0
            • P
              PatrickBiani
              last edited by

              Hello, I'm looking for a tutorial explaining in detail how the "TimeSpan" plugin works, thank you in advance and good luck

              1 Reply Last reply
              Reply Quote 0
              • J
                jonathantrepanier
                last edited by

                I would love to try this plugin, but I have an error message can you help to find a solution?

                Erreur de chargement du fichier C:/Users/UTILISATEUR/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/kmlTools/kmlTools_loader.rb
                Error: #<SyntaxError: C:/Users/UTILISATEUR/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/kmlTools/kmlImport.rb:103: formal argument cannot be an instance variable
                ...d_action_callback("init"){|@dlg, param|
                ... ^~~~
                C:/Users/UTILISATEUR/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/kmlTools/kmlImport.rb:133: formal argument cannot be an instance variable
                ..._callback("receiveJson") {|@dlg, json|
                ... ^~~~

                C:/Program Files/SketchUp/SketchUp 2022/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in require' C:/Program Files/SketchUp/SketchUp 2022/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in require'
                C:/Users/UTILISATEUR/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/kmlTools/kmlTools_loader.rb:2:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2022/Tools/extensions.rb:197:in require'
                C:/Program Files/SketchUp/SketchUp 2022/Tools/extensions.rb:197:in load' C:/Users/UTILISATEUR/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/kmlTools.rb:17:in register_extension'
                C:/Users/UTILISATEUR/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/kmlTools.rb:17:in `<top (required)>'

                1 Reply Last reply
                Reply Quote 0
                • TIGT
                  TIG Moderator
                  last edited by

                  ...){|@dlg, json| is where the issue lies...
                  In newer Rubies you cannot use an instance variable [ @...] as a argument in a block.
                  As it's an RB file you could try finding all such occurrences in the reported files.
                  Replace @dlg with dlg
                  You need to do this with all {|...|... blocks BUT not elsewhere in the code as I expect @dlg will be needed...
                  After the |...| you might be able to add @dlg=dlg to minimize the required editing, if @dlg is defined earlier, or used later ??

                  Perhaps the author can do a fix ??

                  TIG

                  1 Reply Last reply
                  Reply Quote 0
                  • C
                    cpuwolf
                    last edited by

                    kmlTools_1_4_12.rbz + sketchup8 works. Thank you

                    1 Reply Last reply
                    Reply Quote 0
                    • I
                      ivanunki Newcomers
                      last edited by

                      @cpuwolf said:

                      kmlTools_1_4_12.rbz + sketchup8 works. Thank you

                      thank u! ill save and open with 2023 version.

                      1 Reply Last reply
                      Reply Quote 0
                      • H
                        hanowski Newcomers
                        last edited by

                        In Google Earth I "Save Place As..." contours.kml. I use your tool Extensions > KML Tools > Import KML File to import it into sketchup, it says "The model does not contain a Google Earth terrain. Do you want to import one first?". I click the "No" button.

                        Then it says "File seems not to exist. Please check that the file path does not contain Unicode characters. This is a limitation of SketchUp and its Ruby version."

                        Suggestions?

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 1 / 7
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement