SketchUcation Plugin Store

 

 

[Plugin] RandomSelect.rb - Corrected

[Plugin] RandomSelect.rb - Corrected

Postby TIG » Fri Feb 29, 2008 11:12 am

I uploaded a duff file for RandomSelect BUT because the regime is to make posts in the depository locked (?) I can't edit it or correct it. I've asked for it to be removed... and it's gone !

Here's the correct file.

It is a variant of RandomDelete.rb. It takes the selection and randomly samples the selection to the % entered in the dialog - e.g. 10%.

You can then do what you want with the now selected items - such as colour, copy, cut, move etc...

(If you downloaded yesterday's duff one please accept my apologies and get this new one...)
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13923
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] RandomSelect.rb - Corrected

Postby plot-paris » Tue Jul 15, 2008 10:22 am

as simple as it works - this is a deadly useful script, TIG.

thank you very much for sharing :thumb:
User avatar
plot-paris
 
Posts: 1553
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] RandomSelect.rb - Corrected

Postby pav_3j » Tue Jul 15, 2008 10:37 am

tasty

thank you

pav
Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.
pav_3j
 
Posts: 654
Joined: Tue Jan 08, 2008 5:40 pm
Location: canterbury, uk
Name: Luciano

Re: [Plugin] RandomSelect.rb - Corrected

Postby troyhome » Wed Nov 11, 2009 3:21 am

I just downloaded this and used it and it is great!! Thanks very much for this script!!!
Etch-A-Render
SU Pro 8.0.4810 Mac/ SU Pro 8.0.4811 PC
Thea: (MacOSX 32bit) RV481_v1.0.7 (SU2TH .86)/ (PC 64bit) RV481_v1.0.7 (SU2TH .86)
Vray: VfSU 1.49.01
troyhome
 
Posts: 283
Joined: Sun Mar 09, 2008 1:21 am
Location: Michigan
Name: Troy
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] RandomSelect.rb - Corrected

Postby plot-paris » Wed Nov 11, 2009 11:18 am

really a great script.
just in case you get bored, TIG :D some suggestions for a RandomSelect 2.0:

- some sort of soft selection (selection of nearly 100% at the centre and 0% at the outer areas of a circle... or selection density gradually fading from one side to the other).

soft_selection.jpg


- or bitmap selection: load a bitmap file and use the grey values for selection density...

- several selection sets out of one selection: you select all the entities and then, using the script, select only lets say 25% of them. now you transform/move/paint them. then you click the selection button again and get the next 25% of the initial selection... and then the next 25%... and finally the remaining 25%...
(at the moment I am using a hidden layer, moving the transformed entities to that layer after each step)

what do you think? usefull ideas?
Please, register (free) to access all the attachments on the forums.
User avatar
plot-paris
 
Posts: 1553
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] RandomSelect.rb - Corrected

Postby kwistenbiebel » Wed Nov 11, 2009 12:26 pm

plot-paris wrote:what do you think? usefull ideas?

Very!
kwistenbiebel
 
Posts: 2666
Joined: Thu Nov 22, 2007 6:13 pm

Re: [Plugin] RandomSelect.rb - Corrected

Postby AcesHigh » Tue Dec 15, 2009 2:54 pm

hey Tig, you could implement Plot Paris ideas... as well as including an option for the automatic Component Swap thing I talked on the other thead :)
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: [Plugin] RandomSelect.rb - Corrected

Postby rami.derbel » Thu Mar 21, 2013 12:12 pm

thank you very much, your plug-in is very useful ^^
rami.derbel
 
Posts: 1
Joined: Mon Oct 24, 2011 4:10 pm
Name: rami Derbel

Re: [Plugin] RandomSelect.rb - Corrected

Postby Skeletor » Wed Apr 24, 2013 3:16 am

Thank you thank you thank you! I've been trying to find a work around for applying random colors to like components in a group. I have about 28,500 of these individual components all needing to be more or less randomly colored from a 6 color palette, this has saved me days of clicking, wonderful plugin!
Skeletor
 
Posts: 2
Joined: Wed Apr 27, 2011 9:45 am

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need Authorised SketchUp Training by experts in various disciplines? Check out our Training details.

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: Acheampong, antonio.calvo, CadFather, Dave R, gullfo, mitcorb, Rich O Brien, TCDIT, TIG and 13 guests