From f62c4604719a9678124d91c7fc966348e4a313d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Urgo=C5=A1?= Date: Mon, 25 Apr 2022 12:51:11 +0200 Subject: [PATCH] Rename the plugin to terrain_eroder --- README.md | 12 ++++++++---- {erosion_plugin => terrain_eroder}/__init__.py | 6 +++--- .../erosions/__init__.py | 0 .../erosions/hydraulic_erosion.py | 0 .../erosions/hydraulic_erosion_pb.py | 0 .../erosions/thermal_erosion.py | 0 .../erosions/thermal_erosion_method.py | 0 {erosion_plugin => terrain_eroder}/erosions/tools.py | 0 {erosion_plugin => terrain_eroder}/model/types.py | 0 .../operators/__init__.py | 0 .../operators/create_terrain_operator.py | 0 .../operators/erosion_operator.py | 0 .../panels/__init__.py | 0 .../panels/erosion_panel.py | 2 +- .../panels/my_plugin_panel.py | 2 +- .../properties/__init__.py | 0 .../properties/erosion_properties.py | 0 17 files changed, 13 insertions(+), 9 deletions(-) rename {erosion_plugin => terrain_eroder}/__init__.py (87%) rename {erosion_plugin => terrain_eroder}/erosions/__init__.py (100%) rename {erosion_plugin => terrain_eroder}/erosions/hydraulic_erosion.py (100%) rename {erosion_plugin => terrain_eroder}/erosions/hydraulic_erosion_pb.py (100%) rename {erosion_plugin => terrain_eroder}/erosions/thermal_erosion.py (100%) rename {erosion_plugin => terrain_eroder}/erosions/thermal_erosion_method.py (100%) rename {erosion_plugin => terrain_eroder}/erosions/tools.py (100%) rename {erosion_plugin => terrain_eroder}/model/types.py (100%) rename {erosion_plugin => terrain_eroder}/operators/__init__.py (100%) rename {erosion_plugin => terrain_eroder}/operators/create_terrain_operator.py (100%) rename {erosion_plugin => terrain_eroder}/operators/erosion_operator.py (100%) rename {erosion_plugin => terrain_eroder}/panels/__init__.py (100%) rename {erosion_plugin => terrain_eroder}/panels/erosion_panel.py (99%) rename {erosion_plugin => terrain_eroder}/panels/my_plugin_panel.py (98%) rename {erosion_plugin => terrain_eroder}/properties/__init__.py (100%) rename {erosion_plugin => terrain_eroder}/properties/erosion_properties.py (100%) diff --git a/README.md b/README.md index c233f72..ed13434 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,17 @@ +# Terrain eroder +Blender plugin for terrain erosion + + # Installation ## End user installation -- Download the latest release from [here](https://github.com/petak5/BP/releases/) or create the `.zip` manually from `erosion_plugin/` folder and install the `.zip` file from Blender (`Preferences -> Add-ons -> Install`) +- Download the latest release from [here](https://github.com/petak5/BP/releases/) or create the `.zip` manually from `terrain_eroder/` folder and install the `.zip` file from Blender (`Preferences -> Add-ons -> Install`) ## Development installation (changes to code are applied to plugin after Blender restarts) -- Create a symlink to `erosion_plugin/` folder from Blender's addons folder +- Create a symlink to `terrain_eroder/` folder from Blender's addons folder ### macOS - `cd /Users//Library/Application Support/Blender//scripts/addons/` -- `ln -s erosion_plugin ` +- `ln -s terrain_eroder ` ### Windows (cmd as Administrator) - `cd c:\Users\\AppData\Roaming\Blender Foundation\Blender\\scripts\addons\` -- `mklink /D erosion_plugin ` +- `mklink /D terrain_eroder ` diff --git a/erosion_plugin/__init__.py b/terrain_eroder/__init__.py similarity index 87% rename from erosion_plugin/__init__.py rename to terrain_eroder/__init__.py index 6d0f5d3..4770335 100644 --- a/erosion_plugin/__init__.py +++ b/terrain_eroder/__init__.py @@ -8,11 +8,11 @@ bl_info = { - "name": "Eroder", + "name": "Terrain Eroder", "author": "Peter Urgos", - "version": (0, 0, 1), + "version": (0, 1, 0), "blender": (2, 93, 0), - "location": "View3D > Sidebar > Erosion", + "location": "View3D > Sidebar > Eroder", "description": "Add-on for terrain erosion", "category": "3D View" } diff --git a/erosion_plugin/erosions/__init__.py b/terrain_eroder/erosions/__init__.py similarity index 100% rename from erosion_plugin/erosions/__init__.py rename to terrain_eroder/erosions/__init__.py diff --git a/erosion_plugin/erosions/hydraulic_erosion.py b/terrain_eroder/erosions/hydraulic_erosion.py similarity index 100% rename from erosion_plugin/erosions/hydraulic_erosion.py rename to terrain_eroder/erosions/hydraulic_erosion.py diff --git a/erosion_plugin/erosions/hydraulic_erosion_pb.py b/terrain_eroder/erosions/hydraulic_erosion_pb.py similarity index 100% rename from erosion_plugin/erosions/hydraulic_erosion_pb.py rename to terrain_eroder/erosions/hydraulic_erosion_pb.py diff --git a/erosion_plugin/erosions/thermal_erosion.py b/terrain_eroder/erosions/thermal_erosion.py similarity index 100% rename from erosion_plugin/erosions/thermal_erosion.py rename to terrain_eroder/erosions/thermal_erosion.py diff --git a/erosion_plugin/erosions/thermal_erosion_method.py b/terrain_eroder/erosions/thermal_erosion_method.py similarity index 100% rename from erosion_plugin/erosions/thermal_erosion_method.py rename to terrain_eroder/erosions/thermal_erosion_method.py diff --git a/erosion_plugin/erosions/tools.py b/terrain_eroder/erosions/tools.py similarity index 100% rename from erosion_plugin/erosions/tools.py rename to terrain_eroder/erosions/tools.py diff --git a/erosion_plugin/model/types.py b/terrain_eroder/model/types.py similarity index 100% rename from erosion_plugin/model/types.py rename to terrain_eroder/model/types.py diff --git a/erosion_plugin/operators/__init__.py b/terrain_eroder/operators/__init__.py similarity index 100% rename from erosion_plugin/operators/__init__.py rename to terrain_eroder/operators/__init__.py diff --git a/erosion_plugin/operators/create_terrain_operator.py b/terrain_eroder/operators/create_terrain_operator.py similarity index 100% rename from erosion_plugin/operators/create_terrain_operator.py rename to terrain_eroder/operators/create_terrain_operator.py diff --git a/erosion_plugin/operators/erosion_operator.py b/terrain_eroder/operators/erosion_operator.py similarity index 100% rename from erosion_plugin/operators/erosion_operator.py rename to terrain_eroder/operators/erosion_operator.py diff --git a/erosion_plugin/panels/__init__.py b/terrain_eroder/panels/__init__.py similarity index 100% rename from erosion_plugin/panels/__init__.py rename to terrain_eroder/panels/__init__.py diff --git a/erosion_plugin/panels/erosion_panel.py b/terrain_eroder/panels/erosion_panel.py similarity index 99% rename from erosion_plugin/panels/erosion_panel.py rename to terrain_eroder/panels/erosion_panel.py index ebddf6d..3e55299 100644 --- a/erosion_plugin/panels/erosion_panel.py +++ b/terrain_eroder/panels/erosion_panel.py @@ -8,7 +8,7 @@ class ErosionPanel(bpy.types.Panel): bl_idname = "OBJECT_PT_terrain_erosion" bl_space_type = 'VIEW_3D' bl_region_type = 'UI' - bl_category = "Erosion" + bl_category = "Eroder" def draw(self, context: bpy.types.Context): layout = self.layout diff --git a/erosion_plugin/panels/my_plugin_panel.py b/terrain_eroder/panels/my_plugin_panel.py similarity index 98% rename from erosion_plugin/panels/my_plugin_panel.py rename to terrain_eroder/panels/my_plugin_panel.py index aec6046..dbb9029 100644 --- a/erosion_plugin/panels/my_plugin_panel.py +++ b/terrain_eroder/panels/my_plugin_panel.py @@ -64,7 +64,7 @@ class MyPluginPanel(bpy.types.Panel): bl_idname = "OBJECT_PT_erosion_helper" bl_space_type = 'VIEW_3D' bl_region_type = 'UI' - bl_category = "Erosion" + bl_category = "Eroder" def draw(self, context): layout = self.layout diff --git a/erosion_plugin/properties/__init__.py b/terrain_eroder/properties/__init__.py similarity index 100% rename from erosion_plugin/properties/__init__.py rename to terrain_eroder/properties/__init__.py diff --git a/erosion_plugin/properties/erosion_properties.py b/terrain_eroder/properties/erosion_properties.py similarity index 100% rename from erosion_plugin/properties/erosion_properties.py rename to terrain_eroder/properties/erosion_properties.py