{ "ats": { "path": "C:/Users/Administrator/Desktop/Customer_1", "step": "cad", "ODB": { "db": "genesis", "files": ["tgz"], "arrStep": "stp", "isMerge": "yes", "jobNameRule": "(job)-a" }, "Gerber": { "db": "genesis", "files": ["drd", "drl", "phd", "phl"], "format": { "art": "Gerber274x", "drd": "Excellon1", "drl": "Wheel", "phd": "Gerber274x", "phl": "Ascii" }, "editFile": [{ "filter": "drd", "callback": "(function(){ return function(props){ var fs=props.fs,nowFile=props.nowFile,srcFiles=props.srcFiles; var srcFile = srcFiles.filter(function(v){return v.name == nowFile.name})[0]; var str = fs.readFile(srcFile.path).replace(/:/g,''); fs.writeFile(nowFile.path,str.match(/T\\d+|G\\d+|X\\d+\\.\\d+Y\\d+\\.\\d+/ig).join('\\n')); }})()" }], "gerberConfig": { "drd": { "nf1": 3, "nf2": 0, "units": "mm", "zeroes": "leading", "decimal": "yes", "nf_comp": 0, "break_sr": "yes", "data_type": "ascii", "separator": "nl", "threshold": 200, "drill_only": "no", "multiplier": 1, "resolution": 3, "tool_units": "mm", "coordinates": "absolute", "merge_by_rule": "no", "signed_coords": "no", "text_line_width": 0.0024 }, "phd": { "nf1": 3, "nf2": 4, "units": "mm", "zeroes": "leading", "decimal": "no", "nf_comp": 0, "break_sr": "yes", "data_type": "ascii", "separator": "*", "threshold": 200, "drill_only": "no", "multiplier": 1, "resolution": 3, "tool_units": "inch", "coordinates": "absolute", "merge_by_rule": "no", "signed_coords": "no", "text_line_width": 0.0024 } } } }, "def": { "step": "pcs", "ODB": { "db": "genesis", "files": ["tgz"] }, "Gerber": { "db": "genesis", "files": ["drl", "art"], "format": { "art": "Gerber274x", "drd": "Excellon1", "drl": "Excellon2", "ipc": "IPC356", "phd": "Gerber274x", "phl": "Ascii" } }, "autoSave": "yes", "isDelComp": "yes", "delSameJob": "yes" }, "tmp": { "path":"C:/Users/Administrator/Desktop/New data", "step": "cad", "Gerber": { "db": "genesis", "files": ["drl", "art"], "format": { "art": "Gerber274x", "drl": "Excellon2" }, "gerberConfig": { "drl": { "nf1": 2, "nf2": 3, "units": "inch", "zeroes": "leading", "decimal": "no", "nf_comp": 0, "break_sr": "yes", "data_type": "ascii", "separator": "nl", "threshold": 200, "drill_only": "no", "multiplier": 1, "resolution": 3, "tool_units": "inch", "coordinates": "absolute", "merge_by_rule": "no", "signed_coords": "no", "text_line_width": 0.0024 }, "art": { "nf1": 3, "nf2": 5, "units": "inch", "zeroes": "leading", "decimal": "no", "nf_comp": 0, "break_sr": "yes", "data_type": "ascii", "separator": "*", "threshold": 200, "drill_only": "no", "multiplier": 1, "resolution": 3, "tool_units": "inch", "coordinates": "absolute", "merge_by_rule": "no", "signed_coords": "no", "text_line_width": 0.0024 } } } } }