Jump to content
eunchae

Question on how to adjust the width of the curve.

Recommended Posts

test.thumb.JPG.ffdca7e9ea7f6ab369cbcb742c992a93.JPG

Hi.

I am trying to adjust the width of the curve I made.

The curve was drawn using the'draw node'.

But I am not sure.

The center is the thickest and I want to make it thinner towards the end.

What should I do?

Thank you.

Share this post


Link to post
Share on other sites

It looks like you code is working, however, you have multiple strokes so each stoke is applying the code to itself. There are some icon buttons for flipping your ramp around, which might help, but you may want to simply redraw and think about your start and end locations.

There is also a free tree HDA available in the content library that you might want to use and simply ray the results onto your sphere.

  • Like 2

Share this post


Link to post
Share on other sites
On 2020. 7. 2. at 9:45 PM, Atom said:

It looks like you code is working, however, you have multiple strokes so each stoke is applying the code to itself. There are some icon buttons for flipping your ramp around, which might help, but you may want to simply redraw and think about your start and end locations.

There is also a free tree HDA available in the content library that you might want to use and simply ray the results onto your sphere.

Thank you for answer.

I'm not sure what content library helps me.

How to turn over a ramp?

Should this use foreach?

Thank you.

Share this post


Link to post
Share on other sites

from what i see you just need to remap @curveu attribute:

@curveu = fit(@curveu, 0, 1, 1, 0);      // by adjusting numbers inside the brackets you drive the resulting thickness

and then do your thing with @pscale and it should be it

  • Like 1

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

×