Here you will learn about how to effectively use the internal script editor in blender to write and run python scripts, as well as the settings and modes it has available. Patrick will also go over how to use an external script editor of your choice with ease, so that you can have the most comfortable coding experience possible.
- [Narrator] As you start to script with Blender…more and more, you may find it convenient…to work on an external script editor…instead of Blender's internal one.…I'm gonna go over the couple of ways…you can use this without any headaches.…Firstly, let's turn the 3D view…into a Text Editor window.…And then, let's open up one of the templates…we were previously looking at, the Ui Menu Simple,…and enable our developer options.…I'm then gonna increase the text size a little bit more.…As you recall, this is the code to create…a simple custom menu that pops up after we press Run Script.…
Let's say after we've developed it somewhat in Blender,…we wanna save it and work on it further in an external file.…Note that at the moment, it is a internal text file.…Note it to the right of the registered text box.…If we go to the text menu and then save it as a text file.…So it's setting out this file.…You'd then note that it now says,…instead of text internal, it gives you the location…of the actual file on your hard drive.…
AuthorPatrick W. Crawford
- Controlling Blender with code
- Exploring the bpy library
- Creating Blender operators and properties
- Writing scripts
- Auto running scripts
- Drawing interface elements such as panels and menus
- Building a custom add-on
Skill Level Intermediate
1. Controlling Blender through Code
2. Create Blender Scripts
3. Customize Blender Interfaces
4. Build Your Own Add-On
Next steps1m 15s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.