• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Fix Reversed Face Materials

Scheduled Pinned Locked Moved Plugins
80 Posts 25 Posters 111.2k Views
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.
  • T Offline
    TIG Moderator
    last edited by 26 Aug 2010, 12:39

    The tool works for any faces - as long as they only have a material on the back and not the front.
    It simply reverses the face whilst leaving the materials in the same 'location' [orientation].
    With an 'un-fixed' face - flick between Textured Mode and Monochrome Mode to reveal faces that are 'wrongly' oriented but have their materials on the back so look OK in the SKP-render BUT will fail in the external-renderers.
    With a face that's 'fixed' it looks the same in the SKP 'Texture Mode', but it will then render properly in renderers [the Monochrome Mode should then show all faces oriented the same]

    TIG

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 26 Aug 2010, 12:56

      Here's v1.4 http://forums.sketchucation.com/viewtopic.php?p=264134#p264134
      It has an additional Tool 'Reverse Faces and Materials' - this reverses faces keeping their materials with correct UV-mapping - effectively turning the form 'inside out': if it is 'brick' outside and 'wood' inside with the 'back-faces' oriented to the 'outside', then using the tool reverses the faces so that the back-faces are oriented to the 'inside', AND now the 'wood' material will be on the 'outside' and the 'brick' material will be on the 'inside' - UV-mapping will have been correctly reapplied.
      For example I recently had an imported OBJ object that had all some objects with faces reversed ['blue' outwards] and so their materials were mapped [correctly] on their 'insides'. Simply 'reversing' the faces failed to keep the UV-mapping on the new face orientations [on 'smoothed' surfaces it's especially problematical] - but this tools now solves that problem.
      The included lingvo files have all been updated to match the changes.

      TIG

      1 Reply Last reply Reply Quote 0
      • P Offline
        pmolsen
        last edited by 7 Sept 2010, 23:55

        @tig said:

        Note: Groups and Component-Instances that can have materials applied
        directly onto them - then any faces within them that have the default-
        material [front and/or back] will then appear to have that material applied
        to them. In fact these faces within the Group/Definition will still have
        the default-materials [front and/or back]. If you want to quickly remove
        the appearance of this material on the back-faces within the group then
        explode the group and immediately regroup the geometry - the group's
        previous material will then be individually transfered to each face that
        had the default-material. Now use this 'Delete Back-Materials' to delete
        the unneeded back-material.

        Excellent plugin! Exactly what I have been waiting for.

        I think I must be missing something with your above comment though. As you say if a group or component is textured with a material without first opening the group or component, all untextured faces, including the back faces, appear to be painted with that texture.

        To fix the problem there is no need to ungroup and regroup as stated above. Simply select the default texture (either from the materials window or by sampling an untextured front or back face) then paint the unopened group or model. All untextures faces go back to untextured the way they should be.

        1 Reply Last reply Reply Quote 0
        • P Offline
          pmolsen
          last edited by 8 Sept 2010, 00:06

          When I start Sketchup after installing the plugin I get the following error:

          Error Loading File FixReversedFaceMaterials.rb
          No such file to load -- deBabelizer.rb

          I checked the zip file and there is no such file in it. I found a copy in the Lattice Maker plugin but it should really be in this one as well.

          Also what is the Sketchup8 link that is installed in the subfolder?

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 9 Sept 2010, 20:14

            @pmolsen said:

            When I start Sketchup after installing the plugin I get the following error:
            Error Loading File FixReversedFaceMaterials.rb
            No such file to load -- deBabelizer.rb
            I checked the zip file and there is no such file in it.
            I found a copy in the Lattice Maker plugin but it should really be in this one as well.
            Also what is the Sketchup8 link that is installed in the subfolder?

            Sorry about this... it is always the same 'deBableizer.rb' file... BUT I have now added it to the zip [ http://forums.sketchucation.com/viewtopic.php?p=264134#p264134 ] - it was packaged with the earlier zipped versions, but I missed it out of this one 😳
            I also managed inadvertently to add a shortcut linking to my copy of SUp v8 [luckily it's all public now anyway] - but that's now gone too !!! I just had a really bad day πŸ˜’

            TIG

            1 Reply Last reply Reply Quote 0
            • A Offline
              Aerilius
              last edited by 12 Sept 2010, 22:17

              No problem, that shortcut was not dangerous πŸ˜„
              Many thanks, this is the best reversed-faces-plugin that I ever found πŸ‘

              I saw, maybe you'd like to have a german translation πŸ˜‰
              new german translation

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 12 Sept 2010, 22:36

                Thanks for the DE lingvo.
                I'll include it in any future release - unless someone else wants to jump in with another version or comments...
                My German is not up to much [as you probably noticed!]... πŸ˜‰

                TIG

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 19 Oct 2010, 12:52

                  Here's a tweaked German lingvo file [by Aerilius]...FixReversedFaceMaterialsDElingvo.zip

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Ecuadorian
                    last edited by 14 Dec 2010, 22:04

                    Thank you, TIG!

                    This is a life saver... πŸ‘

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

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 3 Jan 2011, 16:18

                      Here's another version of the DE lingvo [by User2012] - try them and choose which you want...FixReversedFaceMaterialsDE.zip

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Eugenegoth
                        last edited by 3 Feb 2012, 12:36

                        Thank you TIG!!!!

                        1 Reply Last reply Reply Quote 0
                        • Rich O BrienR Offline
                          Rich O Brien Moderator
                          last edited by 15 Feb 2012, 22:20

                          Any chance this could be compiled under a menu? πŸ˜•

                          Download the free D'oh Book for SketchUp πŸ“–

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 16 Feb 2012, 09:43

                            @unknownuser said:

                            Any chance this could be compiled under a menu? πŸ˜•

                            No sooner said than done - here's v1.5 with the four tools under one submenu http://forums.sketchucation.com/viewtopic.php?p=264134#p264134
                            πŸ€“

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • Rich O BrienR Offline
                              Rich O Brien Moderator
                              last edited by 16 Feb 2012, 09:56

                              Thanks πŸ‘

                              I've a file that doesn't remove backface materials πŸ˜•

                              Download the free D'oh Book for SketchUp πŸ“–

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 16 Feb 2012, 10:02

                                @unknownuser said:

                                Thanks πŸ‘
                                I've a file that doesn't remove backface materials πŸ˜•

                                Let's see it - PM if needed...
                                Is it perhaps a group/instance where the back face is actually the default material but is displayed in the container's material ? πŸ€“

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • Rich O BrienR Offline
                                  Rich O Brien Moderator
                                  last edited by 16 Feb 2012, 10:10

                                  Too large for here. I'll email it.

                                  Download the free D'oh Book for SketchUp πŸ“–

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 16 Feb 2012, 10:16

                                    Got it.
                                    Where are the errant back faces with materials ?

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 16 Feb 2012, 10:22

                                      Fixed it and emailed back to you... a material was applied to some group/instances, I used the Outliner and Entity Info to make it the default-material, then re-ran the tool to remove all back-face-materials - it seems OK now ?

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        JGA
                                        last edited by 16 Feb 2012, 22:44

                                        Thanks

                                        Regards,
                                        JGA

                                        1 Reply Last reply Reply Quote 0
                                        • irwanwrI Offline
                                          irwanwr
                                          last edited by 17 Feb 2012, 23:13

                                          i might have a problem with the new version 1.5 20120216.
                                          i don't know why and not sure either.
                                          the last time i used this plugin, it can be accessed in context menu by right clicking.
                                          but it seems that the new version would only available in the toolbar menu instead.
                                          i just overwrite the previous version when installing this new one.

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

                                          Advertisement