Mailing list archives : pcb-rnd

ID:3244
From:ge...@igor2.repo.hu
Date:Wed, 7 Aug 2019 04:47:17 +0200 (CEST)
Subject:Re: [pcb-rnd] default doc layer missing
in-reply-to:3243 from pc...@cuvoodoo.info
replies: 3247 from pc...@cuvoodoo.info
 
 
On Tue, 6 Aug 2019, pcb-rnd@cuvoodoo.info wrote:
 
>when I directly open a subcircuit with a doc layer, the doc layer is displayed in the layer stack and the included shapes are drawn.
>but when I import the same subcircuit and place it on the board, I get the following error message:
>Couldn't bind layer top-assembly of subcircuit while placing it
>Couldn't bind layer top-courtyard of subcircuit while placing it
>
>my guess is that there are not doc layers present in the default layer stack to match do.
 
Correct: these layers are not yet standardized, so we do not have 
anything similar in the distributed default board file.
 
They are not missing in the pcb-rnd sense that the default should have 
them (yet). They are missing in the user-sense that if you want to have 
them, you need to create them. Either on the specific board you have, or 
in your default (template) board so any new board you start will have 
them.
 
I should really think over the details (from the data model side and 
scriptable DRC) and document the recommended conventions and upgrade the 
default board, before too many users start using too many different 
convention for the same thing. But this will be a new mail.
 
>I also did not find how to add one using the GUI.
 
You will need to create layer groups. The GUI way for that (on the gtk 
HID) is to right click a layer group name in the layer selector and 
choose the "Create new group" menu item. It will present a submenu with 
the usual group types. This menu is also a shorthand: it creates the group 
_and_ a layer in the group to save some clicks.
 
>I used  pcb-rnd-svn r27060 (2019-08-06)
>a sample subcircuit is attached
>
 
Looks good! If you create the appropriate groups on your board _before_ 
the import, placing the subc will bind automatically (along best match of 
layer type, location and purpose). If you first place the subcircuit and 
then create new layers, you will either need to re-place te subc or 
manually edit the layer binding (because creating new layers won't go and 
change the layer binding of all existing subcircuits, that would be a bit 
dangerous).
 
HTH,
 
Igor2
 

Reply subtree:
3244 Re: [pcb-rnd] default doc layer missing from ge...@igor2.repo.hu
  3247 Re: [pcb-rnd] default doc layer missing from pc...@cuvoodoo.info
    3249 Re: [pcb-rnd] default doc layer missing from ge...@igor2.repo.hu