• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Can we save sketchup materials .skm files as JPG ?

Scheduled Pinned Locked Moved Newbie Forum
sketchup
8 Posts 5 Posters 14.5k Views
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.
  • E Offline
    erentumer
    last edited by 22 Aug 2011, 08:51

    I want to edit and save .skm filaes as jpg files is it possible?

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 22 Aug 2011, 09:02

      skm files are actually renamed zip archives. If you change the extension to zip, you can find the image file (and some xml files describing certain properties).

      So basically you cannot convert an skm file into a jpg file but you can extract it from inside...

      Gai...

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 22 Aug 2011, 09:08

        As Gaieus said you can manually extract the image from a .SKM file - as it is effectively a .ZIP file that can be opened.
        My SKMtools add extra functions for manipulating SKM files in Ruby not available in the API - but these are probably beyond what you need - although if you have dozens to process you could write a short script that would use some of these functions, iterate through a folder of SKMs and extracted each SKM's image-file [and/or the thumbnail] for you into a subfolder.
        If your SKMs are loaded into a SKP project then Didier Bur's 'very fast texture writer' will swiftly dump all of the SKP's materials' texture image-files for you, en mass... see here http://forums.sketchucation.com/viewtopic.php?p=330472#p330472

        TIG

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gaieus
          last edited by 22 Aug 2011, 09:15

          In that case, you can also export your model simply to dae and SU will create a folder with all the used image textures also exported.

          Gai...

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 22 Aug 2011, 09:24

            The dae export can also be a quick way... but the texture_writer by Didier does the same without the potentially confusing dae file etc - also note that the texture_writer method exports all materials' images, and not just ones that have been used in the SKP - unlike the dae export 'trick' which will only export used materials' images.
            As I hope I explained if you have dozens of SKM files that aren't accessible via a SKP then it'd be a pain to process them as zips OR load them into a SKP and 'export them'- perhaps you have downloaded them or no longer have the original SKP used to make them then my SKMtools can extract the images from them - however, you'd need to write a simple script to loop through the SKMs and process them...

            TIG

            1 Reply Last reply Reply Quote 0
            • E Offline
              erentumer
              last edited by 22 Aug 2011, 09:55

              to convert .skm to zip is useful for me I think.actually I can edit it and owerwrite as .skm file in the materials folder again.I ' ll try.
              Thank you..

              1 Reply Last reply Reply Quote 0
              • V Offline
                volatileant
                last edited by 19 Feb 2018, 23:56

                I stumbled across this post when trying to export a material after it had been modified in SketchUp with the color sliders.

                Exporting to .DAE produces .JPG files where any transformations material edits performed in SketchUp have been 'baked' into the image.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  HornOxx
                  last edited by 20 Feb 2018, 07:26

                  @gaieus said:

                  ...skm files are actually renamed zip archives...
                  ๐Ÿ˜ฒThanks Gaieus and Tig for clarifying that - and for adding this new chapter in my personally D'oh Book ๐Ÿ‘ ๐Ÿ˜„

                  never trust a skinny cook

                  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