Valued Contributor
Posts: 60
Registered: ‎05-05-2013
Message 1 of 1 (190 Views)

DesignScript Curve Translation,Geometry.Curve.Trim.UsingArrayOfParameters#5

190 Views, 0 Replies
03-17-2014 04:26 PM


Hi Everyone:


This the fifth DesignScript file in a series of curve, code to node, 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.


Screenshot 2014-03-17 12.23.07.png



Above the essential graph nodes are laid out.



Screenshot 2014-03-17 12.39.03.png



Above we see the properties extracted from the Trim node and actualized so that the error is drawn, but the definition is complete.



Screenshot 2014-03-17 12.47.17.png



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.

Anyone want to fix it?


Regardless, these files are available for download at the architect's Garage blog.



Thanks for looking.






You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Visit Autodesk Labs
Autodesk Labs is home for new prototypes, experiments, applications, and technologies.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community