DesignScript Curve Translation,Geometry.Point.IndexOfNearest#11 – Code to Node to Code

Hi Everyone:

This is the eleventh, in a series of twenty-four Point file translations. The file Geometry.Point.IndexOfNearest.ds is located in the DesignScript Editor (DSE) Sample files as shown below.

Geometry.Point.IndexOfNearest.ds#11

Geometry.Point.IndexOfNearest.ds#11

Open the DS Editor, the resulting script is shown below.

Geometry.Point.IndexOfNearest.ds-#11

Geometry.Point.IndexOfNearest.ds-#11

Open DS Studio, and paste the DSE script,  Geometry.Point.IndexOfNearest.ds into a blank canvas.

Geometry.Point.IndexOfNearest#11

The preliminary translation looks like the canvas shown above and the developed one below.

Geometry.Point.IndexOfNearest#11a

Geometry.Point.IndexOfNearest#11a

The red and yellow highlighted areas indicate the groupings of nodes according to their properties. Once satisfied that the translation is complete the “Node to Code” operation can take place.

Geometry.Point.IndexOfNearest#11b

Geometry.Point.IndexOfNearest#11b

The script that results from the operation requires a little editing as highlighted with the results shown below.

Geometry.Point.IndexOfNearest.d#11b-edited

Geometry.Point.IndexOfNearest.d#11b-edited

The geometry that results from the code(s) is shown below.

Geometry.Point.IndexOfNearest-Windows Graphic

Geometry.Point.IndexOfNearest-Windows Graphic

The files are available to download from the DropBox links below.

Geometry.Point.IndexOfNearest#11

Geometry.Point.IndexOfNearest#11a

Geometry.Point.IndexOfNearest#11b

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