sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Plugin] Material Browser - v1.1.0 - 12 Oct 2025

    Scheduled Pinned Locked Moved Plugins
    50 Posts 10 Posters 30.9k Views 10 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 Online
      TIG Moderator
      last edited by TIG

      SketchUcation tools only loads the ZIP gem stuff if it hasn't been already loaded [required].
      I suggest you adjust your code to do the same.
      It doesn't break things. it just warns about it already being installed ?

      TIG

      samuel_tS 1 Reply Last reply Reply Quote 0
      • samuel_tS Offline
        samuel_t @Dave R
        last edited by samuel_t

        @Dave-R
        Thank for your interest. What was the source of the material you were targeting? The active model, a local collection, or Poly Haven?

        Once selected in the Material Browser plugin window, a material can be applied in the SketchUp scene with the Paint Bucket tool.

        In your case, selection seems to have succeed... Did the plugin add wanted material to the model and select the Paint Bucket tool?

        1 Reply Last reply Reply Quote 0
        • samuel_tS Offline
          samuel_t @Rich O Brien
          last edited by

          @Rich-O-Brien

          I wonder if this timeout appears outside SU 🤔
          Can you please open this URL in your browser?

          https://api.polyhaven.com/info/fabric_pattern_05
          

          If request was successful, you should get JSON.
          Was this response "instant" or "seconds long"?

          Rich O BrienR 1 Reply Last reply Reply Quote 0
          • Rich O BrienR Offline
            Rich O Brien Moderator @samuel_t
            last edited by

            @samuel_t

            Was this response "instant" or "seconds long"?

            Instant

            Download the free D'oh Book for SketchUp 📖

            samuel_tS 1 Reply Last reply Reply Quote 0
            • samuel_tS Offline
              samuel_t @Rich O Brien
              last edited by

              @Rich-O-Brien And you obtained JSON, isn't?

              Rich O BrienR 1 Reply Last reply Reply Quote 0
              • samuel_tS Offline
                samuel_t @TIG
                last edited by samuel_t

                @TIG

                SketchUcation tools only loads the ZIP gem stuff if it hasn't been already loaded [required].
                I suggest you adjust your code to do the same.

                I will. Thanks for your suggestion.

                It doesn't break things. it just warns about it already being installed ?

                Seems 😅

                By the way, SketchUcation Tools v5.0.2 bundles Rubyzip v1.1.6, whereas Material Browser v1.1.0 bundles Rubyzip v1.3.0.
                Upon GitHub tags, this latter is the highest version compatible with SketchUp 2017 (Ruby v2.2.4), since Rubyzip v2.0.0 requires at least Ruby 2.4.

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

                  Incidentally, our test is...
                  [Assume a valid path to load the RB files]

                  require('zlib') unless defined?(Zlib)
                  require('zip')  unless defined?(Zip)
                  

                  TIG

                  samuel_tS 1 Reply Last reply Reply Quote 0
                  • samuel_tS Offline
                    samuel_t @TIG
                    last edited by

                    Thanks @TIG

                    1 Reply Last reply Reply Quote 0
                    • Rich O BrienR Offline
                      Rich O Brien Moderator @samuel_t
                      last edited by

                      @samuel_t said in [Plugin] Material Browser - v1.1.0 - 12 Oct 2025:

                      @Rich-O-Brien And you obtained JSON, isn't?

                      Yes. Near instantly

                      {"type":1,"date_published":1590810670,"name":"Fabric Pattern 05","old_id":262,"authors":{"Rob Tuytel":"All"},"dimensions":[500,499.9999403953552],"max_resolution":[8192,8192],"categories":["fabric","cotton"],"files_hash":"be7f619f251a6ba2f829e658c6a20948cdc18a4f","tags":["plain","cloth","towel","checker","checkered","plaid","grid pattern","windowpane plaid","upholstery","textile ","woven","drape"],"description":"Free 8K cotton fabric texture with a soft, woven, slightly nubby surface and natural drape, olive‑khaki base with thin deep‑blue windowpane plaid grid.","download_count":159063,"thumbnail_url":"https://cdn.polyhaven.com/asset_img/thumbs/fabric_pattern_05.png?width=256&height=256"}
                      

                      Download the free D'oh Book for SketchUp 📖

                      samuel_tS 1 Reply Last reply Reply Quote 0
                      • samuel_tS Offline
                        samuel_t @Rich O Brien
                        last edited by

                        @Rich-O-Brien Thanks. I need to figure out why it fails in SketchUp...

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

                        Advertisement