Here is the seventh translation of the DesignScript Editor (DSE) file “CoordinateSystem.ByOriginVectors.IsSheared.”
After loading it, running it in the editor, copy it to the clipboard and open DesignScript Studio (DSS) and paste it on the blank canvas as a large Code Block. (double click on the canvas to access a code block)
To the right on the canvas is the pasted code from the DSE file (it’s a *.ds file). To the left is a translation of the top part of the code. As previously mentioned, working with the graph nodes and with the original code is desirable for access in ones translation however it can lead to a crash, at least on a system running windows on a mac. When working out the whole file regardless of what method that is used. Save the file frequently.
After running this it was noticed that a few improvement could be made, slight as they may be.
What’s missing is a description of the value 1. Another item that is still under debate, is whether or not further definition of true and false is desirable.
The updated DesignScript Studio graph is updated below.
The original Node to Code translation is below.
Now lets do the Node to Code Translation and take a look at the changes to see whether they represent an improvement.
One can simply substitute a Variable number, in this case it was 40 and changed to the number 1.
Here is the whole file updated.
Only one Variable that is named a number. Obviously excessive at this point.
Wonder how this issue will play out with some complex files. We will see.
And below we has the Coordinate Graphic that is generated.
Here are the files available for download.
Thanks for looking