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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
      It includes new methods:-

      Material.save_texture_and_thumbnail(folder)

      • saves Material's texture [if any] and its thumbnail [png] into a subfolder named after the material in 'folder' - returns that subfolder path or nil.

      SKM.save_texture_and_thumbnail(path_skm, folder)

      • saves SKM's texture [if any] and its thumbnail [png] to a subfolder named after the SKM in 'folder' - returns taht subfolder path or nil

      SKM.extract(path_skm, 'folder')

      • extracts all of the SKM's data into a 'hash': if the optional 'folder' is given the files from the SKM are extracted into a subfolder named after the SKM in 'folder'. All of the available SKM data is accessible from the 'hash', if 'folder' is given then the paths to the texture/thumbnail etc are accessible...

      ImageAnimator

      • new menu items 'Make_Unique' and 'Clone'.

      See individual tools threads for more details...

      TIG

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

        Here's another update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
        It contains a new tool ' gifxtractor' which lets you quickly extract PNG files for each frame in a given animated GIF file...

        TIG

        1 Reply Last reply Reply Quote 0
        • kenK Offline
          ken
          last edited by

          TIG

          It appears that the version, ....3a.zip is missing two images for the last two menu items, make unique and clone.

          Thanks for all of your work.

          Ken

          Fight like your the third monkey on Noah's Ark gangway.

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

            Ken, the two new ' ImageAnimator' tools ' Make_Unique' and ' Clone' should only have appeared in the View > ImageAnimator sub-menu as they are not that often used - the toolbar buttons were a result of a typo in my code 😳
            This is the updated version ..13b...http://forums.sketchucation.com/viewtopic.php?p=293677#p293677

            TIG

            1 Reply Last reply Reply Quote 0
            • X Offline
              xrok1
              last edited by

              WOW! 😲
              good work πŸ‘

              β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

              http://www.Twilightrender.com try it!

              1 Reply Last reply Reply Quote 0
              • erikBE Offline
                erikB
                last edited by

                tig,
                fantastic ruby !
                Only I can't seem to find the "make unique button"
                In stead I see two times : set folder from selected images to Nil ?

                greetings,

                erikB

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

                  erikB

                  Another typo in my code πŸ˜’ the latest [corrected] version is here
                  http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                  This version also includes 'ImageTrimmer' - a tool to trim around transparent areas in a .png Image and make a new Component - useful to trim around 'cardboard' cutout people from photos etc... see here for more details http://forums.sketchucation.com/viewtopic.php?p=294815#p294815

                  TIG

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

                    Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                    The 'ImageTrimmer' now has an option to simplify the outline and a new separate tool to do this post processing too.

                    TIG

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

                      IMPORTANT NOTICE!

                      There has been a lone report of these tools not working - with a '.jar' file 'opening' rather than 'running'!
                      Many of these tools use small Java '.jar' executable files that do specific tasks like zip/unzip and image manipulation.

                      I have found that I can reproduce this weirdness IF I let a 'zip/unzip' application like AlZip or WinRar 'poach' the '.jar' file-type as one that it will open. If so then when Ruby tries to 'open' a '.jar' file instead of it 'executing' in Java [like it should], it 'opens' in the decompression application...

                      The solution = look at your WinRar etc settings and ensure '.jar' is NOT one of its file-types for opening... πŸ˜’

                      TIG

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

                        Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                        A stupid typo preventing ImageTrimmer working properly on MAC is now corrected. πŸ˜’

                        TIG

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

                          Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                          The time-out for ImageTrimmer file creation extended to 60secs to cater for larger files being slow to complete...

                          TIG

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

                            Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                            Some scripts have been recast to address glitches with MAC file paths.
                            Everyone should update to these new versions...

                            TIG

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

                              Here's another update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                              ImageTrimmer time-out for larger .dat files extended, EdgeDetector.jar improved...

                              TIG

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

                                Here's an update - some minor issues fixed... http://forums.sketchucation.com/viewtopic.php?p=293677#p293677

                                TIG

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

                                  Here's another update - ImageTrimmer processing speed has been improved and 'hanging' is now much less likely... http://forums.sketchucation.com/viewtopic.php?p=293677#p293677

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    Ben Ritter
                                    last edited by

                                    Thank you TIG

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

                                      Here's another update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                                      The Image and Material class extended methods will now only load if not already defined by SUp itself [==future-proofing since there's no medium-term hope of them doing this themselves?].

                                      TIG

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

                                        Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                                        ImageTrimmer - glitches with simplify etc addressed and speed improved.

                                        TIG

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

                                          Here's an update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                                          Following the inclusion of mew methods in SUp's v8-M1...
                                          Material.class extensions - aliases added for save_thumbnail()==.write_thumbnail() and .delete==.remove. The .name='' and .delete methods now match SUp >=v8-M1 returned values.
                                          To allow the methods to work in pre-v8-M1 SUp versions... with the new SUp method names / syntax.

                                          TIG

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

                                            Here's another update http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                                            Following the inclusion of mew methods in SUp's v8-M1...
                                            Material.class extensions - aliases added for save_thumbnail()==.write_thumbnail() and .delete==.remove. The .name='' and .delete methods now match SUp >=v8-M1 returned values.
                                            To allow the methods to work in pre-v8-M1 SUp versions... with the new SUp method names / syntax.
                                            The 'aliases' have be slightly recast to avoid removing the new methods.

                                            TIG

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

                                            Advertisement