Hi Everyone:
This is the first Circle file,”Curve.Circle.ByCenterPointRadius“, in a series of four curve-circle type translations.
The DSE (DesignScript Editor) opening window shows sample files. Click on the link to the file ”Geometry.Curve.Circle.ByCenterPointRadius.ds.” Open it and copy the resulting code to the windows clipboard, then open DSS (DesignScript Studio) to a blank canvas and paste from the windows clipboard the subject code into the canvas.
After doing the essential translation the file should look something like the node graph as shown below.
Continuing on, translate the guaranteed properties for this curve. Then the guaranteed properties for a circle.
Then the guaranteed and nonguaranteed properties for this Geometry.
After complete the graph nodes in the canvas are encompassed by a windows pick box and the “Code to Node” operation is used. The resulting canvas translation will look something like below.
Should one choose, maybe a little more definition is needed with a “Variable”.
After editing and satisfied with the results one could run the code back in the DSE.
The resulting graphic from the various versions is shown below.
The files can be downloaded from the links below.
Geometry.Curve.Circle.ByCenterPointRadius#1
Geometry.Curve.Circle.ByCenterPointRadius#1a
Geometry.Curve.Circle.ByCenterPointRadius#1b
Thanks for looking.
T!M