sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Assign materials to both sides?

    Scheduled Pinned Locked Moved Plugins
    9 Posts 6 Posters 11.4k Views 6 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.
    • M Offline
      mirale999
      last edited by

      Is thare a plugin that can let me assign a material in one go to both sides?
      One click,two sides of the face. πŸ˜„ I think this function is good, when to build models for exporting into 3dsmax~
      I've found Builder Boy's plugin
      http://forums.sketchucation.com/viewtopic.php?f=180&t=32839 Is there a plugin: one click two sides? πŸ˜’

      paranoia is a higher form of awareness...

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

        This "one-liner" copy/pasted into the Ruby Console makes all faces in the current selection have the same material front and back... BUT don't use it as an excuse for sloppy modeling

        Sketchup.active_model.selection.each{|e|next if e.class!=Sketchup;;Face;e.back_material=e.material if e.material;e.material=e.back_material if not e.material}
        

        If a face has a front-material then it's duplicated on its back, if it doesn't have a front-material the back-material [if any] is duplicated on its front.
        It doesn't work on 'nested faces' unless you edit the group/instance and then 'select all', and then run the snippet...

        TIG

        1 Reply Last reply Reply Quote 0
        • M Offline
          mirale999
          last edited by

          @tig said:

          This "one-liner" copy/pasted into the Ruby Console makes all faces in the current selection have the same material front and back... BUT don't use it as an excuse for sloppy modeling

          Sketchup.active_model.selection.each{|e|next if e.class!=Sketchup;;Face;e.back_material=e.material if e.material;e.material=e.back_material if not e.material}
          

          If a face has a front-material then it's duplicated on its back, if it doesn't have a front-material the back-material [if any] is duplicated on its front.

          It doesn't work on 'nested faces' unless you edit the group/instance and then 'select all', and then run the snippet...

          Thanks for your advice~ I'm lazy πŸ˜„ I was drawing a concept model, so I thought that sort of plugin can make something easy...

          paranoia is a higher form of awareness...

          1 Reply Last reply Reply Quote 0
          • Guillo_OrtizG Offline
            Guillo_Ortiz
            last edited by

            Hi, I know this is and old post, but could this be done keeping the orientation?

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

              @guillo_ortiz said:

              Hi, I know this is and old post, but could this be done keeping the orientation?
              Please explain 'orientation'.

              Do you mean flipping a material's texture so that the image aligns front and back ?

              I think that there's separate thread about this...
              I'll search...

              TIG

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

                After thinking a bit more...
                https://sketchucation.com/pluginstore?pln=FixReversedFaceMaterials
                [an oldie by me]
                Has several tools.
                It's primary aim is to reverse faces that have a texture on their back, and then move the texture onto the front - needed by most renderers.
                But it does have tools to replicate a material on front and back faces...
                Try it...

                TIG

                1 Reply Last reply Reply Quote 0
                • cottyC Offline
                  cotty
                  last edited by

                  ThruPaint (part of FredoTools) can paint both sides with one click too...

                  frontandback.PNG

                  my SketchUp gallery

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

                    @tig said:

                    This "one-liner" copy/pasted into the Ruby Console makes all faces in the current selection have the same material front and back... BUT don't use it as an excuse for sloppy modeling

                    Sketchup.active_model.selection.each{|e|next if e.class!=Sketchup;;Face;e.back_material=e.material if e.material;e.material=e.back_material if not e.material}
                    

                    If a face has a front-material then it's duplicated on its back, if it doesn't have a front-material the back-material [if any] is duplicated on its front.

                    It doesn't work on 'nested faces' unless you edit the group/instance and then 'select all', and then run the snippet...

                    This is very useful! Is there a way to make it run through nested groups and components too? Also I need to look up how to add this, but a single click undo?

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

                      @tig said:

                      After thinking a bit more...
                      https://sketchucation.com/pluginstore?pln=FixReversedFaceMaterials
                      [an oldie by me]
                      Has several tools.
                      It's primary aim is to reverse faces that have a texture on their back, and then move the texture onto the front - needed by most renderers.
                      But it does have tools to replicate a material on front and back faces...
                      Try it...

                      This is awesome thanks so much! πŸŽ‰ πŸ˜„ πŸ˜„ 😎

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

                      Advertisement