conductor.houdini.scripts.chrender module

Script to render a ROP.

Currently it is designed for images, but can be extended to produce output for other ROPs

conductor.houdini.scripts.chrender.error(msg)
conductor.houdini.scripts.chrender.parse_args()

Parse args and error if any are missing or extra.

conductor.houdini.scripts.chrender.render(args)

Render the specified ROP.

If there’s anything drastically wrong with the args or the scene, exit. However, if there are only load warnings, print them and carry on. For example, the scene is likely to contain unknown assets such as the conductor job and submitter nodes, which were used to submit but are not needed to render.

The rop render method taks a range (start, end, step). However, our range args are potentially an irregular set of frames. Therefore we convert the spec into arithmetic progressions and call the render command once for each progression.

conductor.houdini.scripts.chrender.usage(msg='')
conductor.houdini.scripts.chrender.validate_args(args)

Check arg values such as range, hip and rop existence etc.

TODO: Implement these validations and remove inline checks from render method.