User Tools

Site Tools


visual3d:documentation:pipeline:file_commands:export_3d_animation_to_image

This is an old revision of the document!


1 pipeline command]] * [[#exporting_one_image|1.1 exporting one image]] * [[#exporting_multiple_images|1.2 exporting multiple images]] * [[#version_4_implementation|2 version 4 implementation]] ===== pipeline command ===== **export_3d_animation_to_image** /file_name= /image_file_name= /append_frame_to_filename= /start_frame=1 /end_frame= /event_sequence= /exclude_events= /output_width=640 /output_height=480 **;** ==== exporting one image ==== in the following example: * one image is exported from the first file that matches the wildcard specificat * frame 10 is exported * the output file is specified using the image_file_name parameter \\ **export_3d_animation_to_image** /file_name=*2.c3d /image_file_name=z:\temp\outimage.png /append_frame_to_filename=false ! /image_format=png /start_frame=10 /end_frame= /event_sequence= /exclude_events= ! /output_width=640 ! /output_height=480 **;** exportimagedlg2.jpg mvc002_61.png ==== exporting multiple images ==== in the following example: * images are exported from all files in the workspace. * frames 1 and 2 are exported * all frames within the event_sequence (lhs-lto) are exported * the target folder for the files is specified using the image_file_name parameter * the exported file contains the name of the original file appended with the frame number \\ **export_3d_animation_to_image** /file_name=*.c3d /image_file_name=z:\temp\ /append_frame_to_filename=true /start_frame=1 /end_frame=2 /event_sequence=lhs+lto /exclude_events= /output_width=640 /output_height=480 **;** exportimagedlg.jpg ===== version 4 implementation ===== export a snapshot of the 3d viewer and save the file to disk. in version 4: * only one file in the workspace can be selected * only one frame of data can be exported * only one exported filename can be specified. **export_3d_animation_to_image** ! /file_name= ! /image_file_name= ! /frame=1 ! /output_width=640 ! /output_height=480 **;** this is consistent with the export option under the [[[https://www.c-motion.com/v3dwiki/index.php?title=menus#file_menu|file menu item]]] \\ [[visual3d:documentation:pipeline:general_information:pipeline_commands_reference|back to pipeline commands reference]] }}}}

visual3d/documentation/pipeline/file_commands/export_3d_animation_to_image.1718804220.txt.gz · Last modified: 2024/06/19 13:37 by sgranger