🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Get all nodes on a outer circumference

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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

<?xml version="1.0" encoding="UTF-8"?>Capture.JPG

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "hugo_c"
    Altair Community Member
    Updated by hugo_c

    Hi, 

    Unfortunately i don't have the solution to help you 

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

    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

    User: "Pandurang"
    Altair Community Member
    Updated by Pandurang

    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

    User: "tinh"
    Altair Community Member
    Updated by tinh

    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)