mirror of https://github.com/KLayout/klayout.git
commit
3dff137e9f
|
|
@ -1614,6 +1614,20 @@ DEFImporter::read_components (db::Layout &layout, std::list<std::pair<std::strin
|
|||
d = pt - m->second.bbox.transformed (ft).lower_left ();
|
||||
is_placed = true;
|
||||
|
||||
} else if (test ("UNPLACED")) {
|
||||
|
||||
// invalid "UNPLACED", but yet it appears to be existing (#1307)
|
||||
if (test ("(")) {
|
||||
|
||||
db::Point pt = get_point (scale);
|
||||
test (")");
|
||||
|
||||
ft = get_orient (false /*mandatory*/);
|
||||
d = pt - m->second.bbox.transformed (ft).lower_left ();
|
||||
is_placed = true;
|
||||
|
||||
}
|
||||
|
||||
} else if (test ("MASKSHIFT")) {
|
||||
|
||||
maskshift = get ();
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ UNITS DISTANCE MICRONS 1000 ;
|
|||
DIEAREA ( 0 0 ) ( 1000 2000 ) ;
|
||||
|
||||
COMPONENTS 3 ;
|
||||
- macro1 macro1 + PLACED ( 0 0 ) N ;
|
||||
- macro1 macro1 + UNPLACED ( 0 0 ) N ;
|
||||
END COMPONENTS
|
||||
|
||||
SPECIALNETS 1 ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue