[Plugin] Drop Materials onto Instances v1.1 20111019

[Plugin] Drop Materials onto Instances v1.1 20111019

Postby TIG » Sat Oct 15, 2011 4:22 pm

TIG-dropmaterialsontoinstances.PNG
Copyright 2011 TIG (c)
Permission to use, copy, modify, and distribute this software for any
purpose, and currently without fee, is hereby granted, provided that
this text and the above copyright (c) notice appear in all copies.
This software is provided "as is" and without any express or implied
warranties, including, without limitation, the implied warranties of
merchantability and fitness for a particular purpose.
###
Name: TIG-dropmaterialsontoinstances.rb
###
Menu: 'Plugins' > 'Drop Materials onto Instances'
###
Usage:
Make a flat set of faces [it's easier to manipulate/scale if a group or
a component] with colors to represent the materials required to be
dropped.
For example draw/make the text logo and color it, or use 'ImageTrimmer'
on a transparent png to get the cutout faces and then repaint those
with new materials in simple colors as desired, or try ThomThom's tool
'Bitmap to Mesh'.
Place this set of faces directly over the groups/instances to be
processed.
Select all of the groups/instances to be processed and activate the
tool.
A count down is shown in the status bar.
Every group/instance with its center below a face will take the material
of that face; so any default material faces within them will appear with
those materials. Other groups/instances remain unaffected.
The smaller the groups/instances relative to the faces above the less
'pixelated' the result will be...
It is one step undo able.
###
Donations: PayPal.com to info @ revitrev.org
###
Version:
1.0 20111015 First issue.
1.1 20111019 Error in menu coding fixed.
###
TIG-dropmaterialsontoinstances.rb
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugins] Drop Materials onto Instances v1.0 20111015

Postby jolran » Sat Oct 15, 2011 7:55 pm

Haven't had the time to test. But by the looks of it. Kewl!
I'm sure this will be useful.

You are very productive at the moment. :thumb:
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugins] Drop Materials onto Instances v1.0 20111015

Postby TIG » Sat Oct 15, 2011 8:03 pm

Most of these recent tools evolved from one central idea based on raytracing combined with EEbyVectorToObjects ideas... The draping forms and materials onto other things is relatively straight forward if you constrain yourself in the Z-axis - the main limit is the API's flakiness ;)
[The SolidSolver was something I had previously added to my own copy of thomthom's solid_inspector tools. But I realized it was readily split-off-able into its own tool... Again I had made a manifold? tool ages ago that was as slow as watching paint drying - so that too is a great improvement!]
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugins] Drop Materials onto Instances v1.0 20111015

Postby jolran » Sun Oct 16, 2011 10:07 am

Most of these recent tools evolved from one central idea based on raytracing combined with EEbyVectorToObjects ideas... The draping forms and materials onto other things is relatively straight forward if you constrain yourself in the Z-axis - the main limit is the API's flakiness
[The SolidSolver was something I had previously added to my own copy of thomthom's solid_inspector tools. But I realized it was readily split-off-able into its own tool... Again I had made a manifold? tool ages ago that was as slow as watching paint drying - so that too is a great improvement!]


Ah, I see. Interresting concept.
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugins] Drop Materials onto Instances v1.0 20111015

Postby pilou » Sun Oct 16, 2011 12:03 pm

Take a look to QUBICLE ;)

And my video! :mrgreen:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugins] Drop Materials onto Instances v1.0 20111015

Postby wyatt » Wed Oct 19, 2011 3:42 pm

OK with 70 downloads and no problem reports, I must be doing something wrong. Plugin is located in the Plugins folder. Start Sketchup...no error messages and no Drop Materials onto Instances in the Plugins menu. :idea: I removed SketchyPhysics because I know that sometimes causes problems, but still nothing. The code and file path seem pretty straightforward, but I can't figure out where the conflict would be. Are there known plugin conflicts that would prevent this one from appearing in my menu?
0

wyatt 
 

Re: [Plugin] Drop Materials onto Instances v1.1 20111019

Postby TIG » Wed Oct 19, 2011 3:56 pm

Heres' v1.1 viewtopic.php?p=360335#p360335
Wyatt - you weren't going mad! There was a stupid typo in the menu code - it should now appear as expected in 'Plugins'...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Drop Materials onto Instances v1.1 20111019

Postby wyatt » Wed Oct 19, 2011 5:06 pm

Yes, there it is, and it works great. Thanks!
0

wyatt 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 6 guests

Visit our sponsors: