示例#1
0
 def __yAxisup__(self):
     print("yAxisup")
     getstep = self.stepbox.value()
     print(getstep)
     self.numbery = pnael.__pane__(self.numbery, getstep)
     self.yAxis.display(self.numbery)
     ## do for the project to went the gcode (+)
     text = str(getstep)
     data = str('G91' + '\n' + 'G01' + 'y' + text + '\n' + 'G90' + '\n')
     if self._serial_context_.isRunning():
         if len(data) > 0: self._serial_context_.send(data, 0)
     pass
示例#2
0
 def __zupButton__(self):
     print("zupButton")
     self.numberz = pnael.__pane__(self.numberz, self.stepbox.value())
     self.zAxis.display(self.numberz)
     pass
示例#3
0
 def __xAxisrigh__(self):
     print("xAxisright")
     self.numberx = pnael.__pane__(self.numberx, self.stepbox.value())
     print(self.numberx)
     self.xAxis.display(self.numberx)
     pass