This translation is from the twenty-fifth chapter of the DesignScript Language Manual and can be found at DSLM (pages 74-75) and is entitled; Geometric Booleans. There is a companion video tutorial on the DS website’s tutorials, Boolean Operations on Geometry (18). This will be the first in a series of three translations.
The initial manual translation was made on the Autodesk DesignScript Community Forum and DesignScript.org. Now it can be found at can be found at Chapter 25: Geometric Booleans Part 1. (Note that it can be not longer be found on the Autodesk Labs Website, as linked)
Copy and paste the script from (page 74) the Design Script Language Manual into the DesignScript Editor. Below shows the script in the DS Editor with the results of the code being run, and the window graphics inserted alongside for reference.
Now open DesignScript Studio and paste this same script into the canvas.
There is a little editing desired as high lighted above with the results shown below.
Note the Union node can be obtained from either the Library, or from the node that it is derived from. ( A on-board context sensitive menu can be accessed from the three dots on the upper-right hand side of a node ).
The initial DSS translation is shown below.
Continuing on with the more detailed and defined translation with the renaming of the variables, identifying and referencing them with their corresponding nodes.
As a reminder, selecting the graphic window one can get an enlarged view of each snapshot.
Continuing on to the “Node to Code” operation.
The Graphic Window(s) that result from the script is shown below.
The other “Union” mentioned in the manual was better a Cube & a sphere and it is shown below.
Reiterating, this was done on the stand-alone version of DesignScript, rather than as a plugin for Autocad. The files are available for downloading from the Drop-Box links below.
Thanks for looking.