forked from MakeMagazinDE/GRBLize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgerber_import.dfm
237 lines (237 loc) · 5.2 KB
/
gerber_import.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
object FormGerber: TFormGerber
Left = 227
Top = 108
BorderIcons = [biSystemMenu]
BorderStyle = bsSizeToolWin
BorderWidth = 4
Caption = 'Convert Gerber to GCode'
ClientHeight = 519
ClientWidth = 731
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnActivate = FormActivate
OnClose = FormClose
OnCreate = FormCreate
OnPaint = FormPaint
DesignSize = (
731
519)
PixelsPerInch = 96
TextHeight = 13
object PaintBox1: TPaintBox
Left = 0
Top = 108
Width = 730
Height = 410
Anchors = [akLeft, akTop, akRight, akBottom]
Color = clSilver
ParentColor = False
end
object Label29: TLabel
Left = 8
Top = 60
Width = 54
Height = 13
Caption = 'Inflate (mm)'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label30: TLabel
Left = 8
Top = 37
Width = 320
Height = 17
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Caption = 'FILE NOT SELECTED'
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
WordWrap = True
end
object Label1: TLabel
Left = 77
Top = 60
Width = 73
Height = 13
Caption = 'Resolution (dpi)'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Memo2: TMemo
Left = 334
Top = 5
Width = 299
Height = 97
Anchors = [akTop, akRight]
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ScrollBars = ssVertical
TabOrder = 7
end
object OKBtn: TButton
Left = 646
Top = 44
Width = 75
Height = 25
Hint = 'Accept plot and import to GRBLize files'
Anchors = [akTop, akRight]
Caption = 'OK'
Default = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ModalResult = 1
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 0
OnClick = OKBtnClick
end
object CancelBtn: TButton
Left = 646
Top = 8
Width = 75
Height = 25
Anchors = [akTop, akRight]
Cancel = True
Caption = 'Abbrechen'
ModalResult = 2
TabOrder = 1
OnClick = CancelBtnClick
end
object BtnGerberConvert: TButton
Left = 97
Top = 7
Width = 85
Height = 25
Hint = 'Start Conversion (may take a few seconds) with new parameters'
Caption = 'Start Over'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 6
OnClick = BtnGerberConvertClick
end
object BtnOpenGerber: TButton
Left = 6
Top = 7
Width = 85
Height = 25
Hint = 'Select Gerber file for conversion'
Caption = 'Open Gerber'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 8
OnClick = BtnOpenGerberClick
end
object RadioGroup1: TRadioGroup
Left = 159
Top = 61
Width = 169
Height = 41
Caption = 'PCB Side'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
TabOrder = 5
end
object RadioButtonBack: TRadioButton
Left = 244
Top = 78
Width = 77
Height = 17
Hint = 'Gerber file is PCB bottom. Plot will be mirrored'
Caption = 'Back/Bottom'
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
object RadioButtonFront: TRadioButton
Left = 169
Top = 78
Width = 69
Height = 17
Hint = 'Gerber file is PCB top'
Caption = 'Front/Top'
Checked = True
ParentShowHint = False
ShowHint = True
TabOrder = 4
TabStop = True
end
object EditInflate: TEdit
Left = 8
Top = 76
Width = 63
Height = 21
Hint = 'Offset to track/pad outline'
ParentShowHint = False
ShowHint = True
TabOrder = 2
Text = '0,2'
end
object EditDPI: TEdit
Left = 77
Top = 76
Width = 63
Height = 21
Hint =
'Resolution of virtual photo plot (higher values increase computi' +
'ng time)'
NumbersOnly = True
ParentShowHint = False
ShowHint = True
TabOrder = 9
Text = '500'
end
object OpenFileDialog: TOpenDialog
Filter =
'Vector/Drill Files|*.plt;*.hpgl; *.hpg;*.pen;*.svg|' +
'G-Code Files|*.tap; *.dat; *.nc?; *.gc?; *.ngc|' +
'GRBL Setup|*.grb|' +
'Gerber Files|*.gbr;*.drl;*.drd|' +
'All Files|*.*'
FilterIndex = 0
Options = [ofFileMustExist, ofEnableSizing]
Left = 664
Top = 75
end
end