SketchUcation Plugin Store

 

 

[Plugin] Component Spray Tool 1.3.

Re: [Plugin] Component Spray Tool 1.3.

Postby TIG » Thu Apr 08, 2010 9:14 am

If you read the PDF help file you'd see that Component Spray Tool is accessed from a pop-out menu in Draw Menu NOT the Plugins Menu !
CStool.png
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13919
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] Component Spray Tool 1.3.

Postby rangrstudio » Tue Apr 13, 2010 12:34 am

TIG wrote:If you read the PDF help file you'd see that Component Spray Tool is accessed from a pop-out menu in Draw Menu NOT the Plugins Menu !
CStool.png


Thank you! I guess I should read the whole manual...

This is an amazing tool.
rangrstudio
 
Posts: 2
Joined: Mon Apr 05, 2010 8:35 pm

Re: [Plugin] Component Spray Tool 1.3.

Postby Frederik » Fri May 07, 2010 6:28 pm

This is a GREAT tool...
Would it be possible to make an option, where components sprayed don't intersect with each other...??
It's possible to prevent stacking, but I miss an option, where components don't intersect also...

Perhaps even an option, where I can define how close components can be to each other...
Could have both positive and negative entries...
Any ideas...??
User avatar
Frederik
Top SketchUcator
 
Posts: 2168
Joined: Mon Nov 12, 2007 8:13 pm
Location: Denmark
Name: Kim Frederik
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby solo » Fri May 07, 2010 9:48 pm

Yes please, I have the same issue where I need to mass some proxies but the boxes I'm using are all stacked and intersecting, maybe a collision checkbox?
My site

Quod gratis asseritur, gratis negatur.
User avatar
solo
Global Moderator
 
Posts: 10749
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Component Spray Tool 1.3.

Postby csolar » Tue May 11, 2010 5:43 pm

I've just installed this (SU 7.1, WinXP), and I have a question about the spray pressure parameter. In the user guide it says that the # of components dropped is calculated as:

[area of surface]/[average area of component(s)]*[spray pressure]

In my case, the surface is a 10x10 square, and the component is a 1x1 square -- so the surface is 100 times the component area. If I select a spray pressure of 10%, I would expect 10 components to be dropped, but what I get is 100 components. Basically this calculation seems to be off by a factor of 10: if I ask for 100% pressure, then 1000 components get dropped, and so on.

Am I missing something? I ask because for my model I really need lower densities; i.e. in line with the calculation described in the guide.

Thanks,

Chris.
csolar
 
Posts: 3
Joined: Sat May 01, 2010 1:45 am
Location: Ottawa, Ontario, Canada
Name: Christopher Solar

Re: [Plugin] Component Spray Tool 1.3.

Postby csolar » Tue May 11, 2010 6:07 pm

Another observation:

I select "random rotate", but when I look at the results it's clear that only 6 specific rotation angles are being used...actually more like 3 pairs of angles, 120 degrees apart, with the items in each pair being 8 degrees apart. Is this expected?

Thanks, Chris.
csolar
 
Posts: 3
Joined: Sat May 01, 2010 1:45 am
Location: Ottawa, Ontario, Canada
Name: Christopher Solar

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Wed May 12, 2010 8:36 pm

Hi csolar,
Do you have set any angle snapping ?
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 Frederik » Thu May 13, 2010 10:48 am

Hi Didier,

Any chance of adding what Solo and I have requested...??
User avatar
Frederik
Top SketchUcator
 
Posts: 2168
Joined: Mon Nov 12, 2007 8:13 pm
Location: Denmark
Name: Kim Frederik
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby csolar » Thu May 13, 2010 3:16 pm

Didier Bur wrote:Do you have set any angle snapping ?


I did, but the results are the same after I turned off angle snapping.
csolar
 
Posts: 3
Joined: Sat May 01, 2010 1:45 am
Location: Ottawa, Ontario, Canada
Name: Christopher Solar

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Thu May 13, 2010 7:53 pm

Any chance of adding what Solo and I have requested...?


Yes. The only question is: when ? :?
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 Frederik » Thu May 13, 2010 10:35 pm

Didier Bur wrote:Yes.

:sketchstatic:

Didier Bur wrote:The only question is: when ? :?

:knockout:
Hopefully soon...
User avatar
Frederik
Top SketchUcator
 
