@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.d.mts
CHANGED
|
@@ -134,68 +134,6 @@ declare function convert_graph_to_kicad_project(ctx: ConvertGraphToKiCadInput):
|
|
|
134
134
|
|
|
135
135
|
declare function convert_graph_to_design_block(ctx: ConvertGraphToKiCadInput): Promise<DesignBlockContent>;
|
|
136
136
|
|
|
137
|
-
declare const KiCadSymbolLibFileExtension = "kicad_sym";
|
|
138
|
-
declare const SchematicSymbolFileExtension = "sym";
|
|
139
|
-
declare const LegacySymbolLibFileExtension = "lib";
|
|
140
|
-
declare const LegacySymbolDocumentFileExtension = "dcm";
|
|
141
|
-
declare const VrmlFileExtension = "wrl";
|
|
142
|
-
declare const ProjectFileExtension = "kicad_pro";
|
|
143
|
-
declare const LegacyProjectFileExtension = "pro";
|
|
144
|
-
declare const ProjectLocalSettingsFileExtension = "kicad_prl";
|
|
145
|
-
declare const LegacySchematicFileExtension = "sch";
|
|
146
|
-
declare const CadstarSchematicFileExtension = "csa";
|
|
147
|
-
declare const CadstarPartsLibraryFileExtension = "lib";
|
|
148
|
-
declare const KiCadSchematicFileExtension = "kicad_sch";
|
|
149
|
-
declare const SpiceFileExtension = "cir";
|
|
150
|
-
declare const CadstarNetlistFileExtension = "frp";
|
|
151
|
-
declare const OrCadPcb2NetlistFileExtension = "net";
|
|
152
|
-
declare const NetlistFileExtension = "net";
|
|
153
|
-
declare const AllegroNetlistFileExtension = "txt";
|
|
154
|
-
declare const FootprintAssignmentFileExtension = "cmp";
|
|
155
|
-
declare const GerberFileExtension = "gbr";
|
|
156
|
-
declare const GerberJobFileExtension = "gbrjob";
|
|
157
|
-
declare const HtmlFileExtension = "html";
|
|
158
|
-
declare const EquFileExtension = "equ";
|
|
159
|
-
declare const HotkeyFileExtension = "hotkeys";
|
|
160
|
-
declare const DatabaseLibraryFileExtension = "kicad_dbl";
|
|
161
|
-
declare const HTTPLibraryFileExtension = "kicad_httplib";
|
|
162
|
-
declare const ArchiveFileExtension = "zip";
|
|
163
|
-
declare const LegacyPcbFileExtension = "brd";
|
|
164
|
-
declare const EaglePcbFileExtension = "brd";
|
|
165
|
-
declare const CadstarPcbFileExtension = "cpa";
|
|
166
|
-
declare const KiCadPcbFileExtension = "kicad_pcb";
|
|
167
|
-
declare const DrawingSheetFileExtension = "kicad_wks";
|
|
168
|
-
declare const DesignRulesFileExtension = "kicad_dru";
|
|
169
|
-
declare const PdfFileExtension = "pdf";
|
|
170
|
-
declare const MacrosFileExtension = "mcr";
|
|
171
|
-
declare const DrillFileExtension = "drl";
|
|
172
|
-
declare const SVGFileExtension = "svg";
|
|
173
|
-
declare const ReportFileExtension = "rpt";
|
|
174
|
-
declare const FootprintPlaceFileExtension = "pos";
|
|
175
|
-
declare const KiCadFootprintLibPathExtension = "pretty";
|
|
176
|
-
declare const LegacyFootprintLibPathExtension = "mod";
|
|
177
|
-
declare const AltiumFootprintLibPathExtension = "PcbLib";
|
|
178
|
-
declare const CadstarFootprintLibPathExtension = "cpa";
|
|
179
|
-
declare const EagleFootprintLibPathExtension = "lbr";
|
|
180
|
-
declare const GedaPcbFootprintLibFileExtension = "fp";
|
|
181
|
-
declare const KiCadFootprintFileExtension = "kicad_mod";
|
|
182
|
-
declare const SpecctraDsnFileExtension = "dsn";
|
|
183
|
-
declare const SpecctraSessionFileExtension = "ses";
|
|
184
|
-
declare const IpcD356FileExtension = "d356";
|
|
185
|
-
declare const Ipc2581FileExtension = "xml";
|
|
186
|
-
declare const WorkbookFileExtension = "wbk";
|
|
187
|
-
declare const PngFileExtension = "png";
|
|
188
|
-
declare const JpegFileExtension = "jpg";
|
|
189
|
-
declare const TextFileExtension = "txt";
|
|
190
|
-
declare const MarkdownFileExtension = "md";
|
|
191
|
-
declare const CsvFileExtension = "csv";
|
|
192
|
-
declare const XmlFileExtension = "xml";
|
|
193
|
-
declare const JsonFileExtension = "json";
|
|
194
|
-
declare const StepFileExtension = "step";
|
|
195
|
-
declare const StepFileAbrvExtension = "stp";
|
|
196
|
-
declare const GltfBinaryFileExtension = "glb";
|
|
197
|
-
declare const GerberFileExtensionsRegex: RegExp;
|
|
198
|
-
|
|
199
137
|
declare const KICAD_SCH_FRAME: string;
|
|
200
138
|
declare class KiCadProjectArchive {
|
|
201
139
|
project_name: string;
|
|
@@ -482,4 +420,4 @@ declare const gen_sch_gnd: (value: string, pwr_number: number, port_id: string,
|
|
|
482
420
|
|
|
483
421
|
declare const gen_sch_vcc: (value: string, pwr_number: number, port_id: string, position: VECTOR2) => SCH_SYMBOL;
|
|
484
422
|
|
|
485
|
-
export {
|
|
423
|
+
export { BLOCK_PIN_GAP, BLOCK_PIN_TB_MARGIN, type BlockLabelPadding, type BlockSize, type BoxGeometry, type ConnectionGraphMap, type ConvertGraphToKiCadContext, type ConvertGraphToKiCadInput, DEFAULT_PAPER_SIZE, FONT_SIZE, GENERATOR_NAME, GENERATOR_VERSION, GRID_SIZE, GraphConverter, KICAD_SCH_FRAME, KiCadProjectArchive, type LabelPadding, Layout, NetListConverter, type NetlistProject, type NetlistToKicadContext, PAPER, PAPER_SIZE, SCHEMATIC_PRINTER, SCH_VERSION, type Size, StringFormatter, WIRE_PADDING, collect_sub_sheets, collect_sub_sheets_by_id, convert_graph_to_design_block, convert_graph_to_kicad_project, convert_graph_to_sheets, filterNullOrUndefined, gen_lib_gnd, gen_lib_vcc, gen_sch_gnd, gen_sch_vcc, get_power_pos, get_sch_default_drawing_sheet, tab };
|
package/dist/index.d.ts
CHANGED
|
@@ -134,68 +134,6 @@ declare function convert_graph_to_kicad_project(ctx: ConvertGraphToKiCadInput):
|
|
|
134
134
|
|
|
135
135
|
declare function convert_graph_to_design_block(ctx: ConvertGraphToKiCadInput): Promise<DesignBlockContent>;
|
|
136
136
|
|
|
137
|
-
declare const KiCadSymbolLibFileExtension = "kicad_sym";
|
|
138
|
-
declare const SchematicSymbolFileExtension = "sym";
|
|
139
|
-
declare const LegacySymbolLibFileExtension = "lib";
|
|
140
|
-
declare const LegacySymbolDocumentFileExtension = "dcm";
|
|
141
|
-
declare const VrmlFileExtension = "wrl";
|
|
142
|
-
declare const ProjectFileExtension = "kicad_pro";
|
|
143
|
-
declare const LegacyProjectFileExtension = "pro";
|
|
144
|
-
declare const ProjectLocalSettingsFileExtension = "kicad_prl";
|
|
145
|
-
declare const LegacySchematicFileExtension = "sch";
|
|
146
|
-
declare const CadstarSchematicFileExtension = "csa";
|
|
147
|
-
declare const CadstarPartsLibraryFileExtension = "lib";
|
|
148
|
-
declare const KiCadSchematicFileExtension = "kicad_sch";
|
|
149
|
-
declare const SpiceFileExtension = "cir";
|
|
150
|
-
declare const CadstarNetlistFileExtension = "frp";
|
|
151
|
-
declare const OrCadPcb2NetlistFileExtension = "net";
|
|
152
|
-
declare const NetlistFileExtension = "net";
|
|
153
|
-
declare const AllegroNetlistFileExtension = "txt";
|
|
154
|
-
declare const FootprintAssignmentFileExtension = "cmp";
|
|
155
|
-
declare const GerberFileExtension = "gbr";
|
|
156
|
-
declare const GerberJobFileExtension = "gbrjob";
|
|
157
|
-
declare const HtmlFileExtension = "html";
|
|
158
|
-
declare const EquFileExtension = "equ";
|
|
159
|
-
declare const HotkeyFileExtension = "hotkeys";
|
|
160
|
-
declare const DatabaseLibraryFileExtension = "kicad_dbl";
|
|
161
|
-
declare const HTTPLibraryFileExtension = "kicad_httplib";
|
|
162
|
-
declare const ArchiveFileExtension = "zip";
|
|
163
|
-
declare const LegacyPcbFileExtension = "brd";
|
|
164
|
-
declare const EaglePcbFileExtension = "brd";
|
|
165
|
-
declare const CadstarPcbFileExtension = "cpa";
|
|
166
|
-
declare const KiCadPcbFileExtension = "kicad_pcb";
|
|
167
|
-
declare const DrawingSheetFileExtension = "kicad_wks";
|
|
168
|
-
declare const DesignRulesFileExtension = "kicad_dru";
|
|
169
|
-
declare const PdfFileExtension = "pdf";
|
|
170
|
-
declare const MacrosFileExtension = "mcr";
|
|
171
|
-
declare const DrillFileExtension = "drl";
|
|
172
|
-
declare const SVGFileExtension = "svg";
|
|
173
|
-
declare const ReportFileExtension = "rpt";
|
|
174
|
-
declare const FootprintPlaceFileExtension = "pos";
|
|
175
|
-
declare const KiCadFootprintLibPathExtension = "pretty";
|
|
176
|
-
declare const LegacyFootprintLibPathExtension = "mod";
|
|
177
|
-
declare const AltiumFootprintLibPathExtension = "PcbLib";
|
|
178
|
-
declare const CadstarFootprintLibPathExtension = "cpa";
|
|
179
|
-
declare const EagleFootprintLibPathExtension = "lbr";
|
|
180
|
-
declare const GedaPcbFootprintLibFileExtension = "fp";
|
|
181
|
-
declare const KiCadFootprintFileExtension = "kicad_mod";
|
|
182
|
-
declare const SpecctraDsnFileExtension = "dsn";
|
|
183
|
-
declare const SpecctraSessionFileExtension = "ses";
|
|
184
|
-
declare const IpcD356FileExtension = "d356";
|
|
185
|
-
declare const Ipc2581FileExtension = "xml";
|
|
186
|
-
declare const WorkbookFileExtension = "wbk";
|
|
187
|
-
declare const PngFileExtension = "png";
|
|
188
|
-
declare const JpegFileExtension = "jpg";
|
|
189
|
-
declare const TextFileExtension = "txt";
|
|
190
|
-
declare const MarkdownFileExtension = "md";
|
|
191
|
-
declare const CsvFileExtension = "csv";
|
|
192
|
-
declare const XmlFileExtension = "xml";
|
|
193
|
-
declare const JsonFileExtension = "json";
|
|
194
|
-
declare const StepFileExtension = "step";
|
|
195
|
-
declare const StepFileAbrvExtension = "stp";
|
|
196
|
-
declare const GltfBinaryFileExtension = "glb";
|
|
197
|
-
declare const GerberFileExtensionsRegex: RegExp;
|
|
198
|
-
|
|
199
137
|
declare const KICAD_SCH_FRAME: string;
|
|
200
138
|
declare class KiCadProjectArchive {
|
|
201
139
|
project_name: string;
|
|
@@ -482,4 +420,4 @@ declare const gen_sch_gnd: (value: string, pwr_number: number, port_id: string,
|
|
|
482
420
|
|
|
483
421
|
declare const gen_sch_vcc: (value: string, pwr_number: number, port_id: string, position: VECTOR2) => SCH_SYMBOL;
|
|
484
422
|
|
|
485
|
-
export {
|
|
423
|
+
export { BLOCK_PIN_GAP, BLOCK_PIN_TB_MARGIN, type BlockLabelPadding, type BlockSize, type BoxGeometry, type ConnectionGraphMap, type ConvertGraphToKiCadContext, type ConvertGraphToKiCadInput, DEFAULT_PAPER_SIZE, FONT_SIZE, GENERATOR_NAME, GENERATOR_VERSION, GRID_SIZE, GraphConverter, KICAD_SCH_FRAME, KiCadProjectArchive, type LabelPadding, Layout, NetListConverter, type NetlistProject, type NetlistToKicadContext, PAPER, PAPER_SIZE, SCHEMATIC_PRINTER, SCH_VERSION, type Size, StringFormatter, WIRE_PADDING, collect_sub_sheets, collect_sub_sheets_by_id, convert_graph_to_design_block, convert_graph_to_kicad_project, convert_graph_to_sheets, filterNullOrUndefined, gen_lib_gnd, gen_lib_vcc, gen_sch_gnd, gen_sch_vcc, get_power_pos, get_sch_default_drawing_sheet, tab };
|