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

Paste Layers not exported #13

Open
hannoHI opened this issue Oct 9, 2024 · 1 comment
Open

Paste Layers not exported #13

hannoHI opened this issue Oct 9, 2024 · 1 comment

Comments

@hannoHI
Copy link

hannoHI commented Oct 9, 2024

When exporting (I use JLCPCB) the paste layers are not exported. Can you please add support for the paste layers.

layers = [
    [ pcbnew.F_Cu,      'F_Cu' ],
    [ pcbnew.B_Cu,      'B_Cu' ],
    [ pcbnew.F_SilkS,   'F_Silks' ],
    [ pcbnew.B_SilkS,   'B_Silks' ],
    [ pcbnew.F_Mask,    'F_Mask' ],
    [ pcbnew.B_Mask,    'B_Mask' ],
    [ pcbnew.F_Paste,   'F_Paste' ],
    [ pcbnew.B_Paste,   'B_Paste' ],
    [ pcbnew.Edge_Cuts, 'Edge_Cuts' ],
    [ pcbnew.In1_Cu,    'In1_Cu' ],
    [ pcbnew.In2_Cu,    'In2_Cu' ],
    [ pcbnew.In3_Cu,    'In3_Cu' ],
    [ pcbnew.In4_Cu,    'In4_Cu' ],
]

and for JLCPCB

{
    # https://support.jlcpcb.com/article/22-how-to-generate-the-gerber-files
    # https://support.jlcpcb.com/article/149-how-to-generate-gerber-and-drill-files-in-kicad
    'name': 'JLCPCB',
    'useAuxOrigin': False,
    'gerberProtelExtensions': True,
    'excellonFormat': pcbnew.EXCELLON_WRITER.DECIMAL_FORMAT,
    'drillMergeNpth': False,
    'drillMinimalHeader': False,
    'layerRenameRules': {
        pcbnew.F_Cu:      '[boardProjectName].GTL',
        pcbnew.B_Cu:      '[boardProjectName].GBL',
        pcbnew.F_SilkS:   '[boardProjectName].GTO',
        pcbnew.B_SilkS:   '[boardProjectName].GBO',
        pcbnew.F_Mask:    '[boardProjectName].GTS',
        pcbnew.B_Mask:    '[boardProjectName].GBS',
        pcbnew.F_Paste:   '[boardProjectName].GTP',
        pcbnew.B_Paste:   '[boardProjectName].GBP',
        pcbnew.Edge_Cuts: '[boardProjectName].GKO',
        pcbnew.In1_Cu:    '[boardProjectName].GL2',
        pcbnew.In2_Cu:    '[boardProjectName].GL3',
    },
    'drillExtensionRenameTo': 'TXT',
},

If one have hole mounting points or some coin battery connectors we need the paste to exclude those so that the stencil can block them.

@asukiaaa
Copy link
Owner

asukiaaa commented Oct 9, 2024

Thank you for requesting.
I'm not sure about JLCPCB but I trust you.

I updated code
4afd623
then created pull request to update this plugin.
https://gitlab.com/kicad/addons/metadata/-/merge_requests/396

You may be able to use updated version 1.0.5 after few days on KiCad7 or more.

PS.
I'm happy if you send the request by pull request from next time.

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy