如果我输入此命令:
$ curl https://api.github.com/users/KiCad/repos | grep full_name
Run Code Online (Sandbox Code Playgroud)
我希望它将返回所有KiCad存储库,但它返回:
"full_name": "KiCad/Air_Coils_SML_NEOSID.pretty",
"full_name": "KiCad/Buzzers_Beepers.pretty",
"full_name": "KiCad/Capacitors_Elko_ThroughHole.pretty",
"full_name": "KiCad/Capacitors_SMD.pretty",
"full_name": "KiCad/Capacitors_Tantalum_SMD.pretty",
"full_name": "KiCad/Capacitors_ThroughHole.pretty",
"full_name": "KiCad/Choke_Axial_ThroughHole.pretty",
"full_name": "KiCad/Choke_Common-Mode_Wurth.pretty",
"full_name": "KiCad/Choke_Radial_ThroughHole.pretty",
"full_name": "KiCad/Choke_SMD.pretty",
"full_name": "KiCad/Choke_Toroid_ThroughHole.pretty",
"full_name": "KiCad/Connect.pretty",
"full_name": "KiCad/Connectors_Molex.pretty",
"full_name": "KiCad/Converters_DCDC_ACDC.pretty",
"full_name": "KiCad/Crystals.pretty",
"full_name": "KiCad/Crystals_Oscillators_SMD.pretty",
"full_name": "KiCad/Diodes_SMD.pretty",
"full_name": "KiCad/Diodes_ThroughHole.pretty",
"full_name": "KiCad/Discret.pretty",
"full_name": "KiCad/Display.pretty",
"full_name": "KiCad/Displays_7-Segment.pretty",
"full_name": "KiCad/Divers.pretty",
"full_name": "KiCad/EuroBoard_Outline.pretty",
"full_name": "KiCad/Fiducials.pretty",
"full_name": "KiCad/Filters_HF_Coils_NEOSID.pretty",
"full_name": "KiCad/Fuse_Holders_and_Fuses.pretty",
"full_name": "KiCad/Hall-Effect_Transducers_LEM.pretty",
"full_name": "KiCad/Heatsinks.pretty",
"full_name": "KiCad/Housings_DFN_QFN.pretty",
"full_name": "KiCad/Housings_QFP.pretty",
Run Code Online (Sandbox Code Playgroud)
如果你看一下https://github.com/KiCad,你会看到有更多的存储库.
有谁遇到过这个问题?你是如何解决的?
我知道之前已经回答过类似的问题:
......但是,由于他们没有直接回答我的具体问题,我会再试一次.
我想知道,我如何覆盖两个postscript文件:一个 - 一个徽标:
...在另一个之上 - 图形背景:
....在Linux中使用命令行方法.
在此重要的是,图形背景最大程度地保留其原始内容.因此,如果我能以某种方式连接两个原始的postscript文件内容(见下文),我可能会感到最开心 - 但除此之外,我想知道命令行工具如何ghostscript
用于此目的.
这是更详细的问题 - 我想在PCB板印刷的顶部添加徽标.我kicad
用来开发PCB打印; 完成后,我导出一个带有各个图层的postscript文档.通常,我希望前面的铜层"镜像"; 我经常尝试将.ps输出加载到,比方说,inkscape
然后尝试在那里进行镜像.使用inkscape
也很方便,因为可以在那里轻松添加徽标(然后将打印和徽标一起镜像).
然而,使用inkscape
处理postscript输出是一个昂贵的操作(因为它需要一段时间inkscape
来加载,并进行镜像和保存)...虽然,这里的主要显示停止是:处理后,一些维度可能会在输出文件中略微改变inkscape
(当目标是打印小于1毫米宽的轨道时,它会产生很大的不同).
因此,假设kicad
s"Plot"命令有一个镜像选项 - 当然,对于我来说,直接从kicad
s"Plot"命令"镜像"图层打印要好得多; 输出再次是postscript文件.tmp-Front.ps
是这样一个(镜像的)postscript文件的示例.请注意,通常情况下,"铜"部分填充黑色 - 我基本上喜欢在它上面有一个白色徽标.
现在,因为这个打印已经"镜像" - 如果我想在它上面添加一个徽标,我最好还要镜像徽标.所以我开火了inkscape
; 和:
我刚刚开始学习通过 python 脚本在 Kicad 中自定义我的足迹。我被困在 \xe2\x80\x9cimport pcbnew\xe2\x80\x9d 上,因为它一直给我错误 \xe2\x80\x9cno module name pcbnew\xe2\x80\x9d 。我检查了 Kicad 文件夹,找到了脚本足迹向导的所有 py 示例,但是 \xe2\x80\x99s 没有名为 \xe2\x80\x9cpcbnew.py\xe2\x80\x9d.\nI\xe2\x80\x99m 的文件想知道它是否 \xe2\x80\x99s 因为我 \xe2\x80\x99m 使用 python3.5 而不是 python2.7 以及如何解决这个问题。我应该从 Kicad Github 之类的地方下载 pcbnew 脚本吗(我搜索了很多,但没有\xe2\x80\x99t 找到任何真正有用的解决方案\xe2\x80\xa6)?或者我应该重新安装 Kicad 或 python?我的 Kicad 版本是 5.0。\n非常感谢!
\n我希望为以下组件做足迹: AG EMCO HV电源
现在,这个组件可以通过电路板安装,虽然它不是一个非常高的组件,但我希望探索这个选项.我想一个侧面的问题是:PCB制造商有多少享受这个功能?
有人会知道如何制作一个足迹,指明通过所有层切割出板的形状吗?我对Kicad和PCB设计一般不太熟悉,所以这可能是显而易见的.我感谢任何可能引导我前进的信息.
kicad ×4
command-line ×1
curl ×1
footprint ×1
get ×1
github-api ×1
linux ×1
postscript ×1
python ×1
python-2.7 ×1
python-3.x ×1
repository ×1