• Login
sketchucation logo sketchucation
  • Login
🔌 Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

[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.
  • T Offline
    taro824
    last edited by 4 May 2013, 16:34

    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
    • T Offline
      TIG Moderator
      last edited by 4 May 2013, 17:04

      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 5 May 2013, 03:36

        @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
        • T Offline
          TIG Moderator
          last edited by 5 May 2013, 08:31

          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
          • O Offline
            Oxer
            last edited by 5 May 2013, 19:39

            Hi,
            On Mac the new version (1.5.1) gives a Ruby Console Error:

            %(#BF0000)[Error al cargar archivo /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ae_TextureResizer/TextureResizer.rb
            no such file to load -- /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ae_TextureResizer/Bounds.rbError al cargar archivo ae_TextureResizer.rb
            no such file to load -- /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ae_TextureResizer/Bounds.rb]

            I seen into the ae_TextureResizer folder, and Bounds.rb file doesn't exist.

            "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 5 May 2013, 20:51

              There is no use for that file in the Sips version, so the require line shouldn't be there. I fixed it.

              1 Reply Last reply Reply Quote 0
              • A Offline
                Aerilius
                last edited by 15 May 2013, 02:07

                A small update to improve the webdialog when using higher dpi settings.

                1 Reply Last reply Reply Quote 0
                • L Offline
                  lopangkar
                  last edited by 16 May 2013, 13:46

                  Really thanks for your great work.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    T.W.
                    last edited by 18 Jun 2013, 17:32

                    I'm getting a script error. Can someone help?

                    OS:Win 7 home premium ser. pk. 1
                    Intel I3 processer.
                    Latest ver Sketchup

                    Don't know what else you made need.

                    http://i.imgur.com/76Uhs2l.jpg

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aerilius
                      last edited by 19 Jun 2013, 11:11

                      Can you try the attached version?


                      ae_TextureResizer_1_5_7.rbz

                      1 Reply Last reply Reply Quote 0
                      • bobpineoB Offline
                        bobpineo
                        last edited by 16 Sept 2013, 20:07

                        I'm having some trouble running the plugin, that looks very cool I might add!
                        This might be something outside the workings of your plugin, as I sometimes get this message with other plugins...
                        thank you in advance for your help!


                        9-16-2013 4-02-00 PM.png

                        Bob Pineo, Design Develop LLC http://www.designdevelop.org.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          JeremyNOLA
                          last edited by 25 Sept 2013, 20:17

                          is it normal for this to take an extended amount of time to execute? I have been watching it process on a 30mb file for about 20 minutes. I check the activity monitor and SU is still performing and using resources so I know it's doing SOMETHING...let me know. thanks!

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            AirWindSolar
                            last edited by 5 Mar 2014, 17:16

                            @jeremynola said:

                            is it normal for this to take an extended amount of time to execute? I have been watching it process on a 30mb file for about 20 minutes. I check the activity monitor and SU is still performing and using resources so I know it's doing SOMETHING...let me know. thanks!

                            Did it finish yet?

                            1 Reply Last reply Reply Quote 0
                            • O Offline
                              Oxer
                              last edited by 9 Sept 2014, 14:50

                              The plugin (OS X version) work fine and very quick on Mac OSX & SU2013 but on SU2014 the processing is very long and sometimes SU crash.

                              "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
                              • brodieB Offline
                                brodie
                                last edited by 20 Jan 2015, 00:00

                                This doesn't seem to be working for me with 2015. Is it just me?

                                steelblue http://www.steelbluellc.com

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Aerilius
                                  last edited by 28 Jan 2015, 10:29

                                  Sorry, I was away the last week. I tested it in SU 2015 and it seems to be still working.
                                  It requires ImageMagick to be installed (the plugin is just a UI and calculates the command for ImageMagick).

                                  • Do you have ImageMagick installed? If it was not, the plugin should prompt.
                                  • Is it possible the plugin does not find ImageMagick? Can you give me the results from the Ruby Console of:
                                  AE;;TextureResizer;;ImageMagick.installed?
                                  
                                  AE;;TextureResizer;;ImageMagick.class_variable_get(;@@install_location)
                                  
                                  Sketchup.read_default("ImageMagick","location")
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    faust07
                                    last edited by 3 Feb 2016, 12:41

                                    Plugin works great in SU 2016 - a handy time and file size saver. Thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Pherim
                                      last edited by 12 Jun 2016, 06:22

                                      It doesn't work in SU2016 for me... I click apply and it just clears all parameters. There is nothing in the ruby console and I do have ImageMagick installed.

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        Pherim
                                        last edited by 5 Oct 2016, 19:35

                                        Turns out I did not have the latest version installed because the extension warehouse still has 1.5.5. Now it just says "Processing" when I click "apply", but seems not to do anything if nothing is selected, whereas it creates resized versions of textures in a selection although it does not replaces the original ones but just adds a 0 to their names. It works in Sketchup 8, though. Could it be a conflict with another plugin?

                                        edit: It works on my laptop... so I guess I need to figure out the difference between these two installations to find out why it's not working on my PC.

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          Pherim
                                          last edited by 10 Oct 2016, 15:17

                                          Me again... so far I found out that it appears not to be working when Make Fur by Tak2hata is also installed... however, only on my PC (Windows 7 64bit) in SU2016. With SU8 and on my laptop (also SU2016) it works! Any ideas?

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

                                          Advertisement