This the forth DesignScript file in a series of forty-nine curve translations. The file, Geometry.Curve.Offset.ds is from the DesignScript Editor (DSE) Sample files.
This file has an error which required a work around. Unsatisfactory as that may be, one is still able to imagine it’s purpose and performance. Rather more serious than the misspelling of “Geoemtry , hopefully this will be fixed on the next DesignScript update.
The offset node was extracted from the lines onboard context menu. In order to complete this exercise the offset node for points was used.
Not the most elegant solution but one gets the idea.
The properties of the offset node were taken from the line node. One has to imagine them originating from the Offset node.
After completing the translation from code, the nodes then are again transformed back into code, but first the editing of the Variable 68 was performed as shown below.
The full translation then is shown below.
The highlighted curve operation failure is noted, with the successful edit as well.
The results of this translation are shown in the Graphic below.
The files are available to download from the links below.
Thanks for looking.