DesignScript Curve Translation, BSplineCurve#2– Code to Node to Code

Hi Everyone:

The second of five BSplineCurve files, in a series of Curve translations, is entitled “Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2,” and is referenced below. To access it, open the DSE and it will be visible on the opening page. (Please note that this translation was done with the standalone version of the DesignScript Editor (DSE) and the DesignScript Studio (DSS).

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic.ds

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic.ds

Please note the misspelt “Geoemtry“, instead of Geometry. We are going to have to bear with this till Autodesk updates the Editor. (Hint)

After doing the usual translation, one get a Graph Node canvas looking similar to below.

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2a

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2a

Note that the previous file was a BSplineCurveByVertices, without the Periodic property. So it’s recommended to edit the first file’s developed translation node and change the central node to  BSplineCurveByVertices.Periodic, thereby eliminating a lot of duplication of the various property nodes. See the full translation below.

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2a

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2a

When satisfied that the translation is complete enough, the Node to Code operation is enacted.

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2b-Script on the Canvas

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2b-Script on the Canvas

The resulting Graph Window can be seen below.

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2-Graph Window

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2-Graph Window

 

The BSplineCurve.ByControlVertices.Periodic#2 files are available for download below.

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2a

Geometry.Curve.BSplineCurve.ByControlVertices.Periodic#2b

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