IMAGE

Image is used to capture image of specified quantity.

Syntax

IMAGE(“name”) { parameters}

Qualifier

User-given name

Parameters

name (string)
User-given name of the command. The instance of a given command is referenced using this parameter.
cut_planes (string)
Cut planes to include in the image
parts (string)
Parts to include in the image
iso_surfaces (string)
Iso surfaces to include in the image
streamlines (string)
Streamlines to include in the image
focal_parts (string)
List of focus parts to focus on during the image creation. Requires that the PART command be created prior to calling the IMAGE command.
zoom_factors (string)
List of zoom factors to zoom into (out from) the focal_part, where >1.0 will zoom in, <1.0 will zoom out.
image_type (enum)
Type of images to be generated
Options: static, cut_plane_sweep, animation
image_savetype(enum)

Type of output format to be generated, series of images or a single movie. Used when image_type = cut_plane_sweep or animation

Options: images, movie
views (string)
Views to capture the image from. Available views: "left", "right", "front","rear", "top","bottom", "front_bottom", "rear_bottom", "front_top", "rear_top", "front_left", "front_right", "rear_left", "rear_right", "front_left_bottom", "rear_left_bottom", "front_right_bottom","rear_right_bottom","front_left_top","rear_left_top", "front_right_top", "rear_right_top", "left_top","right_top", "left_bottom","right_bottom"
sweep_planes (string)
Planes to use in sweep
sweep_range_type (enum)
Sweep range parameters
Options: direct, sweep_increment, number_of_sweep_locations
number_of_sweep_locations (integer)
Number of sweep locations to generate images from. Looks at model size to determine range then automatically sets the plane locations (computes interval by diving length by number of sweep locations).
sweep_increment (real)
Increment at which to generate images
sweep_range (sequence)
If type = direct comma separated values and sequences 1:10:3
clip_parts (boolean)
Clips part at location of sweep plane
Is based on view requested
reverse_clip_direction (boolean)
Reverses direction of clip part
start_frame (integer)
The solution step that marks the beginning of the animation.
end_frame (integer)
The solution step that marks the end of the animation.
frame_increment (integer)
The stride to take while sweeping through the solution steps.
frame_rate (integer)
The frame rate to control playback of the animation. Used only when creating mp4 files.
export (boolean)
Exports data from derived representations from the report automation tool. Stores the physical coordinates along with the variables that are contained within the dataset.
[on | off]. Off by default.
export_type (string)
Sets the filetype to be exported.
[csv | h3d]. .h3d by default.

Examples

IMAGE("Solid blades with mesh, transparent walls"){
    parts                      = {"Inlet - solid - transparent","Blades - solid","Blades - mesh",
                                  "Tube - solid - transparent", "Outlet - solid - transparent",
                                  "Tube - outline"}
    views                      = {"front_left_top", "front_left_top", "Blade iso","Blade iso",
                                  "Downstream iso", "Downstream iso"}
    
    image_type                 = static

}
IMAGE("Cut plane time animation"){
    cut_planes                 = {"z-plane","User CP 1", "User CP 2", "User CP 3"}
    parts                      = {"all - outline"}
    views                      = {"iso view","+z"}
    zoom_factors               = {1,0.9}
    image_type		    = animation
 
    start_frame		        = 1
    end_frame		          = 10
    frame_increment	          = 4
    frame_rate                      = 5    

}
IMAGE("CUTPLANE1"){
     parts                      = {"Full vehicle - white - transparent"}
     cut_planes                 = {"Y normal - inst_velocity_mag"}

     export                     =  off         #  default off   
     export_type                =  csv         #  h3d by default
}

An animation is created for each view that is listed in the views parameter. The frame_rate option is only valid when the image_type=animation or cut_plane_sweep. The option will modify the frame rate defined within the .mp4 (default) or .avi file that is created.

Animations are automatically embedded into the ppt files.