Mail Archives: geda-help/2019/03/13/17:55:34
Torben Friis:
> I have a screen as attached. The file one.sch after saving the screen looks
> alright to me - all elements on the screenshot are there.
>
> When I run "gsch2pcb project" I get:
>
> ----------------------------------
> Done processing. Work performed:
> 3 file elements and 0 m4 elements added to board.new.pcb.
> .
> .
> .
>
> and the "cat board.new.pcb" does only show 3 elements. How come?
> Is it not so that every time I run "gsch2pcb project" I run it on the saved
> one.sch?
The board.new.pcb only contains the new elements, which you already
have verified. The second step is to add them to board.pcb.
To add them to your board, run "pcb board.pcb" and then click the menu
item "File->Load layout data to the paste-buffer", it will then open a
file selection window. In its "Files" box, click board.new.pcb, and
then ok. You now in "buffer" tool mode, to place the components, click
somewhere where there is free space and then press F11 to get into
"arrow" tool mode so can move the newly placed components.
> I tried to resdef two like connectors the same and give the second one
> slot=2, but only one connector of each pair then appeared as a result of
> "pcb board.pcb". How come?
Using slot=2 only works for symbol files that has numslots and slotdef
attributes.
To see how it works, open an empty design like:
gschem &
press i to open the component browser
in the box down left named "Filter:", enter 7400-1.sym
in the bigger box above the filter, click on the file 7400-1.sym
then you will se the symbol in the "Preview" box to the right
below the preview box is an "Attributes" box
in it you can see the attributes:
slot=1
numslots=4
slotdef=1:1,2,3
slotdef=2:4,5,6
slotdef=3:9,10,8
slotdef=4:12,13,11
as you know, at least if you work with them, a 7400 contains four nand
gates, but the preview only shows you one
to use all four gates you need to have four of thoose symbols, but
each with a different "slot=" number, and thoose four need to have
the same refdes
the number you can use the slot number is "1" to a the maximum stated
by numslots, "4" in this case, and you also need to have that many
"slotdef" attributes
. So to use slot=2 for your connector you need learn from the
7400-1.sym, and remake the connector symbol into a slotted symbol
. the reason you only get one connector, is that the connector symbol
doesn't have thoose slot things that 7400-1 have, and because the two
symbols have the same refdes; same refdes == same physical package
> When I run "pcb board.pcb", the curser moves to next line and waits. When I
> then enter "ExecuteFile(board.cmd)" the curser moves to next line and I
> have to break to move to next prompt.
I cannot help you with that since I don't have your file board.pcb,
sorry.
Regards,
/Karl Hammar
- Raw text -