Jump to content
Sign in to follow this  
Anirudh12

Find one row mesh elements

Recommended Posts

I have a model with one row mesh elements at some locations . I have a logic to find the one row mesh elements , but is there any approach to split that one row into two ? 

P.S :  I need to automate the split or automesh option using TCL script . Is it possible ?

Share this post


Link to post
Share on other sites
On 7/23/2020 at 6:38 PM, Anirudh12 said:

I have a model with one row mesh elements at some locations . I have a logic to find the one row mesh elements , but is there any approach to split that one row into two ? 

P.S :  I need to automate the split or automesh option using TCL script . Is it possible ?

 

For selecting one row of elements, you can try :

hm_createmark "by box" "x0 y0 z0 x1 y1 z1 syst location contained all tol"

Place entities on mark_id if they are inside/outside/on the boundary of the box.
 x0 - lower bound x coordinate
 y0 - lower bound y coordinate
 z0 - lower bound z coordinate
 x1 - upper bound x coordinate
 y1 - upper bound y coordinate
 z1 - upper bound z coordinate
 syst - the ID of a local coordinate system to which the coordinate bounds are relative to. If 0, the global axes are used. location - The location of the entities to find, relative to the shape. Valid values are inside, outside, boundary and acrossboundary. contained - A flag that indicates whether the entire entity should meet the location criteria (1) or just any part of the entity (0) to be selected. all - A flag that indicates whether all entities (1) or only displayed entities (0) are considered for selection. tol - The tolerance to use. In most cases, this should be set to 0.

 

Anirudh12 likes this

Share this post


Link to post
Share on other sites
On 7/29/2020 at 7:28 AM, tinh said:

 

Logic to find them is: 1 row element will have 2 free-edge rows.

Just search every element that have 2 free edges.

 

 

Is it possible to split that one row into two using automesh option

 

Share this post


Link to post
Share on other sites

Yes, it is.

You have to break connection

But i don't think it is a good idea.

We can make a script to split quad strips, like a function in ansa 

Are you working with Japanese regulation? I know that jp regulation does not permit quad strips. I wrote a script to find them.

 

Anirudh12 likes this

Share this post


Link to post
Share on other sites
1 hour ago, tinh said:

Yes, it is.

You have to break connection

But i don't think it is a good idea.

We can make a script to split quad strips, like a function in ansa 

Are you working with Japanese regulation? I know that jp regulation does not permit quad strips. I wrote a script to find them.

 

Actually the element is not quad its tria . Im not working with japanese regulation.

Is it possible to remesh without breaking the connectivity?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...