sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Import script to import 300 dae into 1 project

    Scheduled Pinned Locked Moved Developers' Forum
    27 Posts 11 Posters 20.0k Views 11 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      I've done two tutorials for this website on beginning ruby. They might have lost their formatting due to some CSS snafu's that might not have beeen entirely resolved.

      Link Preview Image
      SketchUcation

      3D SketchUp Community for Design and Engineering Professionals.

      favicon

      (www.sketchucation.com)

      I also have a series of 6 or so short video clips on YouTube that explain where to begin with writing ruby for SketchUp. It starts with this one:

      Then there are a few others that get into other simple tasks. I'm not a huge fan of watching YouTube videos actually, but many people seem to find these 5 minute clips useful.

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • P Offline
        pdonner
        last edited by

        Sorry for dwelling on a topic which doesn't fall under the heading.

        Yes, the text versions are really neat and 'readable', but the second one seems to suffer from some CSS problems.

        Many thanks Chris for the pointer to your highly useful video tutorials. It is quite obvious that these text oriented videos should be looked upon in HD format - as you indicate. Unfortunately I don't get there. When I select 720p HD and choose the Full Screen button this results in an audio only black screen presentation.

        Found a thread on one of your videos with an embedded YouTube player at http://forums.sketchucation.com/viewtopic.php?f=18&t=25100&p=215249&hilit=+writing+sketchup+ruby+#p215249 That worked excellently without any problem.

        Checked four of the videos with quite some pain. Assuming that I'm not the only one experiencing this problem, I'm courageous enough to ask if there is anyone out there who could guide me how to play the fine tutorial videos in HD mode?

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          Generally they just work when you click on the HD button. If they are staying blac, that could mean you need tp upgrade your flash version? or maybe your video card is incompatible? I'm ot really sure. I've never heard of that happening before.

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

          1 Reply Last reply Reply Quote 0
          • bagateloB Offline
            bagatelo
            last edited by

            I can't import 3ds files. This plugin is great anyway....

            While the cat's away, the mice will play

            1 Reply Last reply Reply Quote 0
            • P Offline
              peacelim
              last edited by

              Hi!

              Tested the latest script (import_from_folder_v1.6.rbz) on sketchup make 2017, doesn't seem to work 😢

              Pop up shows that the import was completed but the models could not be found in the scene.

              Similarly, I have hundreds of dae files which i would like to import into the scene.

              Any help or update would be helpful.

              Thanks in advance!
              PH

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

                @peacelim said:

                Hi!

                Tested the latest script (import_from_folder_v1.6.rbz) on sketchup make 2017, doesn't seem to work 😢

                Pop up shows that the import was completed but the models could not be found in the scene.

                Similarly, I have hundreds of dae files which i would like to import into the scene.

                Any help or update would be helpful.

                Thanks in advance!
                PH

                If you look in the model's Component Browser you should see that all of the DAE files will have successfully imported as individual definitions, BUT they will be without any instances.
                But that is the nature of multiple imports like this - at least in the newer SketchUp versions.
                If you really want to import several DAE files, and add instances, then the attached RBZ is an alternative which does that for you.

                Please download and install it... and feedback...


                import_from_folder.RBZ

                TIG

                1 Reply Last reply Reply Quote 0
                • jujuJ Offline
                  juju
                  last edited by

                  @tig said:

                  If you really want to import several DAE files, and add instances, then the attached RBZ is an alternative which does that for you.

                  Please download and install it... and feedback...

                  Honestly, without contributions of TIG, and other developers like him (please don't be offended if I don't name anyone else specifically, the list would be long) SU just wouldn't be the same. Thanks for your contributions devs!

                  Save the Earth, it's the only planet with chocolate.

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    peacelim
                    last edited by

                    The New Script works like a charm! Thank you TIG!
                    Really like to thanks all developers like TIG for their contributions to make SU a better place/community for all users 😉

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Sugareth
                      last edited by

                      @tig said:

                      If you look in the model's Component Browser you should see that all of the DAE files will have successfully imported as individual definitions, BUT they will be without any instances.
                      But that is the nature of multiple imports like this - at least in the newer SketchUp versions.
                      If you really want to import several DAE files, and add instances, then the attached RBZ is an alternative which does that for you.

                      Please download and install it... and feedback...

                      Hi TIG, thanks for writing this plugin.
                      This appears to be broken again in SU2019 Pro.
                      I have imported a bunch of DAE files, which appear in object browser, but it doesn't create instances.

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

                        Can you run it with the Ruby Console open and see what is reported in there, if anything...

                        It should work in v2019...

                        Do you get a report-file written ?
                        If so what does it say for each file that it imports ?

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Sugareth
                          last edited by

                          Hi mate, maybe operator error the first couple of times I tried. Confirmed working in SU2019 Pro both with Collada DAE meshes created in Meshlab and from batch triangulated Collada export from Blender.

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

                          Advertisement