Jump to content

How to use the edge_dir attribute (Edge Force)


magneto

Recommended Posts

Hi,

I am using the edge force trick to create point normals along the curve, but when I use a Point SOP to do this, it doesn't create a variable for the edge_dir attribute. So am I supposed to use an AttribCreate SOP for N after the Point SOP, and use the point expression for the values?

point("../point1", $PT, "edge_dir", 0)[/CODE]

Can I do all this within a single Point SOP?

Thanks :)

Edited by magneto
Link to comment
Share on other sites

you can use polyframe (Entity points and tangent name to N)

or use point ||||| Force taB-add edge force- attrib create* edge_dir to N

or u can rename edge dir to some other variable name and then import it back in the vop sop and plug in the normals

edit: attribute sop*

Edited by Hello world
Link to comment
Share on other sites

Thanks, so with the AttribCreate, I still cannot refer to it as EDGE_DIRX, etc, right?

So you either have to rename the attribute or use the point expression like in my first post. I thought after enabling the edge force, I could refer to it in the same Point SOP.

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