Posts: 2168
Joined: Mon Nov 12, 2007 8:13 pm
Location: Denmark
Name: Kim Frederik
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby thomthom » Thu May 20, 2010 2:50 pm

Didier:

If you replace the native model.raytest with this method the rays won't stop on invisible entities:

Code: Select all
  # Raytrace method that does not stop on hidden entities.
  def self.raytest(ray)
    model = Sketchup.active_model
    vector = ray[1]
    while true
      # Shot ray
      test = model.raytest(ray)
      return nil if test.nil?
      # Verify visibility
      point, path = test
      if path.all? { |e| e.visible? && e.layer.visible? }
        return test
      else
        # raytest stopped on a hidden entity - create a new ray from that point
        # and let the loop continue until it hits something visible, or nothing.
        ray = [ point, vector ]
      end
    end # while
  end
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
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 » Thu May 20, 2010 7:53 pm

Hi tt,
:idea: :idea: :idea: :idea: :idea: :idea:
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 inbal » Mon Jun 21, 2010 11:52 pm

thank so much :)
inbal
 
Posts: 9
Joined: Sat Nov 21, 2009 1:27 pm
Name: Inbal

Re: [Plugin] Component Spray Tool 1.3.

Postby lapx » Mon Jul 19, 2010 2:19 am

Problems with component spray tool...Tool will not pick point after clicking.
Is anyone else have problems with the tool? All the parameters appear correct.
I'm placing byce on a simple plane is not working. Openig a new drawing helped but it always goes back to not working at some point.

I'm using in V6.
lapx
 
Posts: 576
Joined: Wed Dec 05, 2007 11:14 pm

Re: [Plugin] Component Spray Tool 1.3.

Postby charly2008 » Wed Jul 28, 2010 4:01 pm

Hi,

I wanted to try compo spray but I get a huge number of components at a small circle. What am I doing wrong?

Charly
Please, register (free) to access all the attachments on the forums.
More dangerous than ignorance is the illusion of knowledge

He who makes no mistakes, makes nothing
User avatar
charly2008
 
Posts: 1148
Joined: Wed Apr 08, 2009 12:03 pm
Location: Frankfurt a.M., Germany
Name: Karlheinz Hauser
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Wed Jul 28, 2010 10:42 pm

Hi,
Did you draw a great circle (20m or so) or a small one (2m or so) ?
But don't worry, since FaceMe components don't really have a bounding box, the number of components to be created is wrong, if I remember well...
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 charly2008 » Wed Jul 28, 2010 11:01 pm

Hi Didier,

The circle was about three meters. I tried the whole day. If i use it at a single line or a point then i get very small copies.

Charly
Please, register (free) to access all the attachments on the forums.
More dangerous than ignorance is the illusion of knowledge

He who makes no mistakes, makes nothing
User avatar
charly2008
 
Posts: 1148
Joined: Wed Apr 08, 2009 12:03 pm
Location: Frankfurt a.M., Germany
Name: Karlheinz Hauser
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby charly2008 » Thu Jul 29, 2010 2:33 pm

For the above mentioned problem i found the solution. The values for Low and high scale where to less.

But now although Keep vertical is selected, the tree is horizontal. For this I could not find the reason.

Charly
Please, register (free) to access all the attachments on the forums.
More dangerous than ignorance is the illusion of knowledge

He who makes no mistakes, makes nothing
User avatar
charly2008
 
Posts: 1148
Joined: Wed Apr 08, 2009 12:03 pm
Location: Frankfurt a.M., Germany
Name: Karlheinz Hauser
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby charly2008 » Fri Jul 30, 2010 11:43 am

Hi,

I found the error. This component was the reason. After I exploded the component and made it a new component, the error was gone.

Charly
More dangerous than ignorance is the illusion of knowledge

He who makes no mistakes, makes nothing
User avatar
charly2008
 
Posts: 1148
Joined: Wed Apr 08, 2009 12:03 pm
Location: Frankfurt a.M., Germany
Name: Karlheinz Hauser
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby mariocha » Tue Sep 14, 2010 11:07 pm

I'm having difficulty to make it work in SU 8.
Confirmation ?
But it is my first try, I must say.
Mario C.
Certified SketchUp Trainer, QC CA, Mac Pro 2xQuad core & MacBook Pro 3.06 Ghz.
User avatar
mariocha
Premium Member
Premium Member
 
