PCB Matrix Format
Developed by Numerical Innovations, Inc. (www.numericalinnovations.com)
CamMatrixDoxy.h
1
43
44//----------------------------------------------------------------------------------//
45//----------------------------------------------------------------------------------//
46//----------------------------------------------------------------------------------//
47
75
76
77//----------------------------------------------------------------------------------//
78
113
114
115//----------------------------------------------------------------------------------//
116
178
179
180//----------------------------------------------------------------------------------//
181
194
195
196//----------------------------------------------------------------------------------//
197// Short Cuts
198//----------------------------------------------------------------------------------//
199
215
216//----------------------------------------------------------------------------------//
217
237
238//----------------------------------------------------------------------------------//
239
247
248//----------------------------------------------------------------------------------//
249
257
258//----------------------------------------------------------------------------------//
259
267
268//----------------------------------------------------------------------------------//
269
277
278//----------------------------------------------------------------------------------//
279
287
288//----------------------------------------------------------------------------------//
289
297
298//----------------------------------------------------------------------------------//
299
307
308
309//----------------------------------------------------------------------------------//
310
318
319//----------------------------------------------------------------------------------//
320
329
330//----------------------------------------------------------------------------------//
331
340
341
342//----------------------------------------------------------------------------------//
343
351
352
353//----------------------------------------------------------------------------------//
354
362
363
364//----------------------------------------------------------------------------------//
365
373
374
375//----------------------------------------------------------------------------------//
376
391
392//----------------------------------------------------------------------------------//
393
401
402//----------------------------------------------------------------------------------//
403//----------------------------------------------------------------------------------//
404//----------------------------------------------------------------------------------//
405
453
454//----------------------------------------------------------------------------------//
455/*
456TODO: <tr><td>INCLUDE_JOBS=NAME <td colspan="2">Optional. Job names in the workspace to be included. Must be comma separated. (Default is All Jobs are included). <br>
457*/
458
526
527//----------------------------------------------------------------------------------//
528//----------------------------------------------------------------------------------//
529//----------------------------------------------------------------------------------//
530
616
617//----------------------------------------------------------------------------------//
618
904
905//----------------------------------------------------------------------------------//
906
988
989
990
1053
1054
1055
1119
1120
1196
1197
1240
1241
1289
1290
1589
1590
1692
1693
1771
1772
1846
2258
2259
2656
2657
2659// TRANSFORM
2661
2662/*
2663<tr><td>*POLAR_ARRAY=X,Y,DX,DY,SET <td colspan="2">Arrays selected objects by a specified center point and angle to fill.
2664<tr><td>*STAGGERED_ARRAY=X,Y,DX,DY,SET <td colspan="2">Arrays selected objects in a staggered (hexagon) pattern. Typically used to optimize circular objects.
2665<tr><td>*DEEMBED=SET <td colspan="2">Automatically solves the polygon-inside-polygon fill problem for selected objects.
2666<tr><td>*EXPLODE=SET <td colspan="2">Explode selected objects.
2667<tr><td>*BOOLEAN=MODE,SET1,SET2 <td colspan="2">Perform 2D boolean operations on two selection sets: AND,OR,XOR,Subtract.
2668<tr><td>*OFFSET=DISTANCE,SET <td colspan="2">Create parallel paths, lines, polygons and arcs - from selected objects.
2669*/
2670
2671
2734
2735
2737// BOOLEAN
2739
2838
2840// FABRICATION
2842
2843/*
2844<tr><td>COPPER_POUR=Clearance,MinSize,Method,Fill,Pattern,Layer,FilltoEdge,SET <td colspan="2">
2845<tr><td>PINHOLE_ELIMINATION=MinSize,SET <td colspan="2">
2846<tr><td>GENERATE_NC_LAYER=SOURCE_LAYER <td colspan="2">
2847<tr><td>GENERATE_NEGATIVE_LAYER=SOURCE_LAYER <td colspan="2">
2848<tr><td>GENERATE_MASK_LAYER=CLEARANCE <td colspan="2">
2849<tr><td>GENERATE_PASTE_LAYER=CLEARANCE <td colspan="2">
2850<tr><td>GENERATE_FAB_DRAWING=DRILL_LAYER <td colspan="2">
2851*/
2852
3075
3076
3078// ASSEMBLY
3080
3200
3201
3203// SMT_STENCIL
3205
3331
3332
3334// Selection / Filter
3336
3405
3537
3538
3580
3581
3621
3623// EXPORT
3625
3626
3688
3689
3764
3765
3801
3802
3835
3836
3869
3870
3911
3912
3952
3953
3989
3990
4025
4026
4062
4063
4064
4125
4126
4174
4175
4176
4203
4204
4205//----------------------------------------------------------------------------------//
4206//----------------------------------------------------------------------------------//
4207//----------------------------------------------------------------------------------//
4208
4253
4254//----------------------------------------------------------------------------------//
4255
4256/*
4257TODO:
4258<tr><td>DrillSmallest=VALUE <td colspan="2"> <br><br>
4259<tr><td>DrillDensity=VALUE <td colspan="2"> <br><br>
4260<tr><td>RoutScoring=VALUE <td colspan="2"> <br><br>
4261<tr><td>FlyingProbeTesting=VALUE <td colspan="2"> <br><br>
4262<tr><td>RoHs=VALUE <td colspan="2"> <br><br>
4263<tr><td>CutoutsCount=VALUE <td colspan="2"> <br><br>
4264<tr><td>SlotsCount=VALUE <td colspan="2"> <br><br>
4265<tr><td>CountersinkCount=VALUE <td colspan="2"> <br><br>
4266<tr><td>CounterboreCount=VALUE <td colspan="2"> <br><br>
4267<tr><td>GoldFingersCount=VALUE <td colspan="2"> <br><br>
4268<tr><td>GoldFingersThickness=VALUE <td colspan="2"> <br><br>
4269<tr><td>ControlledImpedanceCount=VALUE <td colspan="2"> <br><br>
4270<tr><td>ControlledImpedanceTolerance=VALUE <td colspan="2"> <br><br>
4271<tr><td>CarbonInk=VALUE <td colspan="2"> <br><br>
4272<tr><td>EdgePlatingSides=VALUE <td colspan="2"> <br><br>
4273<tr><td>FilledViasCount=VALUE <td colspan="2"> <br><br>
4274<tr><td>FilledViasNonConductiveCount=VALUE <td colspan="2"> <br><br>
4275
4276*/
4277
4278
4279
4647
4648
4649//Extra Options not yet included
4650/*
4651<tr><td><b>OASIS Options:</b><td colspan="2">
4652<tr><td>oasis-import_cell=NAME <td colspan="2">OASIS top cell to convert.
4653<tr><td>oasis-import_separate_datatypes <td colspan="2">Separate layer for each layer/type.
4654
4655<tr><td><b>BITMAP Rasterize Options:</b><td colspan="2">
4656<tr><td>bmp-import_dpi=NUM <td colspan="2">Import Bitmap Resolution - Pixels Per Inch. (default: 800.0)
4657<tr><td>bmp-import_dpm=NUM <td colspan="2">Import Bitmap Resolution - Pixels Per Millimeter. (default: 100.0)
4658<tr><td>bmp-import_BackgroundBlack <td colspan="2">Black pixels will be ignored. Default is a White background.
4659<tr><td>bmp-import_OptimizePixelsAsFlashes <td colspan="2">Output adjacent pixels as flashes.
4660<tr><td>bmp-import_OptimizePixelsAsPolygons <td colspan="2">Output adjacent pixels as polygons.
4661<tr><td>bmp-import_GrayscalePercentage=NUM <td colspan="2">Pixels with a gray-scale similar to the background color are ignored. (default: 75.0)
4662<tr><td>bmp-import_VerticalScalePercentage=NUM <td colspan="2">Scale pixels in Y direction (default: 100.0).
4663
4664<tr><td><b>Plotter Options:</b><td colspan="2">
4665<tr><td>plot-export_type=TYPE <td colspan="2">Assign plotter type. Choose from: GSI77, GSI78, HPGL, Postscript.
4666<tr><td>plot-export_offset=X,Y <td colspan="2">Plotter offset in inches. Use comma to separate X and Y.
4667
4668<tr><td><b>PDF/Postscript Options:</b><td colspan="2">
4669<tr><td>ps-import_page=NUM <td colspan="2">Determine which page to import. (1 is the default).
4670<tr><td>ps-import_paths=MODE <td colspan="2">Choose how to import Paths. Choose from: Detect, Polygon, Rounded, Truncated, Extended. (Default: Rounded)
4671<tr><td>ps-import_fill=MODE <td colspan="2">Choose how to import boundaries. Choose from: Detect, DeEmbed, Fill, Outline. (Default: Outline)
4672<tr><td>ps-import_text=MODE <td colspan="2">Choose how to import text. Choose from: None, Polygon, Adjustable, DefaultFont. (Default: Polygon)
4673<tr><td>ps-import_defaultfont=FONT <td colspan="2">Assign the default QuickTrans font to use if nothing can be detected. (Default: Arial.fnt)
4674<tr><td>ps-import_flash_round <td colspan="2"Automatically flash Round and Donut shapes.
4675<tr><td>ps-import_flash_rectangle <td colspan="2">Automatically flash Rectangle shapes.
4676<tr><td>ps-import_separatelayerpercolor <td colspan="2">Create a new layer for each object color.
4677<tr><td>ps-import_ghostscript=PATH <td colspan="2">Assign the file path to locate the specific Ghostscript EXE or DLL.
4678<tr><td>ps-import_ghostscript_commands=COMMANDS <td colspan="2">Assign additional Ghostscript commands. Make comma separated.
4679
4680*/
4681
4682
4683//----------------------------------------------------------------------------------//
4684
4721
4722
4723//----------------------------------------------------------------------------------//
4724
4762
4763
4764//----------------------------------------------------------------------------------//
4765
4818
4819//----------------------------------------------------------------------------------//
4820
4844
4845//----------------------------------------------------------------------------------//
4846
4918
4919//----------------------------------------------------------------------------------//
4920
4954
4955
4956//----------------------------------------------------------------------------------//
4957
4971
4972
4973//----------------------------------------------------------------------------------//
4974/*What about Factors .75 - use percentage instead of factors*/
4994
4995
4996//----------------------------------------------------------------------------------//
4997
5007
5008
5009//----------------------------------------------------------------------------------//
5010
5018
5019
5020//----------------------------------------------------------------------------------//
5021
5087
5088
5089//----------------------------------------------------------------------------------//
5090
5139
5140
5141//----------------------------------------------------------------------------------//
5142//----------------------------------------------------------------------------------//
5143//----------------------------------------------------------------------------------//
5144
5145
5154
5155
5156
5299
5300//----------------------------------------------------------------------------------//
5301
5436
5437//----------------------------------------------------------------------------------//
5438
5486
5487//----------------------------------------------------------------------------------//
5488//----------------------------------------------------------------------------------//
5489//----------------------------------------------------------------------------------//
5490
5513
5514//----------------------------------------------------------------------------------//
5515//----------------------------------------------------------------------------------//
5516//----------------------------------------------------------------------------------//
5517
5518//More Potential Examples
5519//- \subpage example-matrix-test-3 "Generate a quotation for PCB Bareboard"
5520//- \subpage example-matrix-test-3 "Generate a PCB Bareboard Fabrication Report"
5521// TODO: Add an option that shows typical pricing - so the user can at least have something in mind...
5522
5549
5550
5551//----------------------------------------------------------------------------------//
5552//----------------------------------------------------------------------------------//
5553//----------------------------------------------------------------------------------//
5554
5555
5859
5860//----------------------------------------------------------------------------------//
5861
6025
6026
6027//----------------------------------------------------------------------------------//
6028
6105
6106//----------------------------------------------------------------------------------//
6107
6391
6392//----------------------------------------------------------------------------------//
6393
6432
6433
6434//----------------------------------------------------------------------------------//
6435//----------------------------------------------------------------------------------//
6436//----------------------------------------------------------------------------------//
6437
6694
6695
6742
6743
6789
6790
6886
6887//----------------------------------------------------------------------------------//
6888
6943
6944//----------------------------------------------------------------------------------//
6945
7018
7019//----------------------------------------------------------------------------------//
7020
7021