sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    ASCII format for .skm?

    Scheduled Pinned Locked Moved Developers' Forum
    10 Posts 4 Posters 520 Views 4 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.
    • J Offline
      Jim
      last edited by

      I thought this was answered somewhere, but was not able to find the answer.

      Here is posted a zipped file of sketchup materials. The file has the .skm suffix, but is really a plain text file. And when it is copied to the SketchUp Materials folder, it is converted into a folder of materials.

      Is the format documented somewhere?

      
      3
      1
      RAL1000-Gruenbeige,0,8962508,0,0,0.500000,0
      RAL1001-Beige,0,8893646,0,0,0.500000,0
      RAL1002-Sandgelb,0,7582160,0,0,0.500000,0
      RAL1003-Signalgelb,0,44530,0,0,0.500000,0
      RAL1004-Goldgelb,0,42980,0,0,0.500000,0
      RAL1005-Honiggelb,0,38599,0,0,0.500000,0
      
      

      Hi

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Are you sure the .skm file is ASCII and not UTF-8/UTF-16?

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          hmm... the .skm is usually a .zip file with other files inside? Maybe this is a legacy version?

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            RAL1000-Gruenbeige,0,8962508,0,0,0.500000,0

            I think this refer to a long integer. See this thread from here for info on that type of representing colour: http://forums.sketchucation.com/viewtopic.php?f=180&t=17047&start=195#p202323

            As for the rest - guess you can work something out why changing some of the numbers and seeing what the result become.

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • honoluludesktopH Offline
              honoluludesktop
              last edited by

              Any guesses as to what the numbers mean? The third in the sequence must be the color?

              1 Reply Last reply Reply Quote 0
              • thomthomT Offline
                thomthom
                last edited by

                Where is this Sketchup Materials folder?

                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

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

                  The RAL setup is exceptional.
                  It has a set of .skm files BUT there's also a .txt file with all of the RAL references inside it...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jim
                    last edited by

                    If you delete the ral folder and place only the text file in the folder, SketchUp will automatically generate the .skm folder. That's what I found interesting, and wanted to build some color libs using the technique.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      I'm still confused to the location of these folders...

                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jim
                        last edited by

                        It would be a sibling (neighbor?) of the Plugins folder on Windows.

                        Hi

                        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