Numerical Matrix Format
User Reference
CamMatrixDoxy.h
1
43
44//----------------------------------------------------------------------------------//
45//----------------------------------------------------------------------------------//
46//----------------------------------------------------------------------------------//
47
186
187//----------------------------------------------------------------------------------//
188
319
320//----------------------------------------------------------------------------------//
321
365
366//----------------------------------------------------------------------------------//
367
395
396
397//----------------------------------------------------------------------------------//
398
430
431
432//----------------------------------------------------------------------------------//
433
495
496
497//----------------------------------------------------------------------------------//
498
511
512
513//----------------------------------------------------------------------------------//
514// Short Cuts
515//----------------------------------------------------------------------------------//
516
532
533//----------------------------------------------------------------------------------//
534
554
555//----------------------------------------------------------------------------------//
556
564
565//----------------------------------------------------------------------------------//
566
574
575//----------------------------------------------------------------------------------//
576
584
585//----------------------------------------------------------------------------------//
586
594
595//----------------------------------------------------------------------------------//
596
604
605//----------------------------------------------------------------------------------//
606
614
615//----------------------------------------------------------------------------------//
616
624
625
626//----------------------------------------------------------------------------------//
627
635
636//----------------------------------------------------------------------------------//
637
646
647//----------------------------------------------------------------------------------//
648
657
658
659//----------------------------------------------------------------------------------//
660
668
669
670//----------------------------------------------------------------------------------//
671
679
680
681//----------------------------------------------------------------------------------//
682
697
698//----------------------------------------------------------------------------------//
699
707
708//----------------------------------------------------------------------------------//
709//----------------------------------------------------------------------------------//
710//----------------------------------------------------------------------------------//
711
756
757//----------------------------------------------------------------------------------//
758/*
759TODO: <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>
760*/
761
829
830//----------------------------------------------------------------------------------//
831//----------------------------------------------------------------------------------//
832//----------------------------------------------------------------------------------//
833
916
917//----------------------------------------------------------------------------------//
918
1171
1172//----------------------------------------------------------------------------------//
1173
1254
1255
1256
1316
1317
1318
1379
1380
1453
1454
1494
1495
1540
1541
1838
1839
1939
1940
2014
2015
2087
2496
2497
2893
2894
2896// TRANSFORM
2898
2899/*
2900<tr><td>*POLAR_ARRAY=X,Y,DX,DY,SET <td colspan="2">Arrays selected objects by a specified center point and angle to fill.
2901<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.
2902<tr><td>*DEEMBED=SET <td colspan="2">Automatically solves the polygon-inside-polygon fill problem for selected objects.
2903<tr><td>*EXPLODE=SET <td colspan="2">Explode selected objects.
2904<tr><td>*BOOLEAN=MODE,SET1,SET2 <td colspan="2">Perform 2D boolean operations on two selection sets: AND,OR,XOR,Subtract.
2905<tr><td>*OFFSET=DISTANCE,SET <td colspan="2">Create parallel paths, lines, polygons and arcs - from selected objects.
2906*/
2907
2908
2970
2971/*
2972<tr><td>COPPER_POUR=Clearance,MinSize,Method,Fill,Pattern,Layer,FilltoEdge,SET <td colspan="2">
2973<tr><td>PINHOLE_ELIMINATION=MinSize,SET <td colspan="2">
2974<tr><td>GENERATE_NC_LAYER=SOURCE_LAYER <td colspan="2">
2975<tr><td>GENERATE_NEGATIVE_LAYER=SOURCE_LAYER <td colspan="2">
2976<tr><td>GENERATE_MASK_LAYER=CLEARANCE <td colspan="2">
2977<tr><td>GENERATE_PASTE_LAYER=CLEARANCE <td colspan="2">
2978<tr><td>GENERATE_FAB_DRAWING=DRILL_LAYER <td colspan="2">
2979*/
2980
2982// FABRICATION
2984
3203
3204
3206// ASSEMBLY
3208
3325
3326
3328// SMT_STENCIL
3330
3456
3457
3459// Selection / Filter
3461
3527
3658
3659
3701
3702
3742
3744// EXPORT
3746
3747
3809
3810
3885
3886
3922
3923
3956
3957
3990
3991
4032
4033
4074
4075
4111
4112
4147
4148
4184
4185
4186
4247
4248
4294
4295
4296
4323
4324
4325//----------------------------------------------------------------------------------//
4326//----------------------------------------------------------------------------------//
4327//----------------------------------------------------------------------------------//
4328
4373
4374//----------------------------------------------------------------------------------//
4375
4716
4717
4718//Extra Options not yet included
4719/*
4720<tr><td><b>OASIS Options:</b><td colspan="2">
4721<tr><td>oasis-import_cell=NAME <td colspan="2">OASIS top cell to convert.
4722<tr><td>oasis-import_separate_datatypes <td colspan="2">Separate layer for each layer/type.
4723
4724<tr><td><b>BITMAP Rasterize Options:</b><td colspan="2">
4725<tr><td>bmp-import_dpi=NUM <td colspan="2">Import Bitmap Resolution - Pixels Per Inch. (default: 800.0)
4726<tr><td>bmp-import_dpm=NUM <td colspan="2">Import Bitmap Resolution - Pixels Per Millimeter. (default: 100.0)
4727<tr><td>bmp-import_BackgroundBlack <td colspan="2">Black pixels will be ignored. Default is a White background.
4728<tr><td>bmp-import_OptimizePixelsAsFlashes <td colspan="2">Output adjacent pixels as flashes.
4729<tr><td>bmp-import_OptimizePixelsAsPolygons <td colspan="2">Output adjacent pixels as polygons.
4730<tr><td>bmp-import_GrayscalePercentage=NUM <td colspan="2">Pixels with a gray-scale similar to the background color are ignored. (default: 75.0)
4731<tr><td>bmp-import_VerticalScalePercentage=NUM <td colspan="2">Scale pixels in Y direction (default: 100.0).
4732
4733<tr><td><b>Plotter Options:</b><td colspan="2">
4734<tr><td>plot-export_type=TYPE <td colspan="2">Assign plotter type. Choose from: GSI77, GSI78, HPGL, Postscript.
4735<tr><td>plot-export_offset=X,Y <td colspan="2">Plotter offset in inches. Use comma to separate X and Y.
4736
4737<tr><td><b>PDF/Postscript Options:</b><td colspan="2">
4738<tr><td>ps-import_page=NUM <td colspan="2">Determine which page to import. (1 is the default).
4739<tr><td>ps-import_paths=MODE <td colspan="2">Choose how to import Paths. Choose from: Detect, Polygon, Rounded, Truncated, Extended. (Default: Rounded)
4740<tr><td>ps-import_fill=MODE <td colspan="2">Choose how to import boundaries. Choose from: Detect, DeEmbed, Fill, Outline. (Default: Outline)
4741<tr><td>ps-import_text=MODE <td colspan="2">Choose how to import text. Choose from: None, Polygon, Adjustable, DefaultFont. (Default: Polygon)
4742<tr><td>ps-import_defaultfont=FONT <td colspan="2">Assign the default QuickTrans font to use if nothing can be detected. (Default: Arial.fnt)
4743<tr><td>ps-import_flash_round <td colspan="2"Automatically flash Round and Donut shapes.
4744<tr><td>ps-import_flash_rectangle <td colspan="2">Automatically flash Rectangle shapes.
4745<tr><td>ps-import_separatelayerpercolor <td colspan="2">Create a new layer for each object color.
4746<tr><td>ps-import_ghostscript=PATH <td colspan="2">Assign the file path to locate the specific Ghostscript EXE or DLL.
4747<tr><td>ps-import_ghostscript_commands=COMMANDS <td colspan="2">Assign additional Ghostscript commands. Make comma separated.
4748
4749*/
4750
4751
4752//----------------------------------------------------------------------------------//
4753
4790
4791
4792//----------------------------------------------------------------------------------//
4793
4831
4832
4833//----------------------------------------------------------------------------------//
4834
4887
4888//----------------------------------------------------------------------------------//
4889
4913
4914//----------------------------------------------------------------------------------//
4915
4987
4988//----------------------------------------------------------------------------------//
4989
5023
5024
5025//----------------------------------------------------------------------------------//
5026
5040
5041
5042//----------------------------------------------------------------------------------//
5043/*What about Factors .75 - use percentage instead of factors*/
5063
5064
5065//----------------------------------------------------------------------------------//
5066
5076
5077
5078//----------------------------------------------------------------------------------//
5079
5087
5088
5089//----------------------------------------------------------------------------------//
5090
5156
5157
5158//----------------------------------------------------------------------------------//
5159
5208
5209
5210//----------------------------------------------------------------------------------//
5211//----------------------------------------------------------------------------------//
5212//----------------------------------------------------------------------------------//
5213
5214
5223
5224//----------------------------------------------------------------------------------//
5225
5252
5253//----------------------------------------------------------------------------------//
5254//----------------------------------------------------------------------------------//
5255//----------------------------------------------------------------------------------//
5256
5257//More Potential Examples
5258//- \subpage example-matrix-test-3 "Generate a quotation for PCB Bareboard"
5259//- \subpage example-matrix-test-3 "Generate a PCB Bareboard Fabrication Report"
5260// TODO: Add an option that shows typical pricing - so the user can at least have something in mind...
5261
5287
5288
5289//----------------------------------------------------------------------------------//
5290//----------------------------------------------------------------------------------//
5291//----------------------------------------------------------------------------------//
5292
5293
5594
5595//----------------------------------------------------------------------------------//
5596
5758
5759
5760//----------------------------------------------------------------------------------//
5761
5836
5837//----------------------------------------------------------------------------------//
5838
6120
6121
6122
6123//----------------------------------------------------------------------------------//
6124//----------------------------------------------------------------------------------//
6125//----------------------------------------------------------------------------------//
6126
6383
6384
6431
6432
6478
6479
6575
6576//----------------------------------------------------------------------------------//
6577
6632
6633//----------------------------------------------------------------------------------//
6634
6707
6708//----------------------------------------------------------------------------------//
6709
6710