Remove unused helper methods
This commit is contained in:
parent
b22ee1f760
commit
dad830d775
|
@ -56,20 +56,6 @@ class Layout(Boxes):
|
||||||
r.append("".join(("+" + " -"[h] for h in self.hwalls[-1])) + "+\n")
|
r.append("".join(("+" + " -"[h] for h in self.hwalls[-1])) + "+\n")
|
||||||
return "".join(r)
|
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):
|
def vWalls(self, x, y):
|
||||||
"Number of vertical walls at a crossing"
|
"Number of vertical walls at a crossing"
|
||||||
result = 0
|
result = 0
|
||||||
|
|
Loading…
Reference in New Issue