Dev:Doc/Tools/Blender Tools Repo
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/check_style_c.py - style checker.
Depends on pygments Python module. - ./check_source/check_spelling.py - spell checker.
Depends on enchant Python module.
- ./config/ide - style configuration for QtCreator and Eclipse.
- ./utils/uncrustify.cfg - configuration for Uncrustify style checker.
http://uncrustify.sourceforge.net - ./utils/blender_update_themes.py - run to add new fields into existing XML themes.
- ./utils/make_cursor_gui.py - simple paint program to create pixmap cursors for wm_cursors.c
- ./utils/make_gl_stipple_from_xpm.py - 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://git.blender.org/blender-dev-tools.git source/tools
Example of running the style checker:
python3 source/tools/check_source/check_style_c.py source/blender/bmesh/intern/bmesh_polygon.c