Hi Everyone:

This is the second translation from Chapter 23, Geometric Parameterization, *( pages 67-69) *of the **D**esign**S**cript **L**anguage **M**anual.

The prerequisite references for this chapter 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)

Continuing on from the previous post, turning to *page 69* and copying pasting the script into the **D**esign **S**cript **E**ditor, one gets a similar view as in shown below.

Chp-23-Geometric Parameterization.ds#2

After the code is run in the Editor, and it’s noted that there aren’t any errors, the resulting Graphic window is pasted image for reference. Next the script is again copied and inserted into a **D**esign **S**cript **S**tudio (**DSS**) blank canvas. This results in the single **Code Block** as shown below.

Chp-23-Geometric Parameterization#a2

By removing the Commenting out notation, in this case just ” /*” & ” */” the code is activated.

Chp-23-Geometric Parameterization#a2-edited

This is where an error is encountered, seeing that class and function definitions are not supported, so a work around is going to be required for this translation into nodes.

As the script is replaced with to nodes, a workable conversion is found.

Chp-23-Geometric Parameterization#2

The development of the various variable’s properties take place by identifying each node.

Chp-23-Geometric Parameterization#2a

The “**Node to Code”** translation is next.

Chp-23-Geometric Parameterization#2b

Minor editing is desired as highlighted.

Chp-23-Geometric Parameterization#2b-edited

The Graphic Window that results from this example is shown below.

Chp-23-Geometric Parameterization#2a-Graphic Window

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.

2015_03_25-Chp_23-Geometric Parameterization#a2

2014_03_20-Chp_23-Geometric Parameterization#2

2014_03_20-Chp_23-Geometric Parameterization#2a

2015_03_25-Chp_23-Geometric Parameterization#2b

Thanks for looking.

T!M

### Like this:

Like Loading...