SketchUcation Plugin Store

 

 

[Plugin] Component Spray Tool 1.3.

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Sun Aug 24, 2008 8:23 am

the GE Snapshot (which is a horizontal face on 0 z axis) would stop the trees falling under i

Yes. The ruby "raycast" method don't care of hidden layers or entities (no way to get rid of this). You should make a component of your GE snapshot, save it outside your model, delete it in the model, spray your trees, and bring the GE snapshot component back afterwards.
Regards,
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Gaieus » Sun Aug 24, 2008 1:17 pm

If you unlock it and cut it,you can insert it into another model with the Edit > Paste in place command. At the end you can bring it back in the same way to make it sure it is really at the same place.
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27612
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Chris Fullmer » Tue Aug 26, 2008 5:21 pm

Any thoughts on my requests Didier? Look back a few posts. Especially the first one. It's really important to my workflow. Would it be possible to include? Thanks for looking,

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Tue Aug 26, 2008 10:45 pm

Yes, it is possible to include your requests, but you'll have to be patient :bounce:
I'm on a huge project now and I'm afraid I must leave my freebies as they are for a couple of weeks...
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Chris Fullmer » Wed Aug 27, 2008 12:14 am

Oh I can be patient :) I just wanted to make sure you saw my thoughts and would see if they were good ideas or useless. Thanks for looking at it Didier, you're the best!

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby sbthomas » Wed Aug 27, 2008 2:40 pm

Gaieus & Didier;
Using your suggestions I have been able to overcome the issue of spraying in the valleys of GE snapshots. The process is as follows:

Get GE snapshot
toggle terrain
save-as "snapshotname"
unlock terrain
explode terrain
edit>copy terrain
file>new sketchup project
edit>paste-in-place
insert component
spray component
delete terrain
import saved snapshot
place model back to GE

thanks again for your help.
STAN
sbthomas
 
Posts: 4
Joined: Thu Aug 21, 2008 10:12 pm

Re: [Plugin] Component Spray Tool 1.3.

Postby Gaieus » Sat Aug 30, 2008 10:39 am

Hi Stan,

In order to make sure your original terrain remains intact,after the step where you copy it,you can just undo the steps in the original model (the copied version will remain on the clipboard and you can use the paste in place command in the new model to spray the components).
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27612
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby thomthom » Wed Sep 03, 2008 10:50 am

This is one of my absolute favourite rubies. I just detailed a large terrain model with 4000 trees in no time. I would never have gotten such a rich detail to it manually.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17593
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Chris Fullmer » Thu Feb 05, 2009 7:57 am

Hi Didier, I have found that this script is conflicting with progressbar.rb, and therefore crashing all scripts that are using progressbar (makefaces in particular!, but I found the problem while developing my own script). There is a pb.update() method in the progressbar that seems to not work so I'm guessing that is where the conflict is - but I could be WAAAAY off. Thanks Didier!

I was wondering if anyone else could confirm this?

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby thomthom » Mon Jun 15, 2009 1:23 pm

Does it make use of the disable UI argument for .start_operation ?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17593
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Mon Jun 15, 2009 8:11 pm

Does it make use of the disable UI argument for .start_operation ?


No.
Is there still a conflict with progressbar ? :knockout:
I changed the class and methods names to get rid of any conflict in the latest version released. :shock:
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby thomthom » Mon Jun 15, 2009 8:14 pm

It'd be interesting to see what speed this plugin worked at with the SU UI disabled. Any chance of an updated version?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17593
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Chris Fullmer » Mon Jun 15, 2009 8:20 pm

Didier Bur wrote:Is there still a conflict with progressbar ?


Nope! It is working great now with progressbar. Thanks for fixing it so quickly too,

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby milfot » Fri Jul 03, 2009 5:39 am

Wow, this plugin is fantastic!!

Much appreciated... i am off to build a forest.
..cam
milfot
 
Posts: 8
Joined: Tue Jun 09, 2009 2:59 am
Location: ..melbourne

Re: [Plugin] Component Spray Tool 1.3.

Postby denna003 » Mon Sep 14, 2009 12:30 pm

THAnk you very much!!!! ;)
denna003
 
Posts: 1
Joined: Mon Sep 14, 2009 12:15 pm
Name: danilo

Re: [Plugin] Component Spray Tool 1.3.

Postby AcesHigh » Mon Dec 14, 2009 3:57 pm

Didier, is this the last version of your tool?

Can I make a suggestion? It seems the altitude option is too "hard". I mean, I think you could add some dialogue to add a % of chance that components will spray below and above the maximum altitude. That way, they will concentrate on the set altitude, but some of them will spread casually beyond (unless you set the chance of that happening to 0%)
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: [Plugin] Component Spray Tool 1.3.

Postby tomislavm » Wed Dec 16, 2009 8:52 am

Thank You!
Where in Croatia?
tomislavm
 
Posts: 421
Joined: Wed Nov 21, 2007 9:35 am
Location: Croatia,Osijek
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby madhav » Wed Dec 16, 2009 9:18 am

Thanks a lot
madhav
 
Posts: 85
Joined: Mon Dec 08, 2008 1:14 pm
Location: India
Name: Madhav

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Wed Dec 16, 2009 10:13 pm

Where in Croatia?


Pisak, that's 40kms South of Split and 20kms North of Makarska.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby tomislavm » Thu Dec 17, 2009 8:42 am

Nice place for vacation!
tomislavm
 
