PCB Matrix Format
Developed by Numerical Innovations, Inc. (www.numericalinnovations.com)
CamMatrixDoxy.h
1
41
42//----------------------------------------------------------------------------------//
43//----------------------------------------------------------------------------------//
44//----------------------------------------------------------------------------------//
45
72
73
74//----------------------------------------------------------------------------------//
75
104
105//----------------------------------------------------------------------------------//
106
126
127//----------------------------------------------------------------------------------//
128//Message Box: <MESSAGEBOX></MESSAGEBOX>
129//----------------------------------------------------------------------------------//
130
158
159//----------------------------------------------------------------------------------//
160//User PROMPT: <PROMPT></PROMPT>
161//----------------------------------------------------------------------------------//
162
172
173//----------------------------------------------------------------------------------//
174//Display Commands: <ZOOMALL /> <ALL_LAYERS_ON />
175//----------------------------------------------------------------------------------//
176
186
187//----------------------------------------------------------------------------------//
188
198
199//----------------------------------------------------------------------------------//
200
262
263
264//----------------------------------------------------------------------------------//
265
278
279
280//----------------------------------------------------------------------------------//
281// Short Cuts
282//----------------------------------------------------------------------------------//
283
299
300//----------------------------------------------------------------------------------//
301
321
322//----------------------------------------------------------------------------------//
323
331
332//----------------------------------------------------------------------------------//
333
341
342//----------------------------------------------------------------------------------//
343
351
352//----------------------------------------------------------------------------------//
353
361
362//----------------------------------------------------------------------------------//
363
371
372//----------------------------------------------------------------------------------//
373
381
382//----------------------------------------------------------------------------------//
383
391
392
393//----------------------------------------------------------------------------------//
394
402
403//----------------------------------------------------------------------------------//
404
413
414//----------------------------------------------------------------------------------//
415
424
425
426//----------------------------------------------------------------------------------//
427
435
436
437//----------------------------------------------------------------------------------//
438
446
447
448//----------------------------------------------------------------------------------//
449
457
458
459//----------------------------------------------------------------------------------//
460
475
476//----------------------------------------------------------------------------------//
477
485
486//----------------------------------------------------------------------------------//
487//----------------------------------------------------------------------------------//
488//----------------------------------------------------------------------------------//
489
527
528//----------------------------------------------------------------------------------//
529/*
530TODO: <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>
531*/
532
591
592//----------------------------------------------------------------------------------//
593//----------------------------------------------------------------------------------//
594//----------------------------------------------------------------------------------//
595
661
662//----------------------------------------------------------------------------------//
663
919
920//----------------------------------------------------------------------------------//
921
987
988
989
1036
1037
1038
1086
1087
1151
1152
1185
1186
1224
1225
1509
1510
1597
1598
1660
1661
1719
2093
2094
2463
2464
2466// TRANSFORM
2468
2469/*
2470<tr><td>*POLAR_ARRAY=X,Y,DX,DY,SET <td colspan="2">Arrays selected objects by a specified center point and angle to fill.
2471<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.
2472<tr><td>*DEEMBED=SET <td colspan="2">Automatically solves the polygon-inside-polygon fill problem for selected objects.
2473<tr><td>*EXPLODE=SET <td colspan="2">Explode selected objects.
2474<tr><td>*BOOLEAN=MODE,SET1,SET2 <td colspan="2">Perform 2D boolean operations on two selection sets: AND,OR,XOR,Subtract.
2475<tr><td>*OFFSET=DISTANCE,SET <td colspan="2">Create parallel paths, lines, polygons and arcs - from selected objects.
2476*/
2477
2478
2528
2529
2531// BOOLEAN
2533
2619
2621// FABRICATION
2623
2624/*
2625<tr><td>COPPER_POUR=Clearance,MinSize,Method,Fill,Pattern,Layer,FilltoEdge,SET <td colspan="2">
2626<tr><td>PINHOLE_ELIMINATION=MinSize,SET <td colspan="2">
2627<tr><td>GENERATE_NC_LAYER=SOURCE_LAYER <td colspan="2">
2628<tr><td>GENERATE_NEGATIVE_LAYER=SOURCE_LAYER <td colspan="2">
2629<tr><td>GENERATE_MASK_LAYER=CLEARANCE <td colspan="2">
2630<tr><td>GENERATE_PASTE_LAYER=CLEARANCE <td colspan="2">
2631<tr><td>GENERATE_FAB_DRAWING=DRILL_LAYER <td colspan="2">
2632*/
2633
2840
2841
2843// ASSEMBLY
2845
2955
2956
2958// SMT_STENCIL
2960
3086
3087
3089// Selection / Filter
3091
3148
3262
3263
3305
3306
3346
3348// EXPORT
3350
3351
3413
3414
3489
3490
3526
3527
3560
3561
3594
3595
3636
3637
3677
3678
3714
3715
3750
3751
3787
3788
3789
3850
3851
3899
3900
3901
3928
3929
3930//----------------------------------------------------------------------------------//
3931//----------------------------------------------------------------------------------//
3932//----------------------------------------------------------------------------------//
3933
3970
3971//----------------------------------------------------------------------------------//
3972
3973/*
3974TODO:
3975<tr><td>DrillSmallest=VALUE <td colspan="2"> <br><br>
3976<tr><td>DrillDensity=VALUE <td colspan="2"> <br><br>
3977<tr><td>RoutScoring=VALUE <td colspan="2"> <br><br>
3978<tr><td>FlyingProbeTesting=VALUE <td colspan="2"> <br><br>
3979<tr><td>RoHs=VALUE <td colspan="2"> <br><br>
3980<tr><td>CutoutsCount=VALUE <td colspan="2"> <br><br>
3981<tr><td>SlotsCount=VALUE <td colspan="2"> <br><br>
3982<tr><td>CountersinkCount=VALUE <td colspan="2"> <br><br>
3983<tr><td>CounterboreCount=VALUE <td colspan="2"> <br><br>
3984<tr><td>GoldFingersCount=VALUE <td colspan="2"> <br><br>
3985<tr><td>GoldFingersThickness=VALUE <td colspan="2"> <br><br>
3986<tr><td>ControlledImpedanceCount=VALUE <td colspan="2"> <br><br>
3987<tr><td>ControlledImpedanceTolerance=VALUE <td colspan="2"> <br><br>
3988<tr><td>CarbonInk=VALUE <td colspan="2"> <br><br>
3989<tr><td>EdgePlatingSides=VALUE <td colspan="2"> <br><br>
3990<tr><td>FilledViasCount=VALUE <td colspan="2"> <br><br>
3991<tr><td>FilledViasNonConductiveCount=VALUE <td colspan="2"> <br><br>
3992
3993*/
3994
3995
3996
4335
4336
4337//Extra Options not yet included
4338/*
4339<tr><td><b>OASIS Options:</b><td colspan="2">
4340<tr><td>oasis-import_cell=NAME <td colspan="2">OASIS top cell to convert.
4341<tr><td>oasis-import_separate_datatypes <td colspan="2">Separate layer for each layer/type.
4342
4343<tr><td><b>BITMAP Rasterize Options:</b><td colspan="2">
4344<tr><td>bmp-import_dpi=NUM <td colspan="2">Import Bitmap Resolution - Pixels Per Inch. (default: 800.0)
4345<tr><td>bmp-import_dpm=NUM <td colspan="2">Import Bitmap Resolution - Pixels Per Millimeter. (default: 100.0)
4346<tr><td>bmp-import_BackgroundBlack <td colspan="2">Black pixels will be ignored. Default is a White background.
4347<tr><td>bmp-import_OptimizePixelsAsFlashes <td colspan="2">Output adjacent pixels as flashes.
4348<tr><td>bmp-import_OptimizePixelsAsPolygons <td colspan="2">Output adjacent pixels as polygons.
4349<tr><td>bmp-import_GrayscalePercentage=NUM <td colspan="2">Pixels with a gray-scale similar to the background color are ignored. (default: 75.0)
4350<tr><td>bmp-import_VerticalScalePercentage=NUM <td colspan="2">Scale pixels in Y direction (default: 100.0).
4351
4352<tr><td><b>Plotter Options:</b><td colspan="2">
4353<tr><td>plot-export_type=TYPE <td colspan="2">Assign plotter type. Choose from: GSI77, GSI78, HPGL, Postscript.
4354<tr><td>plot-export_offset=X,Y <td colspan="2">Plotter offset in inches. Use comma to separate X and Y.
4355
4356<tr><td><b>PDF/Postscript Options:</b><td colspan="2">
4357<tr><td>ps-import_page=NUM <td colspan="2">Determine which page to import. (1 is the default).
4358<tr><td>ps-import_paths=MODE <td colspan="2">Choose how to import Paths. Choose from: Detect, Polygon, Rounded, Truncated, Extended. (Default: Rounded)
4359<tr><td>ps-import_fill=MODE <td colspan="2">Choose how to import boundaries. Choose from: Detect, DeEmbed, Fill, Outline. (Default: Outline)
4360<tr><td>ps-import_text=MODE <td colspan="2">Choose how to import text. Choose from: None, Polygon, Adjustable, DefaultFont. (Default: Polygon)
4361<tr><td>ps-import_defaultfont=FONT <td colspan="2">Assign the default QuickTrans font to use if nothing can be detected. (Default: Arial.fnt)
4362<tr><td>ps-import_flash_round <td colspan="2"Automatically flash Round and Donut shapes.
4363<tr><td>ps-import_flash_rectangle <td colspan="2">Automatically flash Rectangle shapes.
4364<tr><td>ps-import_separatelayerpercolor <td colspan="2">Create a new layer for each object color.
4365<tr><td>ps-import_ghostscript=PATH <td colspan="2">Assign the file path to locate the specific Ghostscript EXE or DLL.
4366<tr><td>ps-import_ghostscript_commands=COMMANDS <td colspan="2">Assign additional Ghostscript commands. Make comma separated.
4367
4368*/
4369
4370
4371//----------------------------------------------------------------------------------//
4372
4409
4410
4411//----------------------------------------------------------------------------------//
4412
4450
4451
4452//----------------------------------------------------------------------------------//
4453
4506
4507//----------------------------------------------------------------------------------//
4508
4532
4533//----------------------------------------------------------------------------------//
4534
4606
4607//----------------------------------------------------------------------------------//
4608
4642
4643
4644//----------------------------------------------------------------------------------//
4645
4659
4660
4661//----------------------------------------------------------------------------------//
4662/*What about Factors .75 - use percentage instead of factors*/
4682
4683
4684//----------------------------------------------------------------------------------//
4685
4695
4696
4697//----------------------------------------------------------------------------------//
4698
4706
4707
4708//----------------------------------------------------------------------------------//
4709
4775
4776
4777//----------------------------------------------------------------------------------//
4778
4827
4828
4829//----------------------------------------------------------------------------------//
4830//----------------------------------------------------------------------------------//
4831//----------------------------------------------------------------------------------//
4832
4833
4842
4843
4844
4973
4974//----------------------------------------------------------------------------------//
4975
5082
5083//----------------------------------------------------------------------------------//
5084
5124
5125//----------------------------------------------------------------------------------//
5126//----------------------------------------------------------------------------------//
5127//----------------------------------------------------------------------------------//
5128
5156
5157//----------------------------------------------------------------------------------//
5158//----------------------------------------------------------------------------------//
5159//----------------------------------------------------------------------------------//
5160
5161//More Potential Examples
5162//- \subpage example-matrix-test-3 "Generate a quotation for PCB Bareboard"
5163//- \subpage example-matrix-test-3 "Generate a PCB Bareboard Fabrication Report"
5164// TODO: Add an option that shows typical pricing - so the user can at least have something in mind...
5165
5192
5193
5194//----------------------------------------------------------------------------------//
5195//----------------------------------------------------------------------------------//
5196//----------------------------------------------------------------------------------//
5197
5198
5426
5427//----------------------------------------------------------------------------------//
5428
5548
5549
5550//----------------------------------------------------------------------------------//
5551
5608
5609//----------------------------------------------------------------------------------//
5610
5809
5810//----------------------------------------------------------------------------------//
5811
5850
5851
5852//----------------------------------------------------------------------------------//
5853//----------------------------------------------------------------------------------//
5854//----------------------------------------------------------------------------------//
5855
6112
6113
6160
6161
6207
6208
6304
6305//----------------------------------------------------------------------------------//
6306
6361
6362//----------------------------------------------------------------------------------//
6363
6436
6437//----------------------------------------------------------------------------------//
6438
6439