@shibo RE: Copper Pour Circuit JSON

@shibo RE: Copper Pour Circuit JSON representation
10 Replies
Seve
SeveOP4w ago
We should an implementation that has some kind of simplified boolean cutting implementation, here's a response from ChatGPT I should have suggested this before you went to implementation. The problem with your implementation is it can't handle a polygon with holes. I think we could include polygon cutouts as part of the circuit json representation and that would be the easiest solution
No description
Seve
SeveOP4w ago
Yea i think we might be better with the outer/inner ring approach
No description
shibo
shibo4w ago
I didn't understand why are cutouts counter-clockwise?
Seve
SeveOP4w ago
i don't know, but we're doing a conventional 2D b-rep implementation (or at least, that's what it's suggesting) so we should be able to figure it out (it might be because it makes other algorithms more efficient) I'm bootstrapping the repo to do the computation of the complex copper pour, will link shortly Wrote a basic README https://github.com/tscircuit/copper-pour-solver/blob/main/README.md
shibo
shibo4w ago
@Seve why did you approve my gerber pr? aren't we starting to rewrite
Seve
SeveOP4w ago
it depends on how we want to do the rewrite ig, i don't mind having a basic implementation that we need to remove. But yea there's not a huge point in merging it
shibo
shibo4w ago
you're implementing this right? are you ever going back to streaming?
Seve
SeveOP4w ago
yea i can do the initial implementation yea great question, it would be a good stream
shibo
shibo4w ago
it's great in general to see where the project is going; what's going well and what's not, sometimes you come out with a full rewrite of something out of the blue
Seve
SeveOP4w ago
yea i feel like that's less of a stream and more of a weekly update, which is a great idea i think and a lot less overhead than a stream a stream is useful for seeing how i use dev tools i think also for dialogue but honestly discord is pretty good for dialogue streams are harder because of the dog tbh, because you can't keep getting up etc. I also have a bunch of interruptions because of the fundraising stuff the copper pour stuff is pretty fun, i won't do too too much but it's a relatively simple concept and just a bunch of boolean operations the main thing for that repo that needs to be set up is the cosmos and solver infrastructure (pipeline solver etc.) i might release a package like @tscircuit/solver-utils that has all the standard stuff to make projects easier to bootstrap maybe, because there's a lot of repeated code and none of the algorithms look the same hehe

Did you find this page helpful?