Im am fairly new to PCB and Schematic design. So when i started my project i thought it was easier to just make everything in PCB editor and never bothered with the schematic. now i am finished with the PCB but need to export the PCB so i can have it manufactured.
The problem is that i dont have any schematic, only a PCB. is this a problem? how can i export my .pcb file into a .sch file
KiCad is designed for the standard workflow which is schematic → PCB. A Schematic can’t be created automatically from the PCB any more than PCB could be created automatically from the schematic, so you would have to give all data to KiCad anyway and do the “schematic layout” manually. Therefore it’s easier for you to just draw the schematic as if you were doing it from scratch, you just follow the logic in the PCB. Add symbols and move them, add wires, give net names etc.
There are especially two things you have to follow from the PCB (apart from the self-evident connections between components) which are critical: you have to give the same reference designators in the PCB and the schematic; and you have to attach the same footprint library IDs to symbols than what you have used in the PCB.
When you have the schematic ready and it corresponds to the PCB, you have to use the Update PCB from Schematic once which the non-default option “Re-link footprints using reference designators”. (See Update PCB from Schematic's match methods - #2 by eelik for the reason and details.)
You add all the symbols, name them, hopefully you’ve used standard names stating with 1 so the autoname works, then you use the update schematic from pcb but only update the relevant things - especially nets.
You must check the top box to link by name.
Then you rearrange and draw the lines between the now labelled nets
Pro tip : make the pcb read only beforehand because there’s an annoying 2 way flow of data.
Draw a line wrong and the pcb nets will update.
Hit revert a lot.