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

    [Plugin] Material Tools

    已排程 已置頂 已鎖定 已移動 Plugins
    123 貼文 43 Posters 148.2k 瀏覽 43 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • D 離線
      dedmin
      最後由 編輯

      As far as I tried - yes.

      1 條回覆 最後回覆 回覆 引用 0
      • thomthomT 離線
        thomthom
        最後由 編輯

        Ok - I'll see if I can make a debug version to detect where it splats.

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

        1 條回覆 最後回覆 回覆 引用 0
        • R 離線
          ray678
          最後由 編輯

          thanks for sharing

          1 條回覆 最後回覆 回覆 引用 0
          • spenceS 離線
            spence
            最後由 編輯

            This is a great plugin Thomas, thanks 😄

            Spence

            1 條回覆 最後回覆 回覆 引用 0
            • N 離線
              nektares
              最後由 編輯

              Thanks ThomThom! your plug-ins are really cool!

              1 條回覆 最後回覆 回覆 引用 0
              • B 離線
                bentleykfrog
                最後由 編輯

                Great plugin thomthom, nice work, only wish remove by selection would remove the materials applied to faces and groups/components inside selected groups/components, and components in selection are made unique.

                1 條回覆 最後回覆 回覆 引用 0
                • Rich O BrienR 線上
                  Rich O Brien Moderator
                  最後由 編輯

                  I'm not getting 'Remove Material from selection' to work?

                  Download the free D'oh Book for SketchUp 📖

                  1 條回覆 最後回覆 回覆 引用 0
                  • thomthomT 離線
                    thomthom
                    最後由 編輯

                    @unknownuser said:

                    I'm not getting 'Remove Material from selection' to work?

                    Errors in the console?

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

                    1 條回覆 最後回覆 回覆 引用 0
                    • Rich O BrienR 線上
                      Rich O Brien Moderator
                      最後由 編輯

                      My bad...

                      Error; #<NameError; undefined local variable or method `ents' for TT;;Plugins;;MaterialTools;Module>
                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;270;in `remove_all_from_selection'
                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;256;in `each'
                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;256;in `remove_all_from_selection'
                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;62
                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/recurve.rb;17;in `call'
                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/recurve.rb;17
                      

                      Download the free D'oh Book for SketchUp 📖

                      1 條回覆 最後回覆 回覆 引用 0
                      • Rich O BrienR 線上
                        Rich O Brien Moderator
                        最後由 編輯

                        Actually I just noticed that right clicking produces this error

                        Error; #<LocalJumpError; unexpected return>
                        (eval);106;in `load'
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;270;in `call'
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;270
                        

                        Download the free D'oh Book for SketchUp 📖

                        1 條回覆 最後回覆 回覆 引用 0
                        • Rich O BrienR 線上
                          Rich O Brien Moderator
                          最後由 編輯

                          Sorry this error

                          Error; #<LocalJumpError; unexpected return>
                          (eval);106;in `load'
                          (eval);106;in `call'
                          (eval);106
                          

                          Download the free D'oh Book for SketchUp 📖

                          1 條回覆 最後回覆 回覆 引用 0
                          • Rich O BrienR 線上
                            Rich O Brien Moderator
                            最後由 編輯

                            I think the problem is with Recurve? i'm getting all sorts of errors when I right click

                            Download the free D'oh Book for SketchUp 📖

                            1 條回覆 最後回覆 回覆 引用 0
                            • Rich O BrienR 線上
                              Rich O Brien Moderator
                              最後由 編輯

                              Problem isn't Recurve as I've removed it....

                              Error; #<NameError; undefined local variable or method `ents' for TT;;Plugins;;MaterialTools;Module>
                              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;270;in `remove_all_from_selection'
                              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;256;in `each'
                              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_material_tools.rb;256;in `remove_all_from_selection'
                              C;/Program Files (x86)/Google/Google SketchUp 
                              

                              Download the free D'oh Book for SketchUp 📖

                              1 條回覆 最後回覆 回覆 引用 0
                              • thomthomT 離線
                                thomthom
                                最後由 編輯

                                Stop breaking things!

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • Rich O BrienR 線上
                                  Rich O Brien Moderator
                                  最後由 編輯

                                  They call me Mr.Glass

                                  Download the free D'oh Book for SketchUp 📖

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • thomthomT 離線
                                    thomthom
                                    最後由 編輯

                                    As a DIY quick-fix - change
                                    if ents.respond_to?( :back_material )
                                    to
                                    if e.respond_to?( :back_material )

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

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • Rich O BrienR 線上
                                      Rich O Brien Moderator
                                      最後由 編輯

                                      Sorted 👍

                                      Now I'll break something else

                                      Download the free D'oh Book for SketchUp 📖

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • thomthomT 離線
                                        thomthom
                                        最後由 編輯

                                        Go'n run with scissors or something...

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

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • P 離線
                                          Pherim
                                          最後由 編輯

                                          I like find this plugin very useful, especially the possibility to transfer the instance material to the faces inside the group or component, but that results in the backfaces also being painted. But sometimes I just want all the instance material gone as I sometimes accidentally assign a material to a group or component and later I can't find it any more. This is especially annoying if the material is not used any more in the rest of the model but remains in the material browser and doesn't get purged. I tried removing all backface materials after transferring the instance material but that resulted in also losing all backface materials I assigned intentionally. Is there a way to simply remove all instance materials?

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • J 離線
                                            jorge2011
                                            最後由 編輯

                                            Hello sr thomthom.
                                            I think I'm doing something wrong or is there a bug in the plugin.
                                            1 - Remove From Selection.
                                            Error: # undefined local variable or <NameError: ents' method for TT::Plugins::MaterialTools:Module> C: / Program Files / Google / Google SketchUp 8/Plugins/tt_material_tools.rb: 270: in remove_all_from_selection '
                                            😄 / Program Files / Google / Google SketchUp 8/Plugins/tt_material_tools.rb: 256: in each ' C: / Program Files / Google / Google SketchUp 8/Plugins/tt_material_tools.rb: 256: in remove_all_from_selection '
                                            😄 / Program Files / Google / Google SketchUp 8/Plugins/tt_material_tools.rb: 62
                                            add
                                            Groups only erases materials or components. If you edit a component or group and select faces and edges were deleted material.
                                            If I select faces or edges that are not in a group or component, the materials are not deleted.
                                            If I select a group / component, which contains within groups / components nested, the materials are not deleted.
                                            if I apply a material to a group / component and other material to the face that contains this group, only delete the material applied inside to the faces in the group / component

                                            2 - Remove Specific Material
                                            only works with colors. Textured materials does not work.
                                            In addition, when shown the list of materials to remove, it only shows the name of the texture of the material, rather than the name of the material

                                            is possible to solve this problem.
                                            Thank you very much for your time

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 3 / 7
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement