@modular-circuit/transpiler 0.1.10 → 0.1.12
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.
- package/dist/index.d.mts +1 -63
- package/dist/index.d.ts +1 -63
- package/dist/index.js +81 -271
- package/dist/index.mjs +80 -204
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -74,85 +74,24 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
74
74
|
// src/index.ts
|
|
75
75
|
var index_exports = {};
|
|
76
76
|
__export(index_exports, {
|
|
77
|
-
AllegroNetlistFileExtension: () => AllegroNetlistFileExtension,
|
|
78
|
-
AltiumFootprintLibPathExtension: () => AltiumFootprintLibPathExtension,
|
|
79
|
-
ArchiveFileExtension: () => ArchiveFileExtension,
|
|
80
77
|
BLOCK_PIN_GAP: () => BLOCK_PIN_GAP,
|
|
81
78
|
BLOCK_PIN_TB_MARGIN: () => BLOCK_PIN_TB_MARGIN,
|
|
82
|
-
CadstarFootprintLibPathExtension: () => CadstarFootprintLibPathExtension,
|
|
83
|
-
CadstarNetlistFileExtension: () => CadstarNetlistFileExtension,
|
|
84
|
-
CadstarPartsLibraryFileExtension: () => CadstarPartsLibraryFileExtension,
|
|
85
|
-
CadstarPcbFileExtension: () => CadstarPcbFileExtension,
|
|
86
|
-
CadstarSchematicFileExtension: () => CadstarSchematicFileExtension,
|
|
87
|
-
CsvFileExtension: () => CsvFileExtension,
|
|
88
79
|
DEFAULT_PAPER_SIZE: () => DEFAULT_PAPER_SIZE,
|
|
89
|
-
DatabaseLibraryFileExtension: () => DatabaseLibraryFileExtension,
|
|
90
|
-
DesignRulesFileExtension: () => DesignRulesFileExtension,
|
|
91
|
-
DrawingSheetFileExtension: () => DrawingSheetFileExtension,
|
|
92
|
-
DrillFileExtension: () => DrillFileExtension,
|
|
93
|
-
EagleFootprintLibPathExtension: () => EagleFootprintLibPathExtension,
|
|
94
|
-
EaglePcbFileExtension: () => EaglePcbFileExtension,
|
|
95
|
-
EquFileExtension: () => EquFileExtension,
|
|
96
80
|
FONT_SIZE: () => FONT_SIZE,
|
|
97
|
-
FootprintAssignmentFileExtension: () => FootprintAssignmentFileExtension,
|
|
98
|
-
FootprintPlaceFileExtension: () => FootprintPlaceFileExtension,
|
|
99
81
|
GENERATOR_NAME: () => GENERATOR_NAME,
|
|
100
82
|
GENERATOR_VERSION: () => GENERATOR_VERSION,
|
|
101
83
|
GRID_SIZE: () => GRID_SIZE,
|
|
102
|
-
GedaPcbFootprintLibFileExtension: () => GedaPcbFootprintLibFileExtension,
|
|
103
|
-
GerberFileExtension: () => GerberFileExtension,
|
|
104
|
-
GerberFileExtensionsRegex: () => GerberFileExtensionsRegex,
|
|
105
|
-
GerberJobFileExtension: () => GerberJobFileExtension,
|
|
106
|
-
GltfBinaryFileExtension: () => GltfBinaryFileExtension,
|
|
107
84
|
GraphConverter: () => GraphConverter,
|
|
108
|
-
HTTPLibraryFileExtension: () => HTTPLibraryFileExtension,
|
|
109
|
-
HotkeyFileExtension: () => HotkeyFileExtension,
|
|
110
|
-
HtmlFileExtension: () => HtmlFileExtension,
|
|
111
|
-
Ipc2581FileExtension: () => Ipc2581FileExtension,
|
|
112
|
-
IpcD356FileExtension: () => IpcD356FileExtension,
|
|
113
|
-
JpegFileExtension: () => JpegFileExtension,
|
|
114
|
-
JsonFileExtension: () => JsonFileExtension,
|
|
115
85
|
KICAD_SCH_FRAME: () => KICAD_SCH_FRAME,
|
|
116
|
-
KiCadFootprintFileExtension: () => KiCadFootprintFileExtension,
|
|
117
|
-
KiCadFootprintLibPathExtension: () => KiCadFootprintLibPathExtension,
|
|
118
|
-
KiCadPcbFileExtension: () => KiCadPcbFileExtension,
|
|
119
86
|
KiCadProjectArchive: () => KiCadProjectArchive,
|
|
120
|
-
KiCadSchematicFileExtension: () => KiCadSchematicFileExtension,
|
|
121
|
-
KiCadSymbolLibFileExtension: () => KiCadSymbolLibFileExtension,
|
|
122
87
|
Layout: () => Layout,
|
|
123
|
-
LegacyFootprintLibPathExtension: () => LegacyFootprintLibPathExtension,
|
|
124
|
-
LegacyPcbFileExtension: () => LegacyPcbFileExtension,
|
|
125
|
-
LegacyProjectFileExtension: () => LegacyProjectFileExtension,
|
|
126
|
-
LegacySchematicFileExtension: () => LegacySchematicFileExtension,
|
|
127
|
-
LegacySymbolDocumentFileExtension: () => LegacySymbolDocumentFileExtension,
|
|
128
|
-
LegacySymbolLibFileExtension: () => LegacySymbolLibFileExtension,
|
|
129
|
-
MacrosFileExtension: () => MacrosFileExtension,
|
|
130
|
-
MarkdownFileExtension: () => MarkdownFileExtension,
|
|
131
88
|
NetListConverter: () => NetListConverter,
|
|
132
|
-
NetlistFileExtension: () => NetlistFileExtension,
|
|
133
|
-
OrCadPcb2NetlistFileExtension: () => OrCadPcb2NetlistFileExtension,
|
|
134
89
|
PAPER: () => PAPER,
|
|
135
90
|
PAPER_SIZE: () => PAPER_SIZE,
|
|
136
|
-
PdfFileExtension: () => PdfFileExtension,
|
|
137
|
-
PngFileExtension: () => PngFileExtension,
|
|
138
|
-
ProjectFileExtension: () => ProjectFileExtension,
|
|
139
|
-
ProjectLocalSettingsFileExtension: () => ProjectLocalSettingsFileExtension,
|
|
140
|
-
ReportFileExtension: () => ReportFileExtension,
|
|
141
91
|
SCHEMATIC_PRINTER: () => SCHEMATIC_PRINTER,
|
|
142
92
|
SCH_VERSION: () => SCH_VERSION,
|
|
143
|
-
SVGFileExtension: () => SVGFileExtension,
|
|
144
|
-
SchematicSymbolFileExtension: () => SchematicSymbolFileExtension,
|
|
145
|
-
SpecctraDsnFileExtension: () => SpecctraDsnFileExtension,
|
|
146
|
-
SpecctraSessionFileExtension: () => SpecctraSessionFileExtension,
|
|
147
|
-
SpiceFileExtension: () => SpiceFileExtension,
|
|
148
|
-
StepFileAbrvExtension: () => StepFileAbrvExtension,
|
|
149
|
-
StepFileExtension: () => StepFileExtension,
|
|
150
93
|
StringFormatter: () => StringFormatter,
|
|
151
|
-
TextFileExtension: () => TextFileExtension,
|
|
152
|
-
VrmlFileExtension: () => VrmlFileExtension,
|
|
153
94
|
WIRE_PADDING: () => WIRE_PADDING,
|
|
154
|
-
WorkbookFileExtension: () => WorkbookFileExtension,
|
|
155
|
-
XmlFileExtension: () => XmlFileExtension,
|
|
156
95
|
collect_sub_sheets: () => collect_sub_sheets,
|
|
157
96
|
collect_sub_sheets_by_id: () => collect_sub_sheets_by_id,
|
|
158
97
|
convert_graph_to_design_block: () => convert_graph_to_design_block,
|
|
@@ -214,7 +153,7 @@ async function collect_sub_sheets(dependencies, module_resolver) {
|
|
|
214
153
|
const zip_archive = await fetch(zip_archive_url).then((res) => res.arrayBuffer());
|
|
215
154
|
const files = await (0, import_utils.unzipFile)(zip_archive);
|
|
216
155
|
for (const [name, content] of Object.entries(files)) {
|
|
217
|
-
if (name.endsWith(import_utils.
|
|
156
|
+
if (name.endsWith(import_utils.KiCadSchematicFileExtension)) {
|
|
218
157
|
const fileName = (0, import_utils.remove_filename_path_prefix)(name);
|
|
219
158
|
if (fileName in sheets) {
|
|
220
159
|
console.error(`Duplicate sheet name: ${fileName}`);
|
|
@@ -324,7 +263,7 @@ async function collect_sub_sheets_by_id(module_ids, module_resolver) {
|
|
|
324
263
|
const zip_archive = await fetch(zip_archive_url).then((res) => res.arrayBuffer());
|
|
325
264
|
const files = await (0, import_utils2.unzipFile)(zip_archive);
|
|
326
265
|
for (const [name, content] of Object.entries(files)) {
|
|
327
|
-
if (name.endsWith(import_utils2.
|
|
266
|
+
if (name.endsWith(import_utils2.KiCadSchematicFileExtension)) {
|
|
328
267
|
const filename = (0, import_utils2.remove_filename_path_prefix)(name);
|
|
329
268
|
if (filename in sheets) {
|
|
330
269
|
console.error(`Duplicate sheet name: ${filename}`);
|
|
@@ -332,7 +271,7 @@ async function collect_sub_sheets_by_id(module_ids, module_resolver) {
|
|
|
332
271
|
}
|
|
333
272
|
sheets[filename] = content;
|
|
334
273
|
design_block.schematics.push({ filename, content });
|
|
335
|
-
} else if (name.endsWith(import_utils2.
|
|
274
|
+
} else if (name.endsWith(import_utils2.KiCadPcbFileExtension)) {
|
|
336
275
|
const filename = (0, import_utils2.remove_filename_path_prefix)(name);
|
|
337
276
|
design_block.pcb = { pcb: { filename, content } };
|
|
338
277
|
}
|
|
@@ -1843,18 +1782,10 @@ var Layout = class {
|
|
|
1843
1782
|
// src/converter/netlist_to_kicad/netlist_converter.ts
|
|
1844
1783
|
var import_electronics_model8 = require("@modular-circuit/electronics-model");
|
|
1845
1784
|
var import_ir4 = require("@modular-circuit/ir");
|
|
1846
|
-
var
|
|
1785
|
+
var import_utils13 = require("@modular-circuit/utils");
|
|
1847
1786
|
|
|
1848
1787
|
// src/kicad/label/net_label.ts
|
|
1849
1788
|
var import_utils5 = require("@modular-circuit/utils");
|
|
1850
|
-
|
|
1851
|
-
// src/kicad/constraints/index.ts
|
|
1852
|
-
var DEFAULT_FONT_SIZE = {
|
|
1853
|
-
x: 1.27,
|
|
1854
|
-
y: 1.27
|
|
1855
|
-
};
|
|
1856
|
-
|
|
1857
|
-
// src/kicad/label/net_label.ts
|
|
1858
1789
|
var gen_net_label = (name, at, justify) => ({
|
|
1859
1790
|
label_type: "label",
|
|
1860
1791
|
text: name,
|
|
@@ -1862,7 +1793,7 @@ var gen_net_label = (name, at, justify) => ({
|
|
|
1862
1793
|
fields_autoplaced: true,
|
|
1863
1794
|
at: { position: at, rotation: 0 },
|
|
1864
1795
|
effects: {
|
|
1865
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1796
|
+
font: { size: import_utils5.DEFAULT_FONT_SIZE },
|
|
1866
1797
|
justify
|
|
1867
1798
|
},
|
|
1868
1799
|
uuid: (0, import_utils5.gen_uuid)()
|
|
@@ -1873,7 +1804,7 @@ var import_utils6 = require("@modular-circuit/utils");
|
|
|
1873
1804
|
var gen_base_hierarchical_label = (text, at, justify, rotation, shape) => ({
|
|
1874
1805
|
shape,
|
|
1875
1806
|
effects: {
|
|
1876
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1807
|
+
font: { size: import_utils6.DEFAULT_FONT_SIZE },
|
|
1877
1808
|
justify
|
|
1878
1809
|
},
|
|
1879
1810
|
text,
|
|
@@ -1900,7 +1831,7 @@ var gen_sch_sheet = (rect, pins, fields) => ({
|
|
|
1900
1831
|
text: fields.Sheetname,
|
|
1901
1832
|
at: { position: { x: rect.pos.x, y: rect.pos.y - TEXT_MARGIN }, rotation: 0 },
|
|
1902
1833
|
effects: {
|
|
1903
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1834
|
+
font: { size: import_utils7.DEFAULT_FONT_SIZE },
|
|
1904
1835
|
justify: {
|
|
1905
1836
|
vertical: "bottom",
|
|
1906
1837
|
horizontal: "left"
|
|
@@ -1912,7 +1843,7 @@ var gen_sch_sheet = (rect, pins, fields) => ({
|
|
|
1912
1843
|
text: fields.Sheetfile,
|
|
1913
1844
|
at: { position: { x: rect.pos.x, y: rect.pos.y + rect.size.y + TEXT_MARGIN }, rotation: 0 },
|
|
1914
1845
|
effects: {
|
|
1915
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1846
|
+
font: { size: import_utils7.DEFAULT_FONT_SIZE },
|
|
1916
1847
|
justify: {
|
|
1917
1848
|
vertical: "top",
|
|
1918
1849
|
horizontal: "left"
|
|
@@ -1934,6 +1865,7 @@ var gen_sch_sheet = (rect, pins, fields) => ({
|
|
|
1934
1865
|
// src/kicad/symbols/lib_symbol/gnd.ts
|
|
1935
1866
|
var import_electronics_model5 = require("@modular-circuit/electronics-model");
|
|
1936
1867
|
var import_ir2 = require("@modular-circuit/ir");
|
|
1868
|
+
var import_utils8 = require("@modular-circuit/utils");
|
|
1937
1869
|
var gen_lib_gnd = (value) => ({
|
|
1938
1870
|
name: `power:${value}`,
|
|
1939
1871
|
pin_numbers: {
|
|
@@ -1953,7 +1885,7 @@ var gen_lib_gnd = (value) => ({
|
|
|
1953
1885
|
text: "#PWR",
|
|
1954
1886
|
at: { position: { x: 0, y: -6.35 }, rotation: 0 },
|
|
1955
1887
|
effects: {
|
|
1956
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1888
|
+
font: { size: import_utils8.DEFAULT_FONT_SIZE },
|
|
1957
1889
|
hide: true
|
|
1958
1890
|
}
|
|
1959
1891
|
},
|
|
@@ -1962,7 +1894,7 @@ var gen_lib_gnd = (value) => ({
|
|
|
1962
1894
|
text: `${value}`,
|
|
1963
1895
|
at: { position: { x: 0, y: -3.81 }, rotation: 0 },
|
|
1964
1896
|
effects: {
|
|
1965
|
-
font: { size: DEFAULT_FONT_SIZE }
|
|
1897
|
+
font: { size: import_utils8.DEFAULT_FONT_SIZE }
|
|
1966
1898
|
}
|
|
1967
1899
|
},
|
|
1968
1900
|
{
|
|
@@ -1970,7 +1902,7 @@ var gen_lib_gnd = (value) => ({
|
|
|
1970
1902
|
text: "",
|
|
1971
1903
|
at: { position: { x: 0, y: 0 }, rotation: 0 },
|
|
1972
1904
|
effects: {
|
|
1973
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1905
|
+
font: { size: import_utils8.DEFAULT_FONT_SIZE },
|
|
1974
1906
|
hide: true
|
|
1975
1907
|
}
|
|
1976
1908
|
},
|
|
@@ -1979,7 +1911,7 @@ var gen_lib_gnd = (value) => ({
|
|
|
1979
1911
|
text: "",
|
|
1980
1912
|
at: { position: { x: 0, y: 0 }, rotation: 0 },
|
|
1981
1913
|
effects: {
|
|
1982
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1914
|
+
font: { size: import_utils8.DEFAULT_FONT_SIZE },
|
|
1983
1915
|
hide: true
|
|
1984
1916
|
}
|
|
1985
1917
|
},
|
|
@@ -1988,7 +1920,7 @@ var gen_lib_gnd = (value) => ({
|
|
|
1988
1920
|
text: 'Power symbol creates a global label with name \\"GND\\" , ground',
|
|
1989
1921
|
at: { position: { x: 0, y: 0 }, rotation: 0 },
|
|
1990
1922
|
effects: {
|
|
1991
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1923
|
+
font: { size: import_utils8.DEFAULT_FONT_SIZE },
|
|
1992
1924
|
hide: true
|
|
1993
1925
|
}
|
|
1994
1926
|
},
|
|
@@ -1997,7 +1929,7 @@ var gen_lib_gnd = (value) => ({
|
|
|
1997
1929
|
text: "global power",
|
|
1998
1930
|
at: { position: { x: 0, y: 0 }, rotation: 0 },
|
|
1999
1931
|
effects: {
|
|
2000
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
1932
|
+
font: { size: import_utils8.DEFAULT_FONT_SIZE },
|
|
2001
1933
|
hide: true
|
|
2002
1934
|
}
|
|
2003
1935
|
}
|
|
@@ -2038,13 +1970,13 @@ var gen_lib_gnd = (value) => ({
|
|
|
2038
1970
|
name: {
|
|
2039
1971
|
text: "~",
|
|
2040
1972
|
effects: {
|
|
2041
|
-
font: { size: DEFAULT_FONT_SIZE }
|
|
1973
|
+
font: { size: import_utils8.DEFAULT_FONT_SIZE }
|
|
2042
1974
|
}
|
|
2043
1975
|
},
|
|
2044
1976
|
number: {
|
|
2045
1977
|
text: "1",
|
|
2046
1978
|
effects: {
|
|
2047
|
-
font: { size: DEFAULT_FONT_SIZE }
|
|
1979
|
+
font: { size: import_utils8.DEFAULT_FONT_SIZE }
|
|
2048
1980
|
}
|
|
2049
1981
|
}
|
|
2050
1982
|
}
|
|
@@ -2056,6 +1988,7 @@ var gen_lib_gnd = (value) => ({
|
|
|
2056
1988
|
// src/kicad/symbols/lib_symbol/vcc.ts
|
|
2057
1989
|
var import_electronics_model6 = require("@modular-circuit/electronics-model");
|
|
2058
1990
|
var import_ir3 = require("@modular-circuit/ir");
|
|
1991
|
+
var import_utils9 = require("@modular-circuit/utils");
|
|
2059
1992
|
var gen_lib_vcc = (value) => ({
|
|
2060
1993
|
name: `power:${value}`,
|
|
2061
1994
|
power: true,
|
|
@@ -2076,7 +2009,7 @@ var gen_lib_vcc = (value) => ({
|
|
|
2076
2009
|
text: "#PWR",
|
|
2077
2010
|
at: { position: { x: 0, y: -3.81 }, rotation: 0 },
|
|
2078
2011
|
effects: {
|
|
2079
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2012
|
+
font: { size: import_utils9.DEFAULT_FONT_SIZE },
|
|
2080
2013
|
hide: true
|
|
2081
2014
|
}
|
|
2082
2015
|
},
|
|
@@ -2085,7 +2018,7 @@ var gen_lib_vcc = (value) => ({
|
|
|
2085
2018
|
text: `${value}`,
|
|
2086
2019
|
at: { position: { x: 0, y: 3.556 }, rotation: 0 },
|
|
2087
2020
|
effects: {
|
|
2088
|
-
font: { size: DEFAULT_FONT_SIZE }
|
|
2021
|
+
font: { size: import_utils9.DEFAULT_FONT_SIZE }
|
|
2089
2022
|
}
|
|
2090
2023
|
},
|
|
2091
2024
|
{
|
|
@@ -2093,7 +2026,7 @@ var gen_lib_vcc = (value) => ({
|
|
|
2093
2026
|
text: "",
|
|
2094
2027
|
at: { position: { x: 0, y: 0 }, rotation: 0 },
|
|
2095
2028
|
effects: {
|
|
2096
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2029
|
+
font: { size: import_utils9.DEFAULT_FONT_SIZE },
|
|
2097
2030
|
hide: true
|
|
2098
2031
|
}
|
|
2099
2032
|
},
|
|
@@ -2102,7 +2035,7 @@ var gen_lib_vcc = (value) => ({
|
|
|
2102
2035
|
text: "",
|
|
2103
2036
|
at: { position: { x: 0, y: 0 }, rotation: 0 },
|
|
2104
2037
|
effects: {
|
|
2105
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2038
|
+
font: { size: import_utils9.DEFAULT_FONT_SIZE },
|
|
2106
2039
|
hide: true
|
|
2107
2040
|
}
|
|
2108
2041
|
},
|
|
@@ -2111,7 +2044,7 @@ var gen_lib_vcc = (value) => ({
|
|
|
2111
2044
|
text: `Power symbol creates a global label with name \\"${value}\\"`,
|
|
2112
2045
|
at: { position: { x: 0, y: 0 }, rotation: 0 },
|
|
2113
2046
|
effects: {
|
|
2114
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2047
|
+
font: { size: import_utils9.DEFAULT_FONT_SIZE },
|
|
2115
2048
|
hide: true
|
|
2116
2049
|
}
|
|
2117
2050
|
},
|
|
@@ -2120,7 +2053,7 @@ var gen_lib_vcc = (value) => ({
|
|
|
2120
2053
|
text: "global power",
|
|
2121
2054
|
at: { position: { x: 0, y: 0 }, rotation: 0 },
|
|
2122
2055
|
effects: {
|
|
2123
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2056
|
+
font: { size: import_utils9.DEFAULT_FONT_SIZE },
|
|
2124
2057
|
hide: true
|
|
2125
2058
|
}
|
|
2126
2059
|
}
|
|
@@ -2158,13 +2091,13 @@ var gen_lib_vcc = (value) => ({
|
|
|
2158
2091
|
name: {
|
|
2159
2092
|
text: "~",
|
|
2160
2093
|
effects: {
|
|
2161
|
-
font: { size: DEFAULT_FONT_SIZE }
|
|
2094
|
+
font: { size: import_utils9.DEFAULT_FONT_SIZE }
|
|
2162
2095
|
}
|
|
2163
2096
|
},
|
|
2164
2097
|
number: {
|
|
2165
2098
|
text: "1",
|
|
2166
2099
|
effects: {
|
|
2167
|
-
font: { size: DEFAULT_FONT_SIZE }
|
|
2100
|
+
font: { size: import_utils9.DEFAULT_FONT_SIZE }
|
|
2168
2101
|
}
|
|
2169
2102
|
}
|
|
2170
2103
|
}
|
|
@@ -2174,7 +2107,7 @@ var gen_lib_vcc = (value) => ({
|
|
|
2174
2107
|
});
|
|
2175
2108
|
|
|
2176
2109
|
// src/kicad/symbols/sch_symbol/gnd.ts
|
|
2177
|
-
var
|
|
2110
|
+
var import_utils10 = require("@modular-circuit/utils");
|
|
2178
2111
|
|
|
2179
2112
|
// src/kicad/symbols/symbol_utils.ts
|
|
2180
2113
|
var gen_pwr_ref = (pwr_num) => `#PWR${pwr_num}`;
|
|
@@ -2189,14 +2122,14 @@ var gen_sch_gnd = (value, pwr_number, port_id, position) => ({
|
|
|
2189
2122
|
on_board: true,
|
|
2190
2123
|
dnp: false,
|
|
2191
2124
|
fields_autoplaced: true,
|
|
2192
|
-
uuid: (0,
|
|
2125
|
+
uuid: (0, import_utils10.gen_uuid)(),
|
|
2193
2126
|
properties: [
|
|
2194
2127
|
{
|
|
2195
2128
|
name: "Reference",
|
|
2196
2129
|
text: gen_pwr_ref(pwr_number),
|
|
2197
2130
|
at: { position: { x: position.x, y: position.y + 6.35 }, rotation: 0 },
|
|
2198
2131
|
effects: {
|
|
2199
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2132
|
+
font: { size: import_utils10.DEFAULT_FONT_SIZE },
|
|
2200
2133
|
hide: true
|
|
2201
2134
|
}
|
|
2202
2135
|
},
|
|
@@ -2205,7 +2138,7 @@ var gen_sch_gnd = (value, pwr_number, port_id, position) => ({
|
|
|
2205
2138
|
text: `${value}`,
|
|
2206
2139
|
at: { position: { x: position.x, y: position.y + 5.08 }, rotation: 0 },
|
|
2207
2140
|
effects: {
|
|
2208
|
-
font: { size: DEFAULT_FONT_SIZE }
|
|
2141
|
+
font: { size: import_utils10.DEFAULT_FONT_SIZE }
|
|
2209
2142
|
}
|
|
2210
2143
|
},
|
|
2211
2144
|
{
|
|
@@ -2213,7 +2146,7 @@ var gen_sch_gnd = (value, pwr_number, port_id, position) => ({
|
|
|
2213
2146
|
text: "",
|
|
2214
2147
|
at: { position, rotation: 0 },
|
|
2215
2148
|
effects: {
|
|
2216
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2149
|
+
font: { size: import_utils10.DEFAULT_FONT_SIZE },
|
|
2217
2150
|
hide: true
|
|
2218
2151
|
}
|
|
2219
2152
|
},
|
|
@@ -2222,7 +2155,7 @@ var gen_sch_gnd = (value, pwr_number, port_id, position) => ({
|
|
|
2222
2155
|
text: "",
|
|
2223
2156
|
at: { position, rotation: 0 },
|
|
2224
2157
|
effects: {
|
|
2225
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2158
|
+
font: { size: import_utils10.DEFAULT_FONT_SIZE },
|
|
2226
2159
|
hide: true
|
|
2227
2160
|
}
|
|
2228
2161
|
},
|
|
@@ -2231,7 +2164,7 @@ var gen_sch_gnd = (value, pwr_number, port_id, position) => ({
|
|
|
2231
2164
|
text: `Power symbol creates a global label with name \\"${value}\\" , ground`,
|
|
2232
2165
|
at: { position, rotation: 0 },
|
|
2233
2166
|
effects: {
|
|
2234
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2167
|
+
font: { size: import_utils10.DEFAULT_FONT_SIZE },
|
|
2235
2168
|
hide: true
|
|
2236
2169
|
}
|
|
2237
2170
|
}
|
|
@@ -2245,7 +2178,7 @@ var gen_sch_gnd = (value, pwr_number, port_id, position) => ({
|
|
|
2245
2178
|
});
|
|
2246
2179
|
|
|
2247
2180
|
// src/kicad/symbols/sch_symbol/vcc.ts
|
|
2248
|
-
var
|
|
2181
|
+
var import_utils11 = require("@modular-circuit/utils");
|
|
2249
2182
|
var gen_sch_vcc = (value, pwr_number, port_id, position) => ({
|
|
2250
2183
|
lib_id: `power:${value}`,
|
|
2251
2184
|
at: { position, rotation: 0 },
|
|
@@ -2255,14 +2188,14 @@ var gen_sch_vcc = (value, pwr_number, port_id, position) => ({
|
|
|
2255
2188
|
on_board: true,
|
|
2256
2189
|
dnp: false,
|
|
2257
2190
|
fields_autoplaced: true,
|
|
2258
|
-
uuid: (0,
|
|
2191
|
+
uuid: (0, import_utils11.gen_uuid)(),
|
|
2259
2192
|
properties: [
|
|
2260
2193
|
{
|
|
2261
2194
|
name: "Reference",
|
|
2262
2195
|
text: gen_pwr_ref(pwr_number),
|
|
2263
2196
|
at: { position: { x: position.x, y: position.y + 3.81 }, rotation: 0 },
|
|
2264
2197
|
effects: {
|
|
2265
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2198
|
+
font: { size: import_utils11.DEFAULT_FONT_SIZE },
|
|
2266
2199
|
hide: true
|
|
2267
2200
|
}
|
|
2268
2201
|
},
|
|
@@ -2271,7 +2204,7 @@ var gen_sch_vcc = (value, pwr_number, port_id, position) => ({
|
|
|
2271
2204
|
text: `${value}`,
|
|
2272
2205
|
at: { position: { x: position.x, y: position.y - 5.08 }, rotation: 0 },
|
|
2273
2206
|
effects: {
|
|
2274
|
-
font: { size: DEFAULT_FONT_SIZE }
|
|
2207
|
+
font: { size: import_utils11.DEFAULT_FONT_SIZE }
|
|
2275
2208
|
}
|
|
2276
2209
|
},
|
|
2277
2210
|
{
|
|
@@ -2279,7 +2212,7 @@ var gen_sch_vcc = (value, pwr_number, port_id, position) => ({
|
|
|
2279
2212
|
text: "",
|
|
2280
2213
|
at: { position, rotation: 0 },
|
|
2281
2214
|
effects: {
|
|
2282
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2215
|
+
font: { size: import_utils11.DEFAULT_FONT_SIZE },
|
|
2283
2216
|
hide: true
|
|
2284
2217
|
}
|
|
2285
2218
|
},
|
|
@@ -2288,7 +2221,7 @@ var gen_sch_vcc = (value, pwr_number, port_id, position) => ({
|
|
|
2288
2221
|
text: "",
|
|
2289
2222
|
at: { position, rotation: 0 },
|
|
2290
2223
|
effects: {
|
|
2291
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2224
|
+
font: { size: import_utils11.DEFAULT_FONT_SIZE },
|
|
2292
2225
|
hide: true
|
|
2293
2226
|
}
|
|
2294
2227
|
},
|
|
@@ -2297,7 +2230,7 @@ var gen_sch_vcc = (value, pwr_number, port_id, position) => ({
|
|
|
2297
2230
|
text: `Power symbol creates a global label with name \\"${value}\\"`,
|
|
2298
2231
|
at: { position, rotation: 0 },
|
|
2299
2232
|
effects: {
|
|
2300
|
-
font: { size: DEFAULT_FONT_SIZE },
|
|
2233
|
+
font: { size: import_utils11.DEFAULT_FONT_SIZE },
|
|
2301
2234
|
hide: true
|
|
2302
2235
|
}
|
|
2303
2236
|
}
|
|
@@ -2312,7 +2245,7 @@ var gen_sch_vcc = (value, pwr_number, port_id, position) => ({
|
|
|
2312
2245
|
|
|
2313
2246
|
// src/kicad/wire/gen_wire.ts
|
|
2314
2247
|
var import_electronics_model7 = require("@modular-circuit/electronics-model");
|
|
2315
|
-
var
|
|
2248
|
+
var import_utils12 = require("@modular-circuit/utils");
|
|
2316
2249
|
var gen_wire = (start, end) => ({
|
|
2317
2250
|
stroke: {
|
|
2318
2251
|
type: "default",
|
|
@@ -2320,7 +2253,7 @@ var gen_wire = (start, end) => ({
|
|
|
2320
2253
|
},
|
|
2321
2254
|
start,
|
|
2322
2255
|
end,
|
|
2323
|
-
uuid: (0,
|
|
2256
|
+
uuid: (0, import_utils12.gen_uuid)(),
|
|
2324
2257
|
type: import_electronics_model7.GS_SCH_ITEM_TYPE.LINE
|
|
2325
2258
|
});
|
|
2326
2259
|
|
|
@@ -2376,7 +2309,7 @@ var NetListConverter = class {
|
|
|
2376
2309
|
},
|
|
2377
2310
|
title_block: {
|
|
2378
2311
|
title: name.replace(`.${import_ir4.MODULAR_CIRCUIT_SCH_EXT}`, ""),
|
|
2379
|
-
date: (0,
|
|
2312
|
+
date: (0, import_utils13.replaceAll)((/* @__PURE__ */ new Date()).toISOString().slice(0, 10), "-", "/"),
|
|
2380
2313
|
rev: "1.0",
|
|
2381
2314
|
comment: {
|
|
2382
2315
|
1: "https://www.eda.cn",
|
|
@@ -2538,72 +2471,38 @@ var NetListConverter = class {
|
|
|
2538
2471
|
|
|
2539
2472
|
// src/builder/graph_to_kicad/convert_graph_to_sheets.ts
|
|
2540
2473
|
var import_ir5 = require("@modular-circuit/ir");
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
var EaglePcbFileExtension = "brd";
|
|
2571
|
-
var CadstarPcbFileExtension = "cpa";
|
|
2572
|
-
var KiCadPcbFileExtension = "kicad_pcb";
|
|
2573
|
-
var DrawingSheetFileExtension = "kicad_wks";
|
|
2574
|
-
var DesignRulesFileExtension = "kicad_dru";
|
|
2575
|
-
var PdfFileExtension = "pdf";
|
|
2576
|
-
var MacrosFileExtension = "mcr";
|
|
2577
|
-
var DrillFileExtension = "drl";
|
|
2578
|
-
var SVGFileExtension = "svg";
|
|
2579
|
-
var ReportFileExtension = "rpt";
|
|
2580
|
-
var FootprintPlaceFileExtension = "pos";
|
|
2581
|
-
var KiCadFootprintLibPathExtension = "pretty";
|
|
2582
|
-
var LegacyFootprintLibPathExtension = "mod";
|
|
2583
|
-
var AltiumFootprintLibPathExtension = "PcbLib";
|
|
2584
|
-
var CadstarFootprintLibPathExtension = "cpa";
|
|
2585
|
-
var EagleFootprintLibPathExtension = "lbr";
|
|
2586
|
-
var GedaPcbFootprintLibFileExtension = "fp";
|
|
2587
|
-
var KiCadFootprintFileExtension = "kicad_mod";
|
|
2588
|
-
var SpecctraDsnFileExtension = "dsn";
|
|
2589
|
-
var SpecctraSessionFileExtension = "ses";
|
|
2590
|
-
var IpcD356FileExtension = "d356";
|
|
2591
|
-
var Ipc2581FileExtension = "xml";
|
|
2592
|
-
var WorkbookFileExtension = "wbk";
|
|
2593
|
-
var PngFileExtension = "png";
|
|
2594
|
-
var JpegFileExtension = "jpg";
|
|
2595
|
-
var TextFileExtension = "txt";
|
|
2596
|
-
var MarkdownFileExtension = "md";
|
|
2597
|
-
var CsvFileExtension = "csv";
|
|
2598
|
-
var XmlFileExtension = "xml";
|
|
2599
|
-
var JsonFileExtension = "json";
|
|
2600
|
-
var StepFileExtension = "step";
|
|
2601
|
-
var StepFileAbrvExtension = "stp";
|
|
2602
|
-
var GltfBinaryFileExtension = "glb";
|
|
2603
|
-
var GerberFileExtensionsRegex = /(gbr|gko|pho|(g[tb][alops])|(gm?\\d\\d*)|(gp[tb]))/;
|
|
2474
|
+
var import_perc = require("@modular-circuit/perc");
|
|
2475
|
+
var import_utils14 = require("@modular-circuit/utils");
|
|
2476
|
+
async function do_convert_graph_to_kicad_project(ctx) {
|
|
2477
|
+
const { sheets } = await collect_sub_sheets(ctx.project.dependencies, ctx.module_resolver);
|
|
2478
|
+
const netlist = new GraphConverter({
|
|
2479
|
+
...ctx
|
|
2480
|
+
}).convert_to_netlist();
|
|
2481
|
+
const converted_sheets = await new NetListConverter({
|
|
2482
|
+
...ctx,
|
|
2483
|
+
netlist
|
|
2484
|
+
}).convert_to_kicad();
|
|
2485
|
+
const sexpr_printer = new SCHEMATIC_PRINTER();
|
|
2486
|
+
for (const [k, v] of Object.entries(converted_sheets)) {
|
|
2487
|
+
if (k in sheets) {
|
|
2488
|
+
console.error(`Duplicated sheet file name found ${k}`);
|
|
2489
|
+
}
|
|
2490
|
+
sheets[k.replace(import_ir5.MODULAR_CIRCUIT_SCH_EXT, import_utils14.KiCadSchematicFileExtension)] = sexpr_printer.schematic(v);
|
|
2491
|
+
}
|
|
2492
|
+
return sheets;
|
|
2493
|
+
}
|
|
2494
|
+
async function convert_graph_to_sheets(ctx) {
|
|
2495
|
+
return do_convert_graph_to_kicad_project({
|
|
2496
|
+
...ctx,
|
|
2497
|
+
...await (0, import_perc.build_connection_graph)({
|
|
2498
|
+
...ctx,
|
|
2499
|
+
dependencies: ctx.project.dependencies
|
|
2500
|
+
})
|
|
2501
|
+
});
|
|
2502
|
+
}
|
|
2604
2503
|
|
|
2605
2504
|
// src/kicad/project/kicad_project_archive.ts
|
|
2606
|
-
var
|
|
2505
|
+
var import_utils16 = require("@modular-circuit/utils");
|
|
2607
2506
|
|
|
2608
2507
|
// src/kicad/project/kicad_prl.ts
|
|
2609
2508
|
var kicad_prl = (prj_name) => ({
|
|
@@ -2691,6 +2590,7 @@ var kicad_prl = (prj_name) => ({
|
|
|
2691
2590
|
});
|
|
2692
2591
|
|
|
2693
2592
|
// src/kicad/project/kicad_pro.ts
|
|
2593
|
+
var import_utils15 = require("@modular-circuit/utils");
|
|
2694
2594
|
var kicad_pro = (project_name) => ({
|
|
2695
2595
|
board: {
|
|
2696
2596
|
"3dviewports": [],
|
|
@@ -2900,7 +2800,7 @@ var kicad_pro = (project_name) => ({
|
|
|
2900
2800
|
version: 1
|
|
2901
2801
|
},
|
|
2902
2802
|
net_format_name: "",
|
|
2903
|
-
page_layout_descr_file: `${project_name}.${DrawingSheetFileExtension}`,
|
|
2803
|
+
page_layout_descr_file: `${project_name}.${import_utils15.DrawingSheetFileExtension}`,
|
|
2904
2804
|
plot_directory: "",
|
|
2905
2805
|
spice_current_sheet_as_root: false,
|
|
2906
2806
|
spice_external_command: 'spice "%I"',
|
|
@@ -2916,6 +2816,7 @@ var kicad_pro = (project_name) => ({
|
|
|
2916
2816
|
});
|
|
2917
2817
|
|
|
2918
2818
|
// src/kicad/project/kicad_project_archive.ts
|
|
2819
|
+
var import_utils17 = require("@modular-circuit/utils");
|
|
2919
2820
|
var KICAD_SCH_FRAME = get_sch_default_drawing_sheet();
|
|
2920
2821
|
var KiCadProjectArchive = class {
|
|
2921
2822
|
constructor(project_name, sheets) {
|
|
@@ -2937,51 +2838,21 @@ var KiCadProjectArchive = class {
|
|
|
2937
2838
|
return kicad_pro(this.project_name);
|
|
2938
2839
|
}
|
|
2939
2840
|
get main_sch_name() {
|
|
2940
|
-
return this.get_project_directive_file_name(KiCadSchematicFileExtension);
|
|
2841
|
+
return this.get_project_directive_file_name(import_utils17.KiCadSchematicFileExtension);
|
|
2941
2842
|
}
|
|
2942
2843
|
get_project_directive_file_name(ext) {
|
|
2943
2844
|
return `${this.project_name}.${ext}`;
|
|
2944
2845
|
}
|
|
2945
2846
|
toZip() {
|
|
2946
|
-
return (0,
|
|
2947
|
-
[this.get_project_directive_file_name(ProjectLocalSettingsFileExtension)]: JSON.stringify(this.kicad_prl),
|
|
2948
|
-
[this.get_project_directive_file_name(ProjectFileExtension)]: JSON.stringify(this.kicad_pro),
|
|
2949
|
-
[this.get_project_directive_file_name(DrawingSheetFileExtension)]: this.sch_frame,
|
|
2847
|
+
return (0, import_utils16.zipFiles)({
|
|
2848
|
+
[this.get_project_directive_file_name(import_utils17.ProjectLocalSettingsFileExtension)]: JSON.stringify(this.kicad_prl),
|
|
2849
|
+
[this.get_project_directive_file_name(import_utils17.ProjectFileExtension)]: JSON.stringify(this.kicad_pro),
|
|
2850
|
+
[this.get_project_directive_file_name(import_utils17.DrawingSheetFileExtension)]: this.sch_frame,
|
|
2950
2851
|
...this.sheets
|
|
2951
2852
|
});
|
|
2952
2853
|
}
|
|
2953
2854
|
};
|
|
2954
2855
|
|
|
2955
|
-
// src/builder/graph_to_kicad/convert_graph_to_sheets.ts
|
|
2956
|
-
var import_perc = require("@modular-circuit/perc");
|
|
2957
|
-
async function do_convert_graph_to_kicad_project(ctx) {
|
|
2958
|
-
const { sheets } = await collect_sub_sheets(ctx.project.dependencies, ctx.module_resolver);
|
|
2959
|
-
const netlist = new GraphConverter({
|
|
2960
|
-
...ctx
|
|
2961
|
-
}).convert_to_netlist();
|
|
2962
|
-
const converted_sheets = await new NetListConverter({
|
|
2963
|
-
...ctx,
|
|
2964
|
-
netlist
|
|
2965
|
-
}).convert_to_kicad();
|
|
2966
|
-
const sexpr_printer = new SCHEMATIC_PRINTER();
|
|
2967
|
-
for (const [k, v] of Object.entries(converted_sheets)) {
|
|
2968
|
-
if (k in sheets) {
|
|
2969
|
-
console.error(`Duplicated sheet file name found ${k}`);
|
|
2970
|
-
}
|
|
2971
|
-
sheets[k.replace(import_ir5.MODULAR_CIRCUIT_SCH_EXT, KiCadSchematicFileExtension)] = sexpr_printer.schematic(v);
|
|
2972
|
-
}
|
|
2973
|
-
return sheets;
|
|
2974
|
-
}
|
|
2975
|
-
async function convert_graph_to_sheets(ctx) {
|
|
2976
|
-
return do_convert_graph_to_kicad_project({
|
|
2977
|
-
...ctx,
|
|
2978
|
-
...await (0, import_perc.build_connection_graph)({
|
|
2979
|
-
...ctx,
|
|
2980
|
-
dependencies: ctx.project.dependencies
|
|
2981
|
-
})
|
|
2982
|
-
});
|
|
2983
|
-
}
|
|
2984
|
-
|
|
2985
2856
|
// src/builder/graph_to_kicad/convert_graph_to_kicad_project.ts
|
|
2986
2857
|
async function convert_graph_to_kicad_project(ctx) {
|
|
2987
2858
|
const sheets = await convert_graph_to_sheets(ctx);
|
|
@@ -3012,85 +2883,24 @@ async function convert_graph_to_design_block(ctx) {
|
|
|
3012
2883
|
}
|
|
3013
2884
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3014
2885
|
0 && (module.exports = {
|
|
3015
|
-
AllegroNetlistFileExtension,
|
|
3016
|
-
AltiumFootprintLibPathExtension,
|
|
3017
|
-
ArchiveFileExtension,
|
|
3018
2886
|
BLOCK_PIN_GAP,
|
|
3019
2887
|
BLOCK_PIN_TB_MARGIN,
|
|
3020
|
-
CadstarFootprintLibPathExtension,
|
|
3021
|
-
CadstarNetlistFileExtension,
|
|
3022
|
-
CadstarPartsLibraryFileExtension,
|
|
3023
|
-
CadstarPcbFileExtension,
|
|
3024
|
-
CadstarSchematicFileExtension,
|
|
3025
|
-
CsvFileExtension,
|
|
3026
2888
|
DEFAULT_PAPER_SIZE,
|
|
3027
|
-
DatabaseLibraryFileExtension,
|
|
3028
|
-
DesignRulesFileExtension,
|
|
3029
|
-
DrawingSheetFileExtension,
|
|
3030
|
-
DrillFileExtension,
|
|
3031
|
-
EagleFootprintLibPathExtension,
|
|
3032
|
-
EaglePcbFileExtension,
|
|
3033
|
-
EquFileExtension,
|
|
3034
2889
|
FONT_SIZE,
|
|
3035
|
-
FootprintAssignmentFileExtension,
|
|
3036
|
-
FootprintPlaceFileExtension,
|
|
3037
2890
|
GENERATOR_NAME,
|
|
3038
2891
|
GENERATOR_VERSION,
|
|
3039
2892
|
GRID_SIZE,
|
|
3040
|
-
GedaPcbFootprintLibFileExtension,
|
|
3041
|
-
GerberFileExtension,
|
|
3042
|
-
GerberFileExtensionsRegex,
|
|
3043
|
-
GerberJobFileExtension,
|
|
3044
|
-
GltfBinaryFileExtension,
|
|
3045
2893
|
GraphConverter,
|
|
3046
|
-
HTTPLibraryFileExtension,
|
|
3047
|
-
HotkeyFileExtension,
|
|
3048
|
-
HtmlFileExtension,
|
|
3049
|
-
Ipc2581FileExtension,
|
|
3050
|
-
IpcD356FileExtension,
|
|
3051
|
-
JpegFileExtension,
|
|
3052
|
-
JsonFileExtension,
|
|
3053
2894
|
KICAD_SCH_FRAME,
|
|
3054
|
-
KiCadFootprintFileExtension,
|
|
3055
|
-
KiCadFootprintLibPathExtension,
|
|
3056
|
-
KiCadPcbFileExtension,
|
|
3057
2895
|
KiCadProjectArchive,
|
|
3058
|
-
KiCadSchematicFileExtension,
|
|
3059
|
-
KiCadSymbolLibFileExtension,
|
|
3060
2896
|
Layout,
|
|
3061
|
-
LegacyFootprintLibPathExtension,
|
|
3062
|
-
LegacyPcbFileExtension,
|
|
3063
|
-
LegacyProjectFileExtension,
|
|
3064
|
-
LegacySchematicFileExtension,
|
|
3065
|
-
LegacySymbolDocumentFileExtension,
|
|
3066
|
-
LegacySymbolLibFileExtension,
|
|
3067
|
-
MacrosFileExtension,
|
|
3068
|
-
MarkdownFileExtension,
|
|
3069
2897
|
NetListConverter,
|
|
3070
|
-
NetlistFileExtension,
|
|
3071
|
-
OrCadPcb2NetlistFileExtension,
|
|
3072
2898
|
PAPER,
|
|
3073
2899
|
PAPER_SIZE,
|
|
3074
|
-
PdfFileExtension,
|
|
3075
|
-
PngFileExtension,
|
|
3076
|
-
ProjectFileExtension,
|
|
3077
|
-
ProjectLocalSettingsFileExtension,
|
|
3078
|
-
ReportFileExtension,
|
|
3079
2900
|
SCHEMATIC_PRINTER,
|
|
3080
2901
|
SCH_VERSION,
|
|
3081
|
-
SVGFileExtension,
|
|
3082
|
-
SchematicSymbolFileExtension,
|
|
3083
|
-
SpecctraDsnFileExtension,
|
|
3084
|
-
SpecctraSessionFileExtension,
|
|
3085
|
-
SpiceFileExtension,
|
|
3086
|
-
StepFileAbrvExtension,
|
|
3087
|
-
StepFileExtension,
|
|
3088
2902
|
StringFormatter,
|
|
3089
|
-
TextFileExtension,
|
|
3090
|
-
VrmlFileExtension,
|
|
3091
2903
|
WIRE_PADDING,
|
|
3092
|
-
WorkbookFileExtension,
|
|
3093
|
-
XmlFileExtension,
|
|
3094
2904
|
collect_sub_sheets,
|
|
3095
2905
|
collect_sub_sheets_by_id,
|
|
3096
2906
|
convert_graph_to_design_block,
|