1DOLLY 82APPLICATION blender-flyover3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@06REQUIRES HOST touch@07REQUIRES HOST snapshot@08REQUIRES HOST audio@09REQUIRES HOST gpu@010REQUIRES HOST clipboard@011REQUIRES HOST dso@012REQUIRES HOST http@013REQUIRES HOST sockets@014REQUIRES HOST threads@01516171819INSTALL /Dollyfile-core f92e986b840d0d46883b4a8d6eee8082aebd56f944f318083bda74cfe3e86b1020INSTALL /Dollyfile-posix bd721815ffc3d3b9d887f57c3260749cb1db05ed2fe3f46a38b37e00ee66391b21INSTALL /Dollyfile-display a03812d93e51c6338e43063f954fb9492ee0535f94a39e5c377d504a3d9eedb822INSTALL /demos/blender/Dollyfile-blender 35409c0a94f9d2281189de352bf0b8bcb5919070939db0d55e25b337ecd3c07123INSTALL /demos/godot/Dollyfile-voxel-flyover 205fa09b7e42d2851dad42ac0fd2b8d83377193a3bd788ed24302740245f391b24REQUIRES TOOL blender25REQUIRES TOOL voxel-flyover262728293031FILE /usr/share/voxel-flyover/open-flyer.py32 import bpy33 from mathutils import Vector34 bpy.context.preferences.view.use_save_prompt = False35 text = bpy.data.texts.load("/usr/share/voxel-flyover/project/flyer.py")36 workspace = bpy.data.workspaces["Scripting"]37 bpy.context.window.workspace = workspace383940 def run():41 window = bpy.context.window_manager.windows[0]42 areas = {area.type: area for area in window.screen.areas}43 with bpy.context.temp_override(window=window):44 for other in ("CONSOLE", "INFO"):45 low, high = areas[other], areas["VIEW_3D"]46 bpy.ops.screen.area_join(source_xy=(high.x + 50, high.y + 50), target_xy=(low.x + 50, low.y + 50))47 view = areas["TEXT_EDITOR"]48 areas["VIEW_3D"].type = "TEXT_EDITOR"49 areas["VIEW_3D"].spaces[0].text = text50 areas["VIEW_3D"].spaces[0].font_size = 1651 view.type = "VIEW_3D"52 space = view.spaces[0]53 space.shading.color_type = "VERTEX"54 space.overlay.show_extras = space.overlay.show_relationship_lines = False55 space.overlay.show_floor = space.overlay.show_axis_x = space.overlay.show_axis_y = space.overlay.show_cursor = False56 exec(compile(text.as_string(), text.filepath, "exec"), {"__name__": "__main__"})57 space.region_3d.view_rotation = Vector((5.0, -8.0, -2.2)).to_track_quat("-Z", "Y")58 space.region_3d.view_location = (0.0, 0.2, -0.5)59 space.region_3d.view_distance = 8.560 bpy.ops.screen.animation_play()61 bpy.app.timers.register(run, first_interval=1.0)6263FILE /etc/dolly/init.slop64 /bin/foreground /usr/bin/blender --python /usr/share/voxel-flyover/open-flyer.py65 printf '\nBlender has quit; voxel-flyover plays the flyer it saved, and\n'66 printf 'blender --python /usr/share/voxel-flyover/open-flyer.py opens the script again.\n'67 /bin/foreground -i /bin/slop6869ENTRY /bin/foreground -i /bin/slop /etc/dolly/init.slop70