The return of "Triangle interpolation: point outside all triangles!"

  • Just reinstalled my IR Sensor, and was successfully performing a series of Auto Bed Calibrations as I manually adjusted my bed. Then I changed one coordinate in my bed.g file, and now as soon as a calibration completes, I get this:

    Then when I try to reconnect, I get this:

    I've been using this firmware with no issues for at least a week:

    Here's my bed.g file:

    M561				; Clear any existing bed transform
    G90				; Absolute mode
    ; Probe bed at these 5 points:
    G30 P0 X35  Y60  Z-99999
    G30 P1 X30  Y200 Z-99999
    G30 P2 X180 Y200 Z-99999
    G30 P3 X210 Y35  Z-99999
    G30 P4 X110 Y110 Z-99999 S
    G1 Z10				; Lower bed
    G1 X0.0 Y0.0 F16000		; Home

    (It's not a nice square because my PEI reflectivity is messed up in some patches so I'm probing around the bad spots.)

    I just tried it with a 20mm perfect square in the middle of the bed and got the same results.

  • administrators

    Starting from the centre, the algorithm only works to twice as far out as the outline formed by the corner points. So the problem is the high Y value of the first point. Given that your centre point is Y=110, the algorithm will only work out as far as Y = 60-(110-60) = 10. So you will get that error if you try to move to a Y value <10 in the vicinity of that corner.

  • Thanks for the quick answer - that did the trick!

    I'm sure this is an oddball case, so not a high priority, but I think in the future it might be more elegant (if less dramatic) if this problem just returned an error message instead disconnecting from the web browser and (after reconnecting) repeating "Triangle interpolation: point outside all triangles!" ad infinitum until a reset… đŸ™‚

  • administrators

    The disconnection from the browser is not expected. Is it repeatable?

Log in to reply