Jump to content
Sign in to follow this  
darioaresta

Create dependent linemesh

Recommended Posts

Hi all!
I'm a student very new to HyperMesh, and I need to solve my doubt.

There is any chance to create linemesh from nodes to a single node? I saw this function for rigids with dependent/independent nodes.

thanks

Dario

Share this post


Link to post
Share on other sites

what kind of 1d element do you need to create?

 

Do you need to create several 1d elements all joined at the same node at one end and different nodes at the other?

yes!

I need to create bar2 element with linemesh, but i need lines.

 

I'm sorry but I can't access the script exchange because I'm a student, not a costumer.

Share this post


Link to post
Share on other sites

yes!

I need to create bar2 element with linemesh, but i need lines.

 

I'm sorry but I can't access the script exchange because I'm a student, not a costumer.

 

 

Hi,

try this script:

 

*createmarkpanel elems 1 "select rbe2 elements:"

*createmark elems 2 "by config" rigidlink

*markintersection elems 1 elems 2

foreach ElemId [hm_getmark elems 1] {

*createmark elems 1 $ElemId

*findmark elems 1 1 1 nodes 0 1

set Node1 [hm_getentityvalue elems $ElemId independentnode.id 0]

hm_markremove nodes 1 $Node1

foreach NodeId [hm_getmark nodes 1] {

*rod $Node1 $NodeId ""

}

}

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...