Kicad 5.1 插件加载指定的模型并返回指向其可视化模型数据的指针 */ /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2. 教程:3D插件类 本节包含对 PLUGIN_3D 类的两个非常简单的插件的描述,并引导用户完成代 码的设置和构建。 $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC "Kicad scenegraph library path." ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS( // 返回 null,因为此插件不提供可视化数据 // return NULL since this plugin does not provide visualization data SCENEGRAPH* Load( char const* aFileName ) { // 此伪插件不支持渲染任何模型 // this dummy plugin does not support0 码力 | 56 页 | 49.46 KB | 1 年前3
Kicad 5.1 PluginsCanRender( void ); /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2. Tutorials: 3D Plugin Class This section contains a description $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC "Kicad scenegraph library path." ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS( ) { return false; } // return NULL since this plugin does not provide visualization data SCENEGRAPH* Load( char const* aFileName ) { // this dummy plugin does not support rendering of any models0 码力 | 48 页 | 44.28 KB | 1 年前3
Kicad 4.0 PluginsCanRender( void ); /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2. Tutorials: 3D Plugin Class This section contains a description $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC "Kicad scenegraph library path." ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS( ) { return false; } // return NULL since this plugin does not provide visualization data SCENEGRAPH* Load( char const* aFileName ) { // this dummy plugin does not support rendering of any models0 码力 | 48 页 | 66.10 KB | 1 年前3
共 3 条
- 1













