[Plugin] Material Tools
-
Something like
Sketchup.active_model.definitions.each{|d|next if d.image?;d.instances.each{|i|i.material=nil}}
for every group/instance in the model, ignoring whether visible/locked etc...
ORSketchup.active_model.selection.each{|e|e.material=nil if(e.is_a?(Sketchup;;Group)||e.is_a?(Sketchup;;ComponentInstance))&& !e.locked?)}}
to process all groups/instances in a selection, ignoring locked ones...
Copy/paste one-liners into the Ruby Console... -
Fantastic tools! Thank you.
What I really miss is additional script to assign the front faces material to backfaces (at least
on geometry with transparent mats). -
@rv1974 said:
Fantastic tools! Thank you.
What I really miss is additional script to assign the front faces material to backfaces (at least
on geometry with transparent mats).http://sketchucation.com/forums/viewtopic.php?p=155759#p155759
-
-
oh... I might have forgotten to upload this little update...
-
@thomthom said:
[attachment=0:37kfn04k]<!-- ia0 -->Transparent.png<!-- ia0 -->[/attachment:37kfn04k]
What exactly do you ask?
If it's already there (the last line) I for some mystic reason don't have it (the version is updated)
If it's a printscreen of the latest future update- it looks awesome (exactly what I mean (if it processes entire model)).
P.S. How do you make the printscreen of the dropped down list??? -
@thomthom said:
oh... I might have forgotten to upload this little update...
unpardonable forgetfulness
-
Give me a couple of days. I need to release an update to TT_Lib2 first.
-
Yet another thing:
Assign component\group mat to its front faces (to the inner geometry with default mat) would be amazing feature.
There's already the great 'remove C-G materials.rb' , something the opposite is also needed. -
How would you handle groups with faces of multiple materials? It's just not an symmetrical operation.
-
@thomthom said:
How would you handle groups with faces of multiple materials? It's just not an symmetrical operation.
Only default material within the would inherit the comp\group mat. The manually set multiple mats would survive.
-
Oh - I misread you. I thought you wanted face material to group materials.
You want the instance materials to be applied to all faces with default material in the group/component? That's already there: "Instance Material to Faces"
-
damn how could I miss it.
-
-
Yeeea.... didn't happen... I've run into a bug that needs fixing.
-
Version 2.6.0
- Added Transparent Material to Backside.
- Added support Fredo updater.
-
-
Thanks for the update! The transparent material to backside is a huge help!
-
Hello,
I have problem installing this tool..
so after i downloaded.. I placed the "material tool rb " into the sketchup-> plugin forlder
and so when i opened a new sketchup.. i still don't see a new plugin for material tool...
could you tell me how to set this up after i download it???
Don't I just need to copy and paste into the sketchup- plugin folder?
and I am using sketchup 8pro version too....
-
Notice it's an RBZ - not RB file. See this thread on how to install RBZ files: http://sketchucation.com/forums/viewtopic.php?t=42315#InstallRBZ
(I'd forgotten to add the How To link for this download which I usually have)
Advertisement