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

Additional layers on stackup page are not parsed #17

Closed
mvnmgrx opened this issue Jul 7, 2022 · 0 comments · Fixed by #18
Closed

Additional layers on stackup page are not parsed #17

mvnmgrx opened this issue Jul 7, 2022 · 0 comments · Fixed by #18
Labels
bug Something isn't working

Comments

@mvnmgrx
Copy link
Owner

mvnmgrx commented Jul 7, 2022

The PCB stackup can be expanded with additional dielectric layers, as seen below, which will not be picked up by the parser.

image

TODO:

  • Add support for sublayers in PCB stackup section
  • Write test cases

Possible test case:

    (stackup
      (layer "F.SilkS" (type "Top Silk Screen") (color "White"))
      (layer "F.Paste" (type "Top Solder Paste"))
      (layer "F.Mask" (type "Top Solder Mask") (color "Green") (thickness 0.01) (material "Epoxy") (epsilon_r 3.3) (loss_tangent 0))
      (layer "F.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 1" (type "prepreg") (thickness 0.073) (material "FR4") (epsilon_r 4.3) (loss_tangent 0.02))
      (layer "In1.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 2" (type "core") (thickness 0.12) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In2.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 3" (type "prepreg") (thickness 0.195) (material "FR4") (epsilon_r 4.6) (loss_tangent 0.02)
        addsublayer (thickness 0.195))
      (layer "In3.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 4" (type "core") (thickness 0.12) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In4.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 5" (type "prepreg") (thickness 0.195) (material "FR4") (epsilon_r 4.6) (loss_tangent 0.02)
        addsublayer (thickness 0.195) (material "FR4") (epsilon_r 4.6) (loss_tangent 0.02)
        addsublayer (thickness 0)
        addsublayer (thickness 0))
      (layer "In5.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 6" (type "core") (thickness 0.12) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In6.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 7" (type "prepreg") (thickness 0.073) (material "FR4") (epsilon_r 4.3) (loss_tangent 0.02)
        addsublayer (thickness 0))
      (layer "B.Cu" (type "copper") (thickness 0.035))
      (layer "B.Mask" (type "Bottom Solder Mask") (color "Green") (thickness 0.01) (material "Epoxy") (epsilon_r 3.3) (loss_tangent 0))
      (layer "B.Paste" (type "Bottom Solder Paste"))
      (layer "B.SilkS" (type "Bottom Silk Screen") (color "White"))
      (copper_finish "None")
      (dielectric_constraints no)
    )
@mvnmgrx mvnmgrx added the bug Something isn't working label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant