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

    [Plugin] Fix Reversed Face Materials

    Scheduled Pinned Locked Moved Plugins
    80 Posts 25 Posters 111.2k Views 25 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Here are a few
      http://forums.sketchucation.com/viewtopic.php?p=357136#p357136
      http://forums.sketchucation.com/viewtopic.php?p=29351#p29351
      http://forums.sketchucation.com/viewtopic.php?p=397447#p397447
      http://forums.sketchucation.com/viewtopic.php?p=283327#p283327
      😉

      TIG

      1 Reply Last reply Reply Quote 0
      • L Offline
        Liverpudlian82
        last edited by

        Thank you so much! I had rendering issues all the time and didn't know why ... I am still not sure how I can avoid messing the faces directions up in the first place but at least I can now fix it ... I often use models from 3d warehouse and those almost always produce rendering issues ... so happy to have solved this now!

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

          @Liverpudlian

          Use a Style with a highly contrasting back-face color - say bright-blue, -magenta or -green.
          Then get used to switching Monochrome view mode on... if you see the bright back color on a visible 'outer' face Select it and use 'Reverse' [context-menu, or better set a shortcut-key - to get 'Reverse' available in the list of commands for shortcutting make sure there is a face selected before opening Preferences] You can also use the similar 'Orient' which flips all faces to match the selected one... however, be aware that non-solid collections of faces can give unexpected results because you can never get three faces to be oriented to suit, one will always be off-key !

          TIG

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

            So I am pulling "sets" off of the 3D Warehouse to render as backgrounds for chroma-key (green screen) photos. By in large, most of the designers of these complicated sets are built by people have no idea that there is a "front" or "back" face...so they're a, in a word, "mess".

            This plugin is nothing short of a miracle. Thank you SO MUCH for creating it.

            Regards,

            -S

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

              there's an update in the PluginStore...
              http://sketchucation.com/pluginstore?pln=FixReversedFaceMaterials
              Some of the tool's lingvo files' encoding has been updated to be compatible with v2014.

              TIG

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

                Hi,

                Even after reading I don't understand how to fix my problem.

                Untitled-1.jpg

                I would like to assign the "custom materials" from the backside of the object to the front side of my object. But none of these options work for me.

                It just usually deletes ALL materials and leaves me with default.

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

                  You could do that manually by sampling the color with the eye dropper on the one side and applying it to the other side with the paint bucket. Post the SKP file and I'll make an example for you.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    Of course, but the problem is this is a simplified example.

                    It is not fun to do this operation across hundreds of objects as you can imagine!(this is a received model, not one I've drawn myself). I'm looking for a way to automate this.

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

                      If this plugin won't do it, I expect you'll have to do it manually anyway.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 Reply Last reply Reply Quote 0
                      • BoxB Offline
                        Box
                        last edited by

                        Thomthom's UV Toolkit has an option to paint backface to front and vice versa.
                        http://sketchucation.com/plugin/740-tt_uv_toolkit

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kennundrum
                          last edited by

                          TIG, I have this plugin but the only thing that works is Delete Back Faces and Match Back Faces. What am I doing wrong?

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

                            @kennundrum said:

                            TIG, I have this plugin but the only thing that works is Delete Back Faces and Match Back Faces. What am I doing wrong?
                            Are you sure you have read and understand how this toolset works and what it affects?
                            Unless you tell me what you are doing, how can I know what you might have 'done wrong' ?

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kennundrum
                              last edited by

                              Ok, here is what I'm doing: I select a group or component with reversed faces on it. I then pick from the plugins drop down>TIG: Reversed Materials>Fix Reversed Materials. I get the "There is an instance of a Component in the selection! Do you want to process any faces in it?" window and choose the Yes option. After processing, the results window tells me that 0 faces have been fixed. If I triple-click on it and select all faces, then run the plugin, it still returns 0 faces fixed.

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

                                It would help to see the component that is not getting fixed. There are some cases where it might not be clear as to which faces are incorrectly oriented.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

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

                                  This tool only fixes Faces which have the wrong orientation AND have a Material applied onto their back-side rather than their front-side.
                                  It in effect flips the Face over [aka 'reverse'] and swaps the Material from back to front sides, keeping its UVmapping [you cannot UVmap a Texture unless its applied directly onto a Face].

                                  This tool does NOT sort out issues when a Material has been applied onto a Group or Component-Instance.
                                  The Faces inside the Container which have no Material assigned will display with the Container's Material, BUT they will actually have the default 'nil' Material ! Look in Entity Info to see this while editing... The Container's Material is displayed for both front and backs of Faces with 'nil' Material in equal measure...

                                  View things in MonoChrome Mode...
                                  Use a Style with a highly distinctive back-face color.
                                  Use the context-menu Reverse/Orient tools to fix the faces that are reversed...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kennundrum
                                    last edited by

                                    TIG/Dave, attached is a skp file that is an example of what I'm talking about. This model has been created in SoftPlan (my CAD program) and exported as a 3DS file, then imported into SketchUp. All I've done to it was run thomthom's CleanUp³ to reduce file size. Thanks in advance for any insight/help!


                                    MORGAN PIGEONIERRE_RAW.skp

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

                                      As TIG wrote, "This tool only fixes Faces which have the wrong orientation AND have a Material applied onto their back-side." Your model has the faces reversed but the materials are applied to the front faces. You might try Didier Bur's Automatic Face Reverser.

                                      I have to say, that's an annoying model to work on. With it turned at an angle relative to the axes, all the bounding boxes are skewed. That could lead to all sorts of headaches getting materials applied in SU. If someone sent that to me to work on, I'd charge extra. Do you have to draw them in your CAD program and import them into SketchUp. Wouldn't it be easy enough to draw that in SketchUp to start with?

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

                                      1 Reply Last reply Reply Quote 0
                                      • sdmitchS Offline
                                        sdmitch
                                        last edited by

                                        As Dave said, the fronts of some faces are on the inside. If you can use an exploded model, I have one that has the inward looking faces reversed but I had to explode all components/groups for an old plugin of mine to work.

                                        Nothing is worthless, it can always be used as a bad example.

                                        http://sdmitch.blogspot.com/

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kennundrum
                                          last edited by

                                          Sorry about that annoying model, it was a small part of a larger project that I grabbed because it would be of a size that I could transmit. I understand now why I wasn't having any success. The materials were all attached to the "front" faces though facing in the wrong direction in many cases. That is due to the export/import process - many faces get "confused" as to which way they should face. There still appears to be no quick way to process faces that have been reversed in a large imported model. I have several other face reverser plugins, the one that seems to work best though not perfect is a view-based tool that utilizes a screen area selection. I'll try Didier's plugin. Oops, I think the one I just described IS Didier's plugin! Thanks for the help.

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

                                            Here it is in Monochrome Mode with a Blue Back-face Style...MonchromeMode+BlueBackFaceStyle.png
                                            Use the context-menu 'Reverse...' - or one of the several available script tools that assist with fixing this kind of sloppy modeling...

                                            Also as Dave said - having skewed axes is really annoying !

                                            TIG

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

                                            Advertisement