-
Notifications
You must be signed in to change notification settings - Fork 35
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
PCB cutoff when past A4 page borders #119
Comments
No need to apologize. That's something wierd with Kicad or the SVG plots of Kicad. Did you try to open the generated SVG files manually with another program to check if the information exists there? I would suggest using inkscape. If the information is there, but it is not being displayed correctly in the browser, it is just a matter of optimizing the SVG before of displaying it with kiri. You can do this tweaking kiri (I guess I already have something there tweaking svgs, if you have the tools installed). Another alternative is to run kiri, without launching the server, the annually tweaking the svgs with an script and then running Kiri again without removing previous files. Ah, thinking here, another solution would be to change the page size before of plotting... from A4 to A3 for instance. This solution could work. An extra issue here is that if the content is above, on the left or on the top-left of the page, this may be a problem and it may not be presented at all considering some of my tests in the past. |
If you can share your project I can also give it a look from my side. |
I have an old project that I used to test this in the past. See: When you run kiri with This step works only when you have the |
Afraid I can't share the project, as it's client work. But here's the output I'm seeing. This is in what I believe is the latest kiri-docker
This is the
I just tried to install npm, to install svgo on the docker container. Yikes. It's a lot of files. I can't tell if your example is just short enough to not run into the problem I'm seeing, but I'll try it on a clean container tomorrow. |
Apologies. This looks like a problem with kidiff, but there is no Issue tracker at https://github.com/leoheck/KiCad-Diff.
When I try to use kiri with a PCB that is outside of the default A4 borders.,the resulting SVG files are cut off. Looks like they cut off exactly at the page border. I see no way to get around this. I've tried poking around with kidiff, but I see no way at the command line for it to ensure that it's got all the data.
Further apologies if this is a kicad plotting bug.
I also understand if this is a "won't fix". In the future my partner and I will avoid commiting PCBs that are outside the page bounderies. But would be a nice fix for one of our existing boards.
The text was updated successfully, but these errors were encountered: