bug in grasshopper1.000007 {divide ditance}bug(divide distance).gh (9.1 KB)

# Bug in grasshopper1.000007 {divide ditance}

**architect.civil5**(Architect Civil5) #1

**DavidRutten**(David Rutten) #2

If your final division point is *exactly* at the end of the curve, then whether or not it actually happens is pretty much down to rounding errors. I can however make the division a bit smarter by testing the distance to the end of the curve after the last successful intersection, and if that distance is only slightly less than the distance, add the point anyway.

If you’re dealing with straight lines only, there’s no difference between Divide Distance, Divide Length and Divide Count, and the last one will certainly give you the correct answer for now.

I logged it under RH-49039.