blender — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- actions »

# blender

class `actions.blender.` `Action`(**options)

  Bases: `core.models.Action`

  3D Objects

  `apply`(photo, setting, cache)
  `construct_command`(values)
  `get_relevant_field_labels`()

    If this method is present, Phatch will only show relevant options.

    Returns: | list of the field labels which are relevant
    Return type: | list of strings

    Note

    It is very important that the list of labels has EXACTLY the same order as defined in the interface method.

  `init`()
  `interface`(fields)

class `actions.blender.` `Background`
  `get_relevant`(action)
  `interface`(action, fields)
  `set_args`(action, values)

class `actions.blender.` `BlenderObject`

  Bases: `object`

  `get_command`(values)
  `get_name`()
  `get_relevant`(action)
  `interface`(action, fields)
  `name`
  `set_args`(action, values)

class `actions.blender.` `BlenderObjects`

  Bases: `list`

  `get_selected_object`(action)
  `interface`(action, fields)

class `actions.blender.` `Book`

  Bases: `actions.blender.BlenderObject`

  `get_relevant`(action)
  `interface`(action, fields)
  `set_args`(action, values)

class `actions.blender.` `Box`

  Bases: `actions.blender.BlenderObject`

  `get_relevant`(action)
  `interface`(action, fields)

class `actions.blender.` `Camera`
  `get_relevant`(action)
  `interface`(action, fields)
  `set_args`(action, values)

class `actions.blender.` `Can`
  Bases: `actions.blender.BlenderObject`

class `actions.blender.` `Cd`

  Bases: `actions.blender.BlenderObject`

  `get_relevant`(action)
  `interface`(action, fields)

class `actions.blender.` `Floor`
  `get_relevant`(action)
  `interface`(action, fields)

class `actions.blender.` `Lcd`
  Bases: `actions.blender.BlenderObject`

class `actions.blender.` `Sphere`
  Bases: `actions.blender.BlenderObject`

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- actions »