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

    [Plugin] Material_Maintenance v2.2 - 2013-01-13

    Scheduled Pinned Locked Moved Plugins
    155 Posts 19 Posters 49.5k Views 19 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.
    • thomthomT Offline
      thomthom
      last edited by

      @myhand said:

      • Calls from JS to Ruby, i.e. window.location.href = "skp:xxx" are not synchronous on the MAC, nor are they buffered. In short this means that you can loose calls if they are made in quick succession. I had to create a JS side call stack/event pump

      http://sketchucation.com/forums/viewtopic.php?f=180&t=23445

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

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

        @thomthom said:

        http://sketchucation.com/forums/viewtopic.php?f=180&t=23445

        Ahaa, the lost manual indeed! πŸ‘

        http://www.keepingmyhandin.com/

        1 Reply Last reply Reply Quote 0
        • Bob JamesB Offline
          Bob James
          last edited by

          I have three plugins that claim to change materials:

          1. Global Material Change
          2. Repaint
          3. Material Maintenance.

          Last night I thought I'd give all of them a try to see which is best.
          I had a transparent material and wanted to change it to a chain-link fence material.

          Global Material Change did nothing.
          Material Maintenance did nothing.
          Repaint fixed it as requested.

          I was really disappointed that Material Maintenance did not work. 😞

          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

            Got a sample model?

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

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

              This could be due to the object_id bug for large models where the id's can get garbage collected. I have fixed this already and will release shortly, but a sample model would be useful or at least some info on where the material was applied to, what settings you used etc.

              http://www.keepingmyhandin.com/

              1 Reply Last reply Reply Quote 0
              • Bob JamesB Offline
                Bob James
                last edited by

                This is the file I used


                Fence 2012-12-10.skp

                i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

                  @bob james said:

                  This is the file I used

                  Thanks Bob. Which material did you try and replace and with what? Which options did you select "Apply to" section? I just replaced metal128 with beige on Front faces, Back Faces and Edges, and that worked fine on the latest bug fix version.

                  http://www.keepingmyhandin.com/

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

                    Hi Bob, I have just done the same test with the current release version. 2.1.1 and it also worked. It would also help if you can send a screen shot so I can see which settings you used.

                    http://www.keepingmyhandin.com/

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

                      For those that are interested here is a link to my call buffer implementation to get past the call synchronisation problem on a MAC.

                      Works pretty well and fixes the last bug I had on the MAC. I will now tidy up and release the new version tomorrow.

                      http://www.keepingmyhandin.com/Downhome/Sketchup/callbuffertosolvewebdialogtorubysynchronisationproblemsonmac

                      http://www.keepingmyhandin.com/

                      1 Reply Last reply Reply Quote 0
                      • Bob JamesB Offline
                        Bob James
                        last edited by

                        All of the fence originally had a transparent material. I changed them all to the chain-link fence material. I just used the default selections.

                        i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

                          @bob james said:

                          All of the fence originally had a transparent material. I changed them all to the chain-link fence material. I just used the default selections.

                          Did you select the "Front Faces" and "Back Faces" check boxes at the bottom of the screen under "Apply to"? None of these are selected by default.

                          http://www.keepingmyhandin.com/

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            cadmenow
                            last edited by

                            Thank you for such a plug in. I notice that in the download page, there is still v1.0 icon with hyperlink, when you click it, it opens a blank error page...

                            Anyway, I succeed to download by clicking little arrow but I just want you know about that v1.0 issue,

                            Thanks again!

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

                              @cadmenow said:

                              Thank you for such a plug in. I notice that in the download page, there is still v1.0 icon with hyperlink, when you click it, it opens a blank error page...

                              Anyway, I succeed to download by clicking little arrow but I just want you know about that v1.0 issue,

                              Thanks again!

                              Very glad you find it useful πŸ˜„

                              The v1.0 is a "feature" of file attachment widget I use to upload the files. It specifies the version of the file, not the the application. As I only uploaded the .rbz file once file versuon is v1.0. As you say you have to click the little arrow to download the file.

                              Unfortunately I cannot switch it off.

                              Did the plugin work for you?

                              http://www.keepingmyhandin.com/

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

                                I have just released Version 2.2.0 of the plugin. It contains bug fixes for all known outstanding issues. I recommend that you upgrade as it contains a fix for the the key bug which can cause replacements to fail silently on larger models.

                                You can download it from the usual place.

                                https://sites.google.com/a/keepingmyhandin.com/blogsite/Downhome/Sketchup/material_maintenance_2

                                http://www.keepingmyhandin.com/

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

                                  Nice.

                                  Can you also update the title of this thread?

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

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

                                    @thomthom said:

                                    Nice.

                                    Can you also update the title of this thread?

                                    Thanks for the reminder πŸ‘ All updated now.

                                    http://www.keepingmyhandin.com/

                                    1 Reply Last reply Reply Quote 0
                                    • OxerO Offline
                                      Oxer
                                      last edited by

                                      I have tested the last version 2.2.0 and it works fine on Mac OSX 10.8.2 and SU 8.
                                      Thanks for the effort!! πŸ‘

                                      "The result is the end what is important is the process" by Oxer
                                      [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        matt.gordon320
                                        last edited by

                                        Hey everybody, just a head's up.

                                        I had just installed the Sefaira Concept Plugin (conceptual energy analysis in SU) on my system, and it completely broke Material Maintenance (both v2.2.0 & v2.1.1. I've tested it on several other machines and got the same result. When I try to load Material Maintenance, the screen and cursor flicker slightly as if it's trying to load, and then never do. It doesn't crash, it just can't load.

                                        Just fyi,

                                        Matt

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

                                          Hmm... this sounds like observers and/or overwritten API methods...

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

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            matt.gordon320
                                            last edited by

                                            @thomthom said:

                                            Hmm... this sounds like observers and/or overwritten API methods...

                                            I thought it might be something like it not being encased in its own namespace (I've been reading your blog a lot πŸ˜„ ), but 1. it's a .rbs, 2. I don't know enough to be able to diagnose anything like that.

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

                                            Advertisement