Hi Everyone:

This is the fifth and the last BSplineCurve file in the series of five curve type translations. The DSE shows the link to the file “*Geometry.Curve.BSplineCurve.ByPoints.TangentVectors.ds.*” Open it by clicking on it and copy the resulting code into a DSS blank canvas.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors.ds#5

After the essential translation has been done we get a graph node canvas that has these connections. Arrangement of the nodes should suit ones sensibilities, so it most likely will be different.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5a

Note the this scripts points are arranged differently than in the previous file.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5_partial_graphic

While this code Block showing P1 is being referred to twice, its not going to be used, as the “**set union**” node will be, but it is showing that the arrangement of points need to be circuitous.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5_partial_graphic-1

This was checked, originally thinking it was an error, but it is correct in its intended definition.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5_partial_graphic-2

If one uses the** set union** nodes in lieu of the code block ( i.e.. {p1,p2,p3,p4,p1} ), the “** Reorder node** ” will be needed for the *point indices* to be in the correct order. The complete translation to graph node canvas is shown below.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5a

Satisfied with the translation, the **“Code to Node**” operation is performed.

2014_02_19-Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5b_partial view

Because the file translation is really too long to be easily edited, it was decided to break it into two large Code Blocks.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5b_partial view-2

It took a few attempts to get it broken into two blocks with the above partial view (2) being the first translation.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5b_partial view_2

After they were translated into two code blocks, a little editing was needed.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5b_partial view_3

The above shows the completed translation.

The resulting Graphic from these translations is shown below.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors- Windows Graphic.

And the DSS files are available for downloading below.

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5a

Geometry.Curve.BSplineCurve.ByPoints.TangentVectors#5b

Thanks for looking

T!M

### Like this:

Like Loading...