Reset default texture inside components?
-
Hey Guys, long time no see, iv ran into an issue and iv no idea how it happened, iv created a model and for some reason the default texture on the back faces is the same texture applied to my model, now the model is made up with many components and i know if i explode the model i can reset the default texture to its original state on all back faces but i would prefer to do it without exploding every component, is this possible? please point me in the right direction if you can, thanks in advance.
-
-
Unfortunately that doesnt work resetting the default texture to its original state
-
Without seeing your model...
It sounds like you have applied a textured material to a container [group or component-instance].
If faces within that container have the default material [front AND/OR back] they will display with the container's material for those front AND back faces.If you have exploded a container [perhaps sometime ago], then that material might be applied to the back-exploded faces [front AND/OR back] ?
So to reset all back-faces to their default you can use this snippet in the Ruby Console to set the back-face material to all such faces.
Note that if the back-face material is the default and the 'container' has a material the back-face will still display as if t has that material, but it will actually have the default back-material [ at least until it is exploded ! ]m=Sketchup.active_model;fs=m.entities.grep(Sketchup;;Face);m.definitions.each{|d|d.entities.grep(Sketchup;;Face).each{|e|fs<<e}unless d.image?};m.start_operation("deBkMat",true);fs.each{|f|f.back_material=nil};m.commit_operation;
It's one step undo-able.
-
Change default material for back faces........then........use Thrupaint to paint back faces in new default material?
Edit......or use TIG's code
-
just delete the material from (in model) library
Advertisement