sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Front Face - 1.2

    Scheduled Pinned Locked Moved Plugins
    57 Posts 29 Posters 80.4k Views 29 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GaieusG Offline
      Gaieus
      last edited by

      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á)

      Gai...

      1 Reply Last reply Reply Quote 0
      • T Offline
        tomasz
        last edited by

        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

        Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          😄
          I'd added the feature to Remove Materials. Will post it later.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • T Offline
            tomasz
            last edited by

            @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...

            Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

            1 Reply Last reply Reply Quote 0
            • GaieusG Offline
              Gaieus
              last edited by

              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...)

              Gai...

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                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
                

                TIG

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tomasz
                  last edited by

                  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

                  Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                  1 Reply Last reply Reply Quote 0
                  • boofredlayB Offline
                    boofredlay
                    last edited by

                    Beautiful. Thank you. 👍

                    http://www.coroflot.com/boofredlay

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      Ecuadorian
                      last edited by

                      @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. 👍

                      -Miguel Lescano
                      Subscribe to my house plans YouTube channel! (30K+ subs)

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        Fletch
                        last edited by

                        TIG, does it also make all groups and components have the default material? (in case one or two got accidentally painted somehow?)

                        Fletch
                        Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          Ecuadorian
                          last edited by

                          Fletch, Matthieu Noblet wrote a plugin for that:
                          http://forums.sketchucation.com/viewtopic.php?p=102323#p102323

                          -Miguel Lescano
                          Subscribe to my house plans YouTube channel! (30K+ subs)

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            @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}}
                            

                            🤓

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              Royvas
                              last edited by

                              gosh thank you so much for this 😄 works great

                              1 Reply Last reply Reply Quote 0
                              • alvisA Offline
                                alvis
                                last edited by

                                Thanks
                                Tomasz

                                1 Reply Last reply Reply Quote 0
                                • Z Offline
                                  Zacchia
                                  last edited by

                                  Hi Tomasz
                                  I have found now this plugin!! This is fantastic. Thanks a lot!

                                  1 Reply Last reply Reply Quote 0
                                  • Z Offline
                                    Zacchia
                                    last edited by

                                    Thomasz
                                    It seams that when material is on normal face and i use this plugin then material will be default SU material when turned the faces. Why is it like this? I think it should keep material and just turn faces.

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      Jrudd
                                      last edited by

                                      Hi all,

                                      Proud to announce that there is finally a solution to the face flipping problem. You can now reverse faces and preserve UV coordinates! I tested it and the results are accurate!

                                      The UV Toolkit makes it possible. You also need to download the TT_Lib and put it in your plugins folder.

                                      To reverse a face, first select what you want reversed, then go to Plugins > UV Toolkit > Frontface material to Backface (or the opposite).

                                      Hope it helps,
                                      Jeremy

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        simoni
                                        last edited by

                                        I find it works 50% of the time, sometimes textures are mapped wrongly, maybe I am doing something wrong?

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          Need2SeeAttachments
                                          last edited by

                                          LOOK AT MY USER NAME, ENOUGH SAID. Need2SeeAttachments.
                                          I WANT TO DOWNLOAD, NOW BYE FOREVER SKETCHUCATION.
                                          Meant no offence, k thx bai.

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            Bye bye.

                                            Thomas Thomassen — SketchUp Monkey & Coding addict
                                            List of my plugins and link to the CookieWare fund

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement