# xd2sketch Adobe xd convert to Sketch file. Adobe 公司推出 XD 与 sketch 抗衡,可以解析导入 sketch 文件,却只能保持 xd 源文件。xd 转 sketch 是刚需,目前有一个在线服务,转换需要美元支付,不太方便。为此开启本项目,实现 xd 文件转化为 sketch。 ## sketch 文件解析 sketch 文件格式是开放的,官方文档: https://developer.sketch.com/file-format/ ``` ├─images ├─pages └─previews ``` ## xd 文件解析 xd 的文件格式比较复杂。 ``` ├─artwork │ ├─artboard-025d8c29-33d5-473d-8658-c9dd691304d8 │ │ └─graphics │ └─pasteboard │ └─graphics ├─interactions ├─META-INF ├─renditions ├─resources │ └─graphics └─sharing ```