sketchucation logo sketchucation
    • Login
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here

    [Plugin] Manifold v2.2

    Scheduled Pinned Locked Moved Plugins
    126 Posts 19 Posters 57.0k Views 19 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

      @driven said:

      @tig said:

      Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=218691#p218691
      Still struggling with driven's monster...
      More feedback and ideas please... πŸ€“

      that's the simple version, so far it's taken 2hrs 14 min and 49seconds just to explode all the groups so I can then re-group to test the plug on it (and it's only 600,000+ poly's)
      I just fired up the other computer so I'll do some simple tests on it, while I wait

      I've added some more error reporting in the console to my own version so I can at least see what these errors are - seems related almost exclusively now to healing very tiny holes ?
      I'm thinking perhaps to move these vertices to heal these tiny gaps rather than fail making edges that are too small inside a 'rescue' ? It would change the model's form, but so slightly you'd never notice...

      Watch this space πŸ€“

      TIG

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by

        Did you scale it up even more?

        learn from the mistakes of others, you may not live long enough to make them all yourself...

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

          @driven said:

          Did you scale it up even more?

          Scaling it up x100 or so might make the tiny gaps 'face' - but I looking at pinching the nearly closed verices together so that the gap goes... without much success it has to be said ! 😞

          TIG

          1 Reply Last reply Reply Quote 0
          • D Offline
            driven
            last edited by

            booled shapes, odd repair on torus

            works on Mac

            no Jade highlighting on second test, this model was coloured, 1st wasn't

            hole repair goes from every other vert on torus?

            messages

            2 then
            manifold, orienting faces then
            6
            no option dialogs, etc...(should there be?)

            CadSpan Style shows up no reversed faces after, GOOD

            I'll try more

            learn from the mistakes of others, you may not live long enough to make them all yourself...

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by

              Sorry. shows up when I click on that repair, the first was there from the top, I'm sure....
              highlighting is on the underside...EDIT: and it ungrouped separate geometry?

              learn from the mistakes of others, you may not live long enough to make them all yourself...

              1 Reply Last reply Reply Quote 0
              • D Offline
                driven
                last edited by

                OK, am I following this a bit better now.

                I got a Manifold dialog-box on the comp_fish when no repairs were needed and the new group is moved to one-side, [url]/viewtopic.php?f=10&t=25473&p=218811#p218811[/url]

                on the other, after the repairs were done, all 3 two manifold bits stayed in place so I get the 6 meaning six manifold selection? and the box points just stay to one-side.

                learn from the mistakes of others, you may not live long enough to make them all yourself...

                1 Reply Last reply Reply Quote 0
                • D Offline
                  driven
                  last edited by

                  EDIT: CRASHED OUT SU 20 seconds no crash report, and SU restarted on a new drawing, now that has [bnever happened before, and I mean everever SU doesn't restart....[/b]]I let it cook and see the results it in the morning...

                  how odd, so I think I'll play some more

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                    Run with the Ruby Console open for error reports - a new version will be available soon that I hope will be more robust...

                    TIG

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

                      @tig said:

                      Three-faced-edged external-faces now usually kept. [fixed TT's ball-breaker boxy mess πŸ˜„ ]

                      Very interesting. I was stomped on this when I some time ago tried to make a remove_inner_faces script. Will have to snoop around the code. I'll probably dig up some more fun geometry - thing I got a batch of trouble-samples... πŸ˜„

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

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

                        @tig said:

                        I'm thinking perhaps to move these vertices to heal these tiny gaps rather than fail making edges that are too small inside a 'rescue' ?

                        You need to rescue? Doesn't add_face return nil if it fails?

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

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

                          @thomthom said:

                          @tig said:

                          I'm thinking perhaps to move these vertices to heal these tiny gaps rather than fail making edges that are too small inside a 'rescue' ?

                          You need to rescue? Doesn't add_face return nil if it fails?

                          Yes BUT then I do things with the face that fail if it's nil - if the points are non-planar - which I can't see how but it rarely says they are - perhaps co-linear there's an error - therefore a rescue seems appropriate - I need to look at how I get these points.
                          At the moment to 'heal' a gap we find an edge with only one face and if it has a shared vertex with another edge then we try to use three points from their vertices' points to make a face - however it's possible for the points to be co-linear or virtually so and no face gets made... I'm looking at a more robust algorithm that ensure such edges are 'faceable' before trying it... πŸ˜’

                          TIG

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

                            @thomthom said:

                            @tig said:

                            Three-faced-edged external-faces now usually kept. [fixed TT's ball-breaker boxy mess πŸ˜„ ]

                            Very interesting. I was stomped on this when I some time ago tried to make a remove_inner_faces script. Will have to snoop around the code. I'll probably dig up some more fun geometry - thing I got a batch of trouble-samples... πŸ˜„

                            That was a quick fix BUT it will fail with very convoluted shapes that have inner faces like driven's pretzel ! I looking at an even better fix...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • EarthMoverE Offline
                              EarthMover
                              last edited by

                              I'm still a little confused about the use of this plugin. Would it be of any value for anyone who is not doing 3D printing?

                              3D Artist at Clearstory 3D Imaging
                              Guide Tool at Winning With Sketchup
                              Content Creator at Skapeup

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

                                @earthmover said:

                                I'm still a little confused about the use of this plugin. Would it be of any value for anyone who is not doing 3D printing?

                                Probably not... but it does remove internal partition faces in a volume and fixes any 'holes'... πŸ˜„

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  driven
                                  last edited by

                                  any form of additive or subtractive rapid prototyping will require good clean meshes to work from, 3D printing is just one of many format used on a day to day basis.

                                  in more generalised modeling if you ever intersect or bool two solids and then try to continue with more advanced manipulations (readily available to SU ruby users) then chances are at some stage you've had to manually repair the mesh, this tool does it for you.

                                  I was doing test last night using it between bool operations on the standard SU shapes, and was surprised. A. how many little holes it found and B. how many holes the bool tool had left.

                                  Rendering engines that have been developed for solids will perform much quicker on a manifold objects

                                  So if you never use need to modify after intersecting two objects, and only ever upload to google earth or make sheet material products then this type of tool is probably not needed...

                                  john

                                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    driven
                                    last edited by

                                    took 15 mins but did a fine job this one TIG
                                    34000 polys

                                    learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                                      Nice... apart from 3D printing. I think this can be used for healing models for rendering... when dielectric or SSS materials are used, there are a similar requirement as for 3D printing.

                                      Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                                      1 Reply Last reply Reply Quote 0
                                      • EarthMoverE Offline
                                        EarthMover
                                        last edited by

                                        @notareal said:

                                        Nice... apart from 3D printing. I think this can be used for healing models for rendering... when dielectric or SSS materials are used, there are a similar requirement as for 3D printing.

                                        Can you elaborate? Curious about the logic of the renderer. Would it be similarly for meshes requiring displacement?

                                        3D Artist at Clearstory 3D Imaging
                                        Guide Tool at Winning With Sketchup
                                        Content Creator at Skapeup

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          driven
                                          last edited by

                                          I know when I put a light source inside that dragon before xmas, light leaked out of all the holes in the mesh, so I had to fix them. cap hole didn't do it. you had ago at that one didn't you?

                                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                                          1 Reply Last reply Reply Quote 0
                                          • EarthMoverE Offline
                                            EarthMover
                                            last edited by

                                            I did. I didn't have any issue with light leaks...but I used a higher poly version than most.

                                            I wasn't sure if the plugin subdivided the mesh as well. I guess I should download and try. I keep telling myself I have to stop adding unnecessary plugins as it is becoming hard to deal with a plugins list three pages long!! Time to clean house.

                                            3D Artist at Clearstory 3D Imaging
                                            Guide Tool at Winning With Sketchup
                                            Content Creator at Skapeup

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

                                            Advertisement