Krita 5.2 Manual
create a folder, and a desktop file. The desktop file should look as follows: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual X-Krita-Manual=myPluginManual.html Name=My Own Plugin Comment=Our very own plugin. Type This should always be service. ServiceTypes This should always be Krita/PythonPlugin for python plugins. X-KDE-Library This put this code: from .myplugin import * in the desktop file put this code: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=My Own Plugin0 码力 | 1502 页 | 79.07 MB | 1 年前3Krita 5.2 브로셔
create a folder, and a desktop file. The desktop file should look as follows: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual X-Krita-Manual=myPluginManual.html Name=My Own Plugin Comment=Our very own plugin. Type This should always be service. ServiceTypes This should always be Krita/PythonPlugin for python plugins. X-KDE-Library This put this code: from .myplugin import * in the desktop file put this code: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=My Own Plugin0 码力 | 1531 页 | 79.11 MB | 1 年前3Krita 4.x 官方文档中文版 2021-08-06A
⽂件识别插件,该⽂件包含了脚本的基本信 息。 所以,你要为每个插件创建⼀个⽂件夹和⼀个 desktop ⽂件。 该 desktop ⽂件的内容格式如下: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual X-Krita-Manual=myPluginManual.html Name=My Own Plugin Comment=Our very own plugin. Type 此项应总是设为 Service (服务)。 ServiceTypes 对于 Krita 的 Python 插件,此项应总是被设为 Krita/PythonPlugin。 X-KDE-Library 此项指定该插件的⽂件夹名称。 X-Python-2-Compatible 的⽂件 在 __init__.py ⽂件⾥放置这⾏代码: from .myplugin import * 在 desktop ⽂件⾥放置这段代码: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=My Own Plugin0 码力 | 1594 页 | 110.95 MB | 1 年前3Krita 4.x 官方文档中文版 2021-08-06A
文件识别插件,该文件包含了脚本的基本信息。 所以,你要为每个插件创建一个文件夹和一个 desktop 文件。 该 desktop 文件的内容格式如下: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual X-Krita-Manual=myPluginManual.html Name=My Own Plugin Comment=Our very own plugin. Type 此项应总是设为 Service (服务)。 ServiceTypes 对于 Krita 的 Python 插件,此项应总是被设为 Krita/PythonPlugin。 X-KDE-Library 此项指定该插件的文件夹名称。 X-Python-2-Compatible 的文件 在 __init__.py 文件里放置这行代码: from .myplugin import * 在 desktop 文件里放置这段代码: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=My Own Plugin0 码力 | 1373 页 | 74.74 MB | 1 年前3Krita 5.2 中文手册
扩展名的文件识别插件,该文件包含了脚本的基本信 息。 所以,你要为每个插件创建一个文件夹和一个 desktop 文件。 该 desktop 文件的内容格式如下: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual X-Krita-Manual=myPluginManual.html Name=My Own Plugin Comment=Our very own plugin. Type 此项应总是设为 Service (服务)。 ServiceTypes 对于 Krita 的 Python 插件,此项必须设为 Krita/PythonPlugin 。 X-KDE-Library 此项指定该插件的文件夹名称。 X-Python-2-Compatible 的文件 在 __init__.py 文件里加入这行代码: from .myplugin import * 在 desktop 文件里放置这段代码: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=My Own Plugin0 码力 | 1594 页 | 79.20 MB | 1 年前3Krita 5.2 官方文档中文版 2023-12-08A
扩展名的文件识别插件,该文件包含了脚本 的基本信息。 所以,你要为每个插件创建一个文件夹和一个 desktop 文件。 该 desktop 文件的内容格式如下: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual X-Krita-Manual=myPluginManual.html Name=My Own Plugin Comment=Our very own plugin. Type 此项应总是设为 Service (服务)。 ServiceTypes 对于 Krita 的 Python 插件,此项必须设为 Krita/PythonPlugin 。 X-KDE-Library 此项指定该插件的文件夹名称。 X-Python-2-Compatible 的文件 在 _�init_�.py 文件里加入这行代码: from .myplugin import * 在 desktop 文件里放置这段代码: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=My Own Plugin0 码力 | 1685 页 | 91.87 MB | 1 年前3Krita 5.2 官方文档中文版 2023-12-08A
扩展名的文件识别插件,该文件包含了脚本的基本信 息。 所以,你要为每个插件创建一个文件夹和一个 desktop 文件。 该 desktop 文件的内容格式如下: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual X-Krita-Manual=myPluginManual.html Name=My Own Plugin Comment=Our very own plugin. Type 此项应总是设为 Service (服务)。 ServiceTypes 对于 Krita 的 Python 插件,此项必须设为 Krita/PythonPlugin 。 X-KDE-Library 此项指定该插件的文件夹名称。 X-Python-2-Compatible 的文件 在 __init__.py 文件里加入这行代码: from .myplugin import * 在 desktop 文件里放置这段代码: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=My Own Plugin0 码力 | 1562 页 | 79.19 MB | 1 年前3Krita 5.1 官方文档中文版 2023-05-26A
扩展名的文件识别插件,该文件包含了脚本的基本信 息。 所以,你要为每个插件创建一个文件夹和一个 desktop 文件。 该 desktop 文件的内容格式如下: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual X-Krita-Manual=myPluginManual.html Name=My Own Plugin Comment=Our very own plugin. Type 此项应总是设为 Service (服务)。 ServiceTypes 对于 Krita 的 Python 插件,此项必须设为 Krita/PythonPlugin 。 X-KDE-Library 此项指定该插件的文件夹名称。 X-Python-2-Compatible 的文件 在 __init__.py 文件里加入这行代码: from .myplugin import * 在 desktop 文件里放置这段代码: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=My Own Plugin0 码力 | 1547 页 | 78.22 MB | 1 年前3Krita 5.2 マニュアル
Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false X-Krita-Manual=myPluginManual.html Name=私のプラグイン Comment=私の初めてのプラグイン。 Type これは常に Service となっているはずです。 __init__.py ファイルに以下のコードを含める: from .myplugin import * desktop ファイルに以下のコードを含める: [Desktop Entry] Type=Service ServiceTypes=Krita/PythonPlugin X-KDE-Library=myplugin X-Python-2-Compatible=false Name=私のプラグイン チュートリアルが変形マスクの使い方の良いヒントになれば幸いですし、 他の使い方も見ていけることを願っています! 色々試したい場合は私が作ったファイルを ここ [https://share.kde.org/public.php? service=files&t=48c601aaf17271d7ca516c44cbe8590e] から手に入れることがで きます!(注意: Krita のバージョンが 2.9.4 を下回っているとフリーズしま0 码力 | 1591 页 | 79.16 MB | 1 年前3
共 9 条
- 1