DesignScript Curve Translation,Geometry.Point.Project.OnSolid.WithDirection#18 – Code to Node to Code

Hi Everyone:

This is the eighteenth, in a series of twenty-four Point file translations. The file Geometry.Point.Project.OnSolid.WithDirection.ds is located in the DesignScript Editor (DSE) Sample files.

Geometry.Point.Project.OnSolid.WithDirection.ds#18

Geometry.Point.Project.OnSolid.WithDirection.ds#18

Open the file Geometry.Point.Project.OnSolid.WithDirection.ds in the DS Editor, and run it.  We get an initial error on line 11 of the script as shown below. Looking at the error report its seen that the “Project along direction operation failed.”

Geometry.Point.Project.OnSolid.WithDirection.ds-#18

Geometry.Point.Project.OnSolid.WithDirection.ds-#18

The DesignScript Editor reports the errors as highlighted above.

Geometry.Point.Project.OnSolid.WithDirection#18

Geometry.Point.Project.OnSolid.WithDirection#18

Nonetheless, open DS Studio, and paste the DSE script, Geometry.Point.Project.OnSolid.WithDirection.ds into a blank canvas. The preliminary translation  shown above produces the error, it’s illustrated further below.

This file produces an error and the operation fails in "project(ing) along direction".

This file produces an error and the operation fails in “project(ing) along direction”.

Using the previous file “Geometry.Point.Project.OnSolid” we can use the Project node and continue.

Geometry.Point.Project.OnSolid.WithDirection#18a

Geometry.Point.Project.OnSolid.WithDirection#18a

Again, the red and yellow highlighted areas indicate the groupings of nodes according to their properties. With the translation as complete as can considering the error, the “Node to Code” operation takes place.

Geometry.Point.Project.OnSolid.WithDirection#18b

Geometry.Point.Project.OnSolid.WithDirection#18b

At least the failure is consistent throughout the translations. Let hope that the DesignScript team will fix this along with the rest of the errors. 🙂

The geometry that results from the code(s) is shown below. Note that liberty was taken with applying colors to the translation.

Geometry.Point.Project.OnSolid.WithDirection#18-Graphic Window

Geometry.Point.Project.OnSolid.WithDirection#18-Graphic Window

The files are available to download from the DropBox links below.

Geometry.Point.Project.OnSolid.WithDirection#18

Geometry.Point.Project.OnSolid.WithDirection#18a

Geometry.Point.Project.OnSolid.WithDirection#18b

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s