Dev:Doc/Tools/Blender Tools Repo

提供: wiki
< Dev:Doc‎ | Tools
移動先: 案内検索

Blender Tools

For developer tools we have a separate Git Repository.

This is to be used to keep tools which are not needed for building Blender but developers may find useful.

  • Utility scripts for running checks on code for style, spelling.
  • Utility scripts for code-base analysis, creating credits for eg.
  • Configurations for 3rd party applications, IDE's.
  • Any tools we develop specifically for working with Blender.

Repository Overview

  • ./check_source/ - style checker.
    Depends on pygments Python module.
  • ./check_source/ - spell checker.
    Depends on enchant Python module.
  • ./config/ide - style configuration for QtCreator and Eclipse.
  • ./utils/uncrustify.cfg - configuration for Uncrustify style checker.
  • ./utils/ - run to add new fields into existing XML themes.
  • ./utils/ - simple paint program to create pixmap cursors for wm_cursors.c
  • ./utils/ - Converter from 32x32 XPM images to a GL-Stipple array, typically for glutil.c

Setting Up the Repo

Using the git command line run:

git clone git:// source/tools

Example of running the style checker:

python3 source/tools/check_source/ source/blender/bmesh/intern/bmesh_polygon.c