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

    [Plugin] Blackout

    Scheduled Pinned Locked Moved Plugins
    23 Posts 15 Posters 22.6k Views 15 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.
    • MALAISEM Offline
      MALAISE
      last edited by

      THanks Thomthom

      Back to the forum after a while and discovering new rubies 😄 😄

      MALAISE

      La Connaissance n'a de valeur que partagée

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

        can you please show some pics on how to use, and what for ?
        that would be great
        thanks in advance

        1 Reply Last reply Reply Quote 0
        • S Offline
          sepo
          last edited by

          Would it be possible to include transparency of .png . Give you an example. If you for instance have a .png tree in front of the material than tree should go black instead of rectangle. It would make life much easieer if possible.
          Thanks

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

            Nope. Can't read transparency info. If I had access to the V-Ray maps I could have replaced the texture with the alpha texture - but I don't have access to that either.

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

            1 Reply Last reply Reply Quote 0
            • S Offline
              sepo
              last edited by

              Thanks for the reply.

              1 Reply Last reply Reply Quote 0
              • xiombargX Offline
                xiombarg
                last edited by

                This is actually another really good plugin for character and product design and a standard feature of high end modelling programs. Animation modelling programs implement this feature to help the designer get a better idea of a characters posture and demeanor which subtly reflects their personality. Product designers also use it for similar purposes.

                Probably is a good idea to do a quick save before using it though, just in case.

                1 Reply Last reply Reply Quote 0
                • onzkiO Offline
                  onzki
                  last edited by

                  Hi I know it's an old thread. Is there a way to customize the color, instead of black maybe something else, like red or any RBG code? Thanks!


                  [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

                  1 Reply Last reply Reply Quote 0
                  • Didier BurD Offline
                    Didier Bur
                    last edited by

                    Hi onzki,

                    Go to your 'Plugins' folder and open 'blackout.rb' in a pure text editor (Notepad++ for instance).

                    Search for lines like this one:

                    material.color = 'Black'
                    

                    Replace 'Black' with the color you want, like 'red', 'green', 'blue' and so on.

                    Lines to be modified are: 42, 69,91, if i'm not mistaken.

                    The names of available colors can be found on this page:
                    https://ruby.sketchup.com/Sketchup/Color.html

                    To customize the color with RGB values will be a little longer to explain 😉
                    Save the file blackout.rb, quit SketchUp and restart.

                    Regards,

                    DB

                    1 Reply Last reply Reply Quote 0
                    • Didier BurD Offline
                      Didier Bur
                      last edited by

                      Hi, me again,

                      Here is an enhanced version with which you can select your color in a list.
                      Menu can still be found in the 'Extensions' menu but I've put the 3 options in a sub-menu to spare your menu space 😉
                      Hope Thomthom won't mind if I modified his script.

                      blackout_dialog.jpg
                      blackout_menu.jpg

                      Regards,


                      blackout.rb

                      DB

                      1 Reply Last reply Reply Quote 0
                      • onzkiO Offline
                        onzki
                        last edited by

                        @didier bur said:

                        Hi, me again,

                        Here is an enhanced version with which you can select your color in a list.

                        Regards,

                        Amazing! Big Thanks! 😄 👍


                        [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

                        1 Reply Last reply Reply Quote 0
                        • 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