DesignScript Curve Translation,Geometry.Curve.ClosestPointTo#7– Code to Node to Code

Hi Everyone:

This the seventh DesignScript file in a series of forty-nine curve translations. The file, Geometry. Curve.ClosestPointTo.ds is from the DesignScript Editor (DSE) Sample files.

Geometry.Curve.ClosestPointTo.ds#7

Geometry.Curve.ClosestPointTo.ds#7

After loading it in the Editor (DSE), copying it to ones clipboard, open DesignScript Studio (DSS)and paste it into the blank canvas.

Geometry.Curve.ClosestPointTo#7

Geometry.Curve.ClosestPointTo#7

Roughed out the translation looks something like the above screenshot. Then the definitions and properties were defined, as shown below.

Geometry.Curve.ClosestPointTo#7a

Geometry.Curve.ClosestPointTo#7a

Some liberty was taken in adding color and exploring the nodes further, after witch the “Node to Code” translation was done.

Geometry.Curve.ClosestPointTo#7b

Geometry.Curve.ClosestPointTo#7b

Parts of the code and the counterpart node graph translation were independent of each other, hence the two columns. The resulting Graphic Window is shown below.

Geometry.Curve.ClosestPointTo_Graphic Window

Geometry.Curve.ClosestPointTo_Graphic Window

The files are available for download from the links below.

Geometry.Curve.ClosestPointTo#7

Geometry.Curve.ClosestPointTo#7a

Geometry.Curve.ClosestPointTo#7b

Thanks for looking.

T!M

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s