This file contains hidden or 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
| @tool | |
| extends EditorPlugin | |
| const PanelScript = preload("res://addons/exportnodetree/tree_exporter_panel.gd") | |
| var dock_panel | |
| func _enter_tree(): | |
| # Instantiate the panel script | |
| dock_panel = PanelScript.new() |
This file contains hidden or 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
| extends Panel | |
| # Path updated: Now points through the ScrollContainer | |
| onready var edit_area : VBoxContainer = $"HBoxContainer/ScrollContainer/EditArea" | |
| onready var edlo = EditSaveResMarshal.new() | |
| func _ready(): | |
| # Ensure the EditArea stretches to fill the width of the ScrollContainer | |
| edit_area.size_flags_horizontal = SIZE_EXPAND_FILL | |
| populate_editor(edlo.save_dict) |
This file contains hidden or 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
| extends Camera | |
| var yaw_pitch = Vector2(0,0) | |
| func _process(delta): | |
| var speedmod = 35.0 if Input.is_action_pressed("move_sprint") else 18.0 | |
| self.translate(Vector3( | |
| Input.get_axis("move_left","move_right"), | |
| Input.get_axis("equipCamera", "Interact"), | |
| Input.get_axis("move_forward","move_backward") |
This file contains hidden or 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 os | |
| def link_objects_recursively(root_directory): | |
| """ | |
| Recursively walks through a directory, finds all .blend files, | |
| and links ALL objects from them into the current scene. | |
| """ | |
| # 1. Clean up the path input |
This file contains hidden or 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
| placeholder |
This file contains hidden or 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
| FROM python:3.12-alpine | |
| ENV PYTHONUNBUFFERED=1 | |
| RUN apk add --no-cache bash wget aria2 | |
| RUN pip install --no-cache-dir beautifulsoup4 | |
| COPY . /usr/src/indexof_downloader |
This file contains hidden or 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
| let revoke = ( | |
| function() { | |
| let display_on = false; | |
| const selectors = ` | |
| .ytp-chrome-top | |
| .ytp-chrome-bottom | |
| .ytp-gradient-top | |
| .ytp-gradient-bottom`.split('\n').map(s => s.trim()).filter(s => s); | |
| function toggleYouTubeControls() { |
This file contains hidden or 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": "Object Tagger", | |
| "author": "zvodd", | |
| "version": (1, 1, 4), | |
| "blender": (4, 2, 0), | |
| "location": "3D View > Sidebar (N Panel) > Tagger Tab | V for Pie Menu", | |
| "description": "Adds, removes, and manages tags on objects using custom properties. Includes a customizable Pie Menu.", | |
| "warning": "", | |
| "doc_url": "", | |
| "category": "Object", |
This file contains hidden or 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 xml.etree.ElementTree as ET | |
| import argparse | |
| import sys | |
| import os | |
| from pathlib import Path | |
| def resize_svg(input_file, width=None, height=None): | |
| """ | |
| Resize an SVG by wrapping its contents in a transform that scales to new dimensions | |
| while preserving aspect ratio. |
This file contains hidden or 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 xml.etree.ElementTree as ET | |
| import argparse | |
| import sys | |
| def resize_svg(input_file, width=None, height=None): | |
| """ | |
| Resize an SVG by wrapping its contents in a transform that scales to new dimensions | |
| while preserving aspect ratio. | |
| Args: |
NewerOlder