Remove trailing semicolon
This commit is contained in:
parent
5f9f704869
commit
03879258e8
|
@ -1938,7 +1938,7 @@ class LidEdge(FingerJointEdge):
|
||||||
description = "Edge for slide on lid (back)"
|
description = "Edge for slide on lid (back)"
|
||||||
|
|
||||||
def __call__(self, length, bedBolts=None, bedBoltSettings=None, **kw):
|
def __call__(self, length, bedBolts=None, bedBoltSettings=None, **kw):
|
||||||
hole_width = self.settings.hole_width;
|
hole_width = self.settings.hole_width
|
||||||
if hole_width > 0:
|
if hole_width > 0:
|
||||||
super().__call__((length - hole_width) / 2)
|
super().__call__((length - hole_width) / 2)
|
||||||
GroovedEdgeBase.groove_arc(self, hole_width)
|
GroovedEdgeBase.groove_arc(self, hole_width)
|
||||||
|
@ -1951,7 +1951,7 @@ class LidHoleEdge(FingerHoleEdge):
|
||||||
description = "Edge for slide on lid (box back)"
|
description = "Edge for slide on lid (box back)"
|
||||||
|
|
||||||
def __call__(self, length, bedBolts=None, bedBoltSettings=None, **kw):
|
def __call__(self, length, bedBolts=None, bedBoltSettings=None, **kw):
|
||||||
hole_width = self.settings.hole_width;
|
hole_width = self.settings.hole_width
|
||||||
if hole_width > 0:
|
if hole_width > 0:
|
||||||
super().__call__((length - hole_width) / 2)
|
super().__call__((length - hole_width) / 2)
|
||||||
self.edge(hole_width)
|
self.edge(hole_width)
|
||||||
|
|
|
@ -95,7 +95,7 @@ class OrganPipe(Boxes): # Change class name!
|
||||||
air_density = 1.2
|
air_density = 1.2
|
||||||
air_speed = self.getAirSpeed(self.windpressure, air_density)
|
air_speed = self.getAirSpeed(self.windpressure, air_density)
|
||||||
|
|
||||||
i = self.intonation;
|
i = self.intonation
|
||||||
radius = self.getRadius(self.pitch, self.octave, i) * 1000
|
radius = self.getRadius(self.pitch, self.octave, i) * 1000
|
||||||
cross_section = pi * radius**2
|
cross_section = pi * radius**2
|
||||||
circumference = pi * radius * 2.0
|
circumference = pi * radius * 2.0
|
||||||
|
@ -109,9 +109,9 @@ class OrganPipe(Boxes): # Change class name!
|
||||||
sound_power = (0.001 * pi * (air_density / speed_of_sound) * f**2
|
sound_power = (0.001 * pi * (air_density / speed_of_sound) * f**2
|
||||||
* (1.7 * (jet_thickness * speed_of_sound * f * mouth_area * mouth_area**.5)**.5)**2)
|
* (1.7 * (jet_thickness * speed_of_sound * f * mouth_area * mouth_area**.5)**.5)**2)
|
||||||
|
|
||||||
air_consumption_rate = air_speed * mouth_width * jet_thickness * 1E6;
|
air_consumption_rate = air_speed * mouth_width * jet_thickness * 1E6
|
||||||
|
|
||||||
wavelength = speed_of_sound / f * 1000;
|
wavelength = speed_of_sound / f * 1000
|
||||||
|
|
||||||
if self.stopped:
|
if self.stopped:
|
||||||
theoretical_resonator_length = wavelength / 4.0
|
theoretical_resonator_length = wavelength / 4.0
|
||||||
|
|
|
@ -75,7 +75,7 @@ With lid:
|
||||||
|
|
||||||
self.moveTo(0, dr)
|
self.moveTo(0, dr)
|
||||||
for l in (lx, ly, lx, ly):
|
for l in (lx, ly, lx, ly):
|
||||||
self.edge(l);
|
self.edge(l)
|
||||||
self.corner(90, r)
|
self.corner(90, r)
|
||||||
|
|
||||||
def cb(self, nr):
|
def cb(self, nr):
|
||||||
|
|
Loading…
Reference in New Issue