Index: trunk/src_plugins/io_dsn/read.c =================================================================== --- trunk/src_plugins/io_dsn/read.c (revision 35174) +++ trunk/src_plugins/io_dsn/read.c (revision 35175) @@ -230,9 +230,11 @@ { if ((rule == NULL) || (rule->str == NULL)) return 0; -TODO("map drc rule: clearance (kevin2.dsn)"); + if (rnd_strcasecmp(rule->str, "width") == 0) - rnd_conf_set_design("design/min_wid", "%$mS", COORD(ctx, rule->children)); + rnd_conf_set_design("design/drc/min_copper_thickness", "%$mS", COORD(ctx, rule->children)); + else if (rnd_strcasecmp(rule->str, "clearance") == 0) + rnd_conf_set_design("design/drc/min_copper_clearance", "%$mS", COORD(ctx, rule->children)); /* the rest of the rules do not have a direct mapping in the current DRC code */ return 0; }