This is the thirty-fifth, in a series of forty-nine curve file translations. The file Geometry.Curve.RevolveAsSolid.AxisPointDirectionSweepAngle.ds is the second of eight Curve-Revolve file types and among those eight, the second of four Curve-Revolve-As-Solid files located in the DesignScript Editor (DSE) Sample files.
Open the DS Editor and copy the script generated from Geometry.Curve.RevolveAsSolid.AxisPointDirectionSweepAngle.ds. Then run DS Studio, and paste the script into the canvas.
Make sure that the script is commented out as the code is translated into graph nodes, to avoid them running consecutively with each other. 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 enact the “Node to Code” operation.
The resulting script doesn’t require further editing. The geometry that results from the codes(s) is shown below.
A word of note, the commentary here is taken from a previous post and this was all done with the Stand-Alone version of DesignScript. (DSS &DSE)
And with that, the files are available for downloading at the Drop-Box links below.
Thanks for looking.