forked from johnbeard/kiplot
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCs][Updated][PCB Print] New options
Also avoided collisions between preflight and output helps
- Loading branch information
Showing
47 changed files
with
360 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. _DrillOptions: | ||
|
||
|
||
DrillOptions parameters | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- ``group_slots_and_round_holes`` :index:`: <pair: output - pcb_print - options - drill; group_slots_and_round_holes>` [:ref:`boolean <boolean>`] (default: ``true``) By default KiCad groups slots and rounded holes if they can be cut from the same tool (same diameter). | ||
- ``unify_pth_and_npth`` :index:`: <pair: output - pcb_print - options - drill; unify_pth_and_npth>` [:ref:`string <string>`] (default: ``'auto'``) (choices: "yes", "no", "auto") Choose whether to unify plated and non-plated | ||
holes in the same table. If 'auto' is chosen, the setting is copied | ||
from the `excellon` output's `pth_and_npth_single_file`. | ||
|
23 changes: 23 additions & 0 deletions
23
docs/source/configuration/outputs/IncTableOutputOptions.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.. _IncTableOutputOptions: | ||
|
||
|
||
IncTableOutputOptions parameters | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **name** :index:`: <pair: output - pcb_print - options - include_table - outputs; name>` [:ref:`string <string>`] (default: ``''``) Name of output. | ||
- ``bold_headers`` :index:`: <pair: output - pcb_print - options - include_table - outputs; bold_headers>` [:ref:`boolean <boolean>`] (default: ``true``) Whether or not the headers should be in bold. | ||
- ``border_width`` :index:`: <pair: output - pcb_print - options - include_table - outputs; border_width>` [:ref:`number <number>`] (default: ``0.4``) Width of border around the table. Use 0 to eliminate it. | ||
- ``bottom_rule_width`` :index:`: <pair: output - pcb_print - options - include_table - outputs; bottom_rule_width>` [:ref:`number <number>`] (default: ``0.4``) Width of bottom rule (bottom of table). Use 0 to eliminate it. | ||
- ``column_spacing`` :index:`: <pair: output - pcb_print - options - include_table - outputs; column_spacing>` [:ref:`number <number>`] (default: ``3``) Blank space (in number of characters) between columns. | ||
- ``force_font_width`` :index:`: <pair: output - pcb_print - options - include_table - outputs; force_font_width>` [:ref:`number <number>`] (default: ``0``) Force the font width (in mm) in the table. Leave empty to compute the | ||
width automatically from the group width. | ||
- ``has_header`` :index:`: <pair: output - pcb_print - options - include_table - outputs; has_header>` [:ref:`boolean <boolean>`] (default: ``true``) Plot header on the table. | ||
- ``header_rule_width`` :index:`: <pair: output - pcb_print - options - include_table - outputs; header_rule_width>` [:ref:`number <number>`] (default: ``0.3``) Width of rule below header. Use 0 to eliminate it. | ||
- ``horizontal_rule_width`` :index:`: <pair: output - pcb_print - options - include_table - outputs; horizontal_rule_width>` [:ref:`number <number>`] (default: ``0.1``) Width of vertical rules between rows (doesn't include header) | ||
Use 0 to eliminate it. | ||
- ``invert_columns_order`` :index:`: <pair: output - pcb_print - options - include_table - outputs; invert_columns_order>` [:ref:`boolean <boolean>`] (default: ``false``) Invert column order. Useful when inverting PCB texts in PCB Print. | ||
- ``row_spacing`` :index:`: <pair: output - pcb_print - options - include_table - outputs; row_spacing>` [:ref:`number <number>`] (default: ``2``) Space (in number of characters) between rows. | ||
- ``text_alignment`` :index:`: <pair: output - pcb_print - options - include_table - outputs; text_alignment>` [:ref:`string <string>`] (default: ``'left'``) (choices: "left", "center", "right") Text alignment in the table. | ||
- ``top_rule_width`` :index:`: <pair: output - pcb_print - options - include_table - outputs; top_rule_width>` [:ref:`number <number>`] (default: ``0.4``) Width of top rule (above header). Use 0 to eliminate it. | ||
- ``vertical_rule_width`` :index:`: <pair: output - pcb_print - options - include_table - outputs; vertical_rule_width>` [:ref:`number <number>`] (default: ``0.1``) Width of vertical rules between columns. Use 0 to eliminate it. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.. _IncludeTableOptions: | ||
|
||
|
||
IncludeTableOptions parameters | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- **outputs** :index:`: <pair: output - pcb_print - options - include_table; outputs>` [:ref:`IncTableOutputOptions parameters <IncTableOutputOptions>`] [:ref:`list(dict) <list(dict)>` | :ref:`list(string) <list(string)>` | :ref:`string <string>`] (default: computed for your project) List of CSV-generating outputs. | ||
When empty we include all possible outputs. | ||
- ``enabled`` :index:`: <pair: output - pcb_print - options - include_table; enabled>` [:ref:`boolean <boolean>`] (default: ``true``) Enable the check. This is the replacement for the boolean value. | ||
- ``format_drill_table`` :index:`: <pair: output - pcb_print - options - include_table; format_drill_table>` [:ref:`boolean <boolean>`] (default: ``true``) If True, CSV drill tables will have drill marks displayed on the left and | ||
an extra bottom rule for the total number of holes. | ||
- ``group_name`` :index:`: <pair: output - pcb_print - options - include_table; group_name>` [:ref:`string <string>`] (default: ``'kibot_table'``) Name for the group containing the table. The name of the group | ||
should be <group_name>_X where X is the output name. |br| | ||
When the output generates more than one CSV use *kibot_table_out[2]* | ||
to select the second CSV. Python expressions for slicing are supported, | ||
for example *kibot_table_out[:10]* would include all elements until the 10th | ||
element (10th excluded), and *kibot_table_out[2][5:8]* would include the second | ||
output's elements number 6 to 8 (python indexes start at 0). |br|. | ||
|
||
.. toctree:: | ||
:caption: Used dicts | ||
|
||
IncTableOutputOptions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _Annotate_PCBOptions: | ||
.. _Annotate_PCBOptions_pre: | ||
|
||
|
||
Annotate_PCBOptions parameters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
docs/source/configuration/preflights/DrawFancyStackupOptions.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _FieldCheck: | ||
.. _FieldCheck_pre: | ||
|
||
|
||
FieldCheck parameters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _FilterOptions: | ||
.. _FilterOptions_pre: | ||
|
||
|
||
FilterOptions parameters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _FilterOptionsXRC: | ||
.. _FilterOptionsXRC_pre: | ||
|
||
|
||
FilterOptionsXRC parameters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _IncTableOutputOptions: | ||
.. _IncTableOutputOptions_pre: | ||
|
||
|
||
IncTableOutputOptions parameters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _KiCadVariable: | ||
.. _KiCadVariable_pre: | ||
|
||
|
||
KiCadVariable parameters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _PCB_Reference: | ||
.. _PCB_Reference_pre: | ||
|
||
|
||
PCB_Reference parameters | ||
|
Oops, something went wrong.