Skip to content

Commit

Permalink
Update readme and test version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
gregzaal committed Jul 17, 2024
1 parent 28486e6 commit 3e1bd31
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 72 deletions.
23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,11 @@ Haven Asset Tester - A Blender add-on we use for asset QC

## How to install:

### Option 1: With easy updates
Add the following URL as a new Remote Repository extension in Blender:

1. Check if you have `git` installed already by opening a command prompt and running `git --version`.
2. If that gives you an error like *"'git' is not recognized as an internal or external command..."*, then [install git](https://git-scm.com/download/win).
3. Go to this folder in explorer: `%appdata%\Blender Foundation\Blender\x.x\scripts\addons` (where `x.x` is your current Blender version).
4. Click in the address bar, type `cmd`, and press enter. This opens a command prompt in that folder.
5. Run `git clone https://github.com/Poly-Haven/HAT.git`
6. Open Blender and enable the add-on.
> https://raw.githubusercontent.com/Poly-Haven/HAT/main/index.json
### Option 2: Manual download

1. [Download this](https://github.com/Poly-Haven/HAT/archive/refs/heads/main.zip).
2. Install it inside Blender's Preferences.
3. If you get a big error that ends with *"ModuleNotFoundError: No module named 'HAT'"*, simply rename the `HAT-main` folder in `%appdata%\Blender Foundation\Blender\x.x\scripts\addons` to just `HAT` and restart Blender.

## How to update to new versions:

(assuming you used Option 1 above)

1. Close Blender.
2. Double click on `_UPDATE.bat` in `%appdata%\Blender Foundation\Blender\x.x\scripts\addons\HAT`.
3. Restart Blender.
Search for the HAT extension and click Install.

## Features / to do:

Expand Down
52 changes: 1 addition & 51 deletions blender_manifest.toml
Original file line number Diff line number Diff line change
@@ -1,69 +1,19 @@
schema_version = "1.0.0"

# Example of manifest file for a Blender extension
# Change the values according to your extension
id = "polyhaven_hat"
version = "1.0.18"
version = "1.0.19"
name = "HAT"
tagline = "Internal quality control tool for polyhaven.com"
maintainer = "Greg Zaal <[email protected]>"
# Supported types: "add-on", "theme"
type = "add-on"

# Optional link to documentation, support, source files, etc
website = "https://github.com/Poly-Haven/HAT"

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

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"
# 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/",
Expand Down
3 changes: 2 additions & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
blender --factory-startup --command extension build
blender --factory-startup --command extension build
blender --factory-startup --command extension server-generate --repo-dir=.
21 changes: 21 additions & 0 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,27 @@
"archive_url": "https://github.com/Poly-Haven/HAT/releases/download/v1.0.18/polyhaven_hat-1.0.18.zip",
"archive_size": 182269,
"archive_hash": "sha256:ad3b82d9cb9a0b73b4887e5856aeb2fd14ddbce436e426f744cd87f1a6c17693"
},
{
"schema_version": "1.0.0",
"id": "polyhaven_hat",
"name": "HAT",
"tagline": "Internal quality control tool for polyhaven.com",
"version": "1.0.19",
"type": "add-on",
"maintainer": "Greg Zaal <[email protected]>",
"license": [
"SPDX:GPL-2.0-or-later"
],
"blender_version_min": "4.2.0",
"website": "https://github.com/Poly-Haven/HAT",
"tags": [
"Scene",
"Import-Export"
],
"archive_url": "https://github.com/Poly-Haven/HAT/releases/download/v1.0.19/polyhaven_hat-1.0.19.zip",
"archive_size": 37590,
"archive_hash": "sha256:3c8ddd8b14e61c5830ba935114682b4e7a8c7add41d4ae000b4316589249fcb4"
}
]
}

0 comments on commit 3e1bd31

Please sign in to comment.