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

    [Plugin] Texture Resizer (1.5.6) — updated 15.05.2013

    Scheduled Pinned Locked Moved Plugins
    104 Posts 35 Posters 96.9k Views 35 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 Offline
      Aerilius
      last edited by

      It seems SketchUp's texture writer does not write psd files. In that case, I'll probably force a default extension.

      I have no idea what could cause to skip Material15. Is it reproducible? Can you send me a file with that material and its geometry (and group nesting...).

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        It's 8MB (after removing the two PSD textures)
        PM me your email address and I'll send it to you.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • A Offline
          Aerilius
          last edited by

          I think I have fixed it now.

          Also the texture writer can export PSDs (I have no idea why these failed), but it can't convert psd into other formats by setting a different file extension.

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            @aerilius said:

            but it can't convert psd into other formats by setting a different file extension.

            Does the texture resizer change the format?

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • A Offline
              Aerilius
              last edited by

              Here not.
              But the underlaying ImageMagick.rb has the option to (temporarily) change lossy formats into lossless bmp. I use that in another plugin, mainly because bmps process much faster.

              1 Reply Last reply Reply Quote 0
              • OxerO Offline
                Oxer
                last edited by

                Hi,
                I have installed the last version of the plugin (1.4.3 for Mac OSX) and when i run SU it appears a Console Error:
                Console Error.png

                I work on OSX 10.8.2, SU 8 Pro

                "The result is the end what is important is the process" by Oxer
                [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Aerilius
                  last edited by

                  I fixed it (1.4.4). Sorry, it was a merging mistake.

                  1 Reply Last reply Reply Quote 0
                  • OxerO Offline
                    Oxer
                    last edited by

                    I have installed the 1.4.4 version for Mac OSX and when I call to the plugin the boxes input are empty, I select Percentage, I introduce 50%, after I push Apply button then it appears this Error in Console Ruby:
                    Error Ruby Console.png
                    I have translated the plugin to spanish language but the plugin window's is in English.
                    Spanish Language for Texture Resizer

                    Mac OSX 10.8.2, SU Pro 8

                    "The result is the end what is important is the process" by Oxer
                    [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aerilius
                      last edited by

                      Hi,
                      I think I have now found the issue. Can you try to download it again?
                      And many thanks for the translation!!!

                      [I thought I had posted this reply yesterday, I don't know how it got lost.]

                      1 Reply Last reply Reply Quote 0
                      • OxerO Offline
                        Oxer
                        last edited by

                        I have reinstalled the 1.4.4 version and the plugin runs fine (the translation works ok), but when i push Apply button it appears the icon Processing... and in the Ruby console this message:
                        Error Ruby Console.png
                        I have seen a skp_textureresizer94750 folder in this path /private/var/folders/2y/lg9fyd494rddw7s_xr5zz2yr0000gn/T/skp_textureresizer94750 but only It contains one image.
                        I hope you can help me, if you need more info, tell me it.
                        Mac OSX 10.8.2, Sketchup 8 Pro

                        Happy New Year!! 😄

                        New Spanish Language file.
                        TextureResizer_ES.strings.zip

                        "The result is the end what is important is the process" by Oxer
                        [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Aerilius
                          last edited by

                          I published the new version 1.4.5

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Aerilius
                            last edited by

                            Small update (1.4.7):

                            • added icon
                            1 Reply Last reply Reply Quote 0
                            • OxerO Offline
                              Oxer
                              last edited by

                              I can't see the icon in Mac OSX 10.8.2, the plugin (1.4.7) works fine only the icon problem. Non Ruby console Error.

                              "The result is the end what is important is the process" by Oxer
                              [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Aerilius
                                last edited by

                                Menus don't have icons. The plugin doesn't include a (one button) toolbar, but an icon is the pre-condition for any future toolbars 😉

                                1 Reply Last reply Reply Quote 0
                                • OxerO Offline
                                  Oxer
                                  last edited by

                                  I have added one line to the TextureResizer. rb and now i can see the icon plugin. This is the line:
                                  "UI::Toolbar.new(@@translate["Resize Textures").add_item(cmd_resize)]"
                                  This line go after this line: " UI.menu("Plugins").add_item(cmd_resize)"
                                  Thanks for the icons!!

                                  PS: The plugin works fine, when you push the icon, it appears the plugin's window. 👍

                                  "The result is the end what is important is the process" by Oxer
                                  [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

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

                                    I should be missing something cause I have got make Unique Texture++ and Texture Resizer, the last one is not doing anything.
                                    I have been using Goldilocks v2.0 to help me notice what textures to are too big on view.
                                    Could some one tell me whats wrong with Texture Resizer? there is any other plugin? how can I choose better texture size?
                                    Thx

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      taro824
                                      last edited by

                                      Hi,

                                      Thank you for the Great plug-in but I'm having a problems.
                                      I got the message from the Ruby console

                                      Error #<NoMethodError:undefined method putsv' for #<File:0x1ed5eecc>.> C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/ImageMagick.rb:643:in run_shell_command'
                                      C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/ImageMagick.rb:641:in open' C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/ImageMagick.rb:641:in run_shell_command'
                                      C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/ImageMagick.rb:465:in execute' C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:290:in initialize'
                                      C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:196:in new' C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:196:in process'
                                      C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:164:in options_dialog' C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:177:in call'
                                      C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:177:in show_modal' C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:177:in options_dialog'
                                      C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:128:in `run'
                                      C:/PROGRA~1/Google/GOOGLE~3/Plugins/ae_TextureResizer/TextureResizer.rb:101
                                      quietly_force_sync_mats_cb just called

                                      Did I missed something when I installed the plugin ?

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

                                        There is a simple typo in the code - probably 'v' was pressed instead of 'ctrl+v' to paste.
                                        The original author Andreas needs to correct it...

                                        In the meanwhile you can correct it yourself in your copy...
                                        Open the file 'ImageMagick.rb' in the 'ae_TextureResizer' subfolder in your Plugins folder, using Notepad.exe and look for the text saying:
                                        f.putsv%[cd "#{@cache_dir}"]
                                        around line #643.
                                        Change it to read:
                                        f.puts %[cd "#{@cache_dir}"]
                                        I.E. replace the 'v' at the end of the 'puts' with a <space>.
                                        Save the file.
                                        Restart SketchUp and retest, it should now work... 😄

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          taro824
                                          last edited by

                                          @unknownuser said:

                                          There is a simple typo in the code - probably 'v' was pressed instead of 'ctrl+v' to paste.
                                          The original author Andreas needs to correct it...

                                          Hi TIG,
                                          Thank you for the replying so soon and the solution 😄

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

                                            The author Andreas has now updated the file.
                                            You can download the latest version from the first post in this thread, or Auto-Install it from the Plugins Store shortly...

                                            TIG

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

                                            Advertisement