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

    [WrapR] Does anyone know what causes holes in the mesh?

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    16 Posts 3 Posters 3 Views 3 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.
    • B Offline
      BrittBliss
      last edited by

      @rich o brien said:

      @brittbliss said:

      @Rich O Brien

      Hi there, did you ever figure out what was causing the holes?

      First, I look forward to when @ actually works here....soon πŸŽ‰ πŸŽ‰

      Second, we are looking at it and it looks like a winding issue where the geometry is there just folded over on itself. The problem being we can't reproduce the issue outside of your example.

      If you have more models that have this issue please share them because its not something we can accurately identify as a reliable cause.

      Thanks for replying. So going back to the model I used as an example, I did the same thing you did and added seams along the cylindrical portions in addition to what was already there but the holes were still there. I thought maybe my installation was corrupted since I installed it on my D drive instead of the default C drive. I did a clean install of everything to the default C drive and the issue persists. I don't know what's going on with that.

      I've had holes on every model that I've tried to unwrap. I don't know if it's relevant but all of the models, including the one you received as an example are from 3rd parties. I don't know if it makes a difference that they weren't modeled in sketchup. I downloaded a random wine glass model from the sketchup warehouse and did a simple unwrap- no holes.

      Here is the most recent model I've been practicing with. This is what it looks like after I click "unwrap in Wrapr", click the "show stretch" button, and set the mapping to LSCM.Before_1.png

      I did nothing else and clicked save. This is the result.
      After_1.png

      Here is the skp file


      Screw_Test 5.skp

      1 Reply Last reply Reply Quote 0
      • Rich O BrienR Offline
        Rich O Brien Moderator
        last edited by

        @brittbliss said:

        I don't know if it's relevant but all of the models, including the one you received as an example are from 3rd parties. I don't know if it makes a difference that they weren't modeled in sketchup. I downloaded a random wine glass model from the sketchup warehouse and did a simple unwrap- no holes.

        It does matter as not everyone's modelling standards are the same. In your provided file I got the same issue as you did. I did some quick mesh analysis to see what would appear. Using Fredo Tools > Remove Lonely Vertices found 2 vertices. Removing those allowed me to remark the seams in the problematic area. Unwrapping got me this...

        https://i.imgur.com/2WCLkts.png

        No offence to whoever modelled that mesh but relying on 3D warehouse for modelling standards is not a good practice. Its the Wild West of 3D content.

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

        1 Reply Last reply Reply Quote 0
        • B Offline
          BrittBliss
          last edited by

          @rich o brien said:

          It does matter as not everyone's modelling standards are the same. In your provided file I got the same issue as you did. I did some quick mesh analysis to see what would appear. Using Fredo Tools > Remove Lonely Vertices found 2 vertices. Removing those allowed me to remark the seams in the problematic area. Unwrapping got me this...

          https://i.imgur.com/2WCLkts.png

          No offence to whoever modelled that mesh but relying on 3D warehouse for modelling standards is not a good practice. Its the Wild West of 3D content.

          Yeah, I agree but I guess the same could be said for every 3D marketplace. I got this screw model from 3dsky and the other models are fixtures from the kohler website. I'm assuming kohler just 3d scanned their products.

          So yours continued to look like that after you clicked save? The fredo tool only found 1 vertice for me. This was my result
          Screenshot 2024-01-18 135840.png
          After I clicked save, I had the same problem in my previous picture where the holes appeared in all of those corners and the unwrapping result changed.

          1 Reply Last reply Reply Quote 0
          • Rich O BrienR Offline
            Rich O Brien Moderator
            last edited by

            @brittbliss said:

            So yours continued to look like that after you clicked save? The fredo tool only found 1 vertice for me. This was my result

            I only tested why the unwrap was failing. I didn't save it back because it it far too dense for WrapR. WrapR is aimed at optimised models with a low to medium poly count. This mesh has 22k entities and rebuilding skp files via the SDK is not snappy.

            A second thing to consider is SketchUp's issue with small geometry. Once you go below ~1mm SketchUp struggles. If you scale this object to be 100x bigger you still encounter edges ~2-3mm in length.

            So for me its a good example that we need to trap and alert users to:

            [A] Geometry density unoptimized for unwrapping
            [B] Geometry under the threshold in terms of dimensions

            But asking SketchUp to rebuild this mesh reliably at such a small size is a not possible. But if you scale to eliminate the smallness issue you can unwrap it the resulting mesh will be without holes. You can see in the Entity Info that the group is reporting that the mesh is manifold.

            https://i.imgur.com/zwORLSw.png

            Screw_Test 5.skp

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

            1 Reply Last reply Reply Quote 0
            • B Offline
              BrittBliss
              last edited by

              @rich o brien said:

              But asking SketchUp to rebuild this mesh reliably at such a small size is a not possible. But if you scale to eliminate the smallness issue you can unwrap it the resulting mesh will be without holes. You can see in the Entity Info that the group is reporting that the mesh is manifold.

              https://i.imgur.com/zwORLSw.png

              [attachment=0:328jkpcs]<!-- ia0 -->Screw_Test 5.skp<!-- ia0 -->[/attachment:328jkpcs]

              Ok so I've playing around with the 2 models I gave you as examples and also some other models I had this problem with. I can see now that depending on the model, holes can be prevented by meeting at least one of these conditions:

              1. Must be a solid
              2. Model must be large enough
              3. Model must be unwrapped from the raw mesh

              In the case of this screw, all conditions had to be met. Some models can be unwrapped even if the geometry is wrapped in a group and I can just click on the group. Some models have to be a solid. Looking at my first example, I kept the original seams (no seams along the cylindrical portions) but just made it a solid and that fixed the issue. Any combination of those conditions will fix the issue but it depends on the model.

              You've been a big help, I know what to look for now, Thank you!

              1 Reply Last reply Reply Quote 0
              • panixiaP Offline
                panixia
                last edited by

                @brittbliss said:

                1. Must be a solid

                Not really. It doesn't need to be solid, it simply has to be clean.
                You just want to avoid, small triangles, folded triangles, intersecting geometry, ngons.

                If you want to get serious into unwrap, regardless the app you use, I'd reccomended to practice with modeling and topology, to better understand what's goin'on in your model.
                It's a bit harder to grasp if you can't model that kind of stuff yourself.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BrittBliss
                  last edited by

                  @panixia said:

                  Not really. It doesn't need to be solid, it simply has to be clean.
                  You just want to avoid, small triangles, folded triangles, intersecting geometry, ngons.

                  I understand it doesn't have to be a solid but as I mentioned in the first example, turning the model into a solid is what fixed the issue. I just exploded everything and regrouped it, I didn't do anything else. With some models, you are right, it doesn't have to be a solid.

                  1 Reply Last reply Reply Quote 0
                  • Rich O BrienR Offline
                    Rich O Brien Moderator
                    last edited by

                    @brittbliss said:

                    I just exploded everything and regrouped it, I didn't do anything else. With some models, you are right, it doesn't have to be a solid.

                    SketchUp has an 'auto-heal' feature whereby if it sees there's geometry so close that it should merge then it will do so.

                    The issue is that is does not consider the UVs of the geometry it is healing and things mess up.

                    You also may often see when import 3D files that SketchUp will fail to form faces and/or not import the textures. This is usually as sign that the model scale is the issue.

                    These are hurdles you begin encounter at higher frequencies when you push the boundaries of what SketchUp was primarily meant to do.

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

                    1 Reply Last reply Reply Quote 0
                    • panixiaP Offline
                      panixia
                      last edited by

                      @rich o brien said:

                      These are hurdles you begin encounter at higher frequencies when you push the boundaries of what SketchUp was primarily meant to do.

                      I push those freakin boundaries every day all day long and rarely face problems. πŸ˜„
                      The secred is: good topology & good practices

                      RC_SUbD.jpg

                      RC_Painter.jpg

                      1 Reply Last reply Reply Quote 0
                      • Rich O BrienR Offline
                        Rich O Brien Moderator
                        last edited by

                        @panixia said:

                        I push those freakin boundaries every day all day long and rarely face problems. πŸ˜„
                        The secred is: good topology & good practices

                        You are cut from a different cloth than the rest of us mere mortals. Flexing using UDIMs too. 😎

                        But how does SU read UDIMs? Separate maps? I know I read about this before with some other model you did but can't remember the workflow.

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

                        1 Reply Last reply Reply Quote 0
                        • panixiaP Offline
                          panixia
                          last edited by

                          @rich o brien said:

                          But how does SU read UDIMs? Separate maps? I know I read about this before with some other model you did but can't remember the workflow.

                          I did a quick recap in the thread about the Ferrari F2004, which was actually a pretty complex model.
                          Here's an extended overview of the full process I use to prepare the model for the cuts, the packing of the tiles and the final reload (including some tricks for unfolding flat strip throwing in a bit of Thrupaint and also to create an ID map straight in Sketchup). I'not sure which is the worst, if my english or my michrophone, but I hope it's itellegible enough. 🀣

                          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