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

[Plugin] Import ALL from Folder

Scheduled Pinned Locked Moved Plugins
77 Posts 20 Posters 65.2k Views 20 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.
  • T Offline
    TIG Moderator
    last edited by 5 Apr 2019, 11:03

    If you want to import the file types in alphanumeric order, then sort the list as follows.
    Edit the file [../Plugins/import_from_folder.rb] using a plain-text editor like Notepad++ [or TextWrangler on MAC].

    At line #124
    list.each_with_index{|f, ix|...
    change it to read
    list.****sort.****each_with_index{|f, ix|...
    then save and close.
    Now restart SketchUp...

    TIG

    1 Reply Last reply Reply Quote 0
    • H Offline
      harnstein
      last edited by 5 Apr 2019, 12:24

      Thanks a lot for your super quick support!

      I'll try it when I get back to the office.

      Another TIG tool that comes right on time.. 😉

      still sketchin'

      1 Reply Last reply Reply Quote 0
      • S Offline
        Sugareth
        last edited by 16 Jun 2019, 19:36

        Hi all, I have posted a companion plugin for Blender, which enables you to bulk export Collada files from Blender (which is very good at importing STL). Hope it helps someone.
        https://github.com/johnnyshield/blender

        1 Reply Last reply Reply Quote 0
        • S Offline
          superanus
          last edited by 29 Jul 2019, 15:07

          amazing tool - thanks
          I have 50+ geolocated skp files
          is it possible to place them according its own coordinates instead all in 0,0,0

          would donate this feature- thank you in advance!

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 29 Jul 2019, 17:54

            Unfortunately SKP imports default to 0,0,0 - unless it's done manually - when you can choose a location.
            However, if a SKP is geo-located, then importing it [e.g. manually] can force it to its geo-located point ??
            I can't see how we need to automate that...
            😲

            TIG

            1 Reply Last reply Reply Quote 0
            • H Offline
              harumscarum
              last edited by 30 Jul 2019, 18:45

              just recently it was possible to make this with the KMZ files
              as soon as geo-located model or Geo-Location itself is in SketchUp scene - on the import KMZ files placing each in just exact location

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 30 Jul 2019, 18:55

                Sorry, but your post is unclear.
                Is it a question or a statement of fact ??

                Please explain...

                TIG

                1 Reply Last reply Reply Quote 0
                • H Offline
                  harumscarum
                  last edited by 30 Jul 2019, 19:25

                  just checked again - it also works with the SKP files (with geo-located ones)

                  1. fist we need to add as many location tiles as we need - File - Geo-Location - Add Location
                  2. after that all geo-located SKP files automatically importing on its location - no need to move it

                  here is a quick test - 3 random buildings in the Austin, TX downtown


                  Clip2net_190730221932.png

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mojikenso
                    last edited by 30 Nov 2019, 12:39

                    thankjk

                    1 Reply Last reply Reply Quote 0
                    • Y Offline
                      youngjv
                      last edited by 23 Dec 2019, 06:08

                      i have a problem on saving the files separately. when i choose to save as a local location the file name will be change as the extension file, just like the image below.

                      i usually use this plug in for furniture 3D DWG to SKP format.

                      i think the problem is when i import 3d model to skp it is already component.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mtraherne
                        last edited by 21 Apr 2020, 14:03

                        Hopefully this helps someone.

                        I have been using this module for years, and have recently been getting really frustrated with the module crashing after apparently importing all the files.

                        Today was the last straw, after manually importing over 120 components, Sketchup crashed. Then the same again when I tried a second time.

                        This is it. This module NEEDS to be fixed - so I debugged it.

                        The line that is causing my system to crash is this:

                        [183] model.active_view.refresh

                        Comment this line out (#) and then the module works fine.

                        Hopefully this helps some one out there, or if a mod could update the ruby script (no update since 2015).

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 22 Apr 2020, 10:30

                          I've updated this olde script to v1.7 [still not 'signed']
                          https://sketchucation.com/pluginstore?pln=import_from_folder
                          Hopefully this avoids the issues you just reported...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bluewater2222
                            last edited by 29 Aug 2020, 12:56

                            Mac OSX.... .jpeg extension does not work. changed to .jpg and all imported fine.

                            1 Reply Last reply Reply Quote 0
                            • Dave RD Offline
                              Dave R
                              last edited by 29 Aug 2020, 16:27

                              @bluewater2222 said:

                              .jpeg extension does not work.

                              What version of SketchUp are you using? Your profile says 2020 Free/Make but there is no 2020 Free/Make version. SketchUp 2020 does include support for the .jpeg extension.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 29 Aug 2020, 17:31

                                However, please note that this plugin has never supported .JPEG files - but it does support .JPG...
                                All of the file extensions it does support use the 'standard' .123 naming convention.
                                This comes about because earlier versions of Windows required an extension of 3 or fewer characters - although now things are more relaxed - so PC users normally expect/use .JPG - which is the shortened Windows form of .JPEG... They are the same type of file with different suffixes.
                                You can do a simple edit on the code in plugin's .RB file [which it puts in your Plugins folder], to include any additional extension type [provided that it is acceptable to SketchUp when importing].
                                The .RB file's code has not been signed so you won't break anything when you edit it, provided that you use a plain text-editor on the file [like TextWrangler]...

                                TIG

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

                                Advertisement