DesignScript Coordinate Translation #11, Code to Node

Here is the eleventh file from the DSE’s samples to be translated into DSS’s graph node form.

CoordinateSystem.BySphericalCoordinates.ds

After copying and loading the text from the (DSE) Editor and pasting it into the canvas one can quickly translate the essentials from the code by using the Library for node selections.

CoordinateSystem.BySphericalCoordinates

Now one can continue and generate the other properties of the Coordinate System by Spherical Coordinates and also give identity to the variable values should one choose to do so.

CoordinateSystem.BySphericalCoordinates#11

After completing the translation, following the various properties descriptions from the *.ds file, it can be translated back to code by selecting the graph nodes with a bounding box window and clicking on the “Node to Code”.

CoordinateSystem.BySphericalCoordinates#11

And here is the resulting Graph that is the same for each of these files.