Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 17.2 KB

File metadata and controls

26 lines (25 loc) · 17.2 KB

Command Line Utility Reference

Command Name Description Arguments
action Execute the specified action with optional settings as a series of key=value pairs separated by commas
View 2 Arguments
Arg NameDescriptionTypeOptional
action_classClass name of the action to executestrNo
-s, --settingsSettings for the action as a series of key=value pairs separated by commasstrYes
apply-pose Apply the given named posed as pose file to the currently selected node or specified node
View 2 Arguments
Arg NameDescriptionTypeOptional
pose_fileAbsolute path to the pose file to be appliedstrNo
-t, --target-nodeLabel of the node to apply the pose to. If not specified, apply to the currently selected node.strYes
batch-render Given a pattern of scene files, load each one and render it to the target location (default is studio-iray) with the given output file pattern
View 13 Arguments
Arg NameDescriptionTypeOptional
-s, --scene-filesPattern of scene files to load, including glob support. See README for examplesstrYes
-o, --output-pathPath to directory where output files are to be written. If not specified, use the location of the scene file.strYes
-t, --targetTarget of the render. Allowed values are local-to-file, local-to-window, or iray-server-bridgestrYes
-r, --resolutionResolution to render, overriding the resolution of the scene file, in WxH format (e.g. 1920x1080)strYes
-c, --camerasCameras to render for. Can be one of 'all_visible', 'viewport', or a pattern that maps to one or more visible camerasstrYes
-j, --job-name-patternPattern to use for naming job names or render output files. In the pattern, %s refers to the scene name, %c the camera name, %f the frame number, and %r the render countstrYes
-f, --framesFrames to render. Comma-separated list of frames that can include ranges and range patterns. See README for full detail and example.strYes
--iray-serverFor target iray-server the IP address or hostname of the iRay server/master to use.strYes
--iray-protocolSets the http protocol to use. Allowed values are http or https.strYes
--iray-portFor target iray-server the TCP port of the iRay server/master.strYes
--iray-userFor target iray-server the username to connect to the iRay server/master. Must be specified here or in config file specified by --iray-config-filestrYes
--iray-passwordFor target iray-server the password to connect to the iRay server/master. Must be specified here or in config file specified by --iray-config-filestrYes
--iray-config-fileFor target iray-server the configuration options file to use for iRay server/master configuration. Values in this file can be overridden by additional command line argumentsstrYes
copy-camera Copy the specified camera (by label) to the specified target camera, or the current viewport camera if target not specified
View 2 Arguments
Arg NameDescriptionTypeOptional
-s, --source-cameraCamera to copy fromstrYes
-t, --target-cameraCamera to copy to (optional)strYes
create-cam Create a perspective camera with given name and camera type as parameters to generate the name of the camera along with the selected node label.
View 3 Arguments
Arg NameDescriptionTypeOptional
cam_nameName of the camerastrNo
cam_classClass (type) of camerastrNo
-f, --focusIf true, turn DOF on the new cameraflag (boolean)Yes
create-group Group the selected nodes in the scene to the name specified.
View 1 Argument
Arg NameDescriptionTypeOptional
group_nameName of the new group.strNo
drop-object Drop one object on top of another, respecting bounding box boundaries.
View 2 Arguments
Arg NameDescriptionTypeOptional
source_nodeLabel of the object to be droppedstrNo
target_nodeLabel of the object to be dropped ontostrNo
face-render-lora Render a series of orbital camera angles around a figure's face for LoRA training image generation
View 8 Arguments
Arg NameDescriptionTypeOptional
-o, --output-dirDirectory to write rendered images to.strYes
-p, --file-prefixFilename prefix for output images. Angle label and extension are appended.strYes
-W, --widRender width in pixels.intYes
-H, --heightRender height in pixels.intYes
-d, --camera-distanceCamera distance from the face center in DAZ scene units (cm).intYes
-y, --face-y-offsetVertical offset from the head bone origin toward eye/nose level.intYes
-n, --node-labelLabel of the figure node to target. If not specified, the first skeleton in the scene is used.strYes
-t, --test-modeIf set, show a message box at each angle instead of rendering.flag (boolean)Yes
help Displays help information for commands.
View 1 Argument
Arg NameDescriptionTypeOptional
command_nameThe specific command to get help for.strYes
inc-scene Save the current scene file incrementing the file name with a numerical, incrementing, suffix.
View 2 Arguments
Arg NameDescriptionTypeOptional
-n, --numberIf specified, replace the numeric suffix at the end of the scene file name with the given number (or add it if one doesn't exist).intYes
-i, --incrementIf specified, increment the scene file suffix by the given amount (default = 1).intYes
listproducts Dump some basic product metadata for all products in the content management system to the specified output file.
View 1 Argument
Arg NameDescriptionTypeOptional
output_filePath to save output tostrNo
load-scene Load the specified scene file, replacing the current scene if --merge is not used.
View 2 Arguments
Arg NameDescriptionTypeOptional
scene_filePath to scene file to loadstrNo
-m, --mergeIf specified, merge the new scene into the current scene instead of replacing.flag (boolean)Yes
lora-trainer-prep Render a matrixed series of images suitable for LORA training.
View 2 Arguments
Arg NameDescriptionTypeOptional
scene_filesA glob pattern that identifies the scene files to load. Each scene file should include a single model which has the hair and clothing appliedstrNo
lora_trainer_configPath to config file defining the render matrix of shots x poses x expressionsstrNo
product-list List the product information for objects in the current scene
View 3 Arguments
Arg NameDescriptionTypeOptional
-t, --target-fileFile to write output information tostrYes
-n, --node-contextIf specified, present the output in the context of nodes. Otherwise the default is to present output in the context of products.flag (boolean)Yes
-s, --selected-onlyOnly identify products for the currently selected node.flag (boolean)Yes
rotate-random Rotate and render the selected character.
View 2 Arguments
Arg NameDescriptionTypeOptional
object_nameLabel of the object to rotate prior to renderingstrNo
lowerStarting rotation (in degrees)intYes
rotate-render Rotate and render the selected character.
View 6 Arguments
Arg NameDescriptionTypeOptional
object_nameLabel of the object to rotate prior to renderingstrNo
lowerStarting rotation (in degrees)intYes
upperEnding rotation (in degrees). rotation-start must be smaller than rotation-endintYes
slicesHow many rotations between start and end to rotate. If set to zero, only render, do not rotate.intYes
-o, --output-fileAbsolute path to directory to render images in. Default is to generate one from the scene file name.strYes
-s, --skip-renderFlag whether to render or the rotated character or not. Setting this flag skips the rendering step.flag (boolean)Yes
save-content-item Save the selected items in the content library to the specified target location
View 1 Argument
Arg NameDescriptionTypeOptional
target_dirLocation to save content item tostrNo
save-subset Save the selected items to a scene subset file
View 3 Arguments
Arg NameDescriptionTypeOptional
subset_fileLocation to save content item tostrNo
-d, --directoryDirectory to store the subset file instrYes
-c, --categoryCategory to associate subset withstrYes
save-viewport Capture and save the active viewport to image files for a range of frames
View 5 Arguments
Arg NameDescriptionTypeOptional
-f, --save-fileOutput file path root (without extension). Frame number and extension will be appended.strNo
-c, --view-cameraName of the camera to set in the viewport before capturing. If not specified, uses the current viewport camera.strYes
-e, --image-formatImage file format/extension (e.g. png, jpg). Default is png.strYes
-s, --frame-startFirst frame to capture. Defaults to the current scene frame.intYes
-n, --frame-endEnd frame (exclusive) for capture range. Defaults to frame_start + 1 (single frame).intYes
saveas Make a copy of the current scene file to the specified location, simulating a Save As... function
View 1 Argument
Arg NameDescriptionTypeOptional
save_filePath to save a copy of the current scene file tostrNo
scene-render Direct render the current scene, or a new scene file if specified, to the given output file.
View 2 Arguments
Arg NameDescriptionTypeOptional
-s, --scene-fileName of the scene file to load.strYes
-o, --output-filePath to output file to save tostrYes
transform-copy Perform translate, rotate, and/or scale operations on target node to match the transforms on the target node.
View 6 Arguments
Arg NameDescriptionTypeOptional
source_nodeNode to translate fromstrNo
target_nodeNode to translate tostrNo
-r, --rotateApply the rotation transformflag (boolean)Yes
-t, --translateApply the translation transformflag (boolean)Yes
-s, --scaleApply the scaling transformflag (boolean)Yes
-a, --allApply rotation, translation, and scaling trasformsflag (boolean)Yes