Support KLE to PCB metadata and nets
This commit is contained in:
parent
cd0ae6d38b
commit
f955aac994
2 changed files with 40 additions and 7 deletions
|
@ -9,9 +9,15 @@ const pcbs_lib = require('./pcbs')
|
|||
|
||||
const process = async (raw, debug=false, logger=()=>{}) => {
|
||||
|
||||
const prefix = 'Interpreting format: '
|
||||
let empty = true
|
||||
let [config, format] = io.interpret(raw, logger)
|
||||
logger('Interpreting format: ' + format)
|
||||
let suffix = format
|
||||
if (format == 'KLE') {
|
||||
suffix = `${format} (Auto-debug)`
|
||||
debug = true
|
||||
}
|
||||
logger(prefix + suffix)
|
||||
|
||||
logger('Preprocessing input...')
|
||||
config = prepare.unnest(config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue