user: Show practical ways to work with Bpy.Types.Rendersettings in a Blender add-on or script – include code.

assistant: d on Frame – The shutter closes at the current frame. Type : enum in [ 'START' , 'CENTER' , 'END' ], default 'CENTER' motion_blur_shutter ¶ Time taken in frames between shutter open and close Type : float in [0, inf], default 0.5 motion_blur_shutter_curve ¶ Curve defining the shutter’s openness over time Type : CurveMapping , (readonly) pixel_aspect_x ¶ Horizontal aspect ratio - for anamorphic or non-square pixel output Type : float in [1, 200], default 1.0 pixel_aspect_y ¶ Vertical aspect ratio - for anamorphic or non-square pixel output Type : float in [1, 200], default 1.0 ppm_base ¶ The base unit for pixels per meter. Type : float in [1e-05, 1e+06], default 0.0254 ppm_factor ¶ The pixel density meta-data written to supported image formats. This value is multiplied by the PPM-base which defines the unit (typically inches or meters) Type : float in [1e-05, 1e+06], default 72.0 preview_pixel_size ¶ Pixel size for viewport rendering AUTO Automatic – Automatic pixel size, depends on the user interface scale. 1 1× – Render at full resolution. 2 2× – Render at 50% resolution. 4 4× – Render at 25% resolution. 8 8× – Render at 12.5% resolution. Type : enum in [ 'AUTO' , '1' , '2' , '4' , '8' ], default 'AUTO' resolution_percentage ¶ Percentage scale for render resolution Type : int in [1, 32767], default 100 resolution_x ¶ Number of horizontal pixels in the rendered image Type : int in [4, 65536], default 1920 resolution_y ¶ Number of vertical pixels in the rendered image Type : int in [4, 65536], default 1080 sequencer_gl_preview ¶ Display method used in the sequencer view Type : enum in Shading Type Items , default 'SOLID' simplify_child_particles ¶ Global child particles percentage Type : float in [0, 1], default 1.0 simplify_child_particles_render ¶ Global child particles percentage during rendering Type : float in [0, 1], default 0.0 simplify_gpencil ¶ Simplify Grease Pencil drawing Type : boolean, default False simplify_gpencil_antialiasing ¶ Use Antialiasing to smooth stroke edges Type : boolean, default True simplify_gpencil_modifier ¶ Display modifiers Type : boolean, default True simplify_gpencil_onplay ¶ Simplify Grease Pencil only during animation playback Type : boolean, default False simplify_gpencil_shader_fx ¶ Display Shader Effects Type : boolean, default True simplify_gpencil_tint ¶ Display layer tint Type : boolean, default True simplify_gpencil_view_fill ¶ Display fill strokes in the viewport Type : boolean, default True simplify_subdivision ¶ Global maximum subdivision level Type : int in [0, 32767], default 6 simplify_subdivision_render ¶ Global maximum subdivision level during rendering Type : int in [0, 32767], default 0 simplify_volumes ¶ Resolution percentage of volume objects in viewport Type : float in [0, 1], default 1.0 stamp_background ¶ Color to use behind stamp text Type : float array of 4 items in [0, 1], default (0.0, 0.0, 0.0, 0.25) stamp_font_size ¶ Size of the font used when rendering stamp text Type : int in [8, 64], default 12 stamp_foreground ¶ Color to use for stamp text Type : float array of 4 items in [0, 1], default (0.8, 0.8, 0.8, 1.0) stamp_note_text ¶ Custom text to appear in the stamp note Type : string, default “”, (never None) stereo_views ¶ Type : bpy_prop_collection of SceneRenderView , (readonly) threads ¶ Maximum number of CPU cores to use simultaneously while rendering (for multi-core/CPU systems) Type : int in [1, 1024], default 1 threads_mode ¶ Determine the amount of render threads used AUTO Auto-Detect – Automatically determine the number of threads, based on CPUs. FIXED Fixed – Manually determine the number of threads. Type : enum in [ 'AUTO' , 'FIXED' ], default 'AUTO' use_border ¶ Render a user-defined render region, within the frame size Type : boolean, default False use_compositing ¶ Process the render result through the compositing pipeline, if a compositing node group is assigned to the scene Type : boolean, default True use_crop_to_border ¶ Crop the rendered frame to the defined render region size Type : boolean, default False use_file_extension ¶ Add the file format extensions to the rendered file name (eg: filename + .jpg) Type : boolean, default True use_freestyle ¶ Draw stylized strokes using Freestyle Type : boolean, default False use_high_quality_normals ¶ Use high quality tangent space at the cost of lower performance Type : boolean, default False use_lock_interface ¶ Lock interface during rendering in favor of giving more memory to the renderer Type : boolean, default False use_motion_blur ¶ Use multi-sampled 3D scene motion blur Type : boolean, default False use_multiview ¶ Use multiple views in the scene Type : boolean, default False use_overwrite ¶ Overwrite existing files while rendering Type : boolean, default True use_persistent_data ¶ Keep render data around for faster re-renders and animation renders, at the cost of increased memory usage Type : boolean, default False use_placeholder ¶ Create empty placeholder files while rendering frames (similar to Unix ‘touch’) Type : boolean, default False use_render_cache ¶ Save render cache to EXR files (useful for heavy compositing, Note: affects indirectly rendered scenes) Type : boolean, default False use_sequencer ¶ Process the render (and composited) result through the video sequence editor pipeline, if sequencer strips exist Type : boolean, default True use_sequencer_override_scene_strip ¶ Use workbench render settings from the sequencer scene, instead of each individual scene used in the strip Type : boolean, default False use_simplify ¶ Enable simplification of scene for quicker preview renders Type : boolean, default False use_simplify_normals ¶ Skip computing custom normals and face corner normals for displaying meshes in the viewport Type : boolean, default False use_single_layer ¶ Only render the active layer. Only affects rendering from the interface, ignored for rendering from command line. Type : boolean, default False use_spherical_stereo ¶ Active render engine supports spherical stereo rendering Type : boolean, default False, (readonly) use_stamp ¶ Render the stamp info text in the rendered image Type : boolean, default False use_stamp_camera ¶ Include the name of the active camera in image metadata Type : boolean, default True use_stamp_date ¶ Include the current date in image/video metadata Type : boolean, default True use_stamp_filename ¶ Include the .blend filename in image/video metadata Type : boolean, default True use_stamp_frame ¶ Include the frame number in image metadata Type : boolean, default True use_stamp_frame_range ¶ Include the rendered frame range in image/video metadata Type : boolean, default False use_stamp_hostname ¶ Include the hostname of the machine that rendered the frame Type : boolean, default False use_stamp_labels ¶ Display stamp labels (“Camera” in front of camera name, etc.) Type : boolean, default True use_stamp_lens ¶ Include the active camera’s lens in image metadata Type : boolean, default False use_stamp_marker ¶ Include the name of the last marker in image metadata Type : boolean, default False use_stamp_memory ¶ Include the peak memory usage in image metadata Type : boolean, default True use_stamp_note ¶ Include a custom note in image/video metadata Type : boolean, default False use_stamp_render_time ¶ Include the render time in image metadata Type : boolean, default True use_stamp_scene ¶ Include the name of the active scene in image/video metadata Type : boolean, default True use_stamp_sequencer_strip ¶ Include the name of the foreground sequence strip in image metadata Type : boolean, default False use_stamp_time ¶ Include the rendered frame timecode as HH:MM:SS.FF in image metadata Type : boolean, default True views ¶ Type : RenderViews bpy_prop_collection of SceneRenderView , (readonly) views_format ¶ STEREO_3D Stereo 3D – Single stereo camera system, adjust the stereo settings in the camera panel. MULTIVIEW Multi-View – Multi camera system, adjust the cameras individually. Type : enum in [ 'STEREO_3D' , 'MULTIVIEW' ], default 'STEREO_3D' frame_path ( * , frame = -2147483648 , preview = False , view = '' ) ¶ Return the absolute path to the filename to be written for a given frame Parameters : frame ( int in [ -inf , inf ] , ( optional ) ) – Frame number to use, if unset the current frame will be used preview ( boolean , ( optional ) ) – Preview, Use preview range view ( string , ( optional , never None ) ) – View, The name of the view to use to replace the “%” chars Returns : File Path, The resulting filepath from the scenes render settings Return type : string, (never None) classmethod bl_rna_get_subclass ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The RNA type or default when not found. Return type : bpy.types.Struct subclass classmethod bl_rna_get_subclass_py ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The class or default when not found. Return type : type Inherited Properties ¶ bpy_struct.id_data Inherited Functions ¶ bpy_struct.as_pointer bpy_struct.driver_add bpy_struct.driver_remove bpy_struct.get bpy_struct.id_properties_clear bpy_struct.id_properties_ensure bpy_struct.id_properties_ui bpy_struct.is_property_hidden bpy_struct.is_property_overridable_library bpy_struct.is_property_readonly bpy_struct.is_property_set bpy_struct.items bpy_struct.keyframe_delete bpy_struct.keyframe_insert bpy_struct.keys bpy_struct.path_from_id bpy_struct.path_from_module bpy_struct.path_resolve bpy_struct.pop bpy_struct.property_overridable_library_set bpy_struct.property_unset bpy_struct.rna_ancestors bpy_struct.type_recast bpy_struct.values References ¶ RenderEngine.render Scene.render Next RenderSlot(bpy_struct) Previous RenderResult(bpy_struct) Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page RenderSettings(bpy_struct) RenderSettings RenderSettings.bake RenderSettings.border_max_x RenderSettings.border_max_y RenderSettings.border_min_x RenderSettings.border_min_y RenderSettings.compositor_denoise_device RenderSettings.compositor_denoise_final_quality RenderSettings.compositor_denoise_preview_quality RenderSettings.compositor_device RenderSettings.compositor_precision RenderSettings.dither_intensity RenderSettings.engine RenderSettings.ffmpeg RenderSettings.file_extension RenderSettings.filepath RenderSettings.film_transparent RenderSettings.filter_size RenderSettings.fps RenderSettings.fps_base RenderSettings.frame_map_new RenderSettings.frame_map_old RenderSettings.hair_subdiv RenderSettings.hair_type RenderSettings.has_multiple_engines RenderSettings.image_settings RenderSettings.is_movie_format RenderSettings.line_thickness RenderSettings.line_thickness_mode RenderSettings.metadata_input RenderSettings.motion_blur_position RenderSettings.motion_blur_shutter RenderSettings.motion_blur_shutter_curve RenderSettings.pixel_aspect_x RenderSettings.pixel_aspect_y RenderSettings.ppm_base RenderSettings.ppm_factor RenderSettings.preview_pixel_size RenderSettings.resolution_percentage RenderSettings.resolution_x RenderSettings.resolution_y RenderSettings.sequencer_gl_preview RenderSettings.simplify_child_particles RenderSettings.simplify_child_particles_render RenderSettings.simplify_gpencil RenderSettings.simplify_gpencil_antialiasing RenderSettings.simplify_gpencil_modifier RenderSettings.simplify_gpencil_onplay RenderSettings.simplify_gpencil_shader_fx RenderSettings.simplify_gpencil_tint RenderSettings.simplify_gpencil_view_fill RenderSettings.simplify_subdivision RenderSettings.simplify_subdivision_render RenderSettings.simplify_volumes RenderSettings.stamp_background RenderSettings.stamp_font_size RenderSettings.stamp_foreground RenderSettings.stamp_note_text RenderSettings.stereo_views RenderSettings.threads RenderSettings.threads_mode RenderSettings.use_border RenderSettings.use_compositing RenderSettings.use_crop_to_border RenderSettings.use_file_extension RenderSettings.use_freestyle RenderSettings.use_high_quality_normals RenderSettings.use_lock_interface RenderSettings.use_motion_blur RenderSettings.use_multiview RenderSettings.use_overwrite RenderSettings.use_persistent_data RenderSettings.use_placeholder RenderSettings.use_render_cache RenderSettings.use_sequencer RenderSettings.use_sequencer_override_scene_strip RenderSettings.use_simplify RenderSettings.use_simplify_normals RenderSettings.use_single_layer RenderSettings.use_spherical_stereo RenderSettings.use_stamp RenderSettings.use_stamp_camera RenderSettings.use_stamp_date RenderSettings.use_stamp_filename RenderSettings.use_stamp_frame RenderSettings.use_stamp_frame_range RenderSettings.use_stamp_hostname RenderSettings.use_stamp_labels RenderSettings.use_stamp_lens RenderSettings.use_stamp_marker RenderSettings.use_stamp_memory RenderSettings.use_stamp_note RenderSettings.use_stamp_render_time RenderSettings.use_stamp_scene RenderSettings.use_stamp_sequencer_strip RenderSettings.use_stamp_time RenderSettings.views RenderSettings.views_format RenderSettings.frame_path() RenderSettings.bl_rna_get_subclass() RenderSettings.bl_rna_get_subclass_py() Inherited Properties Inherited Functions References