GNBoard tests
parent
19abeb6cc9
commit
be5edd3bde
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,28 @@
|
|||
G04 (created by PCBNEW (2013-mar-13)-testing) date jue 13 jun 2013 15:19:28 CEST*
|
||||
%MOIN*%
|
||||
G04 Gerber Fmt 3.4, Leading zero omitted, Abs format*
|
||||
%FSLAX34Y34*%
|
||||
G01*
|
||||
G70*
|
||||
G90*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.003937*%
|
||||
%ADD11C,0.015000*%
|
||||
G04 APERTURE END LIST*
|
||||
G54D10*
|
||||
G54D11*
|
||||
X49500Y-48750D02*
|
||||
X49500Y-38750D01*
|
||||
X80250Y-48750D02*
|
||||
X80250Y-38250D01*
|
||||
X49500Y-48750D02*
|
||||
X64000Y-48750D01*
|
||||
X80250Y-27250D02*
|
||||
X80250Y-37250D01*
|
||||
X49500Y-27250D02*
|
||||
X49500Y-37750D01*
|
||||
X80250Y-48750D02*
|
||||
X65250Y-48750D01*
|
||||
X49500Y-27250D02*
|
||||
X80250Y-27250D01*
|
||||
M02*
|
|
@ -0,0 +1,220 @@
|
|||
M48
|
||||
;DRILL file {Pcbnew (2013-mar-13)-testing} date jue 13 jun 2013 15:19:30 CEST
|
||||
;FORMAT={-:-/ absolute / inch / decimal}
|
||||
FMAT,2
|
||||
INCH,TZ
|
||||
T1C0.024
|
||||
T2C0.028
|
||||
T3C0.032
|
||||
T4C0.039
|
||||
T5C0.039
|
||||
T6C0.040
|
||||
T7C0.043
|
||||
T8C0.047
|
||||
T9C0.060
|
||||
%
|
||||
G90
|
||||
G05
|
||||
M72
|
||||
T1
|
||||
X5.6Y-4.6
|
||||
X6.025Y-4.4
|
||||
X6.1Y-4.6
|
||||
X6.4Y-4.1
|
||||
T2
|
||||
X5.2213Y-4.05
|
||||
X5.3Y-4.05
|
||||
X5.3787Y-4.05
|
||||
T3
|
||||
X5.14Y-2.85
|
||||
X5.15Y-4.325
|
||||
X5.15Y-4.625
|
||||
X5.2Y-3.05
|
||||
X5.2Y-3.35
|
||||
X5.24Y-2.85
|
||||
X5.34Y-2.85
|
||||
X5.35Y-4.325
|
||||
X5.35Y-4.625
|
||||
X5.4Y-3.05
|
||||
X5.4Y-3.35
|
||||
X5.44Y-2.85
|
||||
X5.45Y-3.5
|
||||
X5.5Y-4.75
|
||||
X5.54Y-2.85
|
||||
X5.55Y-3.
|
||||
X5.55Y-3.3
|
||||
X5.55Y-3.5
|
||||
X5.55Y-3.75
|
||||
X5.55Y-3.85
|
||||
X5.6Y-4.75
|
||||
X5.64Y-2.85
|
||||
X5.65Y-3.
|
||||
X5.65Y-3.3
|
||||
X5.65Y-3.5
|
||||
X5.7Y-4.75
|
||||
X5.74Y-2.85
|
||||
X5.75Y-3.
|
||||
X5.75Y-3.3
|
||||
X5.75Y-3.5
|
||||
X5.7939Y-3.6061
|
||||
X5.8Y-4.75
|
||||
X5.84Y-2.85
|
||||
X5.8939Y-3.6561
|
||||
X5.9Y-4.75
|
||||
X6.Y-2.85
|
||||
X6.Y-4.75
|
||||
X6.0061Y-3.3939
|
||||
X6.1Y-2.85
|
||||
X6.1061Y-3.4439
|
||||
X6.15Y-4.2
|
||||
X6.15Y-4.3
|
||||
X6.2Y-2.85
|
||||
X6.2Y-3.55
|
||||
X6.2Y-3.65
|
||||
X6.2Y-3.75
|
||||
X6.2Y-3.85
|
||||
X6.2Y-4.75
|
||||
X6.3Y-2.85
|
||||
X6.3Y-4.75
|
||||
X6.4Y-2.85
|
||||
X6.4Y-4.75
|
||||
X6.5Y-2.85
|
||||
X6.5Y-3.55
|
||||
X6.5Y-3.65
|
||||
X6.5Y-3.75
|
||||
X6.5Y-3.85
|
||||
X6.5Y-4.75
|
||||
X6.6Y-4.75
|
||||
X6.7Y-4.75
|
||||
X6.8Y-4.75
|
||||
X6.9Y-2.85
|
||||
X6.9Y-4.2
|
||||
X6.9Y-4.75
|
||||
X6.975Y-3.425
|
||||
X7.Y-2.85
|
||||
X7.Y-4.2
|
||||
X7.075Y-3.425
|
||||
X7.1Y-2.85
|
||||
X7.1Y-4.75
|
||||
X7.2Y-2.85
|
||||
X7.2Y-4.75
|
||||
X7.25Y-4.325
|
||||
X7.25Y-4.625
|
||||
X7.3Y-2.85
|
||||
X7.3Y-4.75
|
||||
X7.4Y-2.85
|
||||
X7.4Y-4.75
|
||||
X7.475Y-3.15
|
||||
X7.475Y-3.25
|
||||
X7.5Y-2.85
|
||||
X7.5Y-4.75
|
||||
X7.6Y-2.85
|
||||
X7.6Y-4.75
|
||||
X7.675Y-3.6
|
||||
X7.7Y-4.75
|
||||
X7.775Y-3.15
|
||||
X7.775Y-3.25
|
||||
X7.775Y-3.6
|
||||
X7.8Y-4.75
|
||||
X7.9Y-2.85
|
||||
X7.9Y-2.95
|
||||
X7.9Y-3.05
|
||||
X7.9Y-3.15
|
||||
X7.9Y-3.25
|
||||
X7.9Y-3.35
|
||||
X7.9Y-3.45
|
||||
X7.9Y-3.95
|
||||
X7.9Y-4.05
|
||||
X7.9Y-4.15
|
||||
X7.9Y-4.25
|
||||
X7.9Y-4.35
|
||||
X7.9Y-4.45
|
||||
X7.9Y-4.55
|
||||
T4
|
||||
X5.1425Y-4.05
|
||||
X5.4575Y-4.05
|
||||
T5
|
||||
X5.76Y-4.31
|
||||
X5.76Y-4.53
|
||||
T6
|
||||
X5.9Y-3.
|
||||
X5.9Y-3.1
|
||||
X6.05Y-3.
|
||||
X6.05Y-3.1
|
||||
X6.05Y-3.2
|
||||
X6.15Y-3.
|
||||
X6.15Y-3.1
|
||||
X6.15Y-3.2
|
||||
X6.25Y-3.
|
||||
X6.25Y-3.1
|
||||
X6.25Y-3.2
|
||||
X6.35Y-3.
|
||||
X6.35Y-3.1
|
||||
X6.35Y-3.2
|
||||
X6.45Y-3.
|
||||
X6.45Y-3.1
|
||||
X6.45Y-3.2
|
||||
X6.55Y-3.
|
||||
X6.55Y-3.1
|
||||
X6.55Y-3.2
|
||||
X6.6Y-3.55
|
||||
X6.6Y-3.65
|
||||
X6.6Y-3.75
|
||||
X6.6Y-3.85
|
||||
X6.6Y-3.95
|
||||
X6.775Y-4.4
|
||||
X6.775Y-4.5
|
||||
X6.775Y-4.6
|
||||
X6.825Y-3.
|
||||
X6.825Y-3.1
|
||||
X6.825Y-3.2
|
||||
X6.875Y-4.4
|
||||
X6.875Y-4.5
|
||||
X6.875Y-4.6
|
||||
X6.925Y-3.
|
||||
X6.925Y-3.1
|
||||
X6.925Y-3.2
|
||||
X6.975Y-4.4
|
||||
X6.975Y-4.5
|
||||
X6.975Y-4.6
|
||||
X7.025Y-3.
|
||||
X7.025Y-3.1
|
||||
X7.025Y-3.2
|
||||
X7.075Y-4.4
|
||||
X7.075Y-4.5
|
||||
X7.075Y-4.6
|
||||
X7.125Y-3.
|
||||
X7.125Y-3.1
|
||||
X7.125Y-3.2
|
||||
X7.225Y-3.
|
||||
X7.225Y-3.1
|
||||
X7.225Y-3.2
|
||||
X7.325Y-3.
|
||||
X7.325Y-3.1
|
||||
X7.325Y-3.2
|
||||
X7.375Y-4.525
|
||||
X7.475Y-3.025
|
||||
X7.475Y-3.375
|
||||
X7.475Y-4.525
|
||||
X7.575Y-3.025
|
||||
X7.575Y-3.375
|
||||
X7.575Y-4.525
|
||||
X7.675Y-3.025
|
||||
X7.675Y-3.375
|
||||
X7.675Y-4.525
|
||||
X7.775Y-3.025
|
||||
X7.775Y-3.375
|
||||
T7
|
||||
X5.75Y-3.85
|
||||
X6.05Y-3.85
|
||||
T8
|
||||
X5.615Y-4.015
|
||||
X5.68Y-4.17
|
||||
X5.75Y-4.015
|
||||
X5.82Y-4.17
|
||||
X5.885Y-4.015
|
||||
T9
|
||||
X5.25Y-3.6
|
||||
X5.25Y-3.8
|
||||
T0
|
||||
M30
|
|
@ -0,0 +1,584 @@
|
|||
(Generated by ./pygerber2gcode_cui_MOD.py )
|
||||
( 2013-06-13 15:19:54 )
|
||||
(Initialize)
|
||||
|
||||
(Start form here)
|
||||
G0 Z0.500000 F40.000000
|
||||
G0 X64.638658 Y10.548359
|
||||
G0 Z-2.000000 F40.000000 D0.609600
|
||||
G0 Z0.500000
|
||||
G0 X53.843658 Y15.628359
|
||||
G0 Z-2.000000 F40.000000 D0.609600
|
||||
G0 Z0.500000
|
||||
G0 X51.938658 Y10.548359
|
||||
G0 Z-2.000000 F40.000000 D0.609600
|
||||
G0 Z0.500000
|
||||
G0 X44.318658 Y23.248359
|
||||
G0 Z-2.000000 F40.000000 D0.609600
|
||||
G0 Z0.500000
|
||||
G0 X74.257638 Y24.518359
|
||||
G0 Z-2.000000 F40.000000 D0.711200
|
||||
G0 Z0.500000
|
||||
G0 X72.258658 Y24.518359
|
||||
G0 Z-2.000000 F40.000000 D0.711200
|
||||
G0 Z0.500000
|
||||
G0 X70.259678 Y24.518359
|
||||
G0 Z-2.000000 F40.000000 D0.711200
|
||||
G0 Z0.500000
|
||||
G0 X76.322658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X76.068658 Y17.533359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X76.068658 Y9.913359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X74.798658 Y49.918359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X74.798658 Y42.298359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X73.782658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X71.242658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X70.988658 Y17.533359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X70.988658 Y9.913359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X69.718658 Y49.918359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X69.718658 Y42.298359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X68.702658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X68.448658 Y38.488359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X67.178658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X66.162658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X65.908658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X65.908658 Y43.568359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X65.908658 Y38.488359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X65.908658 Y32.138359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X65.908658 Y29.598359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X64.638658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X63.622658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X63.368658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X63.368658 Y43.568359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X63.368658 Y38.488359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X62.098658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X61.082658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X60.828658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X60.828658 Y43.568359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X60.828658 Y38.488359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X59.713598 Y35.793419
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X59.558658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X58.542658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X57.173598 Y34.523419
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X57.018658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X54.478658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X54.478658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X54.323718 Y41.183299
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X51.938658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X51.783718 Y39.913299
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X50.668658 Y20.708359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X50.668658 Y18.168359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X49.398658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X49.398658 Y37.218359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X49.398658 Y34.678359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X49.398658 Y32.138359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X49.398658 Y29.598359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X49.398658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X46.858658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X46.858658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X44.318658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X44.318658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X41.778658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X41.778658 Y37.218359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X41.778658 Y34.678359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X41.778658 Y32.138359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X41.778658 Y29.598359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X41.778658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X39.238658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X36.698658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X34.158658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X31.618658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X31.618658 Y20.708359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X31.618658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X29.713658 Y40.393359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X29.078658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X29.078658 Y20.708359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X27.173658 Y40.393359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X26.538658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X26.538658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X23.998658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X23.998658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X22.728658 Y17.533359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X22.728658 Y9.913359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X21.458658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X21.458658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X18.918658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X18.918658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X17.013658 Y47.378359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X17.013658 Y44.838359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X16.378658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X16.378658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X13.838658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X13.838658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X11.933658 Y35.948359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X11.298658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X9.393658 Y47.378359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X9.393658 Y44.838359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X9.393658 Y35.948359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X8.758658 Y6.738359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y54.998359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y52.458359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y49.918359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y47.378359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y44.838359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y42.298359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y39.758359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y27.058359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y24.518359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y21.978359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y19.438359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y16.898359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y14.358359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X6.218658 Y11.818359
|
||||
G0 Z-2.000000 F40.000000 D0.812800
|
||||
G0 Z0.500000
|
||||
G0 X76.259158 Y24.518359
|
||||
G0 Z-2.000000 F40.000000 D0.990600
|
||||
G0 Z0.500000
|
||||
G0 X68.258158 Y24.518359
|
||||
G0 Z-2.000000 F40.000000 D0.990600
|
||||
G0 Z0.500000
|
||||
G0 X60.574658 Y17.914359
|
||||
G0 Z-2.000000 F40.000000 D0.990600
|
||||
G0 Z0.500000
|
||||
G0 X60.574658 Y12.326359
|
||||
G0 Z-2.000000 F40.000000 D0.990600
|
||||
G0 Z0.500000
|
||||
G0 X57.018658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X57.018658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X53.208658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X53.208658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X53.208658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X50.668658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X50.668658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X50.668658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X48.128658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X48.128658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X48.128658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X45.588658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X45.588658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X45.588658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X43.048658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X43.048658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X43.048658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X40.508658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X40.508658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X40.508658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X39.238658 Y37.218359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X39.238658 Y34.678359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X39.238658 Y32.138359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X39.238658 Y29.598359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X39.238658 Y27.058359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X34.793658 Y15.628359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X34.793658 Y13.088359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X34.793658 Y10.548359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X33.523658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X33.523658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X33.523658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X32.253658 Y15.628359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X32.253658 Y13.088359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X32.253658 Y10.548359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X30.983658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X30.983658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X30.983658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X29.713658 Y15.628359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X29.713658 Y13.088359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X29.713658 Y10.548359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X28.443658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X28.443658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X28.443658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X27.173658 Y15.628359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X27.173658 Y13.088359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X27.173658 Y10.548359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X25.903658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X25.903658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X25.903658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X23.363658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X23.363658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X23.363658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X20.823658 Y51.188359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X20.823658 Y48.648359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X20.823658 Y46.108359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X19.553658 Y12.453359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X17.013658 Y50.553359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X17.013658 Y41.663359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X17.013658 Y12.453359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X14.473658 Y50.553359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X14.473658 Y41.663359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X14.473658 Y12.453359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X11.933658 Y50.553359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X11.933658 Y41.663359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X11.933658 Y12.453359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X9.393658 Y50.553359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X9.393658 Y41.663359
|
||||
G0 Z-2.000000 F40.000000 D1.016000
|
||||
G0 Z0.500000
|
||||
G0 X60.828658 Y29.598359
|
||||
G0 Z-2.000000 F40.000000 D1.092200
|
||||
G0 Z0.500000
|
||||
G0 X53.208658 Y29.598359
|
||||
G0 Z-2.000000 F40.000000 D1.092200
|
||||
G0 Z0.500000
|
||||
G0 X64.257658 Y25.407359
|
||||
G0 Z-2.000000 F40.000000 D1.193800
|
||||
G0 Z0.500000
|
||||
G0 X62.606658 Y21.470359
|
||||
G0 Z-2.000000 F40.000000 D1.193800
|
||||
G0 Z0.500000
|
||||
G0 X60.828658 Y25.407359
|
||||
G0 Z-2.000000 F40.000000 D1.193800
|
||||
G0 Z0.500000
|
||||
G0 X59.050658 Y21.470359
|
||||
G0 Z-2.000000 F40.000000 D1.193800
|
||||
G0 Z0.500000
|
||||
G0 X57.399658 Y25.407359
|
||||
G0 Z-2.000000 F40.000000 D1.193800
|
||||
G0 Z0.500000
|
||||
G0 X73.528658 Y35.948359
|
||||
G0 Z-2.000000 F40.000000 D1.524000
|
||||
G0 Z0.500000
|
||||
G0 X73.528658 Y30.868359
|
||||
G0 Z-2.000000 F40.000000 D1.524000
|
||||
G0 Z0.500000
|
||||
|
||||
(Goto to Initial position)
|
||||
G0 Z0.500000
|
||||
G0 X0.000000 Y0.000000
|
||||
G0 Z0.000000
|
|
@ -0,0 +1,26 @@
|
|||
(Generated by ./pygerber2gcode_cui_MOD.py )
|
||||
( 2013-06-13 15:19:54 )
|
||||
(Initialize)
|
||||
|
||||
(Start form here)
|
||||
G0 Z0.500000
|
||||
G0 X44.318658 Y3.563359
|
||||
G1 Z-2.000000 F20.000000
|
||||
G1 X81.148658 F30.000000
|
||||
G1 Y28.963359 F30.000000
|
||||
G0 Z0.500000
|
||||
G0 X41.143658 Y3.563359
|
||||
G1 Z-2.000000 F20.000000
|
||||
G1 X3.043658 F30.000000
|
||||
G1 Y30.233359 F30.000000
|
||||
G0 Z0.500000
|
||||
G0 Y32.773359
|
||||
G1 Z-2.000000 F20.000000
|
||||
G1 Y58.173359 F30.000000
|
||||
G1 X81.148658 F30.000000
|
||||
G1 Y31.503359 F30.000000
|
||||
|
||||
(Goto to Initial position)
|
||||
G0 Z0.500000
|
||||
G0 X0.000000 Y0.000000
|
||||
G0 Z0.000000
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,8 @@
|
|||
GERBER_DIR = "./in"
|
||||
FRONT_FILE = ""
|
||||
BACK_FILE = "placa_cny70-B_Cu.gbl"
|
||||
DRILL_FILE = "placa_cny70.drl"
|
||||
EDGE_FILE = "placa_cny70-Edge_Cuts.gbr"
|
||||
BACK_FILE = "GNBoard-B_Cu.gbl"
|
||||
DRILL_FILE = "GNBoard.drl"
|
||||
EDGE_FILE = "GNBoard-Edge_Cuts.gbr"
|
||||
MIRROR_FRONT = 0
|
||||
MIRROR_BACK = 1
|
||||
MIRROR_DRILL = 1
|
||||
|
@ -10,13 +10,13 @@ MIRROR_EDGE = 1
|
|||
ROT_ANG = 0
|
||||
OUT_DIR = "./out"
|
||||
OUT_FRONT_FILE = ""
|
||||
OUT_BACK_FILE = "placa_cny70_etch.gcode"
|
||||
OUT_BACK_FILE = "GNBoard_etch.gcode"
|
||||
OUT_FRONT_2PASS_FILE = ""
|
||||
OUT_BACK_2PASS_FILE = "placa_cny70_etch2pass.gcode"
|
||||
OUT_BACK_2PASS_FILE = "GNBoard_etch2pass.gcode"
|
||||
OUT_FRONT_3PASS_FILE = ""
|
||||
OUT_BACK_3PASS_FILE = "placa_cny70_etch3pass.gcode"
|
||||
OUT_DRILL_FILE = "placa_cny70_drill.gcode"
|
||||
OUT_EDGE_FILE = "placa_cny70_edge.gcode"
|
||||
OUT_BACK_3PASS_FILE = "GNBoard_etch3pass.gcode"
|
||||
OUT_DRILL_FILE = "GNBoard_drill.gcode"
|
||||
OUT_EDGE_FILE = "GNBoard_edge.gcode"
|
||||
|
||||
INI_X=0.0
|
||||
INI_Y=0.0
|
||||
|
@ -32,10 +32,10 @@ LOWER_Y=5.0
|
|||
DRILL_SPEED=40
|
||||
DRILL_DEPTH=-2
|
||||
CUT_DEPTH=-0.04
|
||||
TOOL_D=0.1
|
||||
TOOL_2PASS_D=0.5
|
||||
TOOL_D=0.12
|
||||
TOOL_2PASS_D=0.52
|
||||
TOOL_3PASS_D=1
|
||||
DRILL_D=0.5
|
||||
DRILL_D=0.1
|
||||
CAD_UNIT=0.00254
|
||||
DRILL_UNIT=0.00254
|
||||
EDGE_UNIT=0.00254
|
||||
|
|
|
@ -1327,7 +1327,8 @@ def drill_hole(cx,cy,r):
|
|||
gcode_tmp_flag=0
|
||||
j += 2
|
||||
i += 1
|
||||
out_data += "G0 Z" + floats(DRILL_DEPTH) + " F" + floats(DRILL_SPEED) + "\n" # MOD
|
||||
DRILL_DESIRED_DIAM = 2*(r + DRILL_D/2)
|
||||
out_data += "G0 Z" + floats(DRILL_DEPTH) + " F" + floats(DRILL_SPEED) + " D" + floats(DRILL_DESIRED_DIAM) + "\n" # MOD
|
||||
gTMP_DRILL_X = cx+r
|
||||
gTMP_DRILL_Y = cy
|
||||
return out_data
|
||||
|
|
|
@ -34,7 +34,7 @@ from helper import *
|
|||
# End modules
|
||||
|
||||
filePath = "../GcodeGenerators/pyGerber2Gcode_CUI/out/"
|
||||
fileName = "DTMF_Shield_etch" # sys.argv[1]
|
||||
fileName = "GNBoard" # sys.argv[1]
|
||||
|
||||
|
||||
|
||||
|
@ -80,10 +80,15 @@ def probingResults(): # quick and dirty temporal code
|
|||
# probe_result = [[0.0, 0.28000000000000114, 0.490000000000002, 0.5599999999999987, 0.5199999999999996], [0.0, 0.1700000000000017, 0.33000000000000185, 0.41000000000000014, 0.41000000000000014], [-0.030000000000001137, 0.08999999999999986, 0.21999999999999886, 0.3000000000000007, 0.33000000000000185], [-0.08999999999999986, 0.03999999999999915, 0.16000000000000014, 0.26000000000000156, 0.28999999999999915]]
|
||||
# duration = 102.808573
|
||||
|
||||
x_points = [70.0, 87.5, 105.0, 122.5, 140.0]
|
||||
y_points = [0.0, 13.333333333333334, 26.666666666666668, 40.0]
|
||||
probe_result = [[0.0, -0.15000000000000213, -0.28000000000000114, -0.38000000000000256, -0.4299999999999997], [-0.08000000000000185, -0.20000000000000284, -0.33999999999999986, -0.4400000000000013, -0.490000000000002], [-0.15000000000000213, -0.26000000000000156, -0.370000000000001, -0.46000000000000085, -0.5100000000000016], [-0.21000000000000085, -0.26000000000000156, -0.35999999999999943, -0.4400000000000013, -0.490000000000002]]
|
||||
duration = 105.028261
|
||||
# x_points = [70.0, 87.5, 105.0, 122.5, 140.0]
|
||||
# y_points = [0.0, 13.333333333333334, 26.666666666666668, 40.0]
|
||||
# probe_result = [[0.0, -0.15000000000000213, -0.28000000000000114, -0.38000000000000256, -0.4299999999999997], [-0.08000000000000185, -0.20000000000000284, -0.33999999999999986, -0.4400000000000013, -0.490000000000002], [-0.15000000000000213, -0.26000000000000156, -0.370000000000001, -0.46000000000000085, -0.5100000000000016], [-0.21000000000000085, -0.26000000000000156, -0.35999999999999943, -0.4400000000000013, -0.490000000000002]]
|
||||
# duration = 105.028261
|
||||
|
||||
x_points = [0.0, 20.0, 40.0, 60.0, 80.0]
|
||||
y_points = [0.0, 15.0, 30.0, 45.0, 60.0]
|
||||
probe_result = [[0.0, 0.259999999999998, 0.620000000000001, 0.75, 0.6799999999999997], [-0.019999999999999574, 0.21999999999999886, 0.4400000000000013, 0.5399999999999991, 0.5], [-0.05999999999999872, 0.19000000000000128, 0.370000000000001, 0.46000000000000085, 0.4299999999999997], [-0.05999999999999872, 0.16999999999999815, 0.34999999999999787, 0.4400000000000013, 0.4299999999999997], [-0.05000000000000071, 0.21000000000000085, 0.3999999999999986, 0.509999999999998, 0.509999999999998]]
|
||||
duration = 123.918331
|
||||
|
||||
# Show our grid
|
||||
# print "--- Probing results ---"
|
||||
|
@ -134,7 +139,7 @@ probingResults()
|
|||
print "Must be zero:",floats(getZoffset(0,0))
|
||||
|
||||
# Display the Gcode that is going to be etched
|
||||
(etch_moves, travel_moves, gcode_minXY_global, gcode_maxXY_global) = gcv.view(filePath,fileName,showEtch=1)
|
||||
(etch_moves, travel_moves, gcode_minXY_global, gcode_maxXY_global) = gcv.view(filePath,fileName,showEdge=1)
|
||||
#(etch_moves, travel_moves) = gcv.view(filePath,fileName,showEtch1=1)
|
||||
#(etch_moves, travel_moves) = gcv.view(filePath,fileName,showEtch2=1)
|
||||
#(etch_moves, travel_moves) = gcv.view(filePath,fileName,showDrill=1)
|
||||
|
@ -226,7 +231,7 @@ pltSetFig(gcodeviewer)
|
|||
|
||||
Zlift = 1.0
|
||||
|
||||
Z_manual_offset = 0.0
|
||||
Z_manual_offset = -0.01
|
||||
|
||||
maxDistance = 2**2 # [mm^2] 2mm (longer moves will be split to regulate Z)
|
||||
minDistance = 0.001**2 # [mm^2] 0.001mm is the smallest distance that will be sent
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
# Begin configuration
|
||||
BAUDRATE = 115200
|
||||
DEVICE = "/dev/ttyUSB0"
|
||||
Emulate = 0
|
||||
# End configuration
|
||||
|
||||
# Begin modules
|
||||
|
@ -27,7 +28,7 @@ sys.path.append("../CycloneHost")
|
|||
import CycloneHost as cy
|
||||
# End modules
|
||||
|
||||
cy.connect(BAUDRATE, DEVICE)
|
||||
cy.connect(BAUDRATE, DEVICE, Emulate)
|
||||
|
||||
cy.sendCommand("G90\n") # Set absolute positioning
|
||||
|
||||
|
@ -37,9 +38,9 @@ cy.homeZXY() # Home all the axis
|
|||
#grid_origin = (0,0) # Initial point of the grid [mm]
|
||||
#grid_len = (135,84) # Distance to probe [mm]
|
||||
#grid_N = (12,6) # Number of points
|
||||
grid_origin = (70,0) # Initial point of the grid [mm]
|
||||
grid_len = (70,40) # Distance to probe [mm]
|
||||
grid_N = (5,4) # Number of points (AT LEAST 4 IN EACH DIRECTION, OTHERWISE INTERPOLATION WILL FAIL)
|
||||
grid_origin = (0,0) # Initial point of the grid [mm]
|
||||
grid_len = (80,60) # Distance to probe [mm]
|
||||
grid_N = (5,5) # Number of points (AT LEAST 4 IN EACH DIRECTION, OTHERWISE INTERPOLATION WILL FAIL)
|
||||
|
||||
Zlift = 0.5 # mm
|
||||
|
||||
|
@ -64,10 +65,10 @@ cy.moveZrelSafe(initial_Z_lowering_distance,F_slowMove) # Move Z towards the PCB
|
|||
|
||||
# Show our grid
|
||||
print "--- Probing results ---"
|
||||
print "-> X points:", x_points
|
||||
print "-> Y points:", y_points
|
||||
print "-> Grid:", probe_result
|
||||
print "-> Duration:", duration
|
||||
print "x_points = ", x_points
|
||||
print "y_points = ", y_points
|
||||
print "probe_result = ", probe_result
|
||||
print "duration = ", duration
|
||||
|
||||
# Must be converted into arrays to use scipy
|
||||
x_points = np.array(x_points)
|
||||
|
|
|
@ -66,7 +66,7 @@ gcodeviewer = pltNewFig() # Define a new figure, this doesnt open a window by it
|
|||
|
||||
|
||||
filePath = "../GcodeGenerators/pyGerber2Gcode_CUI/out/"
|
||||
fileName = "DTMF_Shield_etch" # sys.argv[1]
|
||||
fileName = "GNBoard" # sys.argv[1]
|
||||
|
||||
gcv.view(filePath,fileName,showAll=1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue