• Login
sketchucation logo sketchucation
  • Login
โ„น๏ธ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Random Painter (Updated March 9th, 09)

Scheduled Pinned Locked Moved Plugins
73 Posts 23 Posters 108.5k Views
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.
  • C Offline
    Chris Fullmer
    last edited by Chris Fullmer 8 Feb 2009, 00:09

    Random Painter (Chris Fullmer Tools)
    Pretty straightforward. This script works by using the selected geometry and painting it. The user has to first choose the colors to be used from a color palette. This needs something called WxSU Ruby to work. So please download and install it first. Once the colors are input, the script finds all the faces and then paints them randomly from the previously input colors.

    The video shows how I use it, and it also shows how to use it with "Make Unique" and "Combine Textures" which are built into to SU version 7.

    [flash=812,612:21l5w7ia]http://www.chrisfullmer.com/forums/Random_Color.swf[/flash:21l5w7ia]
    After the 2:10 mark, I just show how to use Make Unique and Combine Textures, its not really about the plugin at that point.

    Also, known bugs: If you type in stuff other than RGB values, it might crash the whole script or else they will just get ignored and not paint anything on some faces. Also, I think I coded it wrong because the cancel button doesn't work - oops! I might have to go back and figure that out, because it should defintely work.

    Hope that helps, and dont pay any attention to my inability to type and talk in the video ๐Ÿ˜„

    Chris

    Download the required wxsu if you don't have it

    OR there is now a non-wxsu version included below. It is a little slower to use, but it works pretty good.


    v1.1


    No WxSU version

    Lately you've been tan, suspicious for the winter.
    All my Plugins I've written

    1 Reply Last reply Reply Quote 0
    • G Offline
      gaganraj
      last edited by 8 Feb 2009, 00:45

      that is really cool. its like making procedural textures in modo or lightwave!

      1 Reply Last reply Reply Quote 0
      • C Offline
        Chris Fullmer
        last edited by 8 Feb 2009, 00:50

        Pilou, I have a feeling it is painting the other side of the face. I think it only paints the front side of the face.

        And to get out of the RGB input, just click ok with nothing entered in the boxes. If it applies color that you don't want, then undo it. I need to figure out better how to get the cancel to work right - sorry ๐Ÿ˜ž

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • P Offline
          pilou
          last edited by 8 Feb 2009, 00:53

          Amazing โ˜€
          Some connections possible with this script CheckerBoard Painting in developpment by Todd Burch?

          Don't work with this?
          Is that normal? (I had of course selected all facets ๐Ÿ˜‰

          Even another figure ๐Ÿ˜ฎ
          How do you make the first drawing?

          And only Alt +Ctrl + Del for stop ๐Ÿ˜‰


          hum.jpg

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • P Offline
            pilou
            last edited by 8 Feb 2009, 01:27

            Another thing!
            That will be very useful too to apply the colors pallet without randomize! โ˜€
            By Orgelf

            http://i43.tinypic.com/rvzzae.jpg

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

            1 Reply Last reply Reply Quote 0
            • P Offline
              pilou
              last edited by 8 Feb 2009, 01:49

              You absolutely right that work fine!!! ๐Ÿ˜Ž
              Just inverse faces and all works like a charm for any drawing surfaces!!! โ˜€
              Todd is defeated ๐Ÿ’š You are brutal with him ๐Ÿ˜„


              paint.jpg

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

              1 Reply Last reply Reply Quote 0
              • P Offline
                pilou
                last edited by 8 Feb 2009, 01:50

                Man that is very fun! ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘
                Using Zorro2 is perfect!!! ๐Ÿ˜Ž

                Now you must permit to choose between colors paletts!
                Because it's very painful to enter by hand some colors!

                Ruby technical state is ended, now artistic step begin ๐Ÿ˜Ž

                Phone Todd to stop his script! ๐Ÿ˜†


                paint2.jpg

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Ecuadorian
                  last edited by 8 Feb 2009, 01:59

                  Wow, thank you, Chris!
                  In a minute I'll show you what I wanted this for...

                  -Miguel Lescano
                  Subscribe to my house plans YouTube channel! (30K+ subs)

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    Chris Fullmer
                    last edited by 8 Feb 2009, 02:26

                    @unknownuser said:

                    Todd is defeated! You are brutal with him ๐Ÿ˜„

                    No, its not like that. Todd's script does a lot more thinking than mine. His works so that every other face is painted to create a checkerboard pattern. Mine will do no such thing. Mine just randomly paints the faces. Both have their uses.

                    I know of a ruby add-on that gives a color wheel thing. I'm going to try and see if I can figure out how to get it to work with this plugin so you can use a color wheel to pick the colors instead of typing them all in by hand. I make no promises on this one though,

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      Ecuadorian
                      last edited by 8 Feb 2009, 04:38

                      Here are a few more views:

                      High_rises15.jpg
                      High_rises16.jpg
                      High_rises17.jpg
                      High_rises18.jpg

                      And here's the thread that inspired this exercise:
                      http://www.sketchucation.com/forums/scf/viewtopic.php?f=72&t=15785

                      -Miguel Lescano
                      Subscribe to my house plans YouTube channel! (30K+ subs)

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Ecuadorian
                        last edited by 8 Feb 2009, 04:42

                        @unknownuser said:

                        Phone Todd to stop his script! ๐Ÿ˜†

                        Both scripts are very different, each serves a different purpose. I am already thinking of a couple of creative uses for Todd's script, both related to Greeble... You have to see beyond mere colors and into the selection possibilities of these tools.

                        And Pilou, you don't need to worry about entering precise values when using "Random Painter". Just click on the Red box and input "1", hit Enter, then "2", hit Enter, then "3", until you have the number of colors/materials you want. And then replace those "placeholder colors" with Any Colour You Like , one by one, with the Bucket tool + Shift.

                        Almost forgot: Here's the SketchUp file of "Greeble City":


                        SketchUp 7

                        -Miguel Lescano
                        Subscribe to my house plans YouTube channel! (30K+ subs)

                        1 Reply Last reply Reply Quote 0
                        • MALAISEM Offline
                          MALAISE
                          last edited by 8 Feb 2009, 07:01

                          Awsome, the way you do it Chris ๐Ÿ‘ .

                          Ecuadorian, i like very much this city view ;thanks for the trick

                          Pilou, tu es un beta testeur de classe Alpha ๐Ÿ˜„

                          MALAISE

                          La Connaissance n'a de valeur que partagรฉe

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            Chris Fullmer
                            last edited by 8 Feb 2009, 07:42

                            Thanks everyone! And wow!, that is a great usage for the script Ecuadorian! Maybe I'll play around with seeing if there is a way to use a folder of jpgs as the random materials instead of random colors. THen you could put all the building materials into a folder and just choose the folder and off it goes! But that might be over my head, I don't know.

                            But what I wanted to say was that I updated the script!

                            NEW!

                            Now there's a color palette for you to choose your colors from. It also lets you enter RGB values if you'd like. It does not allow for hex numbers though Frenchy, so no copy and paste still. This version requires WxSU plugin . So please install it and then install my plugin and see how it goes, hope you like the improvements. Also, I just added a prompt asking if you want to paint the backside of faces too. If your version doesn't ask that, then redwonload my plugin. It looked like a few people downlaoded the version that did not have that implemented yet.

                            Chris

                            Lately you've been tan, suspicious for the winter.
                            All my Plugins I've written

                            1 Reply Last reply Reply Quote 0
                            • L Offline
                              linea
                              last edited by 8 Feb 2009, 08:49

                              great script, thanks

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pilou
                                last edited by 8 Feb 2009, 09:52

                                New York rebirth โ˜€

                                WxSU Ruby is 2 649 742 size ? ๐Ÿ˜ฎ ๐Ÿ˜ฎ ๐Ÿ˜ฎ (as 2,6 Gigas?)
                                Seems not reasonable loading ๐Ÿ˜„

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by 8 Feb 2009, 10:38

                                  As 2.6 Megas.

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

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kwistenbiebel
                                    last edited by 8 Feb 2009, 10:50

                                    Amazing stuff, Chris.
                                    This plugin comes in handy for an architecture project I am working on.
                                    Thank you very much ! ๐Ÿ‘

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by 8 Feb 2009, 11:15

                                      @ecuadorian said:

                                      This exercise was inspired by a $4,000 program for "parametric" generation of cities I saw on the web. I just wanted to prove that you can "random generate" cities in SketchUp, too. Thank you a lot, Chris, for delivering the missing link to make this possible.

                                      I saw that software as well. Played around with rubies to quickly generate some simple buildings.

                                      With all these various plugins, it should be possible to make a City Generator script which automates the process you just did. What would be more interesting is if there was a script to generate streets in a non-rectangular pattern. Seeing how nearly every city is more organic laid out.

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

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        pilou
                                        last edited by 8 Feb 2009, 11:27

                                        @unknownuser said:

                                        As 2.6 Megas.

                                        Many Thx! โ˜€ Seems more reasonable ๐Ÿ’š
                                        I had asked that because loading was not working till yet for me ๐Ÿ˜ž
                                        Edit : works ๐Ÿ˜„

                                        Frenchy Pilou
                                        Is beautiful that please without concept!
                                        My Little site :)

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kwistenbiebel
                                          last edited by 8 Feb 2009, 12:28

                                          This is how I am using the plugin.

                                          http://i140.photobucket.com/albums/r3/kwistenbiebel1/fragment1-1.jpg

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

                                          Advertisement