Hi Everyone:
This the seventh DesignScript file in a series of forty-nine curve translations. The file, Geometry. Curve.ClosestPointTo.ds is from the DesignScript Editor (DSE) Sample files.
After loading it in the Editor (DSE), copying it to ones clipboard, open DesignScript Studio (DSS)and paste it into the blank canvas.
Roughed out the translation looks something like the above screenshot. Then the definitions and properties were defined, as shown below.
Some liberty was taken in adding color and exploring the nodes further, after witch the “Node to Code” translation was done.
Parts of the code and the counterpart node graph translation were independent of each other, hence the two columns. The resulting Graphic Window is shown below.
The files are available for download from the links below.
Geometry.Curve.ClosestPointTo#7
Geometry.Curve.ClosestPointTo#7a
Geometry.Curve.ClosestPointTo#7b
Thanks for looking.
T!M