This is the eighth sample in a series of twenty-four Point file translations. The file Geometry.Point.BySphericalCoordinates.ds is located in the DesignScript Editor (DSE) Sample files as shown below.
Open the DS Editor, the resulting script is shown below.
Note the highlighted areas. Points can be a single point, and again the minor error in spelling which should read “on“, not “no“. Copy the DS Editor script. Then open DS Studio, and paste the DSE script into a blank canvas.
The preliminary translation looks like the canvas shown above and the developed one below.
The red and yellow highlighted areas indicate the groupings of nodes according to their properties. Once satisfied that the translation is complete the “Node to Code” operation can take place.
The script that results from the operation doesn’t require further editing. The geometry that results from the code(s) is shown below.
The files are available to download from the DropBox links below.
Thanks for looking.