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

    Random colors using predefined colors

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    5 Posts 3 Posters 558 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

      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
      • jeff hammondJ Offline
        jeff hammond
        last edited by

        use this plugin by Chris Fullmer:

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

        random painter

        dotdotdot

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          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

            Even better. Thanks for the scripts Chris.

            1 Reply Last reply Reply Quote 0
            • A Offline
              altab
              last edited by

              It's Perfect, thank you.

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

              Advertisement