Editor Testi¶
Blender ha un Editor Testi fra i suoi tipi di editor, accessibile dal menù Tipo Editor o con la scorciatoia da tastiera Shift-F11.
Intestazione¶
The newly opened Text editor is empty, with a very simple header. More options become available when a text file is created or opened.
- Tipo Editor
- The standard editor selection button.
- Menus
- Editors Menus.
- Testo
- A data-block menu to select a text or to create a new one. After that the header will change.
- Mostra
- The following three buttons toggle display options: line numbers, word-wrap text and syntax highlighting.
- Run Script / Script Node Update
- Executes the text as a Python script Alt-P. See Script and Templates.
- Registra
- Registers the current text data-block as a module on loading (the text name must end with
.py
). Read more about the registration of Python modules in API documentation.
Script e Modelli¶
The most notable keystroke is Alt-P which makes the content of the buffer being parsed by the internal Python interpreter built into Blender. Before going on it is worth noticing that Blender comes with a fully functional Python interpreter built-in, and with a lots of Blender-specific modules, as described in the Scripting & Extending Blender section.
The Text Editor has now also some dedicated Python scripts, which add some useful writing tools, like a class/function/variable browser, completion… You can access them through the Template menu in the header.
Vista Principale¶
Typing on the keyboard produces text in the text buffer. As usual, pressing, dragging and releasing LMB selects text.
Suggerimento
Utilizzi dell’Editor Testi
L’editor Testi è comodo anche quando vuoi condividere i tuoi file blend con gli atri. L’Editor testi può essere usato per redigere un testo LEGGIMI
che spiega il contenuto del tuo file. A tal fine assicurati che l’editor sia visibile quando salvi!