DesignScript Curve Translation, Geometry.Curve.ParameterAt Distance#21– Code to Node to Code

Hi Everyone:

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

Geometry.Curve.ParameterAt Distance.ds#21b

Geometry.Curve.ParameterAt Distance.ds#21b

Copy the script from the DSE, open DSS and paste it into the canvas. Once again, the initial translation contains the essential elements.

Geometry.Curve.ParameterAt Distance#21

Geometry.Curve.ParameterAt Distance#21

One can let the script remain in the canvas, but be sure to comment it out so that it doesn’t run in tandem with the node Graph.

Geometry.Curve.ParameterAt Distance#21

Geometry.Curve.ParameterAt Distance#21

Note the grouping structure of the graph nodes reflect the commented out script from the DSE. Also be mindful that highlighted names had the code (” /*” and “// “) erased for graphical purposes.

When satisfied with the layout and definitions of the node, the translation to code can be administered.

Geometry.Curve.ParameterAt Distance#21b

Geometry.Curve.ParameterAt Distance#21b

The script that could use a little editing is highlighted.

Geometry.Curve.ParameterAt Distance#21b-edited

Geometry.Curve.ParameterAt Distance#21b-edited

The geometry that results from executing the file is shown in the graphical window below.

Geometry.Curve.ParameterAt Distance.ds#21b-Graphic Window

Geometry.Curve.ParameterAt Distance.ds#21b-Graphic Window

The files can be downloaded from the links below.

Geometry.Curve.ParameterAt%20Distance#21

Geometry.Curve.ParameterAt%20Distance#21a

Geometry.Curve.ParameterAt%20Distance#21b

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 )

Connecting to %s