Finding a closed loop free edges

vreddy
vreddy Altair Community Member
edited October 2020 in Community Q&A

Is there any direct or simple way to find closed  loop free edges ??

Answers

  • tinh
    tinh Altair Community Member
    edited July 2017

    Yes, there is not direct but simple way

    It is like this

     *createmarkpanel elems 1 'Select elements:' hm_blockerrormessages 1 catch {*findloops elems 1 0} hm_blockerrormessages 0 if {[hm_entityinfo exist comps ^loops]} {      #if you use hm14 or newers:      *createmark elems 1 'by comp name' ^loops      set FreeEdgeLoops [hm_findconnectedpatches elems 1]      #if you use hm13 or olders:      upgrade => version14       #just joke! try isolate only component ^loops, and gather its elems 'by attached' }

     

  • vreddy
    vreddy Altair Community Member
    edited July 2017

    Hi tinh ,

       

    *findloops elems 1 0   -> is not creating component named ^loops

     

    It will work only for shell elements ??? (not for 1D)

     

    Thank's for your reply.

     

  • tinh
    tinh Altair Community Member
    edited July 2017

    Yes it works with shell Vreddy

    Dont create free edges by *findedges

    Use *findloops will create just loops

    If you still want to use ^edges, try

    *createmark elems 1 'by comp name' ^edges

    set Loops [hm_findconnectedpatches elems 1]

     

    But sometimes, free edges are not loops (example if you have a flat plate with a rib on it)

  • vreddy
    vreddy Altair Community Member
    edited July 2017

    Thanks tinh.