Kicad 5.1 插件
所需的时间,在插件开发 期间删除构建 KiCad 的要求极大地提高了工作效率。 插件最初是为 3D 模型查看器开发的,因此可以支持更多类型的 3D 模型,而 无需对支持的每种新模型类型的 KiCad 源进行重大更改。 插件框架后来被推 广,以便将来开发人员可以创建不同类型的插件。 目前,只有 3D 插件在 KiCad 中实现,但可以想象最终将开发 PCB 插件,以使用户能够实现数据导 入器和导出器。 插件分为插件类,因为每个插件都解决了特定域中的问题,因此需要该域独有 的接口。 例如,3D 模型插件从文件加载 3D 模型数据并将该数据转换为可由 3D 查看器显示的格式。 PCB 导入/导出插件将获取 PCB 数据并导出为其他电 气或机械数据格式,或将外部格式转换为 KiCad PCB。 目前只开发了 3D 插件 类,它将成为本文档的重点。 实现插件类需要在 KiCad 源代码树中创建代码来管理插件代码的加载。在 ‘plugins/ldr/3d/pluginldr3D.h’ 声明了 3D 插件类的加载器。加载器负 责加载给定的插件并使其功能可用于 KiCad。插件加载器的每个实例代表一个 实际的插件实现,并充当 KiCad 和插件功能之间的透明桥梁。加载器不是 KiCad 中支持插件所需的唯一代码:我们还需要代码来发现插件和代码,以通 过插件加载器调用插件的功能。在 3D 插件的情况下,发现和调用功能都包含 在 S3D_CACHE0 码力 | 56 页 | 49.46 KB | 1 年前3Kicad 4.0 Plugins
2 1.1.1 Plugin Class: PLUGIN_3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Tutorials: 3D Plugin Class 4 2.1 Tutorial: 3D Plugin, Demo 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2 Tutorial: 3D Plugin, Demo 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.1.2 API: 3D Plugin Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 36 页 | 210.85 KB | 1 年前3Kicad 5.1 Plugins
. . . 2 1.1.1 Plugin Class: PLUGIN_3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Tutorials: 3D Plugin Class 4 2.1 Basic 3D Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2 Advanced 3D Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3 Application Plugin Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.1.2 API: 3D Plugin Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 30 码力 | 36 页 | 204.70 KB | 1 年前3Kicad 5.1 Plugins
each build and test cycle. Plugins were initially developed for the 3D model viewer to make it possible to support more types of 3D models without requiring major changes to the KiCad source for each new generalized so that in the future developers can create different classes of plugins. Currently only 3D plugins are implemented within KiCad but it is envisioned that a PCB plugin will eventually be developed interface unique to that domain. For example, the 3D model plugins load 3D model data from files and translate that data into a format which can be displayed by the 3D viewer. A PCB Import/Export plugin would take0 码力 | 48 页 | 44.28 KB | 1 年前3Kicad 4.0 Plugins
each build and test cycle. Plugins were initially developed for the 3D model viewer to make it possible to support more types of 3D models without requiring major changes to the KiCad source for each new generalized so that in the future developers can create different classes of plugins. Currently only 3D plugins are implemented within KiCad but it is envisioned that a PCB plugin will eventually be developed interface unique to that domain. For example, the 3D model plugins load 3D model data from files and translate that data into a format which can be displayed by the 3D viewer while a PCB Import/Export plugin would0 码力 | 48 页 | 66.10 KB | 1 年前3Kicad 5.1 插件
. . . . . . . . . . . 2 1.1.1 插件类:PLUGIN_3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 教程:3D 插件类 4 2.1 基本的 3D 插件 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 高级 3D 插件 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3 应用程序编程接口(API) 21 3.1 Kicad 插件类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.1.2 API:3D 插件类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.20 码力 | 45 页 | 612.98 KB | 1 年前3KiCad PCB Editor 6.0
tools Importing graphics Inspecting a board Measurement tool Design rule checking Find tool 3D Viewer Net inspector Generating outputs 2 2 3 3 4 5 5 5 7 8 8 8 10 10 10 10 12 12 Custom design rules Scripting Working With IDF Component Outlines Actions reference PCB Editor 3D Viewer Common 52 55 56 57 58 59 61 61 63 64 64 69 81 82 92 92 102 104 1 Reference left at their default values, but note that the board thickness value will be used when exporting a 3D model of the board. If you plan to use this feature, it is a good idea to ensure that the stackup thickness0 码力 | 110 页 | 3.61 MB | 1 年前3KiCad 8.0 PCB Editor
. . . . . . . Measurement tool Design rule checking Board Statistics Find tool Search panel 3D ビューア Net inspector Generating outputs Fabrication outputs and plotting Drill files IPC-2581 files variables Custom design rules Scripting IDF component outlines Actions reference PCB Editor 3D ビューア Common 83 83 87 88 89 90 92 95 95 98 100 101 102 102 104 110 110 112 139 141 and silkscreen layers can have colors assigned to them, which affects the board’s appearance in the 3D viewer. To configure the board stackup, start on the Physical Stackup section: Set the number of copper0 码力 | 204 页 | 6.90 MB | 1 年前3KiCad 8.0 PCB Editor
. . . . . . . Measurement tool Design rule checking Board Statistics Find tool Search panel 3D Viewer Net inspector Generating outputs Fabrication outputs and plotting Drill files IPC-2581 files variables Custom design rules Scripting IDF component outlines Actions reference PCB Editor 3D Viewer Common 83 83 87 88 89 90 92 95 95 98 100 101 102 102 104 110 110 112 139 and silkscreen layers can have colors assigned to them, which affects the board’s appearance in the 3D viewer. To configure the board stackup, start on the Physical Stackup section: Set the number of copper0 码力 | 205 页 | 6.78 MB | 1 年前3KiCad PCB Editor 7.0
Importing graphics Inspecting a board Measurement tool Design rule checking Find tool Search panel 3D Viewer Net inspector Generating outputs 2 2 3 3 4 5 5 5 7 8 8 8 10 10 10 10 11 11 Custom design rules Scripting Working With IDF Component Outlines Actions reference PCB Editor 3D Viewer Common 64 67 68 69 70 71 73 73 75 76 76 81 82 98 100 109 109 120 122 1 and silkscreen layers can have colors assigned to them, which affects the board’s appearance in the 3D viewer. 12 To configure the board stackup, start on the Physical Stackup section: Set the number0 码力 | 129 页 | 7.75 MB | 1 年前3
共 114 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12