Added rev, date, and title vars to project and page settings.

This commit is contained in:
andrewc
2023-04-26 14:20:46 +10:00
parent 46df527b8f
commit 95d9e1ef85
6 changed files with 36 additions and 8 deletions

View File

@@ -6,8 +6,9 @@
(paper "A4") (paper "A4")
(title_block (title_block
(title "<INSERT TITLE HERE>") (title "${title}")
(rev "$REV$") (date "${date}")
(rev "${rev}")
(company "Micromelon Robotics") (company "Micromelon Robotics")
) )
@@ -81,6 +82,9 @@
) )
) )
(property "rev" "")
(property "title" "")
(net 0 "") (net 0 "")
) )

View File

@@ -377,7 +377,7 @@
"no_connect_dangling": "warning", "no_connect_dangling": "warning",
"pin_not_connected": "error", "pin_not_connected": "error",
"pin_not_driven": "error", "pin_not_driven": "error",
"pin_to_pin": "warning", "pin_to_pin": "error",
"power_pin_not_driven": "error", "power_pin_not_driven": "error",
"similar_labels": "warning", "similar_labels": "warning",
"simulation_model_issue": "error", "simulation_model_issue": "error",
@@ -473,5 +473,9 @@
"" ""
] ]
], ],
"text_variables": {} "text_variables": {
"date": "",
"rev": "",
"title": ""
}
} }

View File

@@ -5,8 +5,9 @@
(paper "A4") (paper "A4")
(title_block (title_block
(title "<INSERT PROJECT NAME HERE>") (title "${title}")
(rev "$REV$") (date "${date}")
(rev "${rev}")
(company "Micromelon Robotics") (company "Micromelon Robotics")
) )

View File

@@ -5,6 +5,12 @@
) )
(paper "A4") (paper "A4")
(title_block
(title "${title}")
(date "${date}")
(rev "${rev}")
)
(layers (layers
(0 "F.Cu" signal) (0 "F.Cu" signal)
(31 "B.Cu" signal) (31 "B.Cu" signal)
@@ -75,6 +81,9 @@
) )
) )
(property "rev" "")
(property "title" "")
(net 0 "") (net 0 "")
) )

View File

@@ -377,7 +377,7 @@
"no_connect_dangling": "warning", "no_connect_dangling": "warning",
"pin_not_connected": "error", "pin_not_connected": "error",
"pin_not_driven": "error", "pin_not_driven": "error",
"pin_to_pin": "warning", "pin_to_pin": "error",
"power_pin_not_driven": "error", "power_pin_not_driven": "error",
"similar_labels": "warning", "similar_labels": "warning",
"simulation_model_issue": "error", "simulation_model_issue": "error",
@@ -473,5 +473,9 @@
"" ""
] ]
], ],
"text_variables": {} "text_variables": {
"date": "",
"rev": "",
"title": ""
}
} }

View File

@@ -4,6 +4,12 @@
(paper "A4") (paper "A4")
(title_block
(title "${title}")
(date "${date}")
(rev "${rev}")
)
(lib_symbols (lib_symbols
) )