This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
from bpy.props import StringProperty | |
class TEST_PT_layout_panel(bpy.types.Panel): | |
bl_label = "VSE Strip Picker" | |
bl_category = "Test Panel" | |
bl_space_type = 'PROPERTIES' | |
bl_region_type = 'WINDOW' | |
bl_context = "scene" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import requests | |
def debug_print(*args): | |
print(*args) | |
def fetch_video_result(file_id, api_key, output_file_name): | |
debug_print("File ID:", file_id) | |
debug_print("Out file name:", output_file_name) | |
debug_print("---------------Video generated successfully, downloading now---------------") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import subprocess | |
import threading | |
import re | |
# Function to parse progress from subprocess output | |
def parse_progress(line): | |
""" | |
Parses progress information from a line of output. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name": "Export a Frame for Each Shot", | |
"author": "tintwotin", | |
"version": (1, 0), | |
"blender": (3, 00, 0), | |
"location": "Strip > Export a Frame for Each Shot", | |
"description": "", | |
"warning": "", | |
"doc_url": "", | |
"category": "Sequencer", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
# Store the last synced text block content to detect changes | |
LAST_SYNCED_TEXT = {"content": None, "name": None} | |
# Add properties to the Text Strip | |
def add_text_strip_properties(): | |
bpy.types.Sequence.text_sync_enabled = bpy.props.BoolProperty( | |
name="Sync with Text Block", | |
description="Enable syncing with a specific text block", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name": "OCR Add-on", | |
"blender": (3, 0, 0), | |
"category": "Text Editor", | |
"author": "Your Name", | |
"version": (1, 0, 0), | |
"location": "Text Editor > Sidebar", | |
"description": "Add-on for OCR with specified models" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
def operator_exists(idname): | |
# Split the idname string into the operator type and the operator function | |
idname_parts = idname.split(".") | |
if len(idname_parts) != 2: | |
return False # The idname is not properly formatted | |
operator_type, operator_func = idname_parts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from tqdm import tqdm | |
from pathlib import Path | |
import hashlib | |
import json | |
def download_file_with_progress(url, save_path): | |
""" | |
Downloads a file from a URL with a progress bar. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2009-2023 Blender Authors | |
# | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
import bpy | |
from bpy.types import ( | |
Header, | |
Menu, | |
Panel, | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name": "Robust Audio Sync", | |
"author": "tintwotin", | |
"version": (1, 8), | |
"blender": (2, 80, 0), | |
"location": "Sequencer > Strip > Transform > Robust Audio Sync", | |
"description": "Sync similar audio recordings", | |
"warning": "", | |
"doc_url": "", | |
"category": "Sequencer", |
NewerOlder