Skip to content

Instantly share code, notes, and snippets.

@tin2tin
tin2tin / SequencerSpecialsMenu.py
Created Jan 2, 2018
Add a 'Specials Menu' to Blender Video Editing Sequencer. Shortcut key: 'w'.
View SequencerSpecialsMenu.py
import bpy
class SequencerEditMenu(bpy.types.Menu):
bl_label = "Specials"
bl_idname = "SEQUENCER_OT_sequencer_edit_menu"
def draw(self, context):
print("space_date.type: "+context.space_data.type)
if context.space_data.type == 'SEQUENCE_EDITOR':
@tin2tin
tin2tin / EditExternally.py
Created Sep 22, 2018
Edit Blender VSE Source in External App.
View EditExternally.py
import bpy
import os
import subprocess
bl_info = {
"name": "Edit Source Externally",
"description": "Open VSE audio/video source with an external program.",
"author": "Joe Button",
"version": (1, 0),
"blender": (2, 73, 0),
View sample.fcpxml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fcpxml>
<fcpxml version="1.0">
<project>
<resources>
<format id="f1" frameDuration="1/29s" width="640.000000" height="480.000000"/>
<asset id="r1" name="1985-11-10-Berkeley_part_2.m4v" uid="O2wWMxasJdyRavHND5dJ" src="video/1985/1985-11-10-Berkeley_part_2.m4v" start="0/29s" duration="136647/29s" hasVideo="1" hasAudio="1" audioSources="1" audioChannels="2" audioRate="48000.000000"/>
</resources>
<clip name="1985-11-10-Berkeley_part_2.m4v" start="0/29s" duration="136647/29s" format="f1">
<video ref="r1" start="0/29s" duration="136647/29s" offset="0/29s">
@tin2tin
tin2tin / VSE_Trim_Mode.py
Last active Oct 21, 2018
VSE_Trim_Mode.py
View VSE_Trim_Mode.py
bl_info = {
"name": "Areatype Trim",
"description":"This example adds a button which toggles a split of an area with another.",
"author":"dustractor, tintwotin, Snuq, Stephen Graham",
"version":(0,2),
"blender":(2,79,0),
"location":"Button prepended to the header of the sequencer.",
"warning":"",
"wiki_url":"",
View VSE_Pie_Menu.py
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@tin2tin
tin2tin / WindowlessFullscreen.py
Created Nov 23, 2018
Windowless Fullscreen Mode
View WindowlessFullscreen.py
import bpy
class SEQUENCE_MT_true_fullscreen(bpy.types.Operator):
"""True fullscreen preview"""
bl_label = "True Fullscreen"
bl_idname = "sequencer.true_fullscreen"
runs = 0
original_area = None
@tin2tin
tin2tin / sequencer.py
Created May 23, 2019
2.80 Sequencer operators: SelectStripsUnderPlayhead, SelectStripsInChannel and CutHardAndHold
View sequencer.py
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@tin2tin
tin2tin / space_sequencer.py
Created Jun 7, 2019
VSE Reworked for official 2.80 - adds several functions integrated into the menus
View space_sequencer.py
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@tin2tin
tin2tin / Sequencer_Preview_in_3D_Viewport.py
Last active Jun 12, 2019
Sequencer Preview in 3D Viewport sets up the Video Editor to control the camera selection in the 3D View on frame updates. Which makes it possible to edit the clip timings on the same screen and at the same time as editing cameras and everything else in the 3D Viewport.
View Sequencer_Preview_in_3D_Viewport.py
# Sequencer Preview in 3D Viewport
#
# Version: 0.1
# About:
# Sequencer Preview in 3D Viewport sets up the Video Editor to
# control the camera selection in the 3D View on frame updates.
# Which makes it possible to edit the clip timings on the same
# screen and at the same time as editing cameras and everything
View blender-filebrowser-display-override.py
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the