@windypro-rourou/dsh-eda 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. package/README.md +71 -119
  2. package/cordis.patch.yml +9 -7
  3. package/lib/board.js +80 -0
  4. package/lib/client.js +2 -2
  5. package/lib/index.js +339 -11
  6. package/lib/installer.js +4 -4
  7. package/lib/skill.js +138 -0
  8. package/package.json +12 -2
  9. package/skill/INDEX.md +193 -0
  10. package/skill/README.official.md +125 -0
  11. package/skill/README.zh-Hans.official.md +125 -0
  12. package/skill/SKILL.md +746 -0
  13. package/skill/format/index.md +152 -0
  14. package/skill/format/pcb/3d.md +166 -0
  15. package/skill/format/pcb/attr.md +63 -0
  16. package/skill/format/pcb/common.md +306 -0
  17. package/skill/format/pcb/component.md +132 -0
  18. package/skill/format/pcb/dimension.md +58 -0
  19. package/skill/format/pcb/index.md +17 -0
  20. package/skill/format/pcb/obj.md +43 -0
  21. package/skill/format/pcb/pad_via.md +151 -0
  22. package/skill/format/pcb/panel.md +64 -0
  23. package/skill/format/pcb/partition.md +43 -0
  24. package/skill/format/pcb/primitive.md +196 -0
  25. package/skill/format/pcb/rule.md +71 -0
  26. package/skill/format/pcb/shape.md +441 -0
  27. package/skill/format/pcb/text.md +62 -0
  28. package/skill/format/project/blob.md +30 -0
  29. package/skill/format/project/common.md +42 -0
  30. package/skill/format/project/group.md +62 -0
  31. package/skill/format/project/index.md +12 -0
  32. package/skill/format/project/instance.md +32 -0
  33. package/skill/format/project/meta.md +189 -0
  34. package/skill/format/project/variant.md +30 -0
  35. package/skill/format/schematic/attr.md +41 -0
  36. package/skill/format/schematic/common.md +47 -0
  37. package/skill/format/schematic/component.md +91 -0
  38. package/skill/format/schematic/index.md +14 -0
  39. package/skill/format/schematic/obj.md +41 -0
  40. package/skill/format/schematic/pin.md +59 -0
  41. package/skill/format/schematic/shape.md +231 -0
  42. package/skill/format/schematic/structure.md +53 -0
  43. package/skill/format/schematic/table.md +109 -0
  44. package/skill/format/schematic/text.md +47 -0
  45. package/skill/format/schematic/wire.md +132 -0
  46. package/skill/guide/ancillary-projects/pro-api-sdk.md +1 -0
  47. package/skill/guide/ancillary-projects/pro-api-types.md +5 -0
  48. package/skill/guide/ancillary-projects.md +10 -0
  49. package/skill/guide/error-handling.md +38 -0
  50. package/skill/guide/extension-json.md +135 -0
  51. package/skill/guide/extensions-marketplace.md +61 -0
  52. package/skill/guide/how-to-start.md +301 -0
  53. package/skill/guide/i18n.md +57 -0
  54. package/skill/guide/index.md +7 -0
  55. package/skill/guide/inline-frame.md +20 -0
  56. package/skill/guide/invoke-apis.md +81 -0
  57. package/skill/guide/stability.md +37 -0
  58. package/skill/references/_index.md +398 -0
  59. package/skill/references/_quick-reference.md +3028 -0
  60. package/skill/references/classes/DMT_Board.md +533 -0
  61. package/skill/references/classes/DMT_EditorControl.md +1736 -0
  62. package/skill/references/classes/DMT_Event.md +356 -0
  63. package/skill/references/classes/DMT_Folder.md +775 -0
  64. package/skill/references/classes/DMT_Panel.md +531 -0
  65. package/skill/references/classes/DMT_Pcb.md +575 -0
  66. package/skill/references/classes/DMT_Project.md +573 -0
  67. package/skill/references/classes/DMT_Schematic.md +1477 -0
  68. package/skill/references/classes/DMT_SelectControl.md +96 -0
  69. package/skill/references/classes/DMT_Team.md +172 -0
  70. package/skill/references/classes/DMT_Workspace.md +198 -0
  71. package/skill/references/classes/EDA.md +961 -0
  72. package/skill/references/classes/IPCB_ComplexPolygon.md +299 -0
  73. package/skill/references/classes/IPCB_Polygon.md +175 -0
  74. package/skill/references/classes/IPCB_PrimitiveArc.md +1901 -0
  75. package/skill/references/classes/IPCB_PrimitiveAttribute.md +2993 -0
  76. package/skill/references/classes/IPCB_PrimitiveComponent.md +2627 -0
  77. package/skill/references/classes/IPCB_PrimitiveComponentPad.md +410 -0
  78. package/skill/references/classes/IPCB_PrimitiveDimension.md +1419 -0
  79. package/skill/references/classes/IPCB_PrimitiveFill.md +1325 -0
  80. package/skill/references/classes/IPCB_PrimitiveImage.md +1461 -0
  81. package/skill/references/classes/IPCB_PrimitiveLine.md +1639 -0
  82. package/skill/references/classes/IPCB_PrimitiveObject.md +1700 -0
  83. package/skill/references/classes/IPCB_PrimitivePad.md +3155 -0
  84. package/skill/references/classes/IPCB_PrimitivePolyline.md +1193 -0
  85. package/skill/references/classes/IPCB_PrimitivePour.md +1858 -0
  86. package/skill/references/classes/IPCB_PrimitivePoured.md +556 -0
  87. package/skill/references/classes/IPCB_PrimitiveRegion.md +1332 -0
  88. package/skill/references/classes/IPCB_PrimitiveString.md +2315 -0
  89. package/skill/references/classes/IPCB_PrimitiveVia.md +1588 -0
  90. package/skill/references/classes/ISCH_PrimitiveArc.md +1676 -0
  91. package/skill/references/classes/ISCH_PrimitiveAttribute.md +2541 -0
  92. package/skill/references/classes/ISCH_PrimitiveBus.md +973 -0
  93. package/skill/references/classes/ISCH_PrimitiveCbbSymbolComponent.md +260 -0
  94. package/skill/references/classes/ISCH_PrimitiveCircle.md +1392 -0
  95. package/skill/references/classes/ISCH_PrimitiveComponent.md +2913 -0
  96. package/skill/references/classes/ISCH_PrimitiveComponentPin.md +155 -0
  97. package/skill/references/classes/ISCH_PrimitiveObject.md +960 -0
  98. package/skill/references/classes/ISCH_PrimitivePin.md +2402 -0
  99. package/skill/references/classes/ISCH_PrimitivePolygon.md +1028 -0
  100. package/skill/references/classes/ISCH_PrimitiveRectangle.md +1777 -0
  101. package/skill/references/classes/ISCH_PrimitiveText.md +1771 -0
  102. package/skill/references/classes/ISCH_PrimitiveWire.md +973 -0
  103. package/skill/references/classes/LIB_3DModel.md +780 -0
  104. package/skill/references/classes/LIB_Cbb.md +957 -0
  105. package/skill/references/classes/LIB_Classification.md +965 -0
  106. package/skill/references/classes/LIB_Device.md +1221 -0
  107. package/skill/references/classes/LIB_Footprint.md +1153 -0
  108. package/skill/references/classes/LIB_LibrariesList.md +329 -0
  109. package/skill/references/classes/LIB_PanelLibrary.md +855 -0
  110. package/skill/references/classes/LIB_SelectControl.md +89 -0
  111. package/skill/references/classes/LIB_SimulationModel.md +821 -0
  112. package/skill/references/classes/LIB_Symbol.md +1195 -0
  113. package/skill/references/classes/PCB_Document.md +1754 -0
  114. package/skill/references/classes/PCB_Drc.md +3375 -0
  115. package/skill/references/classes/PCB_Event.md +1081 -0
  116. package/skill/references/classes/PCB_Layer.md +1911 -0
  117. package/skill/references/classes/PCB_ManufactureData.md +2968 -0
  118. package/skill/references/classes/PCB_MathPolygon.md +785 -0
  119. package/skill/references/classes/PCB_Net.md +1128 -0
  120. package/skill/references/classes/PCB_Primitive.md +217 -0
  121. package/skill/references/classes/PCB_PrimitiveArc.md +894 -0
  122. package/skill/references/classes/PCB_PrimitiveAttribute.md +717 -0
  123. package/skill/references/classes/PCB_PrimitiveComponent.md +1050 -0
  124. package/skill/references/classes/PCB_PrimitiveDimension.md +833 -0
  125. package/skill/references/classes/PCB_PrimitiveFill.md +861 -0
  126. package/skill/references/classes/PCB_PrimitiveImage.md +875 -0
  127. package/skill/references/classes/PCB_PrimitiveLine.md +858 -0
  128. package/skill/references/classes/PCB_PrimitiveObject.md +800 -0
  129. package/skill/references/classes/PCB_PrimitivePad.md +944 -0
  130. package/skill/references/classes/PCB_PrimitivePolyline.md +819 -0
  131. package/skill/references/classes/PCB_PrimitivePour.md +845 -0
  132. package/skill/references/classes/PCB_PrimitivePoured.md +363 -0
  133. package/skill/references/classes/PCB_PrimitiveRegion.md +799 -0
  134. package/skill/references/classes/PCB_PrimitiveString.md +910 -0
  135. package/skill/references/classes/PCB_PrimitiveVia.md +765 -0
  136. package/skill/references/classes/PCB_RayTracerEngine.md +263 -0
  137. package/skill/references/classes/PCB_SelectControl.md +495 -0
  138. package/skill/references/classes/PNL_Document.md +83 -0
  139. package/skill/references/classes/SCH_Document.md +809 -0
  140. package/skill/references/classes/SCH_Drc.md +242 -0
  141. package/skill/references/classes/SCH_Event.md +583 -0
  142. package/skill/references/classes/SCH_ManufactureData.md +1205 -0
  143. package/skill/references/classes/SCH_Net.md +200 -0
  144. package/skill/references/classes/SCH_Netlist.md +191 -0
  145. package/skill/references/classes/SCH_Primitive.md +337 -0
  146. package/skill/references/classes/SCH_PrimitiveArc.md +692 -0
  147. package/skill/references/classes/SCH_PrimitiveAttribute.md +590 -0
  148. package/skill/references/classes/SCH_PrimitiveBus.md +624 -0
  149. package/skill/references/classes/SCH_PrimitiveCircle.md +683 -0
  150. package/skill/references/classes/SCH_PrimitiveComponent.md +2240 -0
  151. package/skill/references/classes/SCH_PrimitiveObject.md +666 -0
  152. package/skill/references/classes/SCH_PrimitivePin.md +754 -0
  153. package/skill/references/classes/SCH_PrimitivePolygon.md +627 -0
  154. package/skill/references/classes/SCH_PrimitiveRectangle.md +731 -0
  155. package/skill/references/classes/SCH_PrimitiveText.md +746 -0
  156. package/skill/references/classes/SCH_PrimitiveWire.md +703 -0
  157. package/skill/references/classes/SCH_SelectControl.md +520 -0
  158. package/skill/references/classes/SCH_SimulationEngine.md +133 -0
  159. package/skill/references/classes/SCH_Utils.md +121 -0
  160. package/skill/references/classes/SYS_ClientUrl.md +173 -0
  161. package/skill/references/classes/SYS_Dialog.md +825 -0
  162. package/skill/references/classes/SYS_Environment.md +502 -0
  163. package/skill/references/classes/SYS_FileManager.md +1686 -0
  164. package/skill/references/classes/SYS_FileSystem.md +1171 -0
  165. package/skill/references/classes/SYS_FontManager.md +224 -0
  166. package/skill/references/classes/SYS_FormatConversion.md +349 -0
  167. package/skill/references/classes/SYS_HeaderMenu.md +479 -0
  168. package/skill/references/classes/SYS_I18n.md +861 -0
  169. package/skill/references/classes/SYS_IFrame.md +535 -0
  170. package/skill/references/classes/SYS_LoadingAndProgressBar.md +246 -0
  171. package/skill/references/classes/SYS_Log.md +424 -0
  172. package/skill/references/classes/SYS_Math.md +1565 -0
  173. package/skill/references/classes/SYS_Message.md +363 -0
  174. package/skill/references/classes/SYS_MessageBox.md +285 -0
  175. package/skill/references/classes/SYS_MessageBus.md +1618 -0
  176. package/skill/references/classes/SYS_PanelControl.md +696 -0
  177. package/skill/references/classes/SYS_RightClickMenu.md +175 -0
  178. package/skill/references/classes/SYS_Setting.md +85 -0
  179. package/skill/references/classes/SYS_ShortcutKey.md +623 -0
  180. package/skill/references/classes/SYS_Storage.md +484 -0
  181. package/skill/references/classes/SYS_Timer.md +447 -0
  182. package/skill/references/classes/SYS_ToastMessage.md +194 -0
  183. package/skill/references/classes/SYS_Tool.md +241 -0
  184. package/skill/references/classes/SYS_Unit.md +594 -0
  185. package/skill/references/classes/SYS_WebSocket.md +401 -0
  186. package/skill/references/classes/SYS_Window.md +850 -0
  187. package/skill/references/enums/EDMT_EditorDocumentType.md +279 -0
  188. package/skill/references/enums/EDMT_EditorSplitScreenDirection.md +48 -0
  189. package/skill/references/enums/EDMT_EditorTabEventType.md +63 -0
  190. package/skill/references/enums/EDMT_IndicatorMarkerType.md +81 -0
  191. package/skill/references/enums/EDMT_ItemType.md +158 -0
  192. package/skill/references/enums/EDMT_ProjectCollaborationMode.md +48 -0
  193. package/skill/references/enums/ELIB_DeviceJlcLibraryCategory.md +48 -0
  194. package/skill/references/enums/ELIB_LibraryType.md +114 -0
  195. package/skill/references/enums/ELIB_PreviewType.md +70 -0
  196. package/skill/references/enums/ELIB_SimulationModelType.md +48 -0
  197. package/skill/references/enums/ELIB_SymbolType.md +125 -0
  198. package/skill/references/enums/EPCB_AutoRoutingCornerStyle.md +48 -0
  199. package/skill/references/enums/EPCB_AutoRoutingExistingPrimitiveMode.md +48 -0
  200. package/skill/references/enums/EPCB_AutoRoutingOptimization.md +48 -0
  201. package/skill/references/enums/EPCB_DocumentCanvasUpdateCalculationActiveStatus.md +48 -0
  202. package/skill/references/enums/EPCB_DocumentRatlineCalculatingActiveStatus.md +52 -0
  203. package/skill/references/enums/EPCB_InactiveLayerDisplayMode.md +59 -0
  204. package/skill/references/enums/EPCB_LayerColorConfiguration.md +81 -0
  205. package/skill/references/enums/EPCB_LayerId.md +882 -0
  206. package/skill/references/enums/EPCB_LayerStatus.md +59 -0
  207. package/skill/references/enums/EPCB_LayerType.md +114 -0
  208. package/skill/references/enums/EPCB_MouseEventType.md +59 -0
  209. package/skill/references/enums/EPCB_NetEventType.md +59 -0
  210. package/skill/references/enums/EPCB_PcbPlateType.md +48 -0
  211. package/skill/references/enums/EPCB_PdfOutputMethod.md +59 -0
  212. package/skill/references/enums/EPCB_PrimitiveArcInteractiveMode.md +48 -0
  213. package/skill/references/enums/EPCB_PrimitiveDimensionType.md +59 -0
  214. package/skill/references/enums/EPCB_PrimitiveEventType.md +59 -0
  215. package/skill/references/enums/EPCB_PrimitiveFillMode.md +63 -0
  216. package/skill/references/enums/EPCB_PrimitivePadHeatWeldingConnectionMethod.md +59 -0
  217. package/skill/references/enums/EPCB_PrimitivePadHoleType.md +59 -0
  218. package/skill/references/enums/EPCB_PrimitivePadShapeType.md +81 -0
  219. package/skill/references/enums/EPCB_PrimitivePadType.md +59 -0
  220. package/skill/references/enums/EPCB_PrimitivePourFillMethod.md +59 -0
  221. package/skill/references/enums/EPCB_PrimitiveRegionRuleType.md +96 -0
  222. package/skill/references/enums/EPCB_PrimitiveStringAlignMode.md +125 -0
  223. package/skill/references/enums/EPCB_PrimitiveType.md +202 -0
  224. package/skill/references/enums/EPCB_PrimitiveViaType.md +59 -0
  225. package/skill/references/enums/ESCH_DynamicSimulationEnginePullEventType.md +103 -0
  226. package/skill/references/enums/ESCH_DynamicSimulationEnginePushEventType.md +81 -0
  227. package/skill/references/enums/ESCH_ExportDocumentFileType.md +59 -0
  228. package/skill/references/enums/ESCH_MouseEventType.md +48 -0
  229. package/skill/references/enums/ESCH_PrimitiveComponentType.md +125 -0
  230. package/skill/references/enums/ESCH_PrimitiveEventType.md +70 -0
  231. package/skill/references/enums/ESCH_PrimitiveFillStyle.md +114 -0
  232. package/skill/references/enums/ESCH_PrimitiveLineType.md +70 -0
  233. package/skill/references/enums/ESCH_PrimitivePinShape.md +70 -0
  234. package/skill/references/enums/ESCH_PrimitivePinType.md +147 -0
  235. package/skill/references/enums/ESCH_PrimitiveTextAlignMode.md +125 -0
  236. package/skill/references/enums/ESCH_PrimitiveType.md +180 -0
  237. package/skill/references/enums/ESCH_SimulationNetlistType.md +37 -0
  238. package/skill/references/enums/ESCH_SpiceSimulationEnginePullEventType.md +48 -0
  239. package/skill/references/enums/ESCH_SpiceSimulationEnginePushEventType.md +70 -0
  240. package/skill/references/enums/ESYS_BottomPanelTab.md +81 -0
  241. package/skill/references/enums/ESYS_HeaderMenuEnvironment.md +158 -0
  242. package/skill/references/enums/ESYS_ImportProjectBoardOutlineSource.md +52 -0
  243. package/skill/references/enums/ESYS_ImportProjectImportOption.md +59 -0
  244. package/skill/references/enums/ESYS_ImportProjectSchematicObjectStyle.md +48 -0
  245. package/skill/references/enums/ESYS_ImportProjectViaSolderMaskExpansion.md +52 -0
  246. package/skill/references/enums/ESYS_LeftPanelTab.md +81 -0
  247. package/skill/references/enums/ESYS_LogType.md +103 -0
  248. package/skill/references/enums/ESYS_NetlistType.md +114 -0
  249. package/skill/references/enums/ESYS_RightPanelTab.md +202 -0
  250. package/skill/references/enums/ESYS_ShortcutKeyEffectiveEditorRange.md +191 -0
  251. package/skill/references/enums/ESYS_ShortcutKeyEffectiveEditorScene.md +92 -0
  252. package/skill/references/enums/ESYS_StartPageQuickStartItem.md +206 -0
  253. package/skill/references/enums/ESYS_Theme.md +48 -0
  254. package/skill/references/enums/ESYS_ToastMessageType.md +81 -0
  255. package/skill/references/enums/ESYS_Unit.md +103 -0
  256. package/skill/references/enums/ESYS_WindowEventType.md +48 -0
  257. package/skill/references/enums/ESYS_WindowOpenTarget.md +48 -0
  258. package/skill/references/enums/NetportDeviceName.md +147 -0
  259. package/skill/references/enums/SchToolBarDeviceName.md +279 -0
  260. package/skill/references/interfaces/BoardProps.md +169 -0
  261. package/skill/references/interfaces/ButtonProps.md +169 -0
  262. package/skill/references/interfaces/CheckBoxProps.md +196 -0
  263. package/skill/references/interfaces/ComponentPropsMap.md +448 -0
  264. package/skill/references/interfaces/DialogProps.md +385 -0
  265. package/skill/references/interfaces/FlexItemProps.md +116 -0
  266. package/skill/references/interfaces/FlexProps.md +224 -0
  267. package/skill/references/interfaces/GridItemProps.md +143 -0
  268. package/skill/references/interfaces/GridProps.md +143 -0
  269. package/skill/references/interfaces/IDMT_BoardItem.md +171 -0
  270. package/skill/references/interfaces/IDMT_BriefProjectItem.md +171 -0
  271. package/skill/references/interfaces/IDMT_EditorDocumentItem.md +169 -0
  272. package/skill/references/interfaces/IDMT_EditorSplitScreenItem.md +173 -0
  273. package/skill/references/interfaces/IDMT_EditorTabItem.md +169 -0
  274. package/skill/references/interfaces/IDMT_FolderItem.md +225 -0
  275. package/skill/references/interfaces/IDMT_IndicatorMarkerShape.md +393 -0
  276. package/skill/references/interfaces/IDMT_PanelItem.md +144 -0
  277. package/skill/references/interfaces/IDMT_PcbItem.md +171 -0
  278. package/skill/references/interfaces/IDMT_ProjectItem.md +143 -0
  279. package/skill/references/interfaces/IDMT_SchematicItem.md +225 -0
  280. package/skill/references/interfaces/IDMT_SchematicPageItem.md +198 -0
  281. package/skill/references/interfaces/IDMT_TeamItem.md +144 -0
  282. package/skill/references/interfaces/IDMT_WorkspaceItem.md +117 -0
  283. package/skill/references/interfaces/IDesignPortal.md +103 -0
  284. package/skill/references/interfaces/ILIB_3DModelItem.md +198 -0
  285. package/skill/references/interfaces/ILIB_3DModelSearchItem.md +277 -0
  286. package/skill/references/interfaces/ILIB_CbbItem.md +225 -0
  287. package/skill/references/interfaces/ILIB_CbbSearchItem.md +277 -0
  288. package/skill/references/interfaces/ILIB_ClassificationIndex.md +150 -0
  289. package/skill/references/interfaces/ILIB_DeviceAssociationItem.md +210 -0
  290. package/skill/references/interfaces/ILIB_DeviceExtendPropertyItem.md +304 -0
  291. package/skill/references/interfaces/ILIB_DeviceItem.md +279 -0
  292. package/skill/references/interfaces/ILIB_DevicePropertiesForSearch.md +250 -0
  293. package/skill/references/interfaces/ILIB_DeviceSearchItem.md +521 -0
  294. package/skill/references/interfaces/ILIB_ExtendLibrary3DModelFunctions.md +64 -0
  295. package/skill/references/interfaces/ILIB_ExtendLibraryCbbFunctions.md +99 -0
  296. package/skill/references/interfaces/ILIB_ExtendLibraryClassificationIndex.md +150 -0
  297. package/skill/references/interfaces/ILIB_ExtendLibraryDeviceFunctions.md +157 -0
  298. package/skill/references/interfaces/ILIB_ExtendLibraryFootprintFunctions.md +63 -0
  299. package/skill/references/interfaces/ILIB_ExtendLibraryFunctions.md +123 -0
  300. package/skill/references/interfaces/ILIB_ExtendLibraryItem.md +97 -0
  301. package/skill/references/interfaces/ILIB_ExtendLibraryItemIndex.md +98 -0
  302. package/skill/references/interfaces/ILIB_ExtendLibrarySearchProperty.md +115 -0
  303. package/skill/references/interfaces/ILIB_ExtendLibrarySearchResult.md +169 -0
  304. package/skill/references/interfaces/ILIB_ExtendLibrarySearchResultDataLine.md +234 -0
  305. package/skill/references/interfaces/ILIB_ExtendLibrarySymbolFunctions.md +105 -0
  306. package/skill/references/interfaces/ILIB_ExtendLibraryUserIndex.md +96 -0
  307. package/skill/references/interfaces/ILIB_FootprintItem.md +198 -0
  308. package/skill/references/interfaces/ILIB_FootprintPropertiesForSearch.md +61 -0
  309. package/skill/references/interfaces/ILIB_FootprintSearchItem.md +277 -0
  310. package/skill/references/interfaces/ILIB_LibraryInfo.md +92 -0
  311. package/skill/references/interfaces/ILIB_LibraryItem.md +115 -0
  312. package/skill/references/interfaces/ILIB_PanelLibraryItem.md +198 -0
  313. package/skill/references/interfaces/ILIB_PanelLibrarySearchItem.md +277 -0
  314. package/skill/references/interfaces/ILIB_SimulationModelItem.md +306 -0
  315. package/skill/references/interfaces/ILIB_SimulationModelSearchItem.md +304 -0
  316. package/skill/references/interfaces/ILIB_SymbolItem.md +279 -0
  317. package/skill/references/interfaces/ILIB_SymbolPropertiesForSearch.md +61 -0
  318. package/skill/references/interfaces/ILIB_SymbolSearchItem.md +304 -0
  319. package/skill/references/interfaces/IPCB_AutoLayoutResult.md +169 -0
  320. package/skill/references/interfaces/IPCB_AutoRoutingProps.md +220 -0
  321. package/skill/references/interfaces/IPCB_AutoRoutingResult.md +169 -0
  322. package/skill/references/interfaces/IPCB_BomPropertiesTableColumns.md +169 -0
  323. package/skill/references/interfaces/IPCB_DifferentialPairItem.md +115 -0
  324. package/skill/references/interfaces/IPCB_DiscretizeOptions.md +65 -0
  325. package/skill/references/interfaces/IPCB_DiscretizedPoint.md +88 -0
  326. package/skill/references/interfaces/IPCB_EqualLengthNetGroupItem.md +115 -0
  327. package/skill/references/interfaces/IPCB_LayerItem.md +277 -0
  328. package/skill/references/interfaces/IPCB_NetClassItem.md +115 -0
  329. package/skill/references/interfaces/IPCB_NetInfo.md +115 -0
  330. package/skill/references/interfaces/IPCB_PadPairGroupItem.md +88 -0
  331. package/skill/references/interfaces/IPCB_PadPairMinWireLengthItem.md +88 -0
  332. package/skill/references/interfaces/IPCB_PhysicalStackingConfiguration.md +115 -0
  333. package/skill/references/interfaces/IPCB_Primitive.md +218 -0
  334. package/skill/references/interfaces/IPCB_PrimitiveAPI.md +175 -0
  335. package/skill/references/interfaces/IPCB_PrimitivePadHeatWelding.md +151 -0
  336. package/skill/references/interfaces/IPCB_PrimitivePouredPourFill.md +142 -0
  337. package/skill/references/interfaces/IPCB_PrimitiveSolderMaskAndPasteMaskExpansion.md +154 -0
  338. package/skill/references/interfaces/IPCB_SubstratePhysicalProperties.md +88 -0
  339. package/skill/references/interfaces/IRawNet.md +103 -0
  340. package/skill/references/interfaces/IRawPureSchematic.md +80 -0
  341. package/skill/references/interfaces/IRawSchematic.md +103 -0
  342. package/skill/references/interfaces/IRawWire.md +149 -0
  343. package/skill/references/interfaces/ISCH_DrcError.md +142 -0
  344. package/skill/references/interfaces/ISCH_DrcErrorPrimitive.md +142 -0
  345. package/skill/references/interfaces/ISCH_ExportPngResolution.md +94 -0
  346. package/skill/references/interfaces/ISCH_NetInfo.md +88 -0
  347. package/skill/references/interfaces/ISCH_Primitive.md +219 -0
  348. package/skill/references/interfaces/ISCH_PrimitiveAPI.md +175 -0
  349. package/skill/references/interfaces/ISCH_ProjectNetInfo.md +142 -0
  350. package/skill/references/interfaces/ISCH_WireInfo.md +169 -0
  351. package/skill/references/interfaces/ISYS_FileSystemFileList.md +169 -0
  352. package/skill/references/interfaces/ISYS_HeaderMenuSub1MenuItem.md +174 -0
  353. package/skill/references/interfaces/ISYS_HeaderMenuSub2MenuItem.md +147 -0
  354. package/skill/references/interfaces/ISYS_HeaderMenuTopMenuItem.md +115 -0
  355. package/skill/references/interfaces/ISYS_HeaderMenus.md +408 -0
  356. package/skill/references/interfaces/ISYS_LogLine.md +115 -0
  357. package/skill/references/interfaces/ISYS_MathBBox.md +142 -0
  358. package/skill/references/interfaces/ISYS_MathPoint.md +88 -0
  359. package/skill/references/interfaces/ISYS_MathPolygonWithHoles.md +92 -0
  360. package/skill/references/interfaces/ISYS_MessageBusTask.md +115 -0
  361. package/skill/references/interfaces/ISYS_MultilingualLanguagesData.md +13 -0
  362. package/skill/references/interfaces/ISYS_PcbComparisonResponse.md +115 -0
  363. package/skill/references/interfaces/ISYS_RightClickMenuItem.md +174 -0
  364. package/skill/references/interfaces/ISYS_ShortcutKeyData.md +169 -0
  365. package/skill/references/interfaces/ISYS_ShortcutKeyDataWithCallFn.md +62 -0
  366. package/skill/references/interfaces/ISYS_ShortcutKeyDataWithUserDefinedShortcutKey.md +62 -0
  367. package/skill/references/interfaces/ISYS_WindowEventListenerRemovableObject.md +109 -0
  368. package/skill/references/interfaces/IconProps.md +88 -0
  369. package/skill/references/interfaces/ImageProps.md +115 -0
  370. package/skill/references/interfaces/InputProps.md +520 -0
  371. package/skill/references/interfaces/ListChildren.md +223 -0
  372. package/skill/references/interfaces/ListProps.md +223 -0
  373. package/skill/references/interfaces/ModalProps.md +358 -0
  374. package/skill/references/interfaces/RadioGroupProps.md +196 -0
  375. package/skill/references/interfaces/RadioItem.md +115 -0
  376. package/skill/references/interfaces/ScrollerProps.md +169 -0
  377. package/skill/references/interfaces/SelectListItem.md +142 -0
  378. package/skill/references/interfaces/SelectProps.md +169 -0
  379. package/skill/references/interfaces/SlotProps.md +88 -0
  380. package/skill/references/interfaces/StyleProps.md +385 -0
  381. package/skill/references/interfaces/TextAreaProps.md +196 -0
  382. package/skill/references/interfaces/TextProps.md +169 -0
  383. package/skill/references/types/ISYS_LanguageKeyValuePairs.md +13 -0
  384. package/skill/references/types/TPCB_LayerTypesOfInnerLayer.md +12 -0
  385. package/skill/references/types/TPCB_LayersInTheSelectable.md +43 -0
  386. package/skill/references/types/TPCB_LayersOfComponent.md +12 -0
  387. package/skill/references/types/TPCB_LayersOfCopper.md +16 -0
  388. package/skill/references/types/TPCB_LayersOfCustom.md +42 -0
  389. package/skill/references/types/TPCB_LayersOfDimension.md +17 -0
  390. package/skill/references/types/TPCB_LayersOfFill.md +29 -0
  391. package/skill/references/types/TPCB_LayersOfImage.md +23 -0
  392. package/skill/references/types/TPCB_LayersOfInner.md +42 -0
  393. package/skill/references/types/TPCB_LayersOfLine.md +26 -0
  394. package/skill/references/types/TPCB_LayersOfObject.md +13 -0
  395. package/skill/references/types/TPCB_LayersOfPad.md +12 -0
  396. package/skill/references/types/TPCB_LayersOfRegion.md +12 -0
  397. package/skill/references/types/TPCB_NumberOfCopperLayers.md +10 -0
  398. package/skill/references/types/TPCB_PolygonSourceArray.md +83 -0
  399. package/skill/references/types/TPCB_PrimitiveDimensionCoordinateSet.md +67 -0
  400. package/skill/references/types/TPCB_PrimitivePadHole.md +31 -0
  401. package/skill/references/types/TPCB_PrimitivePadShape.md +62 -0
  402. package/skill/references/types/TPCB_PrimitiveSpecialPadShape.md +20 -0
  403. package/skill/references/types/TSYS_MathPolygonGroup.md +16 -0
  404. package/skill/references/types/TSYS_MathPolygonInput.md +21 -0
  405. package/skill/references/types/TSYS_PcbComparisonErrorCode.md +10 -0
  406. package/skill/references/types/TSYS_ShortcutKeys.md +97 -0
  407. package/skill/user-guide/using-extension.md +47 -0
