File tree Expand file tree Collapse file tree
src/emc/usr_intf/qtplasmac Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,19 +310,19 @@ def on_convert_clicked(self):
310310 a ,b = line .split ('=' ,1 )
311311 self .materialCutS = "{id:}{val:.{i}f}" .format (id = 'CUT_SPEED = ' ,
312312 i = 0 , val = float (b .strip ()) / self .divisor )
313- elif line .startswith (r'Cut\ current' ) or (line .startswith ('Preset\ current' ) and self .materialCutA == 'CUT_AMPS = 0' ):
313+ elif line .startswith (r'Cut\ current' ) or (line .startswith (r 'Preset\ current' ) and self .materialCutA == 'CUT_AMPS = 0' ):
314314 a ,b = line .split ('=' ,1 )
315315 self .materialCutA = 'CUT_AMPS = {}' .format (b .strip ())
316- elif line .startswith (r'Cut\ voltage' ) or (line .startswith ('Preset\ volts' ) and self .materialCutV == 'CUT_VOLTS = 0' ):
316+ elif line .startswith (r'Cut\ voltage' ) or (line .startswith (r 'Preset\ volts' ) and self .materialCutV == 'CUT_VOLTS = 0' ):
317317 a ,b = line .split ('=' ,1 )
318318 self .materialCutV = 'CUT_VOLTS = {}' .format (b .strip ())
319319 elif line .startswith (r'Pause\ at\ end\ of\ cut' ):
320320 a ,b = line .split ('=' ,1 )
321321 self .materialPauseE = 'PAUSE_AT_END = {}' .format (b .strip ())
322- elif line .startswith (r'Gas\ pressure' ) or (line .startswith ('Preset\ Air\ Pressure' ) and self .materialGasP == 'GAS_PRESSURE = 0' ):
322+ elif line .startswith (r'Gas\ pressure' ) or (line .startswith (r 'Preset\ Air\ Pressure' ) and self .materialGasP == 'GAS_PRESSURE = 0' ):
323323 a ,b = line .split ('=' ,1 )
324324 self .materialGasp = 'GAS_PRESSURE = {}' .format (b .strip ())
325- elif line .startswith (r'Cut\ mode' ) or (line .startswith ('Preset\ mode' ) and self .materialCutM == 'CUT_MODE = 1' ):
325+ elif line .startswith (r'Cut\ mode' ) or (line .startswith (r 'Preset\ mode' ) and self .materialCutM == 'CUT_MODE = 1' ):
326326 a ,b = line .split ('=' ,1 )
327327 self .materialCutM = 'CUT_MODE = {}' .format (b .strip ())
328328 count += 1
You can’t perform that action at this time.
0 commit comments