Jump to content
cskkumar

Get all nodes on a outer circumference

Recommended Posts

Hello Experts,

 

I am new to TCL scripting and I am from a IT background. I am learning Hyeprmesh and TCL scripting.

 

My problem is as follows  when one node is selected, I would like the script to select all the nodes on the same circumference. 

After this an RBE3 has to be created with the selected nodes.

I saw a similar solution for selecting all nodes on circumference when one node is pre selected , but that was for a simple cylinder. This is a crankshaft tube.

Any help would be much appreciated. Thanks

Capture.JPG

hugo_c likes this

Share this post


Link to post
Share on other sites

Hi, 

Unfortunately i don't have the solution to help you 

But would you share the solution you found working with cylinders ? 

7 hours ago, cskkumar said:

I saw a similar solution for selecting all nodes on circumference when one node is pre selected , but that was for a simple cylinder.

Thanks,

Hugo

Share this post


Link to post
Share on other sites

If mesh is uniform.. then by selecting 3 nodes its is possible.

-get the center node of 3 nodes

-create plane with these nodes

-find the faces of this component

-select the nodes "on plane" option

 

what you say @tinh

Share this post


Link to post
Share on other sites

Yes i think so. Uniform mesh is a special case, and we need 3 initial nodes

 

Try reducing to 2: 2 init nodes form a vector, looking for an adjacent node that closest to the vector, repeat one by one will help in case of non-uniform

 

And try reducing to 1: from 1 node find adjacents and looking for a theesome that form a minimum angle (feature angle along circumference is min, along cylinder axis is max)

 

 

 

Pandurang likes this

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.


×
×
  • Create New...