ugh @shibo i just realized that the file

ugh @shibo i just realized that the file server doesn't support uploading binary and that could be why there were artifact issues with loading GLBs, I think static paths is still the right move but unfortunate
No description
9 Replies
shibo
shibo3w ago
what's next for this?
Seve
SeveOP3w ago
ah sorry yea, i implemented projectBaseUrl in eval last night, it took FOREVER i'm doing testing for it today so now you can do import glbUrl from "./mymodel.glb" and it will load as a local url http://localhost:3020/api/files/static/mymodel.glb
shibo
shibo3w ago
cool
Seve
SeveOP3w ago
but there is still a ton of remaining work unfortunately, because these urls aren't supported on the backend compile server or tscircuit.com etc. anyway... one step at a time, i will be doing some testing in the next hour w/ the CLI to hopefully confirm it's working
shibo
shibo3w ago
keep me up to date @Seve what's tge progress on this?
Seve
SeveOP3w ago
Url asset loading is working last time i checked (on cli anyway) although still needs more testing
shibo
shibo3w ago
@Seve can you bootstrap a repo for the copper pour solver?
Seve
SeveOP3w ago
@shibo yes i can do this
shibo
shibo3w ago
@Seve made some changed please rereview: https://github.com/tscircuit/cli/pull/356
GitHub
feat(spice): add simulate and export spice commands by ShiboSoftwar...
This pull request introduces two new features for running circuit simulations directly from the CLI. A new simulate command has been added to allow users to quickly run simulations and view the res...

Did you find this page helpful?