Highlighter:Blender 渲染与灯光插件

下载来源:Blender Extensions。
Blender 官方扩展库收录Blender 插件

资源介绍

Syntax highlighting for text objects

Compatibility: Blender 4.2.0+

官方介绍(中文整理)

文本对象的语法突出显示。

使用方法

在文本编辑器中,转到编辑菜单 > text 到 3D 对象 > 语法高度。选择您想要的样式。添加时试图自动检测语法,但如果它失败了,则选择正确的。确认,文本将出现在视图端口中!

文本对象创建后,您可以通过在 F3 菜单中或编辑模式中搜索语法高亮对象,或者在编辑模式中,文本菜单 > 应用语法插件,再次突出显示它。

首首首选项

相对于为每个对象选择字体,您可以在添加对象的首选项中设置默认字体。

致谢

高亮点几乎完全依赖 Pygments 库来进行语法突出显示。 感谢您的惊人的 lib!

查看官方原文摘要(English)

Usage

In the text editor, go to the Edit menu > Text to 3D Object > Syntax-Highlighted. Select the style you want. The add-on tries to detect the syntax automatically, but if it fails, select the proper one. Confirm, and the text will appear in the viewport!

Once a text object is created, you can highlight it again by searching for Syntax Highlight Object in the F3 menu, or in Edit mode, Text menu > Apply Syntax Highlighting.

Preferences

Instead of selecting fonts for each object, you can set default ones in the preferences of the add-on.

Acknowledgement

Highlighter relies almost entirely on the Pygments library to do the syntax highlighting. Thanks for that amazing lib!

查看官方完整介绍 ↗

安装方法

  1. 打开 Blender「编辑 → 偏好设置 → 获取扩展(Get Extensions)」,搜索 Highlighter,可直接从官方库安装。
  2. 手动安装时,选择适合当前 Blender 版本与系统的 ZIP 包,在「获取扩展」右上角菜单选择「从磁盘安装(Install from Disk)」,选中 ZIP 文件,无需解压。
  3. 安装后,在偏好设置的「插件(Add-ons)」中确认已启用,并按作者说明使用。

Blender 官方安装说明 ↗

下载安装包

请选择与你的 Blender 版本和操作系统相符的文件,下载由 Blender 官方扩展库提供。

正在加载安装包…

前往官方页面 ↗
来源与许可
© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容