Tag Archives: PlaneAtDistance

DesignScript Curve Translation, Geometry.Plane.PlaneAtDistance#4 – Code to Node to Code

Hi Everyone:

This is the fourth, in a series of six Plane file translations. The file Geometry.Plane.PlaneAtDistance.ds is located in the DesignScript Editor (DSE) Samples.

2013_12_25Geometry.PlaneAtDistance.ds#4

Open the DS Editor and copy the script generated fromGeometry.Plane.PlaneAtDistance.ds.Open DS Studio, and paste the DSE script into a blank canvas.

Geometry.PlaneAtDistance#4

Geometry.PlaneAtDistance#4

The preliminary translation looks like the canvas shown above and the developed one below.

Geometry.PlaneAtDistance#4a

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

Geometry.PlaneAtDistance#4b

Geometry.PlaneAtDistance#4b

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

Geometry.Plane.PlaneAtDistance-Graphic Window

The files are available to download from the DropBox links below.

Geometry.PlaneAtDistance#4

Geometry.PlaneAtDistance#4a

Geometry.PlaneAtDistance#4b

Thanks for looking.

T!M

DesignScript Curve Translation, Geometry.Curve.PlaneAtDistanceWithPlaneSize #23– Code to Node to Code

Hi Everyone:

This is the twenty-third, in a series of forty-nine curve file translations. The file, Geometry.Curve.PlaneAtDistanceWithPlaneSize.ds is also the second of five Curve-Plane file types in the DesignScript Editor (DSE) Sample files.

Geometry.Curve.PlaneAtDistanceWithPlaneSize.ds#23

Geometry.Curve.PlaneAtDistanceWithPlaneSize.ds#23

Copy the code from the editor (DSE), open DS Studio’s ( DSS) canvas and paste the script into it. Below is the initial translation.

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23

And translating the sample file’s properties into graph nodes, the result is something similar to the view below.

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23a

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23a

Satisfied that the translation is complete, the nodes are converted back into code.

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23b

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23b

A little editing is called for as highlighted.

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23b-Edited

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23b-Edited

And with that, the Windows graphic that is generated is shown below.

Geometry.Curve.PlaneAtDistanceWithPlaneSize_Windows Graphic

Geometry.Curve.PlaneAtDistanceWithPlaneSize_Windows Graphic

The files can be downloaded from the Drop-Box links below.

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23a

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23b

Thanks for looking.

T!M

DesignScript Curve Translation, Geometry.Curve.PlaneAtDistance.ds#22– Code to Node to Code

Hi Everyone:

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

Geometry.Curve.PlaneAtDistance.ds#22

Geometry.Curve.PlaneAtDistance.ds#22

Copy the script from the DSE, open DSS and paste it into the canvas.  The initial translation below contains the essential elements.

Geometry.Curve.PlaneAtDistance#22

Geometry.Curve.PlaneAtDistance#22

Note the script that is still present from the editor. Make sure it is adequately dealt with in terms of commenting it out  (// or /* ), so that it doesn’t interfere (run) with the translation.

Geometry.Curve.PlaneAtDistance#22a

Geometry.Curve.PlaneAtDistance#22a

The Node to Code translation is the next step and is shown below.

Geometry.Curve.PlaneAtDistance#22b-edit

Geometry.Curve.PlaneAtDistance#22b-edit

A little editing is in order as highlighted above.

Geometry.Curve.PlaneAtDistance#22b-Edited

Geometry.Curve.PlaneAtDistance#22b-Edited

And the Windows graphic from the code(s) is presented below.

Geometry.Curve.PlaneAtDistance#22-windows Graphic

Geometry.Curve.PlaneAtDistance#22-windows Graphic

The files are available for downloading from the DROP-BOX links below.

Geometry.Curve.PlaneAtDistance#22

Geometry.Curve.PlaneAtDistance#22a

Geometry.Curve.PlaneAtDistance#22b

Thanks for looking.

T!M