<div dir="ltr"><div dir="ltr"><div>This doesn't hit all views yet.  Additions welcome!</div><div><br></div><div>Joe pressured me to make blender "X3D-like," so here's a script you can use. It doesn't work too well yet, and I've not tested it in the GUI.</div><div><br></div><div>def set_view_to_positive_z():</div><div>    # Get the 3D view area</div><div>    # area = next(area for area in bpy.context.screen.areas if area.type == 'VIEW_3D')</div><div>    for area in bpy.context.screen.areas:</div><div>        # Get the 3D view space</div><div>        #space = area.spaces.active</div><div>        for space in area.spaces:</div><div><br></div><div>            # Turn off the grid floor</div><div>            # space.overlay.show_floor = False</div><div><br></div><div>            # If you also want to turn off the axes</div><div>            #space.overlay.show_axis_x = False</div><div>            #space.overlay.show_axis_y = False</div><div>            #space.overlay.show_axis_z = False</div><div><br></div><div>            if hasattr(space, "region_3d"):</div><div>                # Set the view to orthographic</div><div>                space.region_3d.view_perspective = 'ORTHO'</div><div><br></div><div>                # Set the view rotation</div><div>                rotation = Euler((0, 0, 0), 'XYZ')  # no rotation</div><div>                space.region_3d.view_rotation = rotation.to_quaternion()</div><div><br></div><div>                # Optionally, you can set the view distance</div><div>                space.region_3d.view_distance = 10</div><div><br></div><div>    # Update the view</div><div>    bpy.context.view_layer.update()</div><div><br></div><div># Call the function to set the view</div><div>set_view_to_positive_z()</div></div></div>