From dad830d7753917f959947a1689e18d15d2aba035 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Tue, 19 Apr 2016 09:36:14 +0200 Subject: [PATCH] Remove unused helper methods --- boxes/generators/traylayout.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/boxes/generators/traylayout.py b/boxes/generators/traylayout.py index 315dcf2..1109979 100755 --- a/boxes/generators/traylayout.py +++ b/boxes/generators/traylayout.py @@ -56,20 +56,6 @@ class Layout(Boxes): r.append("".join(("+" + " -"[h] for h in self.hwalls[-1])) + "+\n") return "".join(r) - def hholes(self, y, start, end): - posx = -0.5 * self.thickness - for i in range(start, end-1): - posx += self.x[i] + self.thickness - # XXX if no holes: continue - self.fingerHolesAt(posx, 0, self.hi) - - def vholes(self, x, start, end): - posy = -0.5 * self.thickness - for i in range(start, end-1): - posy += self.y[i] + self.thickness - # XXX if no holes: continue - self.fingerHolesAt(posy, 0, self.hi) - def vWalls(self, x, y): "Number of vertical walls at a crossing" result = 0