This translation is from Chapter 23, Geometric Parameterization, ( pages 67-69) of the DesignScript Language Manual and will be comprised of two parts.
First, the references for this chapter, which can be found at DSLM. The initial manual translation was made on the Autodesk DesignScript Community Forum and DesignScript.org. Now it can be found at can be found at Chapter 23: Geometric Parameterization (Note that it can be no longer found on the Autodesk Labs Website, as linked)
Starting with page 67 and copying the code from page 68 the script pasted into the Design Script Editor is shown below.
After the code is run in the Editor, the resulting Graphic window was pasted into the above image for reference. Next, the script is inserted into a Design Script Studio (DSS) blank canvas. The result is shown as a single Code Block.
By removing the Commenting out notation, in this case just ” /*” & ” */” the code is activated.
Then the script is replaced with to nodes.
The development of the various variable’s properties take place by identifying each node.
The “Node to Code” translation is next.
Minor editing is desired as highlighted.
The Graphic Window that results from this example is shown below.
Note that color was introduced for interest and that these files were generated using the Standalone versions of DesignScript. (DSE & DSS)
The files are available to download from the Drop Box links below.
Thanks for looking.