sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    Recreating lost faces automatically?

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    9 Posts 7 Posters 279 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.
    • M Offline
      MrFixit
      last edited by

      As a newbie to SU, the forum, and being my first post, please be kind in your replies if I have missed the obvious!

      My challenge: I have a very large triangulated mesh (wireframe) consisting only of edges. I need to re-create the faces that should exist within each of the bounding triangle edges. I do not intend to use the line tool to re-draw over thousands of existing edges to re-establish the faces.

      My question: Is there a tool or script that has been developed which will automatically re-create all the missing faces from this triangulation mesh?

      The details: The (faceless) wireframe was originally derived from a triangulated (faceted) surface of a microstation .dgn file but the conversion to the dwg format (to enable import to SU) only produced edges and not faces. I do not have microstation, so can not export to the .skp format that I know is possible from microstation. I have tried Curviloft from Fredo6 but this does not seem the right tool to use simply to re-create faces from already closed triangles.

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        Hi Gus and welcome.

        The "From contours" of the "Sandbox tools" should do the trick. Select all these edges and run the tool.

        If you haven't done so already, you will need to activate the Sandbox tools under Window > Preferences > Extensions. Restart SU. You can either run the tool from the Tool menu > Sandbox... or activate its toolbar from the View menu > Toolbars.

        Gai...

        1 Reply Last reply Reply Quote 0
        • pyrolunaP Offline
          pyroluna
          last edited by

          there's a plugin called Makefaces. I use it all the time to make faces in flat autocad drawings, but I think it'll work just as fine for non-flat stuff, as long as you've got closed lines. You can download it at Smustard.com

          1 Reply Last reply Reply Quote 0
          • Jean LemireJ Offline
            Jean Lemire
            last edited by

            Hi Gaieus, hi folks.

            Using the Sandbox Tool will probably add a lot of additional edges.

            The Make Face utility, that comes with SU, cannot use edges around more than one face.

            I think that the plugin is required.

            Just ideas.

            Jean (Johnny) Lemire from Repentigny, Quebec, Canada.

            1 Reply Last reply Reply Quote 0
            • pilouP Offline
              pilou
              last edited by

              Cap holes inside Sketchy Bevel By CPhillips 😉
              Selection / Right Click/ Cap holes

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

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

                Thanks for the replies folks.
                I have tried both the sandbox method and the plug-in.
                I can confirm that Jean is correct about the sandbox adding lots of extra edges and unexpected, unwanted faces. It also sometimes fails to make faces depending on the surrounding geometry of the triangulation edges (ie complex shapes). It is however very fast compared to the plug-in.

                The makefaces plugin works well but is very slow.
                Here is the report it generated after selecting a very small subset (1000 edges) of the large mesh (300000 edges) I have to deal with.

                makefaces.rb: Copyright 2004-2006 Burchwood USA.
                Version 1.2 May 14,2006.

                There were 1000 selected items.

                There were 0 non-Edge selected items.
                There were 1000 Edges selected.

                There were 940 face(s) added.
                The process lasted: 1 Minute(s), 5.27200000000001 Second(s).

                By my estimate that means my computer is going to be crunching for about 5 1/2 hrs to re-face the entire mesh!
                The sandbox method, by way of comparison, took less than 1 sec on the same subset.

                Perhaps those ruby script gurus out there who like a challenge can take this one up?!

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  The two scripts are doing very differet processes. Just start the make faces on running and see how it goes. Divide it up into 2 or 3 chunks if you want. Let it run overnight.

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • honoluludesktopH Offline
                    honoluludesktop
                    last edited by

                    Or, post your model in the SketchUcation "Developers' Forum" and ask for help. Running overnight may be faster.

                    1 Reply Last reply Reply Quote 0
                    • GaieusG Offline
                      Gaieus
                      last edited by

                      Hi guys,

                      Indeed, I have tried from contours on a mesh previously created from scratch of the sandbox (expecting the closest result as it had been before deleting the faces) and it came out completely different and unpredictable (and lot more edges than necessary).

                      So my solution was not the ideal here.

                      Gai...

                      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