This the fifth DesignScript file in a series of forty-nine curve translations. The file, Geometry.Curve.Trim.UsingArrayOfParameters.ds is from the DesignScript Editor (DSE) Sample files.
This is another file that is not functioning. The operator “Trim” for curves draws an Exception. First lets take a look at the DSE.
The “Index was outside the bounds of the array” is the error.
With that lets do some pretending till the powers that be fix this in DesignScript.
Above the essential graph nodes are laid out.
Above we see the properties extracted from the Trim node and actualized so that the error is drawn, but the definition is complete.
And above the “Node to Code” operation was enacted.
As the file loads initially one gets the Windows Graphic as shown above. Then one gets the
view as shown below as the file completes its operation.
Of course one might think that the operation was successful, given the extent of the trim command, but unfortunately not.
Regardless, the files are available to download below. Anyone want to fix it?
Thanks for looking.