Mailing list archives : pcb-rnd

ID:3243
From:pc...@cuvoodoo.info
Date:Tue, 6 Aug 2019 22:17:25 +0200
Subject:[pcb-rnd] default doc layer missing
replies: 3244 from ge...@igor2.repo.hu
 
--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
 
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.
I also did not find how to add one using the GUI.
 
I used  pcb-rnd-svn r27060 (2019-08-06)
a sample subcircuit is attached
 
 
--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="custom_18650_HOLDER.lht"
 
# subcircuit generated using QEDA v0.4.1 on 2019-08-06 21:32:23
li:pcb-rnd-subcircuit-v6 {
 ha:subc.1 {
  uid = custom_18650_HOLDER.....
  ha:attributes {
   footprint = custom_18650_HOLDER
  }
  ha:data {
   li:padstack_prototypes {
    ha:ps_proto_v6.2 {
     htop = 0
     hbottom = 0
     hdia = 2.400mm
     hplated = 1
     li:shape {
      ha:ps_shape_v4 {
       clearance = 0.200mm
       ha:ps_circ {
        x = 0
        y = 0
        dia = 3.000mm
       }
       ha:layer_mask {
        top = 1
        copper = 1
       }
       ha:combining {
       }
      }
      ha:ps_shape_v4 {
       clearance = 0
       ha:ps_circ {
        x = 0
        y = 0
        dia = 3.050mm
       }
       ha:layer_mask {
        top = 1
        mask = 1
       }
       ha:combining {
        sub = 1
        auto = 1
       }
      }
      ha:ps_shape_v4 {
       clearance = 0.200mm
       ha:ps_circ {
        x = 0
        y = 0
        dia = 3.000mm
       }
       ha:layer_mask {
        intern = 1
        copper = 1
       }
       ha:combining {
       }
      }
      ha:ps_shape_v4 {
       clearance = 0.200mm
       ha:ps_circ {
        x = 0
        y = 0
        dia = 3.000mm
       }
       ha:layer_mask {
        bottom = 1
        copper = 1
       }
       ha:combining {
       }
      }
      ha:ps_shape_v4 {
       clearance = 0
       ha:ps_circ {
        x = 0
        y = 0
        dia = 3.050mm
       }
       ha:layer_mask {
        bottom = 1
        mask = 1
       }
       ha:combining {
        sub = 1
        auto = 1
       }
      }
     }
    }
    ha:ps_proto_v6.3 {
     htop = 0
     hbottom = 0
     hdia = 3.200mm
     hplated = 1
     li:shape {
      ha:ps_shape_v4 {
       clearance = 0.200mm
       ha:ps_circ {
        x = 0
        y = 0
        dia = 4.800mm
       }
       ha:layer_mask {
        top = 1
        copper = 1
       }
       ha:combining {
       }
      }
      ha:ps_shape_v4 {
       clearance = 0
       ha:ps_circ {
        x = 0
        y = 0
        dia = 4.850mm
       }
       ha:layer_mask {
        top = 1
        mask = 1
       }
       ha:combining {
        sub = 1
        auto = 1
       }
      }
      ha:ps_shape_v4 {
       clearance = 0.200mm
       ha:ps_circ {
        x = 0
        y = 0
        dia = 4.800mm
       }
       ha:layer_mask {
        intern = 1
        copper = 1
       }
       ha:combining {
       }
      }
      ha:ps_shape_v4 {
       clearance = 0.200mm
       ha:ps_circ {
        x = 0
        y = 0
        dia = 4.800mm
       }
       ha:layer_mask {
        bottom = 1
        copper = 1
       }
       ha:combining {
       }
      }
      ha:ps_shape_v4 {
       clearance = 0
       ha:ps_circ {
        x = 0
        y = 0
        dia = 4.850mm
       }
       ha:layer_mask {
        bottom = 1
        mask = 1
       }
       ha:combining {
        sub = 1
        auto = 1
       }
      }
     }
    }
   }
   li:objects {
    ha:padstack_ref.22 {
     proto = 2
     rot = 0
     x = -36.450mm
     y = 0.000mm
     ha:attributes {
      term = 1
      name = 1
     }
    }
    ha:padstack_ref.23 {
     proto = 2
     rot = 0
     x = 36.450mm
     y = 0.000mm
     ha:attributes {
      term = 2
      name = 2
     }
    }
    ha:padstack_ref.24 {
     proto = 3
     rot = 0
     x = -27.805mm
     y = 0.000mm
     ha:attributes {
      term = NC1
      name = NC1
     }
    }
    ha:padstack_ref.25 {
     proto = 3
     rot = 0
     x = 27.805mm
     y = 0.000mm
     ha:attributes {
      term = NC2
      name = NC2
     }
    }
   }
   li:layers {
    ha:subc-aux {
     lid = 0
     ha:type {
      top = 1
      misc = 1
      virtual = 1
     }
     li:objects {
      ha:line.26 {
       clearance = 0
       thickness = 0.1mm
       ha:attributes {
        subc-role = origin
       }
       x1 = 0.000mm
       x2 = 0.000mm
       y1 = 0.000mm
       y2 = 0.000mm
      }
      ha:line.27 {
       clearance = 0
       thickness = 0.1mm
       ha:attributes {
        subc-role = x
       }
       x1 = 0.000mm
       x2 = 1.000mm
       y1 = 0.000mm
       y2 = 0.000mm
      }
      ha:line.28 {
       clearance = 0.0
       thickness = 0.1mm
       ha:attributes {
        subc-role = y
       }
       x1 = 0.000mm
       x2 = 0.000mm
       y1 = 0.000mm
       y2 = 1.000mm
      }
     }
    }
    ha:top-silkscreen {
     lid = 1
     ha:type {
      top = 1
      silk = 1
     }
     li:objects {
      ha:text.29 {
       x = 0.000mm
       y = 0.000mm
       rot = 0
       scale = 100
       string = %a.parent.refdes%
       fid = 0
       ha:flags {
         floater = 1
         dyntext = 1
       }
      }
      ha:line.30 {
       x1 = -38.910mm
       y1 = -10.510mm
       x2 = 38.910mm
       y2 = -10.510mm
       thickness = 0.120mm
       clearance = 0
      }
      ha:line.31 {
       x1 = 38.910mm
       y1 = -10.510mm
       x2 = 38.910mm
       y2 = 10.510mm
       thickness = 0.120mm
       clearance = 0
      }
      ha:line.32 {
       x1 = 38.910mm
       y1 = 10.510mm
       x2 = -38.910mm
       y2 = 10.510mm
       thickness = 0.120mm
       clearance = 0
      }
      ha:line.33 {
       x1 = -38.910mm
       y1 = 10.510mm
       x2 = -38.910mm
       y2 = -10.510mm
       thickness = 0.120mm
       clearance = 0
      }
     }
    }
    ha:top-assembly {
     lid = 2
     ha:type {
      top = 1
      doc = 1
     }
     li:objects {
      ha:text.34 {
       x = 0.000mm
       y = 0.000mm
       rot = 0
       scale = 100
       string = custom_18650_HOLDER
       fid = 0
       ha:flags {
         floater = 1
       }
      }
      ha:line.35 {
       x1 = -38.850mm
       y1 = -10.450mm
       x2 = 38.850mm
       y2 = -10.450mm
       thickness = 0.100mm
       clearance = 0
      }
      ha:line.36 {
       x1 = 38.850mm
       y1 = -10.450mm
       x2 = 38.850mm
       y2 = 10.450mm
       thickness = 0.100mm
       clearance = 0
      }
      ha:line.37 {
       x1 = 38.850mm
       y1 = 10.450mm
       x2 = -38.850mm
       y2 = 10.450mm
       thickness = 0.100mm
       clearance = 0
      }
      ha:line.38 {
       x1 = -38.850mm
       y1 = 10.450mm
       x2 = -38.850mm
       y2 = -10.450mm
       thickness = 0.100mm
       clearance = 0
      }
     }
    }
    ha:top-courtyard {
     lid = 3
     ha:type {
      top = 1
      doc = 1
     }
     li:objects {
      ha:arc.39 {
       x = 0.000mm
       y = 0.000mm
       width = 0.500mm
       height = 0.500mm
       thickness = 0.050mm
       astart = 0
       adelta = 360
       clearance = 0
      }
      ha:line.40 {
       x1 = -0.700mm
       y1 = 0.000mm
       x2 = 0.700mm
       y2 = 0.000mm
       thickness = 0.050mm
       clearance = 0
      }
      ha:line.41 {
       x1 = 0.000mm
       y1 = -0.700mm
       x2 = 0.000mm
       y2 = 0.700mm
       thickness = 0.050mm
       clearance = 0
      }
      ha:line.42 {
       x1 = -39.350mm
       y1 = -10.950mm
       x2 = 39.350mm
       y2 = -10.950mm
       thickness = 0.050mm
       clearance = 0
      }
      ha:line.43 {
       x1 = 39.350mm
       y1 = -10.950mm
       x2 = 39.350mm
       y2 = 10.950mm
       thickness = 0.050mm
       clearance = 0
      }
      ha:line.44 {
       x1 = 39.350mm
       y1 = 10.950mm
       x2 = -39.350mm
       y2 = 10.950mm
       thickness = 0.050mm
       clearance = 0
      }
      ha:line.45 {
       x1 = -39.350mm
       y1 = 10.950mm
       x2 = -39.350mm
       y2 = -10.950mm
       thickness = 0.050mm
       clearance = 0
      }
     }
    }
   }
  }
 }
}
 
--gBBFr7Ir9EOA20Yy--
 

Reply subtree:
3243 [pcb-rnd] default doc layer missing from pc...@cuvoodoo.info
  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