Jump to content
Sign in to follow this  
apollo11

Rebar direction

Recommended Posts

Posted (edited)

I have normals following each other. The distance between two points is kept in the @perimeter attribute. I want @N to unfollow when @Perimeter crosses the distance I set.

1.gif.1c4e8e120e212fe7a4e0b8b9a42bd7d6.gif

I did a setup but it doesn't work properly @N direction keeps changing.

aa.png.578a7fdaf10e7f506dd3fcdb1fb5e8a2.png

3.gif.7695a64aa28444fd0331e2831ce678a2.gif

Scene file:   N_direction.hiplc

 

Edited by apollo11

Share this post


Link to post
Share on other sites

Take perimeter or Vertex beetwen only 2 points of that Line and promote to Gradient middle, or same Chess tex, make to class and random threshold with constant anime B spline, or some Nice Spline :P to chops and Back.  or use This Shortcut 'Ex'  With Vellum( Don't know About Vellum ..Nada...) . just onooo:ph34r:...Maybe it Helps !!

set_emi.hipnc

Share this post


Link to post
Share on other sites

I can´t look at your file right now. but from the pic, it looks like you forgot to set your curly brackets { } for your if statement

Share this post


Link to post
Share on other sites
On 2022/10/7 at 10:56 PM, apollo11 said:

I want @N to unfollow when @Perimeter crosses the distance I set.

you should update normal for each point after reaching 2.8 length,I used some simple matrixes to do that

hope it helps

N_direction_v2.hiplc

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

  @Benyee It works, thank you, I learned new things thanks to you.  

Finally, I was planning to restrict the angle of the normal to prevent it from entering the geometry, but I thought it was not so important.

gif.thumb.gif.6386cdad499a8461ea7bfc461496786d.gif

Edited by apollo11

Share this post


Link to post
Share on other sites
On 10/8/2022 at 5:04 AM, Mazl said:

I can´t look at your file right now. but from the pic, it looks like you forgot to set your curly brackets { } for your if statement

@Mazl for single lined "if" statements, curly brackets are not necessary.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×