-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
61 lines (53 loc) · 1.22 KB
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Fields in schematic/symbol files
REFERENCE_FIELD=0
REFERENCE_NAME=Reference
NAME_FIELD=1
NAME_NAME=Name
FOOTPRINT_FIELD=2
FOOTPRINT_NAME=Footprint
DOCUMENT_FIELD=3
DOCUMENT_NAME=Document
MANUFACTURER_FIELD=4
MANUFACTURER_NAME=Manufacturer
VALUE_FIELD=5
VALUE_NAME=ValueX
TOLERANCE_FIELD=6
TOLERANCE_NAME=Tolerance
TEMPERATURE_FIELD=7
TEMPERATURE_NAME=Temperature
MODEL_FIELD=8
MODEL_NAME=Model (Spice)
VOLTAGE_FIELD=9
VOLTAGE_NAME=Voltage
POWER_FIELD=10
POWER_NAME=Power
SYMBOL_TEXT_SIZE=60
SYMBOL_TEXT_SPACE=500
# SYMBOL_TEXT_MARGIN=150
SYMBOL_MIN_WIDTH=250
SYMBOL_LINE_WIDTH=20
SYMBOL_SPACE_WIDTH=10
SYMBOL_PIN_LENGTH=100
SYMBOL_PIN_SPACE=100
SYMBOL_PIN_GRID=100
SYMBOL_PIN_NAME_SIZE=40
SYMBOL_PIN_NUMBER_SIZE=40
SYMBOL_PIN_TEXT_OFFSET=50
SYMBOL_NAME_SIZE=60
# Directories
ROOT_DIR=$(pwd)
DATA_DIR=$ROOT_DIR/data
FOOTPRINT_DATA_DIR=$DATA_DIR/footprint
SCRIPT_DIR=$ROOT_DIR/script
SYMBOL_DIR=$ROOT_DIR/library
#FOOTPRINT_DIR=$ROOT_DIR/modules
FOOTPRINT_DIR=$ROOT_DIR/tmp/modules
FOOTPRINT_3D_DIR=$FOOTPRINT_DIR/3d-package
DOC_DIR=$ROOT_DIR/doc
# Symbol
SYMBOL_TEMPLATE_PATH="data/template/"
SYMBOL_TEMPLATE_EXTENSION=".lib"
SYMBOL_TABLE_EXTENSION=".csv"
# Resistor
#FOOTPRINT_PATH="./tmp"
#FOOTPRINT_3D_PATH="$FOOTPRINT_PATH/3d-package"