Help and docs
Sign in

R17 route: fold overshoot hooks; never merge edges onto one line

Browse files
grindlemire 2d 4 files +64 ~17
Landed bygrindlemireas 0c5da5e6 · with 5 other reviews See in history

A route whose approach lane sat too close to its target overshot the
port, stepped and came back: a hook with sharp corners. straighten now
treats a short segment between opposite turns like a jog and folds it
by moving the approach over, and dejog counts hooks too. No straighten
move may put the route on the same line as another edge (within 2px),
since two edges on one line read as one; edges merely close by are
left for nudging to separate.