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

    [Plugin][Code]SKMtools,Material/ImageTools

    Scheduled Pinned Locked Moved Plugins
    176 Posts 36 Posters 264.3k Views 36 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.
    • S Offline
      ssw
      last edited by

      I was able to use Preferences > Extensions > Install to successfully install the plugin

      For my own information, can you direct me to the tutorial on setting up admin powers?

      Before the successful install there were no skm files in the plugins folder

      Thanks for your help and quick responses

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

        Link Preview Image
        How to set Security Permissions for the Plugins folder in SketchUp | SketchUcation

        The complete guide to fixing Security Permissions for SketchUp on Mac and PC

        favicon

        (sketchucation.com)

        TIG

        1 Reply Last reply Reply Quote 0
        • jenujacobJ Offline
          jenujacob
          last edited by

          Error; #<Errno;;ENOENT; No such file or directory - C;\Users\user\Desktop\TrimmedImages\BIMBA_6[Edges].dat>
          C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `readlines'
          C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `make_edges'
          C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;196;in `process_image'
          C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;165;in `initialize'
          C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `new'
          C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `block in <top (required)>'
          SketchUp;1;in `call'
          

          Hi TIG.... I am trying to use this image trimmer, but I get nothing... I opened the ruby console and I got some error...

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

            @jenujacob said:

            Error; #<Errno;;ENOENT; No such file or directory - C;\Users\user\Desktop\TrimmedImages\BIMBA_6[Edges].dat>
            > C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `readlines'
            > C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `make_edges'
            > C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;196;in `process_image'
            > C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;165;in `initialize'
            > C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `new'
            > C;/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `block in <top (required)>'
            > SketchUp;1;in `call'
            

            Hi TIG.... I am trying to use this image trimmer, but I get nothing... I opened the ruby console and I got some error...
            It's failing to make the 'Edges' dat file...
            Do you have Java installed and enabled on you PC ?
            Do you have .jar files set to open with Java - some compression tools hijack that file-type and stop it working.
            These tools rely on tiny .jar files to do some of the complex image processing etc.
            If they don't run the file's aren't made and so it breaks...
            Report back...

            TIG

            1 Reply Last reply Reply Quote 0
            • jenujacobJ Offline
              jenujacob
              last edited by

              hi TIG!
              Thanks for the reply!
              I did have issues with the .jar file being opened with winrar. I associated the .jar file type to be opened with java.exe. But, i have no idea if it is working. Is there a way i can test it???

              I cant test right now. Its in my work PC. I will try to test tomorrow at work.

              Edit :
              I have tested it at office now. I downloaded and installed the latest java from their website. Associated .jar files to java.exe, but still nada. I am still getting the error.

              I am attaching a screen shot.
              ImageTrimmer_Error.jpg

              1 Reply Last reply Reply Quote 0
              • jenujacobJ Offline
                jenujacob
                last edited by

                Pling! 😄

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

                  Installed it on Sk7.1 Web accessed page not working

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

                    error on photo texture startup
                    line 1123
                    https://3dwarehouse.sketchup.com/compiled_8b0304b.js

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

                      Perhaps you missed the widely publicized announcement that as of June 1, web-based services would no longer function in SketchUp versions earlier than SU2014. SketchUp is no longer using the Google-based servers those services point to in the old versions. The solution it to upgrade to at least SU2014.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 Reply Last reply Reply Quote 0
                      • simjoubertS Offline
                        simjoubert
                        last edited by

                        Bonjour à tous !
                        Hello every body !

                        Sorry for my english !

                        I have trouble with the imageTrimmer

                        Each step i do :

                        • 1- I open a new .skp file
                          2- I importe a .png image with transparence part of image.
                          3- I save my .skp file
                          4- I select my image
                          5- I run ImageTrimmer plugin
                          6- I wait ( I see the progress bar ......)
                          7- Nothing change !

                        This is the report of the ruby console :

                        Error; #<Errno;;ENOENT; No such file or directory - D;\Sketchup\Modèles\TrimmedImages\forme4[Edges].dat>
                        C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `readlines'
                        C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `make_edges'
                        C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;196;in `process_image'
                        C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;165;in `initialize'
                        C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `new'
                        C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `block in <top (required)>'
                        SketchUp;1;in `call'
                        

                        If someone give me help, Thank you.

                        Simon

                        1 Reply Last reply Reply Quote 0
                        • simjoubertS Offline
                          simjoubert
                          last edited by

                          Bonjour à tous
                          Bonjour TIG !

                          Hello !

                          My English is not perfect so excuses me !

                          I had a ttrouble with the imagetrimmer !

                          In the ruby console, I have this message report :

                          Error; #<Errno;;ENOENT; No such file or directory - D;\Sketchup\Modèles\TrimmedImages\forme4[Edges].dat>
                          C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `readlines'
                          C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `make_edges'
                          C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;196;in `process_image'
                          C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;165;in `initialize'
                          C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `new'
                          C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `block in <top (required)>'
                          SketchUp;1;in `call'
                          

                          List of step I do :

                          [1]New skp model

                          [2]Import image .png

                          [3]Save file

                          [4]Run plugin ImageTrimmer

                          [5]Waiting

                          I read some thing like this in the forum but i had already instal and update my java
                          the .jar is already join with java

                          Can you help me !
                          Thanks you !

                          Simon

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

                            Your path to the model contains an accented character 'Modèles'
                            On PCs accents use to be a definite no-no with earlier SketchUp's Ruby, as it causes failures - the folder/file path is regarded as false.
                            However, since v2015 the newer Ruby is more robust and often allows accented characters.
                            I suspect that the code used in this fairly old script is somewhat antiquated and doesn't force the text into UTF-8 encoding...
                            I'll look to see if it's relatively simple to fix.
                            If so, then I'll publish an update and post something here...
                            Give we a little time...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • simjoubertS Offline
                              simjoubert
                              last edited by

                              Merci TIG
                              J'ai modifié "Modèles" en "Modeles" et ça à fonctionner pour un petit PNG.
                              Je suis en train de tester sur une jolie image d'erable du Japon !
                              Je posterai les résultats!
                              Merci encore pour ton super travail ! 😄

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

                                I have looked into this and the Ruby side is working fine, however the Java [jar] side is having issues with the encoded paths IF they contain an accented character.
                                I am trying to see how I sidestep this...

                                In the meanwhile when using ImageTrimmer ensure that the model SKP has a folder path that does not contain accented characters...
                                Then it will work...

                                TIG

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

                                  Still struggling to get these jar file-paths to work with accents in them !
                                  So for now use a folder-path/file-name that's accent-free !!

                                  TIG

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

                                    http://sketchucation.com/pluginstore?pln=SKMtools
                                    Updated v20160621
                                    Main change is the recently reported issue, where the JAR files associated with ImageTrimmer failed to return a valid file path on some Windows systems, when the folder-path/file-name contained accented characters.
                                    This has now been resolved.
                                    But it's still best to avoid such accents in paths etc...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • simjoubertS Offline
                                      simjoubert
                                      last edited by

                                      Thanks TIG

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

                                        what's wrong i'm doing
                                        Please see the video https://streamable.com/u3u7h
                                        please help! 😕

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

                                          This has been explained several times...

                                          It uses several JAR files shipped with the toolset - which are tiny applets which process certain aspects of the image files.
                                          JAR files are a special kind of renamed ZIP file.
                                          By default JAR files should be set to open [i.e. execute] in Java.
                                          Some compression-tools hijack the JAR file-type and open it themselves, as if it were a ZIP file, thereby breaking how the tool works.

                                          To fix it try the following steps...

                                          • Open your compression tool, and it will have a settings menu option, ensure that JAR file-type is NOT one of its ticked file-type options.
                                            Save the changes and close the tool.

                                          • Also ensure that you have the latest version of Java installed on your PC, and that it is set to open [execute] JAR files.

                                          • Retry an ImageTrim and see if the JAR files now work correctly...

                                          TIG

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

                                            i'm very happy to see your quick response
                                            Thank you soooo much!
                                            Problem solved.
                                            paypal is not available in our country is there is any other way to donate developers on sketchucation ?

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

                                            Advertisement