[Plugin] Component Spray Tool 1.3.
-
Stan,
Can it be the case that your terrain valleys are under the ground level in SU (I mean they have negative values on the z axis)?
Because if so, the GE Snapshot (which is a horizontal face on 0 z axis) would stop the trees falling under it. -
Hi,
Spray tool doesn't mind if there are negative coordinates. This must be something else that prevents the trees to land on the terrain... -
Gaieus; I think you are right. The GE snapshot seems to be limiting the z placement of trees even if I toggle terrain on. I'll break the GE snapshots up to smaller sections to see if I can get around the problem for now. If there is a way to adjust the axis of the snapshot to make this work better let me know.
Thanks
STAN -
@unknownuser said:
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, -
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.
-
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
-
Yes, it is possible to include your requests, but you'll have to be patient
I'm on a huge project now and I'm afraid I must leave my freebies as they are for a couple of weeks... -
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
-
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 GEthanks again for your help.
STAN -
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).
-
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.
-
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
-
Does it make use of the disable UI argument for
.start_operation
? -
@unknownuser said:
Does it make use of the disable UI argument for .start_operation ?
No.
Is there still a conflict with progressbar ?
I changed the class and methods names to get rid of any conflict in the latest version released. -
It'd be interesting to see what speed this plugin worked at with the SU UI disabled. Any chance of an updated version?
-
@didier bur said:
Is there still a conflict with progressbar ?
Nope! It is working great now with progressbar. Thanks for fixing it so quickly too,
Chris
-
Wow, this plugin is fantastic!!
Much appreciated... i am off to build a forest.
-
THAnk you very much!!!!
-
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%)
-
Thank You!
Where in Croatia?
Advertisement