[Plugin] Front Face - 1.2
-
Thanks Tomasz for this great plugin.
-
Any progress on changing the cursor Tomasz?
I am using it today and was just curious. Handy tool BTW. -
Hi Tomasz,
Thanks for this gem!
One question (or maybe a feature request) - after reversing the face (and successfully applying the back face material on the front face), could the plugin also delete the material applied on the back face? I.e. to paint the back face with the default (grey/blue) material.
OR - alternatively - does anyone know a plugin that would delete all materials applied to back faces only?
-
@gaieus said:
OR - alternatively - does anyone know a plugin that would delete all materials applied to back faces only?
I could add that to my Remove Marerials plugin.
-
Thom,
That'd be an excellent feature and much appreciated
Rich
-
Yes, Thom, that would be very handy.
But of course, such a (to me very sophisticated but for you, guys, probably easy) modification for this FrontFace Plugin would also be handy - so that you need not fiddle with two different plugins (although the very simplicity of this plugin is also charming - no settings, no hassle with dialogs - just "brush" over the model and voilá)
-
Hi Gaieus,
The option of having back material reset to default looks nice.
I am currently terribly busy, but Christmas is coming.
I will put it on my list.Tomasz
-
I'd added the feature to Remove Materials. Will post it later. -
@unknownuser said:
Any progress on changing the cursor Tomasz?
I am using it today and was just curious. Handy tool BTW.Checked the API. It looks easy...
-
Guys, I am amazed at the helpfulness of all of you.
Once I win this combpetition, I hope you will all come and enjoy the party.
(BTW I am planning a difficult plugin - you will hate me...)
-
In the meanwhile, before it gets written into something better - to make ALL rear faces in the model [and faces inside definitions too] have the default material on their backs, just copy and paste this line of code into the Ruby Console - I compressed it into one line for ease of pasting...
m=Sketchup.active_model;es=m.entities;es.each{|e|e.back_material=nil if e.class==Sketchup;;Face};ds=m.definitions;ds.each{|d|d.entities.each{|e|e.back_material=nil if e.class==Sketchup;;Face}};return nil
-
Ok. I said I was busy, but I had to refresh my memory, how to write a Tool in SU, so played with FrontFace and here we go:
Version 1.2 is ready.Greetings
Tomasz -
Beautiful. Thank you.
-
@tig said:
to make ALL rear faces in the model [and faces inside definitions too] have the default material on their backs, just copy and paste this line of code into the Ruby Console - I compressed it into one line for ease of pasting...
m=Sketchup.active_model;es=m.entities;es.each{|e|e.back_material=nil if e.class==Sketchup;;Face};ds=m.definitions;ds.each{|d|d.entities.each{|e|e.back_material=nil if e.class==Sketchup;;Face}};return nil
TIG, this is probably one of the most useful pieces of code ever. Thank you very much.
-
TIG, does it also make all groups and components have the default material? (in case one or two got accidentally painted somehow?)
-
Fletch, Matthieu Noblet wrote a plugin for that:
http://forums.sketchucation.com/viewtopic.php?p=102323#p102323 -
@fletch said:
TIG, does it also make all groups and components have the default material? (in case one or two got accidentally painted somehow?)
No, it fixes back_materials inside them, but not materials applied to them - to do that you need this line...
Sketchup.active_model.definitions.each{|d|d.instances.each{|i|i.material=nil}}
-
gosh thank you so much for this works great
-
Thanks
Tomasz -
Hi Tomasz
I have found now this plugin!! This is fantastic. Thanks a lot!
Advertisement