From a7b63c7513be5d4a8095b231b924009655619fde Mon Sep 17 00:00:00 2001
From: Erik Strand <erik.strand@cba.mit.edu>
Date: Fri, 10 May 2019 01:41:32 -0400
Subject: [PATCH] Don't mill around the board when cutting traces

---
 node_board/main.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/node_board/main.cpp b/node_board/main.cpp
index 2832f80..15018e2 100644
--- a/node_board/main.cpp
+++ b/node_board/main.cpp
@@ -19,7 +19,8 @@ public:
     {
         png_writer_.allocate(width_px_ + 4 * min_cut_thickness_px_,
                              height_px_ + 4 * min_cut_thickness_px_);
-        png_writer_.set_all_pixels_black();
+        png_writer_.set_all_pixels(255);
+        draw_int_rectangle(0, width_px_, 0, height_px_, 0);
     }
 
     int32_t to_px(double x) {
-- 
GitLab