Index: trunk/src_plugins/io_easyeda/easyeda.sphash =================================================================== --- trunk/src_plugins/io_easyeda/easyeda.sphash (revision 39304) +++ trunk/src_plugins/io_easyeda/easyeda.sphash (revision 39305) @@ -141,3 +141,17 @@ LINE VIA POUR +COMPONENT +PAD_NET +Designator +Add into BOM +Unique ID +Name +Supplier +Supplier Part +Manufacturer +Manufacturer Part +JLCPCB Part Class +3D Model +3D Model Transform +3D Model Title Index: trunk/src_plugins/io_easyeda/read_common.h =================================================================== --- trunk/src_plugins/io_easyeda/read_common.h (revision 39304) +++ trunk/src_plugins/io_easyeda/read_common.h (revision 39305) @@ -84,7 +84,7 @@ unsigned is_pro:1; pcb_text_t *last_refdes; /* std: last text object created as a refdes dyntext+floater */ - pcb_subc_t *in_subc; /* pro: while loading a footprint into a subc */ + pcb_subc_t *in_subc; /* pro: subc being built, while loading a footprint into a subc; or (last seen) subc pads/attrs are part of while loading a board */ double version; /* pro: file format version from DOCTYPE */ gdom_node_t *lyline[EASY_MAX_LAYERS]; /* pro: remember layer lines for delayed layer creation */ htsc_t rule2clr; /* pro: clearance value by rule name */ Index: trunk/src_plugins/io_easyeda/read_pro_hi.c =================================================================== --- trunk/src_plugins/io_easyeda/read_pro_hi.c (revision 39304) +++ trunk/src_plugins/io_easyeda/read_pro_hi.c (revision 39305) @@ -1275,6 +1275,21 @@ return 0; } +static int easyeda_pro_parse_component(easy_read_ctx_t *ctx, gdom_node_t *nd) +{ + TODO("implement me"); + return 0; +} + + +static int easyeda_pro_parse_pad_net(easy_read_ctx_t *ctx, gdom_node_t *nd) +{ + TODO("implement me"); + return 0; +} + + + /*** parse objects: dispatcher ***/ /* configuration for drawing objects */ @@ -1300,6 +1315,8 @@ case easy_LINE: return easyeda_pro_parse_line(ctx, nd); case easy_ATTR: return easyeda_pro_parse_attr(ctx, nd); case easy_STRING: return easyeda_pro_parse_string(ctx, nd); + case easy_COMPONENT: return easyeda_pro_parse_component(ctx, nd); + case easy_PAD_NET: return easyeda_pro_parse_pad_net(ctx, nd); TODO("handle these"); case easy_LAYER_PHYS: /* physical stackup with extra info on substrate */