Does the "tangent curve" component confuses input order?


I am puzzled by the following behavior of the tangeant curve behavior.

The component has two input list : one with the 2 end points and one with the 2 tangent vectors. It works without problems except in the below case were the curve is drawn with the tangent at the first point set with the input tangent of the end point and the tangent at the end point set with the input tangent at the start point.

Did I miss something ?

I also attached the GH file. When it is opened, the issue is within the cluster at the right end of the drawing board.

tangeant curve (22.5 KB)

Software information

Software versions
Rhinoceros version: 5.4.1 (5E409)
Rhinoceros path: /Applications/
IronPython version: not installed
Language: en-FR (MacOS default)
macOS version: Version 10.13.4 (Build 17E199)


Third party kernel extensions
org.virtualbox.kext.VBoxDrv (5.0.16) 35F02C29-8027-3636-ACD2-6F171A50C1D8
org.virtualbox.kext.VBoxUSB (5.0.16) BD2570CD-7993-3635-BE1E-FAB977FFBD5C
org.virtualbox.kext.VBoxNetFlt (5.0.16) 2C1775A7-B7A3-32A2-9E8B-951C1B499870
org.virtualbox.kext.VBoxNetAdp (5.0.16) B108642D-2C95-3CB4-8D0B-01F867E60FBF

Hardware information

Computer hardware
Hardware model: MacBookPro9,1
Processor: Intel Core i7-3615QM CPU @ 2.30GHz
Memory: 4 GB
Architecture: Intel 64 bit

Video hardware
Graphics: NVIDIA GeForce GT 650M 512 MB
Memory: 512 MB
Screen size: 1440 x 900
Displays: Color LCD (111dpi 1x)

USB devices
Apple Inc.: FaceTime HD Camera (Built-in)
Apple Inc.: Apple Internal Keyboard / Trackpad
Apple Computer, Inc.: IR Receiver
Apple Inc.: Bluetooth USB Host Controller
Logitech: USB Receiver

Bluetooth devices

OpenGL information

OpenGL software
OpenGL version: 2.1 NVIDIA-10.30.25 355.
Render version: 2.1
Shading language: 1.20
Maximum texture size: 16384 x 16384
Z-buffer depth: 24 bits
Maximum viewport size: 16384 x 16384

Implementation settings
Use texture compression: No

Appearance settings
Antialiasing: 4x
Mip map filtering: None
Anisotropic filtering: None

If I internalise and extract the points and vectors that end up inside your tangent curve component, I get the following:

So the vectors are getting confused somewhere else.

Indeed, qythium solved the isse in Have "merge" component output list order according to input order. I should have flattened the entries.