Skip to content

Commit

Permalink
[DOCs][Added] A note about using bom instead of position
Browse files Browse the repository at this point in the history
See #593
  • Loading branch information
set-soft committed Mar 22, 2024
1 parent dd480eb commit 02f8bc5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/samples/generic_plot.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2887,6 +2887,7 @@ outputs:
variant: ''
# Pick & place:
# This output is what you get from the 'File/Fabrication output/Footprint position (.pos) file' menu in pcbnew.
# Note that if you need a more customized output you can use the *bom* output, which can include positions.
- name: 'position_example'
comment: 'Generates the file with position information for the PCB components, used by the pick and place machine.'
type: 'position'
Expand Down
3 changes: 2 additions & 1 deletion docs/source/configuration/outputs/position.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Pick & place
~~~~~~~~~~~~

Generates the file with position information for the PCB components, used by the pick and place machine.
This output is what you get from the 'File/Fabrication output/Footprint position (.pos) file' menu in pcbnew.
This output is what you get from the 'File/Fabrication output/Footprint position (.pos) file' menu in pcbnew. |br|
Note that if you need a more customized output you can use the *bom* output, which can include positions. |br|

Type: ``position``

Expand Down
3 changes: 2 additions & 1 deletion kibot/out_position.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ def run(self, fname):
class Position(BaseOutput): # noqa: F821
""" Pick & place
Generates the file with position information for the PCB components, used by the pick and place machine.
This output is what you get from the 'File/Fabrication output/Footprint position (.pos) file' menu in pcbnew. """
This output is what you get from the 'File/Fabrication output/Footprint position (.pos) file' menu in pcbnew.
Note that if you need a more customized output you can use the *bom* output, which can include positions. """
def __init__(self):
super().__init__()
with document:
Expand Down

0 comments on commit 02f8bc5

Please sign in to comment.