From f7a9f6bb553162bd55fed1f116b5da2ffa8b2785 Mon Sep 17 00:00:00 2001 From: Victor Barberan Date: Sun, 29 Dec 2024 11:32:44 +0100 Subject: [PATCH] First commit --- __init__.py | 5 +++ blender_manifest.toml | 75 +++++++++++++++++++++++++++++++++++++++++++ lidrop.py | 0 3 files changed, 80 insertions(+) create mode 100644 __init__.py create mode 100644 blender_manifest.toml create mode 100644 lidrop.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..a873e6c --- /dev/null +++ b/__init__.py @@ -0,0 +1,5 @@ + +def register(): + print("hola mundo") +def unregister(): + print("Goodbye World") diff --git a/blender_manifest.toml b/blender_manifest.toml new file mode 100644 index 0000000..bfa4a93 --- /dev/null +++ b/blender_manifest.toml @@ -0,0 +1,75 @@ +schema_version = "1.0.0" + +# Example of manifest file for a Blender extension +# Change the values according to your extension +id = "light_drops" +version = "0.1.0" +name = "Light drops" +tagline = "Animate led strips" +maintainer = "Victor Barberan " +# 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: tag list defined by Blender and server, see: +# # https://docs.blender.org/manual/en/dev/advanced/extensions/tags.html +tags = ["Lighting", "Animation"] + +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-3.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 = "Send UDP data to ESP32 for live mode" +files = "Export animation data to disk" +# clipboard = "Copy and paste bone transforms" + +# # Optional: advanced build settings. +# # https://docs.blender.org/manual/en/dev/advanced/extensions/command_line_arguments.html#command-line-args-extension-build +# [build] +# # These are the default build excluded patterns. +# # You only need to edit them if you want different options. +# paths_exclude_pattern = [ +# "__pycache__/", +# "/.git/", +# "/*.zip", +# ] diff --git a/lidrop.py b/lidrop.py new file mode 100644 index 0000000..e69de29