Skip to content

Commit

Permalink
hello-world commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonNordon4 committed Aug 5, 2024
0 parents commit c9ef3af
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 0 deletions.
Binary file added hello-world.zip
Binary file not shown.
4 changes: 4 additions & 0 deletions hello-world/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def register():
print("Hello World")
def unregister():
print("Goodbye World")
73 changes: 73 additions & 0 deletions hello-world/blender_manifest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
schema_version = "1.0.0"

# Example of manifest file for a Blender extension
# Change the values according to your extension
id = "hello_world"
version = "1.0.0"
name = "Hello World"
tagline = "This is another extension"
maintainer = "Simon Nordon <[email protected]>"
# Supported types: "add-on", "theme"
type = "add-on"

# Optional link to documentation, support, source files, etc
# website = "https://extensions.blender.org/add-ons/my-example-package/"

# Optional list defined by Blender and server, see:
# https://docs.blender.org/manual/en/dev/advanced/extensions/tags.html
tags = ["Animation", "Sequencer"]

blender_version_min = "4.2.0"
# # Optional: Blender version that the extension does not support, earlier versions are supported.
# # This can be omitted and defined later on the extensions platform if an issue is found.
# blender_version_max = "5.1.0"

# License conforming to https://spdx.org/licenses/ (use "SPDX: prefix)
# https://docs.blender.org/manual/en/dev/advanced/extensions/licenses.html
license = [
"SPDX:GPL-2.0-or-later",
]
# Optional: required by some licenses.
# copyright = [
# "2002-2024 Developer Name",
# "1998 Company Name",
# ]

# Optional list of supported platforms. If omitted, the extension will be available in all operating systems.
# platforms = ["windows-x64", "macos-arm64", "linux-x64"]
# Other supported platforms: "windows-arm64", "macos-x64"

# Optional: bundle 3rd party Python modules.
# https://docs.blender.org/manual/en/dev/advanced/extensions/python_wheels.html
# wheels = [
# "./wheels/hexdump-3.3-py3-none-any.whl",
# "./wheels/jsmin-3.0.1-py3-none-any.whl",
# ]

# # Optional: add-ons can list which resources they will require:
# # * files (for access of any filesystem operations)
# # * network (for internet access)
# # * clipboard (to read and/or write the system clipboard)
# # * camera (to capture photos and videos)
# # * microphone (to capture audio)
# #
# # If using network, remember to also check `bpy.app.online_access`
# # https://docs.blender.org/manual/en/dev/advanced/extensions/addons.html#internet-access
# #
# # For each permission it is important to also specify the reason why it is required.
# # Keep this a single short sentence without a period (.) at the end.
# # For longer explanations use the documentation or detail page.
#
# [permissions]
# network = "Need to sync motion-capture data to server"
# files = "Import/export FBX from/to disk"
# clipboard = "Copy and paste bone transforms"

# Optional: build settings.
# https://docs.blender.org/manual/en/dev/advanced/extensions/command_line_arguments.html#command-line-args-extension-build
# [build]
# paths_exclude_pattern = [
# "__pycache__/",
# "/.git/",
# "/*.zip",
# ]
34 changes: 34 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Blender Extensions</title>
</head>
<body>
<p>Blender Extension Listing:</p>
<p>Add-on</p>
<hr>
<table>
<tr>
<th>ID</th>
<th>Name</th>
<th>Description</th>
<th>Website</th>
<th>Blender Versions</th>
<th>Platforms</th>
<th>Size</th>
</tr>
<tr>
<td><tt><a href="./hello-world.zip?repository=.%2Findex.json&blender_version_min=4.2.0">hello_world-1.0.0</a></tt></td>
<td>Hello World</td>
<td>This is another extension</td>
<td>~</td>
<td>4.2.0 - ~</td>
<td>all</td>
<td>1.6KB</td>
</tr>
</table>

<center><p>Built 2024-08-05, 05:37</p></center>
</body>
</html>
26 changes: 26 additions & 0 deletions index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "v1",
"blocklist": [],
"data": [
{
"schema_version": "1.0.0",
"id": "hello_world",
"name": "Hello World",
"tagline": "This is another extension",
"version": "1.0.0",
"type": "add-on",
"maintainer": "Simon Nordon <[email protected]>",
"license": [
"SPDX:GPL-2.0-or-later"
],
"blender_version_min": "4.2.0",
"tags": [
"Animation",
"Sequencer"
],
"archive_url": "./hello-world.zip",
"archive_size": 1596,
"archive_hash": "sha256:99f4c18b16b81d392894c9bc75a020e2e90e43dda15cd3809d8a03f588148ac4"
}
]
}
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://docs.blender.org/manual/en/latest/advanced/extensions/creating_repository/static_repository.html

0 comments on commit c9ef3af

Please sign in to comment.