DesignScript Curve Translation,Geometry.Curve.PlanesAtEqualArcLength#26– Code to Node to Code

Hi Everyone:

This is the twenty-sixth, in a series of forty-nine curve file translations. The fileGeometry.Curve.PlanesAtEqualArcLength.ds is the last of five Curve-Plane file types in the DesignScript Editor (DSE) Sample files.

Geometry.Curve.PlanesAtEqualArcLength.ds#26

Geometry.Curve.PlanesAtEqualArcLength.ds#26

Open the file, Geometry.Curve.PlanesAtEqualArcLength.ds from the Sample files in the DesignScript Editor. Copy the code, then paste it into a DSS blank canvas. Begin the translation.

Geometry.Curve.PlanesAtEqualArcLength#26

Geometry.Curve.PlanesAtEqualArcLength#26

Avoid any conflicts when translating, with both codes running by commenting out the pasted script.

Geometry.Curve.PlanesAtEqualArcLength.ds#-26a

Geometry.Curve.PlanesAtEqualArcLength.ds#-26a

The highlighted areas show the Node Graph’s properties and groupings.

Geometry.Curve.PlanesAtEqualArcLength.ds#-26b

Geometry.Curve.PlanesAtEqualArcLength.ds#-26b

Looking at the translation above, one can see that their is quite a bit of editing to do. And the reason turns out to be that when naming the Variables that  “myPlanesAtEqualArcLength” was not identified and named. So editing is required.

Geometry.Curve.PlanesAtEqualArcLength.ds#-26b-edited

Geometry.Curve.PlanesAtEqualArcLength.ds#-26b-edited

Or one can go back to the node graph file and make the correction.

Geometry.Curve.PlanesAtEqualArcLength.ds#-26a-edited

Geometry.Curve.PlanesAtEqualArcLength.ds#-26a-edited

And the when the translation to code takes place there is less editing required.

Geometry.Curve.PlanesAtEqualArcLength.ds#-26b-2

Geometry.Curve.PlanesAtEqualArcLength.ds#-26b-2

The final result is shown below.

Geometry.Curve.PlanesAtEqualArcLength.ds#-26b-2-edited

Geometry.Curve.PlanesAtEqualArcLength.ds#-26b-2-edited

The planes generated are shown below.

Geometry.Curve.PlanesAtEqualArcLength.ds#-26-Graphic Window

Geometry.Curve.PlanesAtEqualArcLength.ds#-26-Graphic Window

The files can be downloaded from the links below.

Geometry.Curve.PlanesAtEqualArcLength#26

Geometry.Curve.PlanesAtEqualArcLength#26a

Geometry.Curve.PlanesAtEqualArcLength#26b-edited

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