Help regarding Meshing in hypermesh

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A
Dear Admin,
 
I would like to ask your kind advice regarding meshing. I have a 3d voxel meshed file. The voxels are defined as solid sections. Now, all I want is to remove the voxels which are not sharing at least a common face. So, if any voxel that is not sharing a face with another voxel but sharing an edge or a corner, needs to be deleted. I want this to be done for all the existing voxel elements with one single procedure and not one by one. How can I do this.
Thanks in advance.

 

 

Tagged:

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited September 2016

    Interesting question :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' /> Maybe this's good for TCL script learning?

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited September 2016

    Screenshot of my script:

     

    <?xml version="1.0" encoding="UTF-8"?>HM_Voxel_s.png

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2016

    Dear Q.Nguyen-Dai,

    It seems like you solved the problem in an hour that I have been trying for last couple of months. The screenshot depicts exactly what I have been looking for.

    I am a new user of Hypermesh. But I tried to explore the options of meshing to solve this. May be I should have posted the questions earlier seeking help. If it's possible, then can you please share the TCL code (script) at your convenience. It will be of great help to me.

    Thanks and have a nice day.

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2020

    Here's my 'proof-of-concept' script.

    Unable to find an attachment - read this blog

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited September 2016

    @Tanvir : As written, this's 'proof-of-concept' code, I can't share the script code because the main goal of this forum is LEARNING. But if you would like to learn how to write yourself Hypermesh script, I could help some points.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2016

    Dear Sir,

     

    Thank you for the explanation. Yes, I would be happy if you could give me some pointers.

     

    And yet again, I would humbly request you if it's possible then please share the code. It will motivate me in learning scripting as I have to do it for the coming years. As I am badly in need of this right now. I guess, a little help would not destroy my future learning. Now, it's upto you whether or not you consider my situation .. :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

     

    Have a good day.

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited September 2016

    Two first things to do:

    1. Learn TCL programming (www.tcl.tk)
    2. Read & test 'Tcl Modify Commands' (..../Altair/14.0/help/hwdref/tcl_modify_commands.htm) HW Help
  • tinh
    tinh Altair Community Member
    edited September 2016

    :D/emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' /> Connectivity problem

    Hoping this can be checked by F10>3D>Connectivity in future hm versions

    One time I encountered error when adjusting normals due to a similar problem in 2D model