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

Castellated holes import #67

Open
ONLYA opened this issue Apr 14, 2023 · 2 comments
Open

Castellated holes import #67

ONLYA opened this issue Apr 14, 2023 · 2 comments

Comments

@ONLYA
Copy link

ONLYA commented Apr 14, 2023

I created castellated holes by putting them at the edge of the PCB. When I import the PCB by pcb.make(...), the entire holes are imported at the edge instead of semi-cut holes as shown in the KiCad's internal 3D viewer.
Screenshot_20230414_170802

Is there an already made feature that I do not know or it is still awaiting to be implemented?

@realthunder
Copy link
Owner

Could you please provide a sample file with this feature?

realthunder added a commit that referenced this issue Feb 11, 2024
@realthunder
Copy link
Owner

Just added this feature. It's experimental at the moment. You're welcome to test it. The turn it on, pass in castellated=True when load your pcb file, as shown below,

pcb = kicad.KicadFcad('/path/to/some.kicad_pcb', castellated=True)

After which any of the pcb.makeXXX() functions shall produce castellated coppers.

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