@shibo RE: Copper Pour Circuit JSON
@shibo RE: Copper Pour Circuit JSON representation
10 Replies
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

Yea i think we might be better with the outer/inner ring approach

I didn't understand why are cutouts counter-clockwise?
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
@Seve why did you approve my gerber pr? aren't we starting to rewrite
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
you're implementing this right?
are you ever going back to streaming?
yea i can do the initial implementation
yea great question, it would be a good stream
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
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