DesignScript Curve Translation, Geometry.Curve.RevolveAsSolid.AxisPointDirection#34– Code to Node to Code

 

Hi Everyone:

This is the thirty-fourth, in a series of forty-nine curve file translations. The file Geometry.Curve.RevolveAsSolid.AxisPointDirection.ds is the first of eight Curve-Revolve file types and among those eight, the first of four Curve-Revolve-As-Solid files located in the DesignScript Editor (DSE) Sample files.

Geometry.Curve.RevolveAsSolid.AxisPointDirection.ds#34

Geometry.Curve.RevolveAsSolid.AxisPointDirection.ds#34

Open the DS Editor and copy the script generated from Geometry.Curve.RevolveAsSolid.AxisPointDirection.ds. Then run DS Studio, and paste the script into the canvas.

Geometry.Curve.RevolveAsSolid.AxisPointDirection

Geometry.Curve.RevolveAsSolid.AxisPointDirection

Make sure that the script is commented out as the code is translated into graph nodes, to avoid them running consecutively with each other. The preliminary translation looks like the canvas shown above and the developed one below,

Geometry.Curve.RevolveAsSolid.AxisPointDirection#34a

Geometry.Curve.RevolveAsSolid.AxisPointDirection#34a

The red and yellow highlighted areas indicate the groupings of nodes according to their properties. Once satisfied that the translation is complete enact the “Node to Code” operation.

Geometry.Curve.RevolveAsSolid.AxisPointDirection#34b

Geometry.Curve.RevolveAsSolid.AxisPointDirection#34b

The resulting script doesn’t require further editing. The geometry that results from the codes(s) is shown below.

-Geometry.Curve.RevolveAsSolid.AxisPointDirection-Graphic Window

-Geometry.Curve.RevolveAsSolid.AxisPointDirection-Graphic Window

A word of note, the commentary here is taken from a previous post, and this was all done with the Stand-Alone Version of DesignScript.

And with that, the files are available for downloading at the Drop-Box links below.

Geometry.Curve.RevolveAsSolid.AxisPointDirection#34

Geometry.Curve.RevolveAsSolid.AxisPointDirection#34a

Geometry.Curve.RevolveAsSolid.AxisPointDirection#34b

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