97 lines
2.9 KiB
Markdown
97 lines
2.9 KiB
Markdown
|
|
<!-- Generated by SpecStory -->
|
||
|
|
|
||
|
|
# Creating a blender extension for asset replacement (2025-08-20 22:43Z)
|
||
|
|
|
||
|
|
_**User**_
|
||
|
|
|
||
|
|
Let's create a blender extension designed to replace linked assets and characters. Let's start with the manifest toml.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
_**Assistant**_
|
||
|
|
|
||
|
|
I'll help you create a Blender extension for replacing linked assets and characters. Let me start by creating the manifest TOML file, which is essential for any Blender addon.
|
||
|
|
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
<details><summary>Edit file: manifest.toml</summary>
|
||
|
|
|
||
|
|
I'm creating a new manifest.toml file for a Blender extension that will handle replacing linked assets and characters.
|
||
|
|
|
||
|
|
**Chunk 1**
|
||
|
|
Lines added: 49, lines removed: 1
|
||
|
|
|
||
|
|
```diff
|
||
|
|
@@ -1,1 +1,49 @@
|
||
|
|
-
|
||
|
|
+ # Blender Extension Manifest
|
||
|
|
+ # Dynamic Link Manager - Asset and Character Replacement Tool
|
||
|
|
+
|
||
|
|
+ bl_info = {
|
||
|
|
+ "name": "Dynamic Link Manager",
|
||
|
|
+ "author": "Your Name",
|
||
|
|
+ "version": (1, 0, 0),
|
||
|
|
+ "blender": (3, 0, 0),
|
||
|
|
+ "location": "View3D > Sidebar > Dynamic Link Manager",
|
||
|
|
+ "description": "Replace linked assets and characters with ease",
|
||
|
|
+ "warning": "",
|
||
|
|
+ "doc_url": "",
|
||
|
|
+ "category": "Import-Export",
|
||
|
|
+ }
|
||
|
|
+
|
||
|
|
+ # Extension metadata
|
||
|
|
+ name = "dynamic-link-manager"
|
||
|
|
+ version = "1.0.0"
|
||
|
|
+ description = "A Blender extension for replacing linked assets and characters"
|
||
|
|
+ author = "Your Name"
|
||
|
|
+ license = "MIT"
|
||
|
|
+ repository = "https://github.com/yourusername/dynamic-link-manager"
|
||
|
|
+ homepage = "https://github.com/yourusername/dynamic-link-manager"
|
||
|
|
+ tags = ["asset-management", "character-replacement", "linked-assets", "workflow"]
|
||
|
|
+ category = "Import-Export"
|
||
|
|
+
|
||
|
|
+ # Blender compatibility
|
||
|
|
+ blender_version_min = "3.0.0"
|
||
|
|
+ blender_version_max = "4.0.0"
|
||
|
|
+
|
||
|
|
+ # Dependencies (if any external packages are needed)
|
||
|
|
+ # dependencies = []
|
||
|
|
+
|
||
|
|
+ # Entry points
|
||
|
|
+ [entry_points]
|
||
|
|
+ "blender.addons" = [
|
||
|
|
+ "dynamic_link_manager = dynamic_link_manager"
|
||
|
|
+ ]
|
||
|
|
+
|
||
|
|
+ # Files to include
|
||
|
|
+ files = [
|
||
|
|
+ "dynamic_link_manager/__init__.py",
|
||
|
|
+ "dynamic_link_manager/operators.py",
|
||
|
|
+ "dynamic_link_manager/ui.py",
|
||
|
|
+ "dynamic_link_manager/utils.py",
|
||
|
|
+ "README.md",
|
||
|
|
+ "LICENSE"
|
||
|
|
+ ]
|
||
|
|
+
|
||
|
|
```
|
||
|
|
|
||
|
|
</details>
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
Perfect! I've created the manifest TOML file for your Blender extension. This manifest includes:
|
||
|
|
|
||
|
|
- **Basic Blender addon info** with the `bl_info` dictionary that Blender requires
|
||
|
|
- **Extension metadata** including name, version, description, and author
|
||
|
|
- **Blender compatibility** range (3.0.0 to 4.0.0)
|
||
|
|
- **Entry points** configuration for proper addon registration
|
||
|
|
- **File structure** that outlines the expected Python modules
|
||
|
|
|
||
|
|
The manifest is set up for a "Dynamic Link Manager" extension that will help users replace linked assets and characters in Blender. You can customize the author name, repository URLs, and other details as needed.
|
||
|
|
|
||
|
|
Would you like me to proceed with creating the Python files that the manifest references, or would you prefer to modify the manifest first?
|
||
|
|
|
||
|
|
---
|
||
|
|
|