Hi Everyone:
Here is the thirteenth DesignScript Coordinate Translation entitled CoordinateSystem.ByThreePoints.IsSheared from the DSE (lite).
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.
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.
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.
Node the highlighted 3 dots on the upper right of the bounding box. Let the mouse hover over that.
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.
The clarification that was made though is shown below.
Here is the final translation.
And below find the Graphic in the Standalone Window.
The files are available to download below.
CoordinateSystem.ByThreePoints.IsSheared#13
CoordinateSystem.ByThreePoints.IsSheared#13a
CoordinateSystem.ByThreePoints.IsSheared#13b
Thanks for looking
T!M