Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.76 KB

setup_pycharm.md

File metadata and controls

50 lines (31 loc) · 1.76 KB

Setup IDE: PyCharm

Code Completion (PyCharm)

1. Download the premade module

Download the premade module from GitHub.

Use Git and clone fake-bpy-module repository.

$ git clone https://github.com/nutti/fake-bpy-module.git

or

Download .zip file from GitHub.

https://github.com/nutti/fake-bpy-module/archive/master.zip

2. Check premade module location

Check the location of premade module and remember it because we use it process 3.
The premade module is located in premade_modules. You can see each version of the premade module on there.

3. Include the module as the external library

Launch PyCharm and do all below procedures.

  1. Show Settings (Windows) or Preferences (macOS) window.
  • (Windows) Click File > Settings
  • (macOS) Click Pycharm Menu > Preferenes
  1. Select Project: > Project Interpreter.
  2. Click Gear icon on the right next to Project Interpreter:, and a popup menu is shown.
  3. Click More... on the popped up menu.
  4. In Project Interpreters window, click the bottom icon Show paths for the selected Interpreter to show Interpreter Paths window.
  5. Click + icon, and a file browser is launched.
  6. Select the path where premade module is located, and click OK.
  7. Click OK repeatedly until Settings (Windows) or Preferences (macOS) window is closed.
  8. Now, you can complete the code related to the Blender Python API.

More information