construct::opal

The OPAL tasks that read and edit a construct scene.

Group construct

Detailed description

Each task is one step that an LLM or a plan can call: query the scene, its items, definitions, materials and variable sets, or change them, bake and export them. A mutating task runs its change on the GUI thread, on the live document.

Classes

Class What it is
DefinitionAddTask OPAL task construct.definition.add: create a new SDF definition in the active document from its own GLSL
DefinitionEditorCameraTask OPAL task construct.definition_editor.camera: turn the camera of the live preview of the editor, or frame the definition again
DefinitionEditorDeleteTask OPAL task construct.definition_editor.delete: delete the definition that the editor shows, as the Delete button does
DefinitionEditorDuplicateTask OPAL task construct.definition_editor.duplicate: copy the definition that the editor shows, as the Duplicate button does
DefinitionEditorEditTask OPAL task construct.definition_editor.edit: change the record that the definition editor shows, as a control or a tab does
DefinitionEditorNewTask OPAL task construct.definition_editor.new: make a new definition from the template, as the New button does
DefinitionEditorOpenTask OPAL task construct.definition_editor.open: show the definition editor on one definition, as its Open… button does
DefinitionEditorRevertTask OPAL task construct.definition_editor.revert: give up the unsaved changes of the definition editor
DefinitionEditorSaveTask OPAL task construct.definition_editor.save: save the record that the definition editor shows to where the definition lives
DefinitionEditorStateTask OPAL task construct.definition_editor.state: read what the definition editor shows
DefinitionGetTask Return one definition in full, its GLSL source included
DefinitionPublishTask OPAL task construct.definition.publish: copy one of the definitions of this document to the user library
DefinitionUpdateTask OPAL task construct.definition.update: replace one of the document's own SDF definitions
DefinitionValidateTask Validate one definition record and return each finding with its editor tab and line
SceneListDefinitionsTask OPAL task construct.scene.list_definitions: list the SDF definitions a document can use
In this section