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

    SU6 SKM processing

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 798 Views 2 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.
    • tbdT Offline
      tbd
      last edited by

      does anyone knows how to get the texture file from a material ?

      sketchup.com is down and I dont have a mirror of SU6 Ruby help and in SU6 textures are stored inside .skm (which are renamed .zip files) versus SU5 where all textures were stored normally in Materials subdir.

      one way is to TextureWrite it but I dont like to clutter the HDD for that πŸ˜„

      SketchUp Ruby Consultant | Podium 1.x developer
      http://plugins.ro

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

        I wrote this script a while ago. It was meant for getting 'color-by-layer' colors , but with the right settings it also exports the colors' textures; if you have it pre-set appropriately...

        There might be something in there you can use ? It's a hack but it works...

        If you see my post earlier of today about 'layer colors' you can seen in the associated script how you might use this method to get the model's materials...


        OBJlayercols.txt

        TIG

        1 Reply Last reply Reply Quote 0
        • tbdT Offline
          tbd
          last edited by

          that means that the user must export as OBJ first - not acceptable πŸ˜„

          so I think I will use TextureWriter as there is no Ruby method that points to the .skm file to do a .zip parsing of .xml files. urgh πŸ˜„

          thanks anyway

          SketchUp Ruby Consultant | Podium 1.x developer
          http://plugins.ro

          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