When I designed the fencing tool I did not envisage very long fences. In fact it started as a solution to my frustration in fitting fences around buildings. Well one of my testers, Martin, used the tool to put a perimeter fence around a large airport. Some of the fences are over 2 km long. When adding an another joined fence (the next side of the airport) the technique is to use the end point of the last fence as the start of the next. This ensures that the new starts at the same co ordinates as the one it joins to. Problem is it didn't work! We had gaps and overlaps. I'm talking small errors here – less than one meter in 1 km but it sure shows when you want a joined up fence!
A bit of testing showed the reason to be a bearing problem. The tool took the direct bearing from start point to end point and used that to place each individual fence panel. Over short distances this does not matter – over long then it seems that spherical geometry takes over. When I changed the code so that the bearing is re-calculated each time a fence section is added then the problem goes away. Very long fences are therefore actually slightly curved but I'll give a prize to anyone who can spot the curve……