Blender · Example Payload

Blender Bpy Operator Example

3DAnimationGame DevelopmentModelingOpen SourcePythonRenderingVFX

Blender Bpy Operator Example is an example object payload from Blender, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

bl_idnamebl_labelbl_descriptionbl_optionspollproperties

Example Payload

blender-bpy-operator-example.json Raw ↑
{
  "bl_idname": "object.transform_apply",
  "bl_label": "Apply Transform",
  "bl_description": "Apply the object's transformation to its data",
  "bl_options": ["REGISTER", "UNDO"],
  "poll": "context.selected_objects",
  "properties": [
    {
      "name": "location",
      "type": "BoolProperty",
      "default": false,
      "description": "Apply location transform"
    },
    {
      "name": "rotation",
      "type": "BoolProperty",
      "default": false,
      "description": "Apply rotation transform"
    },
    {
      "name": "scale",
      "type": "BoolProperty",
      "default": false,
      "description": "Apply scale transform"
    }
  ]
}