Kicad 4.0 Plugins
aPluginInfo ); In typical situations, the user would do the following: 1. Create an instance of KICAD_PLUGIN_LDR_3D 2. Invoke Open( "/path/to/myplugin.so" ) to open a specific plugin; the return value must any of the 3D Plugin Class calls as exposed by KICAD_PLUGIN_LDR_3D 4. Invoke Close() to close (unlink) the plugin 5. Destroy the KICAD_PLUGIN_LDR_3D instance 3.2. Scenegraph Class APIs The Scenegraph0 码力 | 48 页 | 66.10 KB | 1 年前3Kicad 4.0 Plugins
aPluginInfo ); In typical situations, the user would do the following: 1. Create an instance of KICAD_PLUGIN_LDR_3D 2. Invoke Open( ”/path/to/myplugin.so” ) to open a specific plugin; the return value must Invoke any of the 3D Plugin Class calls as exposed by KICAD_PLUGIN_LDR_3D 4. Invoke Close() to close (unlink) the plugin 5. Destroy the KICAD_PLUGIN_LDR_3D instance 3.2 Scenegraph Class APIs The Scenegraph0 码力 | 36 页 | 210.85 KB | 1 年前3Kicad 5.1 插件
aPluginInfo ); 在典型情况下,用户将执行以下操作: 1. 创建 ‘KICAD_PLUGIN_LDR_3D’ 的实例。 2. 调用 ‘Open(“/path/to/myplugin.so”)’ 来打开一个特定的插件。 必须检查返回 值以确保根据需要加载插件。 3. 调用由 ‘KICAD_PLUGIN_LDR_3D’ 公开的任何 3D 插件类调用。 4. 调用 ‘Close()’来关闭(取消链接)插件。 ‘Close()’来关闭(取消链接)插件。 5. 销毁 ‘KICAD_PLUGIN_LDR_3D’ 实例。 3.2. 场景图类 API Scenegraph 类 API 由标题 ‘ifsg_all.h’ 及其包含的标题定义。 API 由许多辅助例 程组成,命名空间为 ‘S3D’,在 ‘ifsg_api.h’ 中定义,包装类由各种 ‘ifsg_*.h’ 标 题定义; 包装器支持底层的场景图类,它们一起形成一个与 VRML20 码力 | 56 页 | 49.46 KB | 1 年前3Kicad 5.1 插件
1. 创建‘KICAD_PLUGIN_LDR_3D’的实例。 2. 调用‘Open(“/path/to/myplugin.so”)’来打开一个特定的插件。必须检查返回值以确保根据需要加载插件。 3. 调用由‘KICAD_PLUGIN_LDR_3D’公开的任何 3D 插件类调用。 4. 调用‘Close()’来关闭(取消链接)插件。 5. 销毁‘KICAD_PLUGIN_LDR_3D’实例。0 码力 | 45 页 | 612.98 KB | 1 年前3Kicad 5.1 Plugins
by KICAD_PLUGIN_LDR_3D. 4. Invoke Close() to close (unlink) the plugin. 5. Destroy the KICAD_PLUGIN_LDR_3D instance. 3.2. Scenegraph Class APIs The Scenegraph Class API is defined by the header ifsg_all0 码力 | 48 页 | 44.28 KB | 1 年前3Kicad 5.1 Plugins
exposed by KICAD_PLUGIN_LDR_3D. 4. Invoke Close() to close (unlink) the plugin. 5. Destroy the KICAD_PLUGIN_LDR_3D instance. Kicad Plugins 21 / 33 3.2 Scenegraph Class APIs The Scenegraph Class API is defined0 码力 | 36 页 | 204.70 KB | 1 年前3
共 6 条
- 1