Code Monkey home page Code Monkey logo

blender-api's Introduction

Blender API

WEB

Interesting methods from the Blender API I figured to make a note of.

Context Access (bpy.context)

  • area - viewport dimensions and the view mode
  • blend_data - parsed Blend file
  • collection - all objects in the scene?
  • engine - engine ID like CYCLES and BLENDER_EEVEE?
  • gizmo_group - gizmos are the rotating things in the viewport, no?
  • layer_collection - this I think replaces the former 20 hardcoded layers
  • mode - viewport mode
  • preferences - access to user settings
  • region - how does this differ from area?
  • region_data - ?
  • scene
  • screen - editor settings?
  • space_data - how is this different from screen, region and area?
  • tool_settings - various thresholds and values for tools
  • view_layer - calling update on it recalculates texts
  • window - allows moving and setting the cursor and faking keyboard input
  • window_manager - access open windows
  • workspace - setting status text

Data Access (bpy.data)

  • data - how does it differ from bpy.context.blend_data?

Operators (bpy.ops)

UI

  • copy_python_command_button - get python command name from button

Utilities (bpy.utils)

  • blend_paths - gets paths to referenced but unpacked files
  • execfile

Font Drawing (blf)

Could be used for the light box.

To-Do

Capture the subcontexts of the context access section

Demo select API methods practically in auxiliary repos

Go through all the types in the Types section and learn what they do

Scrape the API docs automatically and cross-reference with my content

All API bits would have their own readme section automatically generated and I would just fill in bits to the sections I played around with and found something I wanted to capture.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.