tscircuit

T

tscircuit

The community & user server for tscircuit. Build electronics with React & AI. Render code into schematics, PCBs, 3D, fabrication files, and more.

Join

projects

contributor

support

imadethis

Ray Kholodovsky - Here is an error from trying ...

Here is an error from trying to do a simple react context implementation and no ts errors yet tsci error, followed by a different error on refresh. Next I will try to redo the code to look more like the tsci react context doc and see if this persists. ``` Execution Error: Eval compiled js error for "index.tsx": Minified React error #321; visit https://react.dev/errors/321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. @tscircuit/eval@0.0.417...
No description

Ray Kholodovsky - ui: 3d viewer right click hol...

ui: 3d viewer right click hold and drag to pan is great, but carryover to pcb viewer and right click to pan works but results in chrome right click menu opening every time. req: disabling right click menu for now if easy to do. I assume in the not too distant future we're going to have our own right click menu for settings/ appearance stuff like the 3d viewer already has, and it should function the same way: show on click only, not on drag....
No description

Ray Kholodovsky - ray asking for more file brow...

ray asking for more file browser ui things, what a surprise 1. if screen real estate permits , the top element that always exists could be a lot wider to fit the full filename. Could see it being a little annoying if the element is always a different size though. 2. ditto, for the browser menu that opens - this is worse - it would really help to see full filenames here....
No description

Ray Kholodovsky - req: need a way to be able to...

req: need a way to be able to read the reference designator in PCB , I realize I am currently using silkscreen and it is placed in a hole in the PCB and would not ultimately get rendered, however I need it for virtual viewing here.
I'm sure someone else will complain about that, so that's where the ability to turn silkscreen display off, or adjust opacity of each element, would come into play. for now, please move top silk to be over the other elements...
No description

Ray Kholodovsky - rn in tsci if I update/ save ...

rn in tsci if I update/ save a .tsx file and I have it open in localhost ... I see in cli:
Saving: molecule-templates\src\MoleculeBuilder.tsx
and if I have the 3D view open I will see that flicker to refresh itself. But if I just have the PCB view open, it does not refresh itself. I can refresh the page to see the updates, or click 3D then PCB again and it will update itself....

Ray Kholodovsky - silkscreenrect (and future fa...

silkscreenrect (and future fabricationrect?) vs silkscreenpath I need a way to render not-filled rectangle for my margin boxes. rect seemed like the easier syntax.
my <silkscreenrect pcbX={0} pcbY={0} width={2} height={2} />...
No description

Ray Kholodovsky - warning messages from updatin...

warning messages from updating to latest. not sure if related to, but see how footprint pads on bottom look a different way, while 3d model is rotated some other way.
No description

Ray Kholodovsky - could I get a few sentence pr...

could I get a few sentence primer / pointers on generating pcb images with cli locally? Everything on this page refers to web API, not local? https://docs.tscircuit.com/web-apis/image-generation-api#generate-images-for-any-code-string ...

Ray Kholodovsky - twofold: 1. I tried to do ...

twofold: 1. I tried to do <diode footprint="SMA" (or similar) and that didn't work which leads me to believe that you don't have a ton of native footprints created. Also note I didn't get any type error when I defined a nonexistent footprint. 2. No worries, so I went to rely on the kicad footprint footprint="kicad:Diode_SMD/D_SMA" which is sometimes a very verbose name and requires me to have reference material open (bonus points for on brand?)...
No description

Ray Kholodovsky - can't find docs on how to put...

can't find docs on how to put component on bottom side of pcb. search terms "pcb side" "bottom" "flip" expected to find here if nowhere else: https://docs.tscircuit.com/guides/tscircuit-essentials/layout-properties#manual-pcb-layout-properties...

Ray Kholodovsky - one more browser ui req: ke...

one more browser ui req: keep me in the folder that my open file is in, for example I shouldn't have to navigate myself 3 folder levels deep to get to the file that I'm at now....
No description

Ray Kholodovsky - <trace from=".R1 > .pin...

``` <trace from=".R1 > .pin1" to=".MP1 > .pin1" width="0.2mm"...
No description

Ray Kholodovsky - tscircuit's "processed" kicad...

tscircuit's "processed" kicad footprints do not have rounded edges like the original ones do. on the same note, the courtyard rect, etc... Thus, when I do...
No description

Ray Kholodovsky - Also ui file browser, when a ...

Also ui file browser, when a file has been renamed or deleted, you should remove it from this list.
No description

Ray Kholodovsky - small reqs regarding UI "file...

small reqs regarding UI "file browser" 1. add a back/ "up tree" button to go back a directory level. this has been an "I want this" annoyance many times already. 2. allow defining which files are "pinned" in that top section of the explorer. I realize that right now it's showing the proj dir root. I almost think of it as a "Favorites" section. Perhaps a higher up separate "Favorites" section? defined by some config somewhere?...
No description

Ray Kholodovsky - sometimes the viewcube doesn'...

sometimes the viewcube doesn't have the text (top, etc) on it, sometimes it does
No description

DOPΣ - whytf its not following manual edits?

whytf its not following manual edits?
No description

Ray Kholodovsky - When I commit in GitHub Desko...

When I commit in GitHub Deskop (on Win 10) (and possibly might Ctrl S in vscode after, idk) my localhost:3020 turns into an error like this. If I Ctrl S in vscode after this (possibly twice), it regenerates and all is good again....
No description