Jump to content

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.

Link to comment
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
Link to comment
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.

Link to comment
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
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...