[Plugin] Component Spray Tool 1.3.
-
Hi
@unknownuser said:
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.
Regards -
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??
-
Hi
@unknownuser said:
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, -
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...??? 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...
-
.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
-
I get an error when SketchUp starts:
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!
-
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, -
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.
-
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 !
-
@tig said:
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 ![attachment=0:2qfvuyqu]<!-- ia0 -->CStool.png<!-- ia0 -->[/attachment:2qfvuyqu]
Thank you! I guess I should read the whole manual...
This is an amazing tool.
-
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...?? -
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?
-
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.
-
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.
-
Hi csolar,
Do you have set any angle snapping ? -
Hi Didier,
Any chance of adding what Solo and I have requested...??
-
@didier bur said:
Do you have set any angle snapping ?
I did, but the results are the same after I turned off angle snapping.
-
@unknownuser said:
Any chance of adding what Solo and I have requested...?
Yes. The only question is: when ?
-
-
Didier:
If you replace the native
model.raytest
with this method the rays won't stop on invisible entities:# 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
Advertisement