Skip to content

use resolveAndLoadKicad3dModelFiles for Kicad 3d models cli#3044

Open
mohan-bee wants to merge 1 commit into
tscircuit:mainfrom
mohan-bee:fix-kicad-3d
Open

use resolveAndLoadKicad3dModelFiles for Kicad 3d models cli#3044
mohan-bee wants to merge 1 commit into
tscircuit:mainfrom
mohan-bee:fix-kicad-3d

Conversation

@mohan-bee
Copy link
Copy Markdown
Contributor

No description provided.

@mohan-bee mohan-bee changed the title use resolveAndLoadKicad3dModelFiles for Kicad 3d models use resolveAndLoadKicad3dModelFiles for Kicad 3d models cli May 14, 2026
await resolveAndLoadKicad3dModelFiles({
model3dSourcePaths: pcbConverter.getModel3dSourcePaths(),
projectName: sanitizedProjectName,
fetch: (modelPath) => globalThis.fetch(modelPath),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
fetch: (modelPath) => globalThis.fetch(modelPath),
fetch: platformConfig?.platformFetch ?? globalThis.fetch,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants