DesignScript Curve Translation #5, Arc – Code to Node to Code

Hi Everyone:

Here is the fifth curve translation and the last of the series of five Arc files. To access it, open the DSE and on it’s opening page the sample files will be visible. (Please note that this translation was done with the standalone version of the DesignScript Editor (DSE) and the DesignScript Studio (DSS).

Geometry.Curve.Arc.ByPointOnCurve.ds-Graphic

Geometry.Curve.Arc.ByPointOnCurve.ds-Graphic

After opening the file, Geometry.Curve.Arc.ByPointOnCurve.ds in the Editor, copy and paste it into the DSS canvas.

Geometry.Curve.Arc.ByPointOnCurve#5

Geometry.Curve.Arc.ByPointOnCurve#5

The essential part of the arc translation can be done quickly by accessing the nodes from the Library, while the color can be set from the arc node context menu “set color”. Go back to the conventional Library for the color “Green” node.

Geometry.Curve.Arc.ByPointOnCurve#5a

Geometry.Curve.Arc.ByPointOnCurve#5a

From this point on most all the properties can be set from the node context menu. To clarify a nodes properties use the Special Node section in the Library, specifically the  Driver and Identifier Nodes.

Set Visibility needs to be clarified in the translation.

Set Visibility needs to be clarified in the translation.

After translating the Graph nodes (code to node), one must again as in the previous translations attend to consolidating the visibility settings.

Consolidate to two code lines to one

Consolidate to two code lines to one

Find the full Large Code Block translation below.

Geometry.Curve.Arc.ByPointOnCurve#5b

Geometry.Curve.Arc.ByPointOnCurve#5b

The accompanying Windows Graphic is shown below.

2014_01_24-Geometry.Curve.Arc.ByPointOnCurve-Windows Graphic

2014_01_24-Geometry.Curve.Arc.ByPointOnCurve-Windows Graphic

The Arc files are available for download below.

Geometry.Curve.Arc.ByPointOnCurve#5

Geometry.Curve.Arc.ByPointOnCurve#5a

Geometry.Curve.Arc.ByPointOnCurve#5b

Thanks for looking

TIM

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