Posts: 171
Joined: Wed Nov 21, 2007 3:00 pm
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby thomthom » Wed Sep 15, 2010 7:26 am

mariocha wrote:I'm having difficulty to make it work in SU 8.
Confirmation ?
But it is my first try, I must say.

Exactly what isn't working?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
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 mariocha » Wed Sep 15, 2010 2:09 pm

Well, like I said it was my first try. I finally got it after a few more tries.
My mistake was to try to "spray" on a face in a group being outside of it.
Somehow I assumed that's what it did. :oops:
Maybe cause I cannot get the "selection" option to work. It just stops and asks to select objects, even when a face is selected before, and it stays suck there, clicking or enter do nothing.
I read the manual, again (very well done btw). Maybe a warning line could be added about groups. :)
Although it is so obvious now.
Mario C.
Certified SketchUp Trainer, QC CA, Mac Pro 2xQuad core & MacBook Pro 3.06 Ghz.
User avatar
mariocha
Premium Member
Premium Member
 
Posts: 171
Joined: Wed Nov 21, 2007 3:00 pm
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby koolarsenal » Wed Sep 29, 2010 8:50 pm

Didier Bur wrote:Hi all,
Here is an update of the component spray tool (updated PDF doc included).

What's new in 1.3.:
New "shape" option to drop component at each vertex of selected faces.
Bug fix when loading the script on Mac.
Bux fix that froze the script when no destination layer were specified.
Enjoy !

EDIT:
Last version posted 03.09.10 (no more progressbar conflict, not an rbs)



This is my problem with the plugin, can you tell me how to fix it? The table is to big, It isn't match with my screen so I can't see the rest of the table.
koolarsenal
 
Posts: 1
Joined: Thu Sep 04, 2008 3:15 am

Re: [Plugin] Component Spray Tool 1.3.

Postby compadre.lucas » Mon Oct 18, 2010 6:48 pm

thank you so much!!.I;ve been dreaming about this tool for months.
I will try it out now.
sketchup is infinity.
compadre.lucas
 
Posts: 2
Joined: Fri Feb 19, 2010 6:51 am
Name: lucas rivera

Re: [Plugin] Component Spray Tool 1.3.

Postby bitslapped » Sat Oct 23, 2010 9:14 am

I initially could not get this to work in selection mode, but it worked fine after removing all my other plugins. Must be some incompatibility, I have quite a few.

One thing I did notice is a tendency for scattered objects to be more dense toward the centre of the regions in all cases. I don't know ruby but it seems whatever random function you are using is a bit biased towards the mean.

That being said, what a fantastic script! Keep up the good work Didier!
bitslapped
 
Posts: 7
Joined: Tue Oct 14, 2008 11:26 pm

Re: [Plugin] Component Spray Tool 1.3.

Postby Pilou » Sat Oct 23, 2010 10:32 am

@Kool
AS you have just 3 box values missing
Just enter your values then press TAB
and at the end Press Enter
Some rustic but efficient ;)

Below box values missing
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10027
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Component Spray Tool 1.3.

Postby Didier Bur » Sat Oct 23, 2010 1:02 pm

Hi all,
I'm on my way to the next release to fix all these minor problems, and to add a webdialog as well.

cs2.gif
Please, register (free) to access all the attachments on the forums.
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 » Sat Oct 23, 2010 2:04 pm

charly2008 wrote:Hi,

I found the error. This component was the reason. After I exploded the component and made it a new component, the error was gone.

Charly

Maybe it was very small in size. What if you Right-Click and choose Scale Definition?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
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 thomthom » Sat Oct 23, 2010 2:07 pm

Didier Bur wrote:Hi all,
I'm on my way to the next release to fix all these minor problems, and to add a webdialog as well.

cs2.gif

That's very cool! :thumb: :D

Can I just come with a request? Make one multi-select list to pick the components, instead of a fixed 6 slots. And if the selected components can be preselected, that'd be a great user experience addition.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
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

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Are you a Premium Member? Get your freebies here. Are you not a Premium Member yet? Upgrade your account to grab these freebies instantly.

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: DavorP, fred.dy, Ptxi, TMLEE and 10 guests