Jump to content

calculate distance between two specific points with VEX


jon3de

Recommended Posts

Hello,

My goal is to calculate the distance between two specific points in a wrangle sop. For the distance expression I need two vectors right? But I was not able to get the specific position vector of Ptnum 2 for example. After some research I was able to achieve it in vops with import point attribute.

In the wrangle sop I have still problems. Here I would be grateful for some help.

As you can see in the picture I try to create two vectors with "pointattrib" which I want to use in the distance expression. I think that is the right way but I have problems with the syntax of the "pointattrib".

 

kind regards 

Jon

 

 

post-12840-0-39478800-1452350201_thumb.j

post-12840-0-94235500-1452350201_thumb.j

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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