Skip to content

A simple Cinema 4D plugin that generates can stacks from an input object

License

Notifications You must be signed in to change notification settings

fwilleke80/CanStack

Repository files navigation

CanStack

A simple plugin that generates can stacks from an input object.

Clones of an input object are stacked pyramid-syle, like food cans.

This plugin demonstrates the following C4D API aspects:

  • Generator object plugins with input, derived from class ObjectData
  • Cloning objects as 'real' clones or render instances
  • Generator caching with CompareDependenceList(), DIRTYFLAGS and recursive dirty checks
  • Adjusting container values with MSG_DESCRIPTION_VALIDATE
  • Using command buttons in the attribute manager with MSG_DESCRIPTION_COMMAND
  • Using BaseArrays and Iterators
  • Vector and matrix math in general