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

    [Plugin] Face Flattener 0.19

    Scheduled Pinned Locked Moved Plugins
    50 Posts 29 Posters 53.9k Views 29 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.
    • thomthomT Offline
      thomthom
      last edited by

      @cerevellum said:

      However, if you were to erase the edge that connects both edge loops first, then you can erase the edges of the inside rectangle just fine. It apparently has to do with the order in which you erase coplanar edges. Delete edges in the following order: edges connected to 0 faces go first, then edges connected to 1 face, and finally edges connected to 2 faces.

      [attachment=0:p7r2k6cj]<!-- ia0 -->edgeFaceEraseExFinalB.jpg<!-- ia0 -->[/attachment:p7r2k6cj]

      That line that connects the two squares has two items in it .faces array - both referring to the same face.

      I've also come across times when you have a face inside another face. They have one vertex that they share. All the edges in the inner face is also part of the outer face. Some weird cross loop. If you delete one of the edges of the inner face, you'll affect the outerface and it's disappear. It's one of them things that makes removing co-planar edges really hard.

      One of my versions has been to recreate the geometry - but even that didn't work perfectly.

      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

        Here's a sample of such a loop. I just moved the vertex of the connecting line onto the outer edge. There are other cases when this happen as well.
        If you try to delete any of the edges of the internal face you'll also delete the outer face.


        Crossloop.png


        Crossloop.skp

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

        1 Reply Last reply Reply Quote 0
        • utilerU Offline
          utiler
          last edited by

          For some reason, I don't get this script....
          Does it work similar to "drop.rb"?

          cheers,

          purpose/expression/purpose/....

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

            @thomthom said:

            Here's a sample of such a loop. I just moved the vertex of the connecting line onto the outer edge. There are other cases when this happen as well.
            If you try to delete any of the edges of the internal face you'll also delete the outer face.

            Whooopdedoo! This is fixed in 7.1!!!

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

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

              Zach, you're my hero! Thanks.

              1 Reply Last reply Reply Quote 0
              • G Offline
                Glidias
                last edited by

                The script doesn't work and has no effect. Any reason why??

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

                  @glidias said:

                  The script doesn't work and has no effect. Any reason why??

                  No. You must provide some more info. Exactly what doesn't work? No menus? No action when you activate the menus? Not the desired results? What did you do when you tried to use it? (detailed) If you open the Ruby Console, did you get any error messages when you tried to activate it?

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

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

                    I also get no results. According to the OP, I should select my object(s), then context click and select "Flattening Script", then select the plane I wish to flatten to. Nothing happens when I do this, however.

                    Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

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

                      as mentioned, does not work as described. Running v8 pro

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

                        @d_fast said:

                        as mentioned, does not work as described. Running v8 pro

                        Can you elaborate more? "Does not work" doesn't really say a whole lot.
                        So you get errors? Does it not work as expected - if so what was the result and what was expected?

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

                        1 Reply Last reply Reply Quote 0
                        • robertWanR Offline
                          robertWan
                          last edited by

                          Why not working?
                          SU8

                          Maybe there is another plugin? Artisan is paid 😞

                          http://www.screencast.com/t/20sxZ3Uuk

                          Robert

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

                          Advertisement