Jump to content

Allign Lines to all face normals and lenght


Etienne

Recommended Posts

I am trying to place a line that will be on every faces, should be align with the normal of every faces and be the length of every faces.

Using an AttributeWrangle and this VEXpression: 

addpoint(0,@P);
removeprim(0,@primnum, 1);

I am able to place a point in the middle of all faces and than CopyToPoints a line.
Now this line need to be align with every faces and be the max length of every faces.

Then I could re-sample and fits windows on every points.

I am probably doing' it wrong, there are probably a better way to do this but I'm just trying stuff here, helps would be welcome.

image.thumb.png.ce7422b94cf43a036e40d503a0d9e35d.png

Nvm, all good.

Edited by Etienne
No longer need help on this topic
Link to comment
Share on other sites

  • 4 weeks later...

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