system
#1
Dear All,

Could someone be kind enough to explain the basic relationship between drawing & mathematical equations.

e.g.- I need to draw Bean Curve & the mathematical expression is as shown in the attachment.

How should i go about drawing this curve?

Is it too complex ?

Thanks.

system
#2
Bean Curve

In the attachment, I have created 4 points & joined them with a nurb.

But is there a faster way to create this curve, by writing a formula in the code block?

Thanks.

Hello Chander Gupta,

As your Points are having some specific Coordinates , you have to create them and then make it a collection.

There is one way to minimize Number of Node usage to write some simple code in CBN. (See attached image).

Thanks,

Ritesh

system
#4
Bean Curve

Hi Ritesh,

The ‘arrayOfPoints’ doesn’t seem to be working…any idea on this?

Thanks,

Chander.

Hello

arrayOfPoints is not working because you have added those points which is wrong, you need to separate them by comma.

arrayOfPoints = {pt1+pt2+pt3+pt4}; (wrong)

arrayOfPoints = {pt1, pt2, pt3, pt4};

Thanks,

Ritesh