Hi! I have spent the last few days looking deep into the docs and some code of tscircuit, circuitjson, the 3d-viewer, and so on. My first actual goal is to be able to create a series of breakout boards, for example "this is a breakout board for a 2 pin connector, all the way through the same kind of breakout board for a 40 pin connector of a certain type". I suspect that the solution here could be to use scripts to define the math like the size of the PCB, the position of the breakout pads, and the position of the actual connector/ part being showcased, and then the scripts create a unique tscircuit file for each PCB in that "series"/ family.
I've hit some roadblocks, one of which is how to get 3D Models into this.
Can I get some assistance with connecting the dots? Say that kicad has a footprint of what I want, and either it links to a 3D Model (likely .step) or I find and provide it externally. Then, step is no good so I have to convert to OBJ and MTL? Ok, I found https://github.com/ghackenberg/opencascade-tools which lets me convert a STEP to OBJ+MTL with a single terminal command.
I am running using the CLI as the docs show with
tsci dev
tsci dev
What's the missing link between the kicad_mod import and actually mapping a cad model to it and then using all that in a tscircuit file?
Easy-to-use wrapper around Open CASCADE Technology available as command line interface (CLI) and JavaScript/TypeScript applicartion programming interface (API) - ghackenberg/opencascade-tools