Index: comm_lyt.lht =================================================================== --- comm_lyt.lht (revision 16820) +++ comm_lyt.lht (revision 16821) @@ -2,13 +2,29 @@ ha:layer_mask { hide=1 - comment={TODO:build_layer_stack_flag} type=ha desc={layer type and location} li:children { - ha:top { valtype=flag; desc={located on the top side of the board, physically accessible}} - ha:bottom { valtype=flag; desc={located on the bottom side of the board, physically accessible}} - ha:intern { valtype=flag; desc={located inside the board, nt physically accessible}} + ha:top { valtype=flag; desc={location: top side}} + ha:bottom { valtype=flag; desc={location: bottom side}} + ha:intern { valtype=flag; desc={location: internal}} + ha:logical { valtype=flag; desc={location: logical (not in the actual stackup)}} + ha:copper { valtype=flag; desc={material: copper}} + ha:silk { valtype=flag; desc={material: silk}} + ha:mask { valtype=flag; desc={material: mask}} + ha:paste { valtype=flag; desc={material: paste}} + ha:outline { valtype=flag; desc={"material": router path (board outline, slots, cutouts) }} + ha:substrate { valtype=flag; desc={material: substrate or insulator}} + +# ha:rat { valtype=flag; desc={(virtual: rat lines)}} +# ha:invis { valtype=flag; desc={(virtual: invisible)}} +# ha:assy { valtype=flag; desc={(virtual: assembly drawing)}} +# ha:fab { valtype=flag; desc={(virtual: fab drawing)}} +# ha:plateddrill { valtype=flag; desc={(drills: plated)}} +# ha:unplateddrill { valtype=flag; desc={(drills: unplated)}} +# ha:cross-section { valtype=flag; desc={(virtual: cross section drawing)}} +# ha:misc { valtype=flag; desc={(virtual: virtual misc layer)}} +# ha:virtual { valtype=flag; desc={(if set, the layer is not a physical layer but a drawing or documentation)}} } } ha:combining { Index: root_board.lht =================================================================== --- root_board.lht (revision 16820) +++ root_board.lht (revision 16821) @@ -72,27 +72,7 @@ ha:type { type=ha desc { a flag-list of layer type flag bits } - li:children { - ha:top { valtype=flag; desc={location: top side}} - ha:bottom { valtype=flag; desc={location: bottom side}} - ha:intern { valtype=flag; desc={location: internal}} - ha:logical { valtype=flag; desc={location: logical (not in the actual stackup)}} - ha:copper { valtype=flag; desc={material: copper}} - ha:silk { valtype=flag; desc={material: silk}} - ha:mask { valtype=flag; desc={material: mask}} - ha:paste { valtype=flag; desc={material: paste}} - ha:outline { valtype=flag; desc={"material": router path}} - ha:rat { valtype=flag; desc={virtual: rat lines}} - ha:invis { valtype=flag; desc={virtual: invisible }} - ha:assy { valtype=flag; desc={virtual: assembly drawing }} - ha:fab { valtype=flag; desc={virtual: fab drawing }} - ha:plateddrill { valtype=flag; desc={drills: plated }} - ha:unplateddrill { valtype=flag; desc={drills: unplated }} - ha:cross-section { valtype=flag; desc={virtual: cross section drawing }} - ha:substrate { valtype=flag; desc={material: substrate or insulator}} - ha:misc { valtype=flag; desc={virtual: virtual misc layer}} - ha:virtual { valtype=flag; desc={if set, the layer is not a physical layer but a drawing or documentation}} - } + sy:children = {/lht_tree_doc/comm/layer_mask/children} } ha:layers { type=li Index: tree.html =================================================================== --- tree.html (revision 16820) +++ tree.html (revision 16821) @@ -44,17 +44,8 @@      silk flag   material: silk      mask flag   material: mask      paste flag   material: paste -      outline flag   "material": router path -      rat flag   virtual: rat lines -      invis flag   virtual: invisible -      assy flag   virtual: assembly drawing -      fab flag   virtual: fab drawing -      plateddrill flag   drills: plated -      unplateddrill flag   drills: unplated -      cross-section flag   virtual: cross section drawing +      outline flag   "material": router path (board outline, slots, cutouts)      substrate flag   material: substrate or insulator -      misc flag   virtual: virtual misc layer -      virtual flag   if set, the layer is not a physical layer but a drawing or documentation     li:layers     ordered list of logical layer IDs hosted by this layer group  ha:font     font kit: all fonts used on the board  ha:styles     routing styles hash: collection of all available routing syles @@ -140,9 +131,16 @@    color string >=5 layer color on UI, in #rrggbb format    stack_offs integer   only in bound layers: match offset e.g. for internal copper layers    ha:type     only for bound layers: try to bind to this type of layer on the host board -     top flag   located on the top side of the board, physically accessible -     bottom flag   located on the bottom side of the board, physically accessible -     intern flag   located inside the board, nt physically accessible +     top flag   location: top side +     bottom flag   location: bottom side +     intern flag   location: internal +     logical flag   location: logical (not in the actual stackup) +     copper flag   material: copper +     silk flag   material: silk +     mask flag   material: mask +     paste flag   material: paste +     outline flag   "material": router path (board outline, slots, cutouts) +     substrate flag   material: substrate or insulator    combining   >=2 layer combination (compositing) flags     sub flag   draw in negative    ha:attributes     a hash of attribute key=value pairs @@ -218,9 +216,16 @@    li:shape     shape per layer type definition     ha:ps_shape_v4     shape on a specific layer type (specified by layer_mask and combining), as specifie in lihata board v4; shape is either ps_poly, ps_line or ps_circ (only one of these will present per layer type); shape coords are relative to padstack origin      ha:layer_mask     layer type and location -       top flag   located on the top side of the board, physically accessible -       bottom flag   located on the bottom side of the board, physically accessible -       intern flag   located inside the board, nt physically accessible +       top flag   location: top side +       bottom flag   location: bottom side +       intern flag   location: internal +       logical flag   location: logical (not in the actual stackup) +       copper flag   material: copper +       silk flag   material: silk +       mask flag   material: mask +       paste flag   material: paste +       outline flag   "material": router path (board outline, slots, cutouts) +       substrate flag   material: substrate or insulator      combining     layer compositing match       sub flag   draw in negative      clearance coord   local, per-layer-type clearance; applied if global padstack clearance is 0 Index: tree.txt =================================================================== --- tree.txt (revision 16820) +++ tree.txt (revision 16821) @@ -41,17 +41,8 @@ silk flag material: silk mask flag material: mask paste flag material: paste - outline flag "material": router path - rat flag virtual: rat lines - invis flag virtual: invisible - assy flag virtual: assembly drawing - fab flag virtual: fab drawing - plateddrill flag drills: plated - unplateddrill flag drills: unplated - cross-section flag virtual: cross section drawing + outline flag "material": router path (board outline, slots, cutouts) substrate flag material: substrate or insulator - misc flag virtual: virtual misc layer - virtual flag if set, the layer is not a physical layer but a drawing or documentation li:layers ordered list of logical layer IDs hosted by this layer group ha:font font kit: all fonts used on the board ha:styles routing styles hash: collection of all available routing syles @@ -137,9 +128,16 @@ color string >=5 layer color on UI, in #rrggbb format stack_offs integer only in bound layers: match offset e.g. for internal copper layers ha:type only for bound layers: try to bind to this type of layer on the host board - top flag located on the top side of the board, physically accessible - bottom flag located on the bottom side of the board, physically accessible - intern flag located inside the board, nt physically accessible + top flag location: top side + bottom flag location: bottom side + intern flag location: internal + logical flag location: logical (not in the actual stackup) + copper flag material: copper + silk flag material: silk + mask flag material: mask + paste flag material: paste + outline flag "material": router path (board outline, slots, cutouts) + substrate flag material: substrate or insulator combining >=2 layer combination (compositing) flags sub flag draw in negative ha:attributes a hash of attribute key=value pairs @@ -216,9 +214,16 @@ ha:ps_shape_v4 shape on a specific layer type (specified by layer_mask and combining), as specifie in lihata board v4; shape is either ps_poly, ps_line or ps_circ (only one of these will present per layer type); shape coords are relative to padstack origin ha:layer_mask layer type and location - top flag located on the top side of the board, physically accessible - bottom flag located on the bottom side of the board, physically accessible - intern flag located inside the board, nt physically accessible + top flag location: top side + bottom flag location: bottom side + intern flag location: internal + logical flag location: logical (not in the actual stackup) + copper flag material: copper + silk flag material: silk + mask flag material: mask + paste flag material: paste + outline flag "material": router path (board outline, slots, cutouts) + substrate flag material: substrate or insulator combining layer compositing match sub flag draw in negative clearance coord local, per-layer-type clearance; applied if global padstack clearance is 0