Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KiCad stackups contain wrong prepreg thicknesses when multiple prepregs without copper are present #1

Open
schweigstill opened this issue Feb 21, 2025 · 2 comments

Comments

@schweigstill
Copy link

KiCad doesn't support stackups with multiple prepregs without copper between them. Altium Designer doesn't have this problem. E.g. jlcpcb_8L_1.6mm_outer1oz_inner1oz_JLC081611-2116.kicad_pcb contains the following definitions:

		(layer "In2.Cu"
			(type "copper")
			(thickness 0.03)
		)
		(layer "dielectric 3"
			(type "prepreg")
			(color "FR4 natural")
			(thickness 0.109)
			(material "Nan Ya Plastics NP-155F 2116")
			(epsilon_r 4.16)
			(loss_tangent 0.02)
		)
		(layer "dielectric 4"
			(type "prepreg")
			(color "FR4 natural")
			(thickness 0.109)
			(material "Nan Ya Plastics NP-155F 2116")
			(epsilon_r 4.16)
			(loss_tangent 0.02)
		)
		(layer "In3.Cu"
			(type "copper")
			(thickness 0.03)
		)

"dielectric 4" will be skipped during import of the stackup, so the total thickness isn't calculated properly.

KiCad's behaviour is well documented, this is not a KiCad bug. Possibly future versions will allow sequences of multiple non-copper layers.

Tested with KiCad 9.0.0, release build.

@schweigstill
Copy link
Author

I just noticed that it is even worse: the non-copper layers get shiftet, which leads to an asymmetrical stackup.

@gsuberland
Copy link
Owner

Thanks for the report. This should be pretty easy to fix by combining the alike dielectric layers together. I'll take a look at the code and make some changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants