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

    Style Thumbnailer

    Scheduled Pinned Locked Moved Plugins
    10 Posts 4 Posters 4.3k Views 4 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.
    • J Offline
      Jim
      last edited by

      About

      Style Thumbnailer was created for monsterzero (blog), who asked for...

      @unknownuser said:

      ...the ability to automatically render out a shot/scene with several pre-set styles (incl shadows on/off).

      This plugin exports 2 images of the current scene for each "In Model" Style - one with and one without shadows.

      Usage

      • Start the Thumbnailer (Plugins > Style Thumbnailer)
      • Select the image size.
      • The "Image count" shows the number of images that will be created. Click refresh to update the image count. (currently calculated as 2 * number_of_styles_in_model)
      • Click the Export button to export the images. You will be presented with a dialog to select the target folder.
      • The Browse button opens the target folder with the file manager. If you haven't exported yet, it does nothing.
      • Clicking the Styles header opens/closes the Styles dialog. Same with Scenes.
        Installation

      Download, extract, and move the files into your Plugins folder. Restart SketchUp.

      Feedback
      This plugin is being released with limited functionality. I want to test the fundamental operation in order to solicit feedback. Once it is accepted as being stable, I can add features.

      Screenshot

      http://www.sketchucation.com/forums/scf/sas/Ruby/style_thumbs.jpg

      Download

      http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1540

      Hi

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

        Isn´t working well in my machine...

        This plugin exports images of the current scene for the current in use Style only (one with and one without shadows).

        It detects with "Image count" the number of images that will be created, but exports only the style i´m using and not all the styles "In Model".

        If i have 3 styles "in model", it only exports the current style 6 times (3 with shadows and 3 without them).

        Daniel S

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          Hello Daniel,

          Since it exports at least one image, I am wondering you have any custom styles installed whose name contains unusual characters? Also, if you open the Ruby Console window before running the plugin, does it report anything? What about Mac or PC?

          Thanks.

          @daniel s said:

          Isn´t working well in my machine...

          This plugin exports images of the current scene for the current in use Style only (one with and one without shadows).

          It detects with "Image count" the number of images that will be created, but exports only the style i´m using and not all the styles "In Model".

          If i have 3 styles "in model", it only exports the current style 6 times (3 with shadows and 3 without them).

          Daniel S

          Hi

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

            The Ruby Console doesn´t report anything. I´m using Windows Xp but i don´t update to the latest version of Sketchup yet... i´m using SU 6.0.312.
            And I have custom styles installed that maybe contains unusual characters... I try not to use them for testing the plugin (but i didn´t uninstall my styles) and i have the same error (exports the current in use style only).

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by

              @daniel s said:

              The Ruby Console doesn´t report anything. I´m using Windows Xp but i don´t update to the latest version of Sketchup yet... i´m using SU 6.0.312.
              And I have custom styles installed that maybe contains unusual characters... I try not to use them for testing the plugin (but i didn´t uninstall my styles) and i have the same error (exports the current in use style only).

              Daniel, I just don't know. I've been going over it and I don't have any idea about why it only outputs one a single image for you, when it works for me.

              Have you examined the code to see if what might be the problem?

              Hi

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by

                @daniel s said:

                Isn´t working well in my machine...

                This plugin exports images of the current scene for the current in use Style only (one with and one without shadows).

                It detects with "Image count" the number of images that will be created, but exports only the style i´m using and not all the styles "In Model".

                If i have 3 styles "in model", it only exports the current style 6 times (3 with shadows and 3 without them).

                Daniel S

                This is confusing to me. What are the filenames of the 6 exported images?

                Hi

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

                  It works all fine (image count image size, shadows, the names, the export and browse buttons too) ... but i get only one style exported... here i attach what i do and what i get.

                  Not a problem, i download the script to view how it works only..

                  Daniel S

                  http://www.sketchucation.com/forums/scf/sas/Ruby/Test.jpg

                  1 Reply Last reply Reply Quote 0
                  • Dave RD Offline
                    Dave R
                    last edited by

                    Jim, the thumbnailer works fine on my computer but I can't seem to change the shadow selection from Both and I can't change the exported file name. It appears to be set to the SKP file name only. If this is the case, perhaps you could set it to show in the Save dialog?

                    Interesting idea for a script. I might be able to find an application for it, too. 😉

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by

                      @dave r said:

                      Jim, the thumbnailer works fine on my computer but I can't seem to change the shadow selection from Both and I can't change the exported file name. It appears to be set to the SKP file name only. If this is the case, perhaps you could set it to show in the Save dialog?

                      Interesting idea for a script. I might be able to find an application for it, too. 😉

                      The shadow selection is disabled on purpose. I wanted to see if the plugin was going to work before adding features.

                      I can set the base filename to appear in the save dialog. Good idea, thanks.

                      Hi

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

                        Thanks Jim, very useful for me.

                        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