#DesignScript LM – Chapter 22, Part III-1 – Surfaces: Interpreted, Control Points, Loft, Revolve

Hi Everyone:

On to the third part of Chapter 22, this is the first of two posts. A little background first.

This translation is from (bottom of page 65) the DesignScript Language Manual, and can be found at DSLM  and is entitled; Surfaces: Interpreted, Control Points, Loft, Revolve. There is a previous video tutorial on Surfaces (#16) which may help with this chapter and can be found on the DS website’s tutorials.

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 22: Surfaces: Part #1, Interpreted, Control Points, Loft, Revolve(Note that it can be not longer be found on the Autodesk Labs Website, as linked)

This script pasted into the Design Script Editor is shown below.

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve-ds#4

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve-ds#4

As we have previously seen, taking the script and inserting it into a DSS blank canvas yields the result as a Code Block.

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#a4

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#a4

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

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#a4-edited

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#a4-edited

Then the development of the various variable properties by identifying each node  takes place.

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4

Notice that this node translation mirrors the brevity and compactness of the original script.

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4a

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4a

Next is the “Node to Code” translation.

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4b

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4b

A minor edit as highlighted above is desired.

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4b-top-edited

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4b-top-edited

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

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4a_Graphic Window

Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4a_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_08_Chapter22_Pt-2Surfaces-Interpreted-Control-Points-Loft-Revolve#a4

2013_11_01-Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4

2014_03_07-Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4a

2014_03_07-Chp_22-Surfaces-Interpreted-Control-Points-Loft-Revolve#4b

Thanks for looking.

T!M

 

 

 

 

 

Advertisements

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