Cut coordinate is relative the new plank

AfoHT
Jan 26, 2024, 10:17 PM
RYT4PXCXB3HLRG5ZMC7K27WES6QDOLHZNFYRVVQEBV6TUAIFB22AC

Dependencies

  • [2] 4YYL4VTY Introduce Cut
  • [3] E6F2AEXP Fix floorbuilding
  • [4] LQ4TT46N These conditions are not mutually exclusive
  • [5] NJC3HBR6 Initial attempt to not get too short planks at end of row
  • [6] MLUGR2LL Add default impl and some basic plank logic
  • [*] 5TH3AA46 10 mm extra space

Change contents

  • replacement in src/bin/main.rs at line 138
    [2.1413][2.1413:1493]()
    if !adjacent_row.check_if_cut_is_valid(Cut::new(required_length)) {
    [2.1413]
    [2.1493]
    if !adjacent_row.check_if_cut_is_valid(Cut::new(row.get_coverage() + required_length)) {