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

    How to detect the closed body?

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 4 Posters 203 Views 4 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.
    • voljankoV Offline
      voljanko
      last edited by

      I would like to detect if a body is closed,so all the faces are connected.For example,if I check the cube with additional unconnected line or face,I should detect the cube.So how to loop faces and edges to find that the body has no holes?
      Thanks.

      SuSolid.com - solid check - solid repair- solid intersection check - weight plugin

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

        Solid Inspector by Thomthom ?

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

        1 Reply Last reply Reply Quote 0
        • voljankoV Offline
          voljanko
          last edited by

          Thank Pilou.
          I have fount this interesting in the Solid Inspector plugin:# Any edge without two faces means an error in the surface of the solid.

          But this is not enough to detect a potential solid, because not all edges with two faces means the solid.
          There is still a definition missing,what combination of edges and faces makes a solid.
          Any tips?
          The award will be a useful and free plugin πŸ˜„

          SuSolid.com - solid check - solid repair- solid intersection check - weight plugin

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

            @voljanko said:

            But this is not enough to detect a potential solid, because not all edges with two faces means the solid.

            I thought this was enough? If there is an Edge with only 1 Face, then there is a hole in the solid. If there is an Edge that has 3 or more Faces, then there is an internal Face.

            Hi

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

              I have difficulty conceiving some 3d geometry where all edges do have two faces but it isn't a solid ?? As Jim says a tetrahedron is the simplest form buy if you add any internal partitions or have 'flaps' then there will always be some edges which have <>2 faces!
              Doesn't group.manifold? also return false if the group is NOT 'solid' ? [there's a similar test with component_instance.manifold?] Then you don't need to worry about testing edges/faces ?
              πŸ˜•

              TIG

              1 Reply Last reply Reply Quote 0
              • voljankoV Offline
                voljanko
                last edited by

                Ok,I like this definition:If all the edges in the geometry have 2 faces ,it is a solid.
                Maybe I have complicated a little 😳

                SuSolid.com - solid check - solid repair- solid intersection check - weight plugin

                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