Posts: 421
Joined: Wed Nov 21, 2007 9:35 am
Location: Croatia,Osijek
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby alsenhawk » Thu Dec 17, 2009 2:12 pm

Thank you,that's what i m looking~
alsenhawk
 
Posts: 3
Joined: Thu Dec 17, 2009 1:55 pm
Name: Al Hawk

Re: [Plugin] Component Spray Tool 1.3.

Postby arjunmax09 » Thu Feb 25, 2010 2:23 pm

rv1974 wrote:Didier thanks for your efforts!
One can get interesting things with new vertice mode.

[URL=http://g.imageshack.us/g.php?h=212&i=screenshot060qi3.jpg][IMG]http://img212.imag
But there's bug in vertex+no to keep vertical . It's not working (see lonely cylinder over mesh, in all other cases components stay vertical)
To "keep vertical" unchecked will result the component to be placed vertical to mesh, it'll work this way, right?
P.S. I'm not programmer (my wife is- it's enough for one family) but you're one step from "spray along vertices of curve" ? ;)
P.P.S. Do you shine in ruby field only or there are some lisp routins of yours?




hey!!! how did you create the cool DNA model man???!!!... i mean the perfect spiral thing... which plugin did you use???
when you fail at something....you haven't really failed...you've found one way the thing will not work out
arjunmax09
Banned
 
Posts: 265
Joined: Wed Jan 27, 2010 11:02 am
Location: Delhi, India
Name: Arjun

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Fri Feb 26, 2010 12:23 am

Hi

Do you shine in ruby field only or there are some lisp routins of yours?

I was used to code in Autolisp years ago, and now I'm learning Javascript along with Unity3D. :P
Regards
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby arjunmax09 » Sun Mar 07, 2010 1:27 pm

didier... your compo spray is interfering with the progressbar script.. any improvements you've made to compo spray so that it doesn't do the progressbar thing??
when you fail at something....you haven't really failed...you've found one way the thing will not work out
arjunmax09
Banned
 
Posts: 265
Joined: Wed Jan 27, 2010 11:02 am
Location: Delhi, India
Name: Arjun

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Sun Mar 07, 2010 4:37 pm

Hi

any improvements you've made to compo spray so that it doesn't do the progressbar thing?


I though I had done this several monthes ago, but just in case see page 1 of this thread and download the latest version. The spray uses its own progress bar class named "sprayprogressbar", so there should not be any conflict with other plugin(s).
If the problem persists, not my fault anymore ;)
Regards,
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby arjunmax09 » Mon Mar 08, 2010 5:02 am

um.. didier ... there's no ruby file in the latest update... there's one rbs file and one pdf file... where did the plugin go man...??? :roll: The rbs file is in the following folder.....

Utilisateurs\Bur\Exercices\Ruby\Component_airbrush

checked both the english and french versions.. both the archives contain the same files....please help... :(
when you fail at something....you haven't really failed...you've found one way the thing will not work out
arjunmax09
Banned
 
Posts: 265
Joined: Wed Jan 27, 2010 11:02 am
Location: Delhi, India
Name: Arjun

Re: [Plugin] Component Spray Tool 1.3.

Postby Chris Fullmer » Mon Mar 08, 2010 5:22 am

.rbs is a plugin. It is the extension put on encrypted plugins.

Didier, we are running into problems where it appears that this script is breaking progressbar again. I know you fixed it up perfectly quite a while ago. did it revert back somehow to a version that no longer works? Or do you think that it should still be working correctly and that perhaps it is something else messing up progressbar? Any thoughts?

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6685
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby maymay » Mon Mar 08, 2010 10:00 pm

I get an error when SketchUp starts:

Code: Select all
Error Loading File compo_spray.rb
C:/Program Files/Google/Google SketchUp 6/Plugins/compo_spray.rb:1: no .<digit> floating literal anymore; put 0 before dot
RBS1.0
     ^
C:/Program Files/Google/Google SketchUp 6/Plugins/compo_spray.rb:1: syntax error
RBS1.0
      ^
C:/Program Files/Google/Google SketchUp 6/Plugins/compo_spray.rb:1: Invalid char `\030' in expression


Any ideas? I'd really like to try this out.

Thanks!
maymay
 
Posts: 8
Joined: Fri Feb 12, 2010 7:25 pm
Name: Mason Morton

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Tue Mar 09, 2010 9:40 pm

Hi,

Hem, hem, it seems we have some problems with the scrambler now...
I've uploaded the latest RB version, in which there's NO progressbar class. I suppose there's a conflict with another plugin than this one.
Sorry for the inconvenience with the RBS.
Regards,
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby rangrstudio » Thu Apr 08, 2010 12:10 am

Hi I'm trying to install this on Mac with Sketchup 7.
The compo_spray.rb is in the Plugins folder, but I'm not seeing it in the plugins menu. Have reinstalled SKP 7 from scratch, then unzipped the zip file in the plug-ins folder per instructions but nothing.
Is it not mac compatible?

EDIT: I tried it on a windows machine (XP with SKP 7) and I couldn't get it to work there either. The zip contains "compo_spray.rb" and the pdf file. Is there something missing? Thanks for any help.
rangrstudio
 
Posts: 2
Joined: Mon Apr 05, 2010 8:35 pm
Name: rangrstudio

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: johndesigner2704, JTubb, noitac, openspaces, radiacor, rv1974, wijvamaral, zlosnica and 17 guests