[Plugin] Material Tools
-
-
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)
-
Nice work, thomthom!!!!
Thanks!
-
Very good, material tools are a great tool and helps me alot...
Thank so much Thomthom...! -
I encountered problems when installing [Plugin] Material Tools (2.6.0). with the following error message:
"material tools requires a newer version, 2.7.0, of TT_lib"
I also use TT_Lib2-2.9.0, but still error...I doubt Google SketchUp 8 version is too old ...Can you help me?
Thank so much.
-
Did you have an old version of TT_Lib2 installed?
Do you have files that have gotten stuck in the VirtualStore? -
Thank Thomthom...! I understand that...
I have removed old TT_lib and instal new TT_lib2 of you.
I have now used material tools and thank you so much. -
Hi.
I had this error while running 'instance material to faces'
With and without geometry selected.Error; #<NameError; undefined local variable or method `selection' for TT;;Plugins;;MaterialTools;Module> C;/Users/ramiro velazco/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools/core.rb;149;in `instance_materials_to_faces' C;/Users/ramiro velazco/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools/core.rb;40;in `block in <module;MaterialTools>' -e;1;in `call'
I solved it(I think?) by adding
selection = model.selection
in core.rb right after line 148
Thanks for a wonderful tool.
-
I just noticed this post. I've filed an issue: https://bitbucket.org/thomthom/material-tools/issue/1/error-while-running-instance-material-to
Thanks for the report!
-
Hi. Some features not works(
Transparent Material to Backside quetly do nothing, but with Instance Material to Faces console dsy:@unknownuser said:
Error: #<NameError: undefined local variable or method
selection' for TT::Plugins::MaterialTools:Module> C:/Users/dem/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools/core.rb:149:in
instance_materials_to_faces'
C:/Users/dem/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools/core.rb:40:inblock in <module:MaterialTools>' -e:1:in
call'Tested in SU2013 & SU2014
-
Yes, this is the same issue as rami reported: http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=17587%26amp;view=unread#p537988
-
Thanks Thomas!
I love the plug in, and very often use it.
I had some suggestion on improving this plugin:
All the listed functions such as "remove from all faces and edges" and "all textures" would be nice to be applied to SELECTION rather than in the entire model.
Thanks!
-
I installed the plugin and everything seems to work great, except the "List Textures in Console" function. It opens the console but there is no list.
What am I missing?
Thanks for a awesome plugin!
-
What version of SU?
You might want to open the console before invoking that function if you are on an older SU version. -
Hi sorry I'm a beginner at this.
I have downloaded and add the Material Tool, it in showing in extension manage (sketch 2017 pro). It is installed.
But I cannot find it anywhere in the menu tabs - so how to use???
Any i missing something?Luke
-
It does not have a toolbar icon, if that is what you mean.
It will show up in the menu however.Look under:
Extensions > Material Tools. -
Thanks for a great plugin thomthom. As is mentioned on Extension Warehouse, "List Textures in Console" generates a blank console window. Is this just a SU2018 thing or are other folks experiencing that issue?
-
OK, figured out what is up with "List Textures in Console" I think...
I changed puts to print in the following def from Plugins/tt_material_tools/core.rb and it works in SU2018 (sorry ThomThom - I'm probably not supposed to be messing around in there!?). So general question... is puts no longer valid in 2018?
def self.list_textures Sketchup.send_action('showRubyPanel;') # Collect textures and sort by size mats = Sketchup.active_model.materials.select { |m| !m.texture.nil? } mats.sort! { |a,b| size_a = a.texture.image_width * a.texture.image_height size_b = b.texture.image_width * b.texture.image_height size_b <=> size_a } # Print textures print "=== TEXTURE MATERIALS BY SIZE ===" buffer = '' mats.each { |m| next if m.texture.nil? t = m.texture size = t.image_width * t.image_height file = File.basename( t.filename ) path = File.dirname( t.filename ) #puts "#{m.display_name} - #{t.image_width}x#{t.image_height} - #{t.filename}" buffer << "#{m.display_name}\n" buffer << " Size; #{t.image_width}x#{t.image_height} pixels\n" buffer << " Size; #{self.readable_file_size(size*3, 2)} estimated uncompressed RGB\n" buffer << " Size; #{self.readable_file_size(size*4, 2)} estimated uncompressed RGBA\n" if File.exist?( t.filename ) disksize = File.size( t.filename ) buffer << " Size; #{self.readable_file_size(disksize, 2)} on disk\n" end buffer << " File; #{file}\n" buffer << " Path; #{path}\n" } print buffer print "---" end
Advertisement