DesignScript Curve Translation, Line.StartPointDirectionLength#1- Code to Node to Code

Hi Everyone:

This is the first Line file, Curve.Line.StartPointDirectionLength, in a series of four curve- line translations from the DesignScript Editor Sample files.

Curve.Line.StartPointDirectionLength.ds

Curve.Line.StartPointDirectionLength.ds

Pick the highlighted file, open it and copy the script, then open DSS (DesignScript Studio) and paste the code into the blank canvas. The initial and essential translation will look something like below.

Curve.Line.StartPointDirectionLength#1

Curve.Line.StartPointDirectionLength#1

After defining the additional properties the graph Canvas will include the additional node definitions as shown below.

Geometry.Curve.Line.StartPointDirectionLength#1a

Geometry.Curve.Line.StartPointDirectionLength#1a

The highlighted properties show the various groupings above. The node to code operation is then executed and the resulting script is shown below.

Geometry.Curve.Line.StartPointDirectionLength#1b

Geometry.Curve.Line.StartPointDirectionLength#1b

Geometry.Curve.Line.StartPointDirectionLength#1b-graphic

Geometry.Curve.Line.StartPointDirectionLength#1b-graphic

A little cleanup is conducted to created a more compact script.

The resulting graphic is generated from the files.

Geometry.Curve.Line.StartPointDirectionLength#1Windows graphic

Geometry.Curve.Line.StartPointDirectionLength#1Windows graphic

The files are available for downloading below.

Geometry.Curve.Line.StartPointDirectionLength#1

Geometry.Curve.Line.StartPointDirectionLength#1a

Geometry.Curve.Line.StartPointDirectionLength#1b

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