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

    [Plugin] Material Browser - v1.0.9 - 12 July 2021

    Scheduled Pinned Locked Moved Plugins
    30 Posts 9 Posters 29.4k Views 9 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.
    • Z Offline
      ZoranKP
      last edited by

      HI. I just installed this and only get errors when SU starts.

      A lot of errors all to do with this: 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in `require'

      I installed a few of your other plugins, all working fine.

      Anything you can suggest to fix this?

      Thanks

      Z

      1 Reply Last reply Reply Quote 0
      • Z Offline
        ZoranKP
        last edited by

        Why are there no replies to posts here? The extension does not work as I posed above.

        1 Reply Last reply Reply Quote 0
        • M Offline
          masloprojekt
          last edited by

          @evilboris said:

          That's a really great plugin, I had some trouble getting it to work also: I had to disable a bunch of plugins for it to work, so there is a conflict somewhere.
          ...

          Hello,

          Can You share a list of plugins you had to disable? I got the same errors. I would love to use this plugin, searching materials by name is so obvious it should be implemented in native tools of SketchUp, and this add on do so much more!

          Thank You.
          Maciej.


          my error log

          Error Loading File C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/load.rb
          Error: #<TypeError: superclass mismatch for class StreamableStream>
          C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/Libraries/zip/streamable_stream.rb:2:in <module:Zip>' C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/Libraries/zip/streamable_stream.rb:1:in <top (required)>'
          C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in require' C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in require'
          C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/Libraries/zip.rb:30:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in require'
          C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in require' C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/utils.rb:27:in <top (required)>'
          C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in require' C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in require'
          C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/model.rb:26:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in require'
          C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in require' C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/materials_observer.rb:24:in <top (required)>'
          C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in require' C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in require'
          C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/app_observer.rb:24:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in require'
          C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:72:in require' C:/Users/maslo/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/material_browser/load.rb:25:in <top (required)>'
          ...

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

            @zorankp said:

            Why are there no replies to posts here?

            Hi everyone!

            Sorry, I wasn't subscribed to current topic. I don't have conflicts on my computer. Try to disable all other plugins and re-enable them one by one. Yes I know it's a tedious task but I see no other way...

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

              I just published 1.0.6 version. It should fix "TypeError: superclass mismatch for class StreamableStream" issue. Please upgrade if you have this issue. Then, tell me if it works.

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

                A SketchUp 2021 user reported that Material Browser v1.0.6 conflicts with SketchUcation ExtensionStore. You can't enable these plugins at same time because they use the same Zip library.
                I'm looking for a solution...

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

                  1.0.7 version fixes "TypeError: superclass mismatch for class StreamableStream" issue. Material Browser plugin is now compatible with SketchUcation ExtensionStore plugin.

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

                    1.0.8 version fixes "special chars in material name" issue. For example: a material named "<auto>1" doesn't cause anymore a missing thumbnail.

                    1 Reply Last reply Reply Quote 0
                    • judedouchJ Offline
                      judedouch
                      last edited by

                      Thank you for your two above, prompt actions. It’s greatly appreciated.

                      judedouch

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

                        1.0.9 version improves user experience. You don't need anymore to reopen Material Browser UI after you've checked "Display only model materials", etc.

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          EvilBoris
                          last edited by

                          Amazing!
                          Thanks for letting me know you fixed the extension store issue 😄 😄

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

                            Something weird is going on with your extension for some users...
                            It's reported over at SketchUp.com
                            It seems to be copying/moving its zip.rb and zip folder from your ../Libraries/ subfolder into the Plugin folder.
                            First off it looked like SCF toolset doing this, as it has a similar Rubyzip set up, bt it seems to narrow down to you !
                            Ideas ??
                            https://forums.sketchup.com/t/what-is-zip-in-extension-manager-can-i-uninstall-it/172133

                            TIG

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

                              @unknownuser said:

                              My bad. Old versions of material_browser.rbz file include Rubyzip library at root… That’s why there’s a zip.rb file and a zip folder at root of Plugins folder. You can safely uninstall the “zip” library with native Extension Manager. Then, if you want to continue to use Material Browser plugin: upgrade it. New versions of Material Browser plugin include Rubyzip library in a proper way.

                              Source: https://forums.sketchup.com/t/what-is-zip-in-extension-manager-can-i-uninstall-it/172133/29

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

                                Thanks for the explanation and the fix...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  db-3d
                                  last edited by

                                  Is it possible to create a custom filter? I'm doing work for a client that has unique filters for different material types. I have the material library created (over 200 materials) but would like to filter it for specifics like "wall covering", tile wall, tile floor, fabric, concrete, plastic, window film, etc.

                                  I want to hand this to the team with the filters the other designers uses and not these defaults.

                                  -Daniel Brown: SketchUp & Google Earth Trainer
                                  http://db-3d.com: design|modeling|training|consulting

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

                                    If I understand well, you use a custom collection of .skm files?

                                    Today, plugin categorizes materials automatically depending on a subtype-type dictionary... For example: "D:\Textures\Floor\Red Marble 02.skm" is categorized automatically in "Stone" because of "Marble" word.

                                    Do you think it would be more relevant if plugin categorizes materials depending on filesystem hierarchy? We could filter materials by categories with a classic tree view at left.

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

                                      Next version of Material Browser plugin will support Poly Haven's PBR textures, on SketchUp 2025:

                                      SketchUp Material Browser Plugin - Poly Haven PBR Texture Preview.png

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

                                        Yummy. Great feature to add.

                                        Download the free D'oh Book for SketchUp 📖

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

                                        Advertisement