The DesignScript translation has been refined with more detail regarding naming of the nodes and adding a breakdown of the graph for clarity.

Chapter_9-Number Types_a

The above DS node graph in turn was translated back into code using the “Node to Code”operation as shown below.

Chapter_9-Number Types_b

As highlighted in the translation back to code, quite a bit of editing is desired to eliminate the Variable numbers, and or replacing them, as they prove to be unnecessary to the codes operation.

Chapter_9-Number Types_b-edited

The editing was done, and the highlighted translations layout shown above, is similar to the DSS node-Graph layout and was done for instructional value.

While there isn’t a graphic for the DS graphic window, what has been done here is to take the original script from Chapter 9, Number Types, and get the text of the code to be printed in DSS Graph Window, echoing the DS Editor.

Chapter_9-Number Types-Graphic Window

For those that are interested on how this was done, a “over the top” DSS canvas is shown below.

Chapter9-NumbersForStudio-3

Attempts will be made to get this unwieldy DSS text operation a little more manageable. We shall see.

The DSS files, including the “text” one are available for downloading via DropBox links below.

This is the thirty-first, in a series of forty-nine curve file translations. The file, Geometry.CurveProject.OnPlane.WithDirectionVector.ds, is the second in a series of three Curve-Project files from the DesignScript Editor (DSE) Sample files.

Geometry.CurveProject.OnPlane.WithDirectionVector.ds#31

Open the file,Geometry.CurveProject.OnPlane.WithDirectionVector.ds in the DS Editor and run it to check for errors.

Geometry.CurveProject.OnPlane.WithDirectionVector.ds-a#31

Errors are generated due to “CurveProject.OnPlane.WithDirectionVector” not having the properties that are associated with them. Before looking viewing this in DSS, first the nodes must be translated.

Geometry.CurveProject.OnPlane.WithDirectionVector#31

After the initial translation, the errors appear when further defining the properties of Project-Curve.

We do note however, that these particular properties were able to be defined on the previous Curve-Project file, Geometry.CurveProject.OnPlane. The WithDirection Vector seems to be the problem. In order to complete the file, we can use the Project Curve Node as a stand-in for these subject nodes.

Geometry.CurveProject.OnPlane.WithDirectionVector#31a

Again this is being brought to the attention of the DesignScript Team so these errors are appropriately addressed. Next is the translation of the Nodes back to code.

Geometry.CurveProject.OnPlane.WithDirectionVector#31b

Other than the anomalies mentioned in this translation, further editing of the code isn’t required.

Geometry.CurveProject.OnPlane.WithDirectionVector#31-Graphic Window

The results of the code(s) are shown in the Graphic Window above, and the files are available for downloading below.

This is the twenty-ninth, in a series of forty-nine curve file translations. The file, Geometry.CurvePointAtEqualArcLength.ds is the last of threeCurve-Point file types located in the DesignScript Editor (DSE) Sample files.

Geometry.CurvePointAtEqualArcLength.ds

Open the DS Editor and run CurvePointAtEqualArcLength.ds, copy the resulting code, then paste it into a DS Studio blank canvas.

Geometry.CurvePointAtEqualArcLength#29

Comment out any script, to avoid them running consecutively with each other.

Geometry.CurvePointAtEqualArcLength#29a

The highlighted portions indicate the grouping of node properties. Run the Code to Node operation.

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

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

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

Geometry.Curve.PlaneAtDistanceWithPlaneSize#23a

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