• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Random colors using predefined colors

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
5 Posts 3 Posters 555 Views 3 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.
  • A Offline
    altab
    last edited by altab 26 Dec 2012, 16:20

    Hi,

    How to color randomly ( using a ruby script) the elements using the prediefined colors as in the picture below

    I've tried the plugin (color by group) but couldn't find the way to use the predefined colors ?

    colors.JPG

    1 Reply Last reply Reply Quote 0
    • J Offline
      jeff hammond
      last edited by 26 Dec 2012, 16:30

      use this plugin by Chris Fullmer:

      http://sketchucation.com/forums/viewtopic.php?t=16484

      random painter

      dotdotdot

      1 Reply Last reply Reply Quote 0
      • C Offline
        Chris Fullmer
        last edited by 26 Dec 2012, 18:24

        I've also got another one that can be useful. Paint a face with each color that you want to use. Then select those painted faces and all the faces you want to paint with those colors and run my Extrapolate Colors script. It will find all the colors in the selection and randomly apply them to all faces that do not already have a color.

        http://sketchucation.com/forums/viewtopic.php?t=21455

        And if you paint one color on 10 faces and a different color on 1 face and run the script, it will keep the weighted color preference - it will paint the color 10 times as often as the other color. I use it often for randomly painting pavers and bricks and mosaic tiles.

        Chris

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

        1 Reply Last reply Reply Quote 0
        • A Offline
          altab
          last edited by 26 Dec 2012, 19:33

          Even better. Thanks for the scripts Chris.

          1 Reply Last reply Reply Quote 0
          • A Offline
            altab
            last edited by 26 Dec 2012, 21:47

            It's Perfect, thank you.

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

            Advertisement