DesignScript Curve Translation, Geometry.Curve.CoordinateSystemAtDistance#9 – Code to Node to Code

Hi Everyone:

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

Geometry.Curve.CoordinateSystemAtDistance.ds#9

Geometry.Curve.CoordinateSystemAtDistance.ds#9

Load the file into the DS Editor, copy and paste it into a blank canvas in DS Studio. The initial translation is shown below.

Geometry.Curve.CoordinateSystemAtDistance#9

Geometry.Curve.CoordinateSystemAtDistance#9

This file is similar to the Geometry. Curve.ClosestPointTo.ds#7 translation.  We will layout the curve node properties and definition a little differently as shown below.

2013_12_21-Geometry.Curve.CoordinateSystemAtDistance#9a

2013_12_21-Geometry.Curve.CoordinateSystemAtDistance#9a

Its important that the nodes are named in some meaningful way. Clarity is important. The “Node to Code” translation is next.

Geometry.Curve.CoordinateSystemAtDistance#9b-edit

Geometry.Curve.CoordinateSystemAtDistance#9b-edit

Node the highlighted code. Some editing is warranted.

Geometry.Curve.CoordinateSystemAtDistance#9b-edited

Geometry.Curve.CoordinateSystemAtDistance#9b-edited

Note the Variable substitute names. Are they appropriate?

2014_03_24-Geometry.Curve.CoordinateSystemAtDistance#9b-Graphic Window

2014_03_24-Geometry.Curve.CoordinateSystemAtDistance#9b-Graphic Window

The resulting graphic is shown above and the files are available to download from the links below.

Geometry.Curve.CoordinateSystemAtDistance#9

Geometry.Curve.CoordinateSystemAtDistance#9a

Geometry.Curve.CoordinateSystemAtDistance#9b

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s