• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Randomizing components

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
4 Posts 3 Posters 161 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.
  • C Offline
    Catsmeat
    last edited by 12 Nov 2009, 19:25

    Is it possible to make a dynamic component (or maybe a ruby script) that randomly changes between a number of predefined shapes when I make copies of it. For instance I could have 5 different kinds of trees baked into the same component, and when when I make 20 copies of this component I would like each of them to randomly assign one of the tree-shapes from 1-5. This would be awfully handy.

    Thanks.
    πŸŽ‰ πŸŽ‰ πŸŽ‰

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 12 Nov 2009, 19:28

      @catsmeat said:

      Is it possible to make a dynamic component (or maybe a ruby script) that randomly changes between a number of predefined shapes when I make copies of it. For instance I could have 5 different kinds of trees baked into the same component, and when when I make 20 copies of this component I would like each of them to randomly assign one of the tree-shapes from 1-5. This would be awfully handy.

      Thanks.
      πŸŽ‰ πŸŽ‰ πŸŽ‰

      Sounds like you want Component Spray: http://forums.sketchucation.com/viewtopic.php?f=180&t=11746

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

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gaieus
        last edited by 12 Nov 2009, 19:28

        Hi Thom... πŸ˜• beat me... πŸ˜‰

        That would be Didier's Component spray tool (but you are underestimating its capabilities with your too modest wish) πŸ˜‰
        http://forums.sketchucation.com/viewtopic.php?f=180&t=11746

        Gai...

        1 Reply Last reply Reply Quote 0
        • C Offline
          Catsmeat
          last edited by 12 Nov 2009, 19:41

          Thanks for the quick replys guys! I'll check that spray tool out right away.

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

          Advertisement