#DesignScript LM – Chapter 23, Part I-Geometric Parameterization

Hi Everyone:

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.

Chp-23-Geometric Parameterization-ds#1

Chp-23-Geometric Parameterization-ds#1

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.

Chp-23-Geometric Parameterization#a1

Chp-23-Geometric Parameterization#a1

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

Chp-23-Geometric Parameterization#a1-edited

Chp-23-Geometric Parameterization#a1-edited

Then the script is replaced with to nodes.

Chp-23-Geometric Parameterization#1

Chp-23-Geometric Parameterization#1

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

Chp-23-Geometric Parameterization#1a

Chp-23-Geometric Parameterization#1a

The “Node to Code” translation is next.

Chp-23-Geometric Parameterization#1b

Chp-23-Geometric Parameterization#1b

Minor editing is desired as highlighted.

Chp-23-Geometric Parameterization#1b-edited

Chp-23-Geometric Parameterization#1b-edited

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

Geometric Parameterization-Graphic Window2

Geometric Parameterization-Graphic Window2

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_21-Chp_23-Geometric Parameterization#a1

2014_03_19-Chp 23-Geometric Parameterization #1

2015_03_21-Chp 23-Geometric Parameterization #1a-alt

2015_03_21-Chp 23-Geometric Parameterization #1b

Thanks for looking.

T!M

 

 

 

 

 

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 )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s