-angle to angle per mm

How can I set the -angle parameter so that it only allows a certain amount of bending per mm rather than per step?

Thanks in advance.

My bad, is just angle per mm * stepsize in mm?

It’s shown in this paper - figure 1:

θ = 2 sin-1 (S/2R)

where:

  • θ is the angle between successive steps;
  • S is the step size;
  • R is the radius of curvature.

As your question is worded, I reckon that’s actually probably right - there’ll be a subtle adjustment if you assume curved path segments rather than straight lines (as assumed in the equation above), but if you’re happy to stick with the definition of distance as strictly the linear distance between vertices, then that seems correct…