DesignScript Curve Translation, Geometry.Curve.Project.OnSurface#32– Code to Node to Code

Hi Everyone:

This is the thirty-second, in a series of forty-nine curve file translations. The file, Geometry.Curve.Project.OnSurface#32 is the last in a series of three Curve-project files from the DesignScript Editor (DSE) Sample files.

Geometry.Curve.Project.OnSurface.ds#32

Geometry.Curve.Project.OnSurface.ds#32

After copying the script from the DSE, open DSS and paste it into the canvas. The initial translation contains the essential elements as shown below.

Geometry.Curve.Project.OnSurface#32

Geometry.Curve.Project.OnSurface#32

After being satisfied with the initial translation, we progress to the naming of variables and adding definition to the nodes properties.

Geometry.Curve.Project.OnSurface#32a

Geometry.Curve.Project.OnSurface#32a

The highlighted areas above shows the grouping of the properties of nodes that are returned based upon the method for Project-Curve.

Geometry.Curve.Project.OnSurface#32b

Geometry.Curve.Project.OnSurface#32b

The back to “Node to Code” translation returns a code-block of script which doesn’t require further editing. The Geometry that is generated from the code(s) is shown below.

Geometry.Curve.Project.OnSurface#32-Graphic Window

Geometry.Curve.Project.OnSurface#32-Graphic Window

The files are available to download from the links below.

Geometry.Curve.Project.OnSurface#32

Geometry.Curve.Project.OnSurface#32a

Geometry.Curve.Project.OnSurface#32b

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