base_cache_handler¶
Base Hook for other Houdini cache output node handlers.
These include:
alembic_handlergeometry_handler
This hook is designed to inherit from base_export_handler hook.
Module Contents¶
Classes¶
Base class for any cache export nodes. |
-
class
BaseCacheNodeHandler[source]¶ Bases:
HookBaseClassBase class for any cache export nodes.
-
_build_single_file_parm(self, default)[source]¶ Build a template for the single file parm.
- Parameters
default (bool) – The default check state of the parm.
- Returns
A
hou.ToggleParmTemplateinstance.
-
_get_template_for_file_path(self, node, file_path)[source]¶ Get the template for the given file path. For the most part, this will liekly be the work_template.
- Parameters
node – A
hou.Nodeinstance.file_path (str) – The file path the check against.
- Return type
-
_is_single_frame(self, node)[source]¶ Check if the output is a single file or a sequence.
- Parameters
node – A
hou.Nodeinstance.- Return type
-
_populate_from_fields(self, node, fields)[source]¶ Populate the node from template fields.
- Parameters
node – A
hou.Nodeinstance.fields (dict) – The template fields.
-
get_publish_template(self, node)[source]¶ Get the shotgun publish template for this node handler. Sequence paths require a different template.
- Parameters
node – A
hou.Nodeinstance.- Return type
An
sgtk.Templateinstance.
-
get_work_template(self, node)[source]¶ Get the shotgun work template for this node handler. Sequence paths require a different template.
- Parameters
node – A
hou.Nodeinstance.- Return type
An
sgtk.Templateinstance.
-