Here is the fourth curve translation in a series of five Arc files, access it through the DSE sample files, as shown below. (Note the standalone version of DesignScript Editor / Studio is being used for these samples.)
After opening the file, Curve.Arc.ByCenterPointStartPointSweepPoint in the Editor, copy and paste it into the DSS canvas to make a new file.
After the initial translation, begin to generate the additional properties, for the curve, arc, with both guaranteed and unguaranteed properties.
Laying out and identifying the graph nodes its best to attempt to not ignore naming nodes appropriately. For example in the graphic above the set visibility note should have it’s variable identified further, to avoid confusion in further translations.
For the “true” code block one might use the Identifier Node, place it in the canvas (see Var70 above) and move it into position while editing it sufficiently. (see below)
The full translation is shown below.
After being satisfied that all the nodes are attended to, on to the “Node to Code” translation.
The code that could use a little clarifying is still the Visibility Node translation. Make it a one line statement by substituting “true” for ” Var71″ on the second highlighted line, while deleting the first highlighted statement.
The Edited translation in one large code block is shown below.
The resulting Windows Graphic of the Arc is shown below.
The Arc files are available for download below.
Thanks for looking.