Ruled surface and junction in grasshopper

This conversation should be helpful.