DesignScript Coordinate Translation #13, Code to Node +

After loading it, copying and then pasting the code into the DSS canvas window we either follow the same procedure that has been done previously or one can edit the previous file CoordinateSystem.ByThreePoints#12.

CoordinateSystem.ByThreePoints.IsSheared#13

In this file there is the “IsSheared” property of the Coordinate system node. So in filling out the translation the identifier node from the DSS Library was used to add information.

CoordinateSystem.ByThreePoints.IsSheared#3a

Taking a look at the results in the next translation “from Node to Code”, lets look at how the translation is made. One uses the mouse to click and drag a bounding box around the canvas graph nodes that have been laid out.

CoordinateSystem.ByThreePoints#12-Bounding Box

Node the highlighted 3 dots on the upper right of the bounding box. Let the mouse hover over that.

CoordinateSystem.ByThreePoints-Covert Nodes to Code

Then click on the resulting “Convert Nodes to Code”. A new window will result with the translation to code.

Now, if one had not made further clarification to the “Is Sheared” property then we would had a variable Number (i.e.. Var 41) equaling true, then on the next line the “bool_isSheared” equaling “Var 41” as shown to the left.