DesignScript Coordinate Translation #16, Code to Node +

Hi Everyone:

This is the sixteenth DSS translation of sample files to be found on the opening window of the DSE (lite) standalone program.

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence

This in the 2nd Transform file in the series of 3 and is entitled, CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence

Again, very similar to the previous file translation. Note that some of the properties of the Coordinate System , e.g. scale, rotation angle, rotation sequence, have identifier nodes linked to them in anticipation of how to adequately identify values that are in code block form.

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence
Continuing on and translating with the  guaranteed properties of the coordinate system, one translates the graph nodes by creating a bounding box around them, then uses the menu that’s generated in the upper right hand corner of the box to complete the transformation.
For a detailed description of this operation go to  DSS-3 Node to Code, Code to Node on page 81 of the DesignScript Language manual.
CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence#16

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence#16

Now one see’s how the translation interpreted the code block identifier nodes that were done on the coordinate system properties. Note the Variables. Now for some further editing.

edited DesignScript canvas, large  Code Block.

edited DesignScript canvas, large Code Block.

By eliminating the Var#’s and substituting the identities of the nodes a more compact translation is achieved.

edited DesignScript canvas, large  Code Block

edited DesignScript canvas, large Code Block

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence#16- Graphic Window

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence#16- Graphic Window

And with that, the files are available for download below.

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence#16

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence#16a

CoordinateSystem.ByUniversalTransform.TranslationVectorAndSequence16b

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