@@ -0,0 +1,41 @@
1
+ # OBJ Binary Embedded Object
2
+
3
+ Embedded images and files on the page, which can be downloaded as attachments or displayed directly (decided by EDA, not required by the format).
4
+
5
+ ```json
6
+ { "type": "OBJ", "id": "UUID", "ticket": 1 }||
7
+ {
8
+ "partId": "",
9
+ "groupId": 0,
10
+ "locked": false,
11
+ "zIndex": 9.0876,
12
+ "fileName": "a.txt",
13
+ "startX": 200,
14
+ "startY": 300,
15
+ "width": 10,
16
+ "height": 20,
17
+ "rotation": 0,
18
+ "isMirror": false,
19
+ "content": "data:text/plain;base64,MTIzNA==",
20
+ }|
21
+ ```
22
+
23
+ 1. type binary embedded object identifier: OBJ.
24
+ 2. id ID, unique within the file.
25
+ 3. ticket logical clock.
26
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
27
+ 5. groupId group ID, cannot be 0, empty by default when none.
28
+ 6. locked whether locked.
29
+ 7. zIndex Z-axis height.
30
+ 8. fileName file name.
31
+ 9. startX top-left X.
32
+ 10. startY top-left Y.
33
+ 11. width width.
34
+ 12. height height.
35
+ 13. rotation rotation angle, around `top-left`.
36
+ 14. isMirror whether mirrored.
37
+ 15. content binary data, two modes.
38
+ 1. General format, compatible with `Data URLs`: `data:[<mediatype>][;base64],<data>`
39
+ - e.g. `data:image/png;base64,asdfasdfwer`
40
+ - e.g. `data:text/html,<html></html>`
41
+ 2. BLOB reference mode, `blob:hashid`.
@@ -0,0 +1,59 @@
1
+ # PIN Number
2
+
3
+ ![image](/storage/images/cn/format/schematic/pin/pin.png)
4
+
5
+ As shown in the figure:
6
+ - The `position X/Y` of all PINs is the endpoint farthest from the black rectangle.
7
+ - PIN 1 is 0-degree rotation direction, pin style 0.
8
+ - PIN 2 is 90-degree rotation direction, pin style 1.
9
+ - PIN 3 is 180-degree rotation direction, pin style 2.
10
+ - PIN 4 is 270-degree rotation direction, pin style 3.
11
+
12
+ ```json
13
+ { "type": "PIN", "id": "UUID", "ticket": 1 }||
14
+ {
15
+ "partId": "",
16
+ "groupId": 0,
17
+ "locked": false,
18
+ "zIndex": 2.8772,
19
+ "display": true,
20
+ "electric": 0,
21
+ "positionX": 350,
22
+ "positionY": 170,
23
+ "length": 20,
24
+ "rotation": 0,
25
+ "color": "#880000",
26
+ "pinShape": 3,
27
+ }|
28
+ ```
29
+
30
+ 1. type primitive name: PIN.
31
+ 2. id ID, unique within the file.
32
+ 3. ticket logical clock.
33
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
34
+ 5. groupId group ID, cannot be 0, empty by default when none.
35
+ 6. locked whether locked.
36
+ 7. zIndex Z-axis height.
37
+ 8. display whether to display.
38
+ 9. electric electrical characteristic: 0 UNKNOWN, 1 INPUT, 2 OUTPUT, 3 BI.
39
+ 10. positionX position X.
40
+ 11. positionY position Y.
41
+ 12. length pin length.
42
+ 13. rotation rotation angle: 0, 90, 180, 270.
43
+ 14. color pin color.
44
+ 15. pinShape pin style: 1 Clock, 2 DOT; supports bitwise OR, e.g. 3 = 1 | 2.
45
+ Example: `0` no addition, `1` Clock, `2` DOT, `3` Clock & DOT.
46
+
47
+ ```json
48
+ { "type": "ATTR", "id": "e184", "ticket": 1 }||
49
+ { "partId": "", "groupId": 0, "locked": true, "zIndex": 0.1, "parentId": "e102", "key":"NAME", "value":"VCC", "keyVisible":true, "valueVisible":true, "positionX":108, "positionY":804.5, "rotation":0, "color":null, "fillColor":null, "fontFamily":null, "fontSize":null, "strikeout":null, "underline":null, "italic":null, "fontWeight":null, "vAlign":0, "hAlign":2,}|
50
+ ```
51
+
52
+ PIN must have the NAME attribute.
53
+
54
+ ```json
55
+ { "type": "ATTR", "id": "e185", "ticket": 1 }||
56
+ { "partId": "", "groupId": 0, "locked": true, "zIndex": 0.1, "parentId": "e102", "key":"NUMBER", "value":"1", "keyVisible":true, "valueVisible":true, "positionX":108, "positionY":804.5, "rotation":0, "color":null, "fillColor":null, "fontFamily":null, "fontSize":null, "strikeout":null, "underline":null, "italic":null, "fontWeight":null, "vAlign":0, "hAlign":2,}|
57
+ ```
58
+
59
+ PIN must have the NUMBER attribute.
@@ -0,0 +1,231 @@
1
+ # Shape Primitives
2
+
3
+ ## RECT Rectangle
4
+
5
+ A rectangle is defined by two diagonal points, and its rotation is around `point1`.
6
+
7
+ ```json
8
+ { "type": "RECT", "id": "UUID", "ticket": 1 }||
9
+ {
10
+ "partId": "",
11
+ "groupId": 0,
12
+ "locked": false,
13
+ "zIndex": 7.35,
14
+ "dotX1": 340,
15
+ "dotY1": 210,
16
+ "dotX2": 100,
17
+ "dotY2": 200,
18
+ "radiusX": 40,
19
+ "radiusY": 30,
20
+ "rotation": 90,
21
+ "strokeColor": null,
22
+ "strokeStyle": 0,
23
+ "fillColor": "",
24
+ "strokeWidth": null,
25
+ "fillStyle": 1,
26
+ }|
27
+ ```
28
+
29
+ 1. type primitive name: RECT.
30
+ 2. id ID, unique within the file.
31
+ 3. ticket logical clock.
32
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
33
+ 5. groupId group ID, cannot be 0, empty by default when none.
34
+ 6. locked whether locked.
35
+ 7. zIndex Z-axis height.
36
+ 8. dotX1 point 1 X.
37
+ 9. dotY1 point 1 Y.
38
+ 10. dotX2 point 2 X.
39
+ 11. dotY2 point 2 Y.
40
+ 12. radiusX corner radius X: `0` means no rounding.
41
+ 13. radiusY corner radius Y: `0` means no rounding.
42
+ 14. rotation rotation angle, around `point1`.
43
+ 15. strokeColor color, null for default.
44
+ 16. strokeStyle style: 0 solid, 1 dashed, 2 dotted, 3 dash-dot.
45
+ 17. fillColor fill color: `""` no fill; if filled, start and end points are automatically closed.
46
+ 18. strokeWidth width, null for default.
47
+ 19. fillStyle fill style: 0 none, 1 solid, 2 grid, 3 horizontal line, 4 vertical line, 5 diamond, 6 left slash, 7 right slash.
48
+
49
+ ## POLY Polygon
50
+
51
+ ```json
52
+ { "type": "POLY", "id": "UUID", "ticket": 1 }||
53
+ {
54
+ "partId": "",
55
+ "groupId": 0,
56
+ "locked": false,
57
+ "zIndex": 7.35,
58
+ "points": [390, 260, 450, 300, 560, 280, 540, 320],
59
+ "closed": false,
60
+ "strokeColor": null,
61
+ "strokeStyle": 0,
62
+ "fillColor": "",
63
+ "strokeWidth": null,
64
+ "fillStyle": 1,
65
+ }|
66
+ ```
67
+
68
+ 1. type primitive name: POLY.
69
+ 2. id ID, unique within the file.
70
+ 3. ticket logical clock.
71
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
72
+ 5. groupId group ID, cannot be 0, empty by default when none.
73
+ 6. locked whether locked.
74
+ 7. zIndex Z-axis height.
75
+ 8. points point set coordinates: X Y X Y X Y ...
76
+ 9. closed whether to auto-close: if auto-closed, the end point will automatically connect to the start point.
77
+ 10. strokeColor color, null for default.
78
+ 11. strokeStyle style: 0 solid, 1 dashed, 2 dotted, 3 dash-dot.
79
+ 12. fillColor fill color: `""` no fill; if filled, start and end points are automatically closed.
80
+ 13. strokeWidth width, null for default.
81
+ 14. fillStyle fill style: 0 none, 1 solid, 2 grid, 3 horizontal line, 4 vertical line, 5 diamond, 6 left slash, 7 right slash.
82
+
83
+ ## CIRCLE Circle
84
+
85
+ ```json
86
+ { "type": "CIRCLE", "id": "UUID", "ticket": 1 }||
87
+ {
88
+ "partId": "",
89
+ "groupId": 0,
90
+ "locked": false,
91
+ "zIndex": 2.332,
92
+ "centerX": 430,
93
+ "centerY": 200,
94
+ "radius": 21,
95
+ "strokeColor": null,
96
+ "strokeStyle": 0,
97
+ "fillColor": "",
98
+ "strokeWidth": null,
99
+ "fillStyle": 1,
100
+ }|
101
+ ```
102
+
103
+ 1. type primitive name: CIRCLE.
104
+ 2. id ID, unique within the file.
105
+ 3. ticket logical clock.
106
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
107
+ 5. groupId group ID, cannot be 0, empty by default when none.
108
+ 6. locked whether locked.
109
+ 7. zIndex Z-axis height.
110
+ 8. centerX circle center X.
111
+ 9. centerY circle center Y.
112
+ 10. radius radius r.
113
+ 11. strokeColor color, null for default.
114
+ 12. strokeStyle style: 0 solid, 1 dashed, 2 dotted, 3 dash-dot.
115
+ 13. fillColor fill color: `""` no fill; if filled, start and end points are automatically closed.
116
+ 14. strokeWidth width, null for default.
117
+ 15. fillStyle fill style: 0 none, 1 solid, 2 grid, 3 horizontal line, 4 vertical line, 5 diamond, 6 left slash, 7 right slash.
118
+
119
+ ## ARC Arc
120
+
121
+ ```json
122
+ { "type": "ARC", "id": "UUID", "ticket": 1 }||
123
+ {
124
+ "partId": "",
125
+ "groupId": 0,
126
+ "locked": false,
127
+ "zIndex": 0.8689,
128
+ "startX": -10,
129
+ "startY": 0,
130
+ "referX": 0,
131
+ "referY": 10,
132
+ "endX": 10,
133
+ "endY": 0,
134
+ "strokeColor": null,
135
+ "strokeStyle": 0,
136
+ "fillColor": "",
137
+ "strokeWidth": null,
138
+ "fillStyle": 1,
139
+ }|
140
+ ```
141
+
142
+ 1. type primitive name: ARC.
143
+ 2. id ID, unique within the file.
144
+ 3. ticket logical clock.
145
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
146
+ 5. groupId group ID, cannot be 0, empty by default when none.
147
+ 6. locked whether locked.
148
+ 7. zIndex Z-axis height.
149
+ 8. startX start X.
150
+ 9. startY start Y.
151
+ 10. referX reference X.
152
+ 11. referY reference Y.
153
+ 12. endX end X.
154
+ 13. endY end Y.
155
+ 14. strokeColor color, null for default.
156
+ 15. strokeStyle style: 0 solid, 1 dashed, 2 dotted, 3 dash-dot.
157
+ 16. fillColor fill color: `""` no fill; if filled, start and end points are automatically closed.
158
+ 17. strokeWidth width, null for default.
159
+ 18. fillStyle fill style: 0 none, 1 solid, 2 grid, 3 horizontal line, 4 vertical line, 5 diamond, 6 left slash, 7 right slash.
160
+
161
+ ## BEZIER Cubic Bezier Curve
162
+
163
+ ```json
164
+ { "type": "BEZIER", "id": "UUID", "ticket": 1 }||
165
+ {
166
+ "partId": "",
167
+ "groupId": 0,
168
+ "locked": false,
169
+ "zIndex": 2.1002,
170
+ "controls": [10, 10, 30, 20, 100, 30, 50, 70],
171
+ "strokeColor": null,
172
+ "strokeStyle": 0,
173
+ "fillColor": "",
174
+ "strokeWidth": null,
175
+ "fillStyle": 1,
176
+ }|
177
+ ```
178
+
179
+ 1. type primitive name: BEZIER.
180
+ 2. id ID, unique within the file.
181
+ 3. ticket logical clock.
182
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
183
+ 5. groupId group ID, cannot be 0, empty by default when none.
184
+ 6. locked whether locked.
185
+ 7. zIndex Z-axis height.
186
+ 8. controls control points: X1 Y1 X2 Y2 X3 Y3 X4 Y4 ...
187
+ 9. strokeColor color, null for default.
188
+ 10. strokeStyle style: 0 solid, 1 dashed, 2 dotted, 3 dash-dot.
189
+ 11. fillColor fill color: `""` no fill; if filled, start and end points are automatically closed.
190
+ 12. strokeWidth width, null for default.
191
+ 13. fillStyle fill style: 0 none, 1 solid, 2 grid, 3 horizontal line, 4 vertical line, 5 diamond, 6 left slash, 7 right slash.
192
+
193
+ ## ELLIPSE Ellipse
194
+
195
+ ```json
196
+ { "type": "ELLIPSE", "id": "UUID", "ticket": 1 }||
197
+ {
198
+ "partId": "",
199
+ "groupId": 0,
200
+ "locked": false,
201
+ "zIndex": 6.23,
202
+ "centerX": 670,
203
+ "centerY": 325,
204
+ "radiusX": 220,
205
+ "radiusY": 20,
206
+ "rotation": 0,
207
+ "strokeColor": null,
208
+ "strokeStyle": 0,
209
+ "fillColor": "",
210
+ "strokeWidth": null,
211
+ "fillStyle": 1,
212
+ }|
213
+ ```
214
+
215
+ 1. type primitive name: ELLIPSE.
216
+ 2. id ID, unique within the file.
217
+ 3. ticket logical clock.
218
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
219
+ 5. groupId group ID, cannot be 0, empty by default when none.
220
+ 6. locked whether locked.
221
+ 7. zIndex Z-axis height.
222
+ 8. centerX center cx.
223
+ 9. centerY center cy.
224
+ 10. radiusX horizontal radius rx.
225
+ 11. radiusY vertical radius ry.
226
+ 12. rotation rotation angle rot.
227
+ 13. strokeColor color, null for default.
228
+ 14. strokeStyle style: 0 solid, 1 dashed, 2 dotted, 3 dash-dot.
229
+ 15. fillColor fill color: `""` no fill; if filled, start and end points are automatically closed.
230
+ 16. strokeWidth width, null for default.
231
+ 17. fillStyle fill style: 0 none, 1 solid, 2 grid, 3 horizontal line, 4 vertical line, 5 diamond, 6 left slash, 7 right slash.
@@ -0,0 +1,53 @@
1
+ # Structural Primitives
2
+
3
+ ## PART Sub-Library
4
+
5
+ `PART` only exists on symbol pages.
6
+ Even single-Part devices must have a `PART`; the sub-library ID is left empty `""`.
7
+
8
+ ```json
9
+ { "type": "PART","id":"partId", "ticket": 1 }||{"BBOX": [-10, -20, 10, 20]}|
10
+ ```
11
+
12
+ 1. type sub-library primitive: PART.
13
+ 2. id sub-library ID.
14
+ 3. ticket logical clock.
15
+ 4. Inner parameters: Key-Value
16
+ - Reserved `BBOX` is the bounding box that just encloses all primitives under the PART, defined by any two diagonal points.
17
+ **XTools core logic should not rely on this property.**
18
+ - Others are editor additional information for data analysis and other functions, optional.
19
+
20
+ All primitives on the symbol page carry the corresponding sub-library ID to indicate they belong to that sub-library.
21
+
22
+ ```json
23
+ { "type": "WIRE", "id": "UUID", "ticket": 1 }||
24
+ {
25
+ "partId": "partId", // symbol primitives carry this sub-library id
26
+ "groupId": 0,
27
+ "locked": false,
28
+ "zIndex": 0.235,
29
+ "dots": [
30
+ [310, 550, 400, 550, 400, 460],
31
+ [480, 460, 400, 460],
32
+ [400, 330, 400, 460]
33
+ ],
34
+ "strokeColor": null,
35
+ "strokeStyle": 0,
36
+ "fillColor": "",
37
+ "strokeWidth": null,
38
+ "fillStyle": 1,
39
+ }|
40
+ ```
41
+
42
+ ## GROUP Group Control
43
+
44
+ ```json
45
+ { "type": "GROUP", "id": "UUID", "ticket": 1 }||{ "groupId": "1", "parentId": "0", "title": "Logo" }|
46
+ ```
47
+
48
+ 1. type group control `GROUP`.
49
+ 2. id unique ID.
50
+ 3. ticket logical clock.
51
+ 4. groupId group ID, cannot be 0.
52
+ 5. parentId parent group ID, 0 means no parent.
53
+ 6. title group name, empty string `""` if no name.
@@ -0,0 +1,109 @@
1
+ # Table Primitive
2
+
3
+ ## TABLE Table
4
+
5
+ ```json
6
+ { "type": "TABLE", "id": "UUID", "ticket": 1 }||
7
+ {
8
+ "partId": "",
9
+ "groupId": 0,
10
+ "startX": 30,
11
+ "startY": 40,
12
+ "rowSizes": [32, 40, 32, 32, 25],
13
+ "colSizes": [33, 33, 44, 44, 11],
14
+ "rowLocked": [0, 0, 1, 0, 0],
15
+ "colLocked": [0, 1, 0, 0, 0],
16
+ "rotation": 0,
17
+ }|
18
+ ```
19
+
20
+ 1. type table: `TABLE`.
21
+ 2. id ID, unique within the file.
22
+ 3. ticket logical clock.
23
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
24
+ 5. groupId group ID, cannot be 0, empty by default when none.
25
+ 6. startX top-left X.
26
+ 7. startY top-left Y.
27
+ 8. rowSizes row heights.
28
+ 9. colSizes column widths.
29
+ 10. rowLocked row lock.
30
+ 11. colLocked column lock.
31
+ 12. rotation rotation angle.
32
+
33
+ ## TABLE_CELL Table Cell
34
+
35
+ ```json
36
+ { "type": "TABLE", "id": "UUID", "ticket": 1 }||
37
+ {
38
+ "tableId": "tableId",
39
+ "value": "abc\ndef\nghi",
40
+ "rowIndex": 2,
41
+ "columnIndex": 5,
42
+ "rowSpan": 1,
43
+ "colSpan": 3,
44
+ "topStyle": {
45
+ "strokeColor": null,
46
+ "strokeStyle": 0,
47
+ "fillColor": "",
48
+ "strokeWidth": null,
49
+ "fillStyle": 1,
50
+ },
51
+ "rightStyle": {
52
+ "strokeColor": null,
53
+ "strokeStyle": 0,
54
+ "fillColor": "",
55
+ "strokeWidth": null,
56
+ "fillStyle": 1,
57
+ },
58
+ "bottomStyle": {
59
+ "strokeColor": null,
60
+ "strokeStyle": 0,
61
+ "fillColor": "",
62
+ "strokeWidth": null,
63
+ "fillStyle": 1,
64
+ },
65
+ "leftStyle": {
66
+ "strokeColor": null,
67
+ "strokeStyle": 0,
68
+ "fillColor": "",
69
+ "strokeWidth": null,
70
+ "fillStyle": 1,
71
+ },
72
+ "leftStyle": {
73
+ "strokeColor": null,
74
+ "strokeStyle": 0,
75
+ "fillColor": "",
76
+ "strokeWidth": null,
77
+ "fillStyle": 1,
78
+ },
79
+ "fontStyle": {
80
+ "color": "#fff",
81
+ "fillColor": "#fff",
82
+ "fontFamily": "SimSun",
83
+ "fontSize": 12,
84
+ "strikeout": false,
85
+ "underline": false,
86
+ "italic": false,
87
+ "fontWeight": false,
88
+ "vAlign": 0 ,
89
+ "hAlign": 2,
90
+ },
91
+ "lineHeight": 12,
92
+ }|
93
+ ```
94
+
95
+ 1. type table cell: `TABLE_CELL`.
96
+ 2. id ID, unique within the file.
97
+ 3. ticket logical clock.
98
+ 4. tableId table ID.
99
+ 5. value content.
100
+ 6. rowIndex row.
101
+ 7. columnIndex column.
102
+ 8. rowSpan width (how many columns occupied).
103
+ 9. colSpan height (how many rows occupied).
104
+ 10. topStyle top border line style.
105
+ 11. rightStyle right border line style.
106
+ 12. bottomStyle bottom border line style.
107
+ 13. leftStyle left border line style.
108
+ 14. fontStyle font style.
109
+ 15. lineHeight line spacing.
@@ -0,0 +1,47 @@
1
+ # TEXT Text
2
+
3
+ ```json
4
+ { "type": "TEXT", "id": "UUID", "ticket": 1 }||
5
+ {
6
+ "partId": "",
7
+ "groupId": 0,
8
+ "locked": false,
9
+ "zIndex": 4.12,
10
+ "positionX": 109,
11
+ "positionY": 804.5,
12
+ "rotation": 0,
13
+ "value": "any characters doukeyi@!@#$",
14
+ "color": "#fff",
15
+ "fillColor": "#fff",
16
+ "fontFamily": "SimSun",
17
+ "fontSize": 12,
18
+ "strikeout": false,
19
+ "underline": false,
20
+ "italic": false,
21
+ "fontWeight": false,
22
+ "vAlign": 0 ,
23
+ "hAlign": 2,
24
+ }|
25
+ ```
26
+
27
+ 1. type primitive name: TEXT.
28
+ 2. id ID, unique within the file.
29
+ 3. ticket logical clock.
30
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
31
+ 5. groupId group ID, cannot be 0, empty by default when none.
32
+ 6. locked whether locked.
33
+ 7. zIndex Z-axis height.
34
+ 8. positionX text coordinate X.
35
+ 9. positionY text coordinate Y.
36
+ 10. rotation rotation angle, around text coordinate.
37
+ 11. value text content: any characters.
38
+ 12. color color.
39
+ 13. fillColor background color.
40
+ 14. fontFamily font name.
41
+ 15. fontSize font size, same unit as coordinates.
42
+ 16. strikeout whether to strike out.
43
+ 17. underline whether to underline.
44
+ 18. italic whether italic.
45
+ 19. fontWeight whether bold.
46
+ 20. vAlign vertical alignment: 0 top, 1 middle, 2 bottom.
47
+ 21. hAlign horizontal alignment: 0 left, 1 center, 2 right.
@@ -0,0 +1,132 @@
1
+ # Wire Primitives
2
+
3
+ ## WIRE Wire
4
+
5
+ ```json
6
+ { "type": "WIRE", "id": "UUID", "ticket": 1 }||
7
+ {
8
+ "partId": "",
9
+ "groupId": 0,
10
+ "locked": false,
11
+ "zIndex": 0.235,
12
+ "dots": [
13
+ [310, 550, 400, 550, 400, 460],
14
+ [480, 460, 400, 460],
15
+ [400, 330, 400, 460]
16
+ ],
17
+ "strokeColor": null,
18
+ "strokeStyle": 0,
19
+ "fillColor": "",
20
+ "strokeWidth": null,
21
+ "fillStyle": 1,
22
+ }|
23
+ ```
24
+
25
+ 1. type primitive name: WIRE.
26
+ 2. id unique ID.
27
+ 3. ticket logical clock.
28
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
29
+ 5. groupId group ID, cannot be 0, empty by default when none.
30
+ 6. locked whether locked.
31
+ 7. zIndex Z-axis height.
32
+ 8. dots coordinates: divided into multiple segments, each segment is a continuous set of X1 Y1 X2 Y2 X3 Y3 ... describing a line.
33
+ 9. strokeColor color, null for default.
34
+ 10. strokeStyle style: 0 solid, 1 dashed, 2 dotted, 3 dash-dot.
35
+ 11. fillColor fill color: `""` no fill; if filled, start and end points are automatically closed.
36
+ 12. strokeWidth width, null for default.
37
+ 13. fillStyle fill style: 0 none, 1 solid, 2 grid, 3 horizontal line, 4 vertical line, 5 diamond, 6 left slash, 7 right slash.
38
+
39
+ ```json
40
+ { "type": "ATTR", "id": "e200", "ticket": 1 }||
41
+ { "partId": "", "groupId": 0, "locked": true, "zIndex": 0.1, "parentId": "e271", "key":"NET", "value":"GND", "keyVisible":true, "valueVisible":true, "positionX":108, "positionY":804.5, "rotation":0, "color":null, "fillColor":null, "fontFamily":null, "fontSize":null, "strikeout":null, "underline":null, "italic":null, "fontWeight":null, "vAlign":0, "hAlign":2,}|
42
+ ```
43
+
44
+ Wires must carry the NET attribute to identify the net name.
45
+
46
+ ## BUS Bus
47
+
48
+ ```json
49
+ { "type": "BUS", "id": "UUID", "ticket": 1 }||
50
+ {
51
+ "partId": "",
52
+ "groupId": 0,
53
+ "locked": false,
54
+ "zIndex": 0.235,
55
+ "dots": [
56
+ [310, 550, 400, 550, 400, 460],
57
+ [480, 460, 400, 460],
58
+ [400, 330, 400, 460]
59
+ ],
60
+ "strokeColor": null,
61
+ "strokeStyle": 0,
62
+ "fillColor": "",
63
+ "strokeWidth": null,
64
+ "fillStyle": 1,
65
+ }|
66
+ ```
67
+
68
+ 1. type primitive name: BUS.
69
+ 2. id unique ID.
70
+ 3. ticket logical clock.
71
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
72
+ 5. groupId group ID, cannot be 0, empty by default when none.
73
+ 6. locked whether locked.
74
+ 7. zIndex Z-axis height.
75
+ 8. dots coordinates: divided into multiple segments, each segment is a continuous set of X1 Y1 X2 Y2 X3 Y3 ... describing a line.
76
+ 9. strokeColor color, null for default.
77
+ 10. strokeStyle style: 0 solid, 1 dashed, 2 dotted, 3 dash-dot.
78
+ 11. fillColor fill color: `""` no fill; if filled, start and end points are automatically closed.
79
+ 12. strokeWidth width, null for default.
80
+ 13. fillStyle fill style: 0 none, 1 solid, 2 grid, 3 horizontal line, 4 vertical line, 5 diamond, 6 left slash, 7 right slash.
81
+
82
+ ```json
83
+ { "type": "ATTR", "id": "e200", "ticket": 1 }||
84
+ { "partId": "", "groupId": 0, "locked": true, "zIndex": 0.1, "parentId": "e271", "key":"NET", "value":"A[1:5]", "keyVisible":true, "valueVisible":true, "positionX":108, "positionY":804.5, "rotation":0, "color":null, "fillColor":null, "fontFamily":null, "fontSize":null, "strikeout":null, "underline":null, "italic":null, "fontWeight":null, "vAlign":0, "hAlign":2,}|
85
+ ```
86
+
87
+ Buses must carry the NET attribute to identify the net name.
88
+
89
+ ## BUSENTRY Bus Entry Marker
90
+
91
+ ![image](/storage/images/cn/format/schematic/wire/ripper.png)
92
+
93
+ As shown in the figure:
94
+ - Light yellow is `BUS`.
95
+ - The green rounded rhombus and the PIN-like shape extending to the right are `BUSENTRY`.
96
+ - Blue is `Wire`.
97
+ - The endpoint is the coordinate of the endpoint where `WIRE` and `BUSENTRY` (similar to `PIN`) touch on the far right.
98
+ - Because `WIRE` and `BUS` can connect at any angle, the rotation direction must be specified to match the incoming direction of `WIRE`. In the figure, it is 180 degrees.
99
+ - `BUSENTRY` has a fixed one-grid length.
100
+ - The specific shape of `BUSENTRY` is ultimately interpreted by XTools and is not constrained by the format.
101
+
102
+ ```json
103
+ { "type": "BUSENTRY", "id": "UUID", "ticket": 1 }||
104
+ {
105
+ "partId": "",
106
+ "groupId": 0,
107
+ "locked": false,
108
+ "zIndex": 0.235,
109
+ "busGroupId": 4,
110
+ "order": 4,
111
+ "pointX": 500,
112
+ "pointY": 600,
113
+ "rotation": 90,
114
+ }|
115
+ ```
116
+
117
+ 1. type primitive name: BUSENTRY.
118
+ 2. id ID, unique within the file.
119
+ 3. ticket logical clock.
120
+ 4. partId sub-library ID, exclusive to symbol pages; ignored on schematics.
121
+ 5. groupId group ID, cannot be 0, empty by default when none.
122
+ 6. locked whether locked.
123
+ 7. zIndex Z-axis height.
124
+ 8. busGroupId sequence number: sequence within the affiliated BUS, may repeat.
125
+ For example, a BUS net of A[2:3]B[7:6] can have a series of BUSENTRYs numbered 0 1 2 3 0 1 2 3 ..., where
126
+ 0 always represents branch A2B7,
127
+ 1 always represents branch A2B6,
128
+ 2 always represents branch A3B7,
129
+ 3 always represents branch A3B6.
130
+ 9. pointX endpoint X.
131
+ 10. pointY endpoint Y.
132
+ 11. rotation rotation angle, around `endpoint`.
@@ -0,0 +1 @@
1
+ <!--@include: @/private/pro-api-sdk/README.en.md{3,}-->
@@ -0,0 +1,5 @@
1
+ ---
2
+ next: false
3
+ ---
4
+
5
+ <!--@include: @/node_modules/@jlceda/pro-api-types/README.en.md{3,}-->