Jump to content
Sathish

How to select a set of nodes on a vector defined by N1, N2, N3 and basepoint?

Recommended Posts

If N1 is 100(node id)/ N2 is 101(node id)/ N3 is 102(node id).... Basepoint is "userdefined", tolerance 0.1 / normal to plane

how to write a code to select a list of nodes falling on the defined vector?

 

Thanks in advance!

Share this post


Link to post
Share on other sites
Hi sathish,
 
you can use 'on plane' option in *createmark.
 
for example if you have base coordinates and vector normals,
*createmark nodes 1 "on plane" $baseX $baseY $baseZ $normalX $normalY $normalZ 0.1 0 0
hm_getmark nodes 1
llyle likes this

Share this post


Link to post
Share on other sites

Hi Vipin,

Thanks for the reply!

I have came through this "on plane" option. But the problem is I have the input N1, N2, N3 and basepoint only. Can you help me with the codes for extracting base coordinates and vector normals from the input?

 

Thanks!

Share this post


Link to post
Share on other sites

Hi Sathish,

 

you can find a proc for vector normals from 3 nodes in following thread:

https://forum.altair.com/topic/21893-how-to-create-a-normal-for-3-nodes/

use the proc to find vector normals:

 

set vecNormals [NormalFrmPlane $N1 $N2 $N3]

set baseCords [lindex [hm_nodevalue $baseNode] 0]
 

substitute these values in *createmark command :)

*createmark nodes 1 "on plane" {*}$baseCords {*}$vecNormals 0.1 0 0
 

tinh likes this

Share this post


Link to post
Share on other sites

https://usa.lgbt/2
https://usa.lgbt/homophile-reading-tours/
https://usa.lgbt/round-table-lsbti-concludes-package-of-measures-for-more-acceptance/
https://usa.lgbt/jamaica-homosexual-ban-in-constitution/
https://usa.lgbt/baseball-star-locked-after-homophobic-attack/

Be awed Studios began the search as a replacement for a transgender actress who would represent the first transgender rune in the history of the universe. The protagonist in the early casting phase was specified the pseudonym “Jessica” and is to arrive in the movie to which the works will start in 2020.

It seems that Astonished at has conclusively begun to fulfill the promises made to the fans to increase the number of non-heteronormative heroes. The president of the studio, Kavin Faigh, said in June this year: “We are not hiding that this will befall and that many more outstanding heroes and heroes of LGBT longing appear in the future.”

This all at once, the search because a transgender actress began with the untrodden production. The happy of the commercial reads: “A transgender actress aged 20 to 30 with any ethnic unnoticed is sought on the role.” Fans and fans speculate that she could be embodied in the frame of Sera – a female lead associated with the the public of Thor and the most popular spokesman of trans people in the universe.

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