| … | … | @@ -0,0 +1,80 @@ |
| 1 | # Hard Ops 26' — Blender 5.2 fork |
| 2 | |
| 3 | > **This is a fork of Hard Ops made to get it working on Blender 5.2.** |
| 4 | > Upstream 26.1.3 crashes on 5.2: Blender moved geometry nodes modifier inputs |
| 5 | > off IDProperties, so every boolean, the auto-smooth path, radial array, thread |
| 6 | > and the helper panels raise |
| 7 | > `TypeError: this type doesn't support IDProperties`. This fork fixes that and |
| 8 | > nothing else — it is not a feature fork, and it tracks upstream releases. |
| 9 | > |
| 10 | > Vendor baseline: **26.1.3**. See [FORK.md](FORK.md) for what is patched, how |
| 11 | > vendor drops are merged, and how to update. |
| 12 | |
| 13 | Hard Ops is a hard-surface modelling addon for Blender — a menu-and-hotkey layer |
| 14 | over booleans, bevels, mirroring, arrays, sharpening and mesh cleanup, built for |
| 15 | non-destructive workflows on top of the modifier stack. |
| 16 | |
| 17 | | | | |
| 18 | |---|---| |
| 19 | | Version | 26.1.3 (`Hard Ops 26 : Lead`) | |
| 20 | | Requires | Blender 4.2.0+ (this fork additionally supports 5.2) | |
| 21 | | License | GPL-3.0-or-later | |
| 22 | | Manual | <https://hardops-manual.readthedocs.io> | |
| 23 | | Buy it | Blender Market / Gumroad — **please support the authors** | |
| 24 | |
| 25 | Maintained upstream by: AR, MX, proxe, bonjorno7, Neerhom, c0, MACHIN3, st3, |
| 26 | General Ginsu, Jacques Lucke, Ivan Santic, Robert Fornoff, Johnathan Mueller, |
| 27 | Batfinger, SE, PL, MKB, CGStrive, PG, AX, Adam K, WZ, PW, and you. |
| 28 | |
| 29 | ## What this fork changes |
| 30 | |
| 31 | One commit on top of the pristine vendor tree. In short: |
| 32 | |
| 33 | - Adds `utility/geometry_nodes/compat.py`, which bridges the pre-5.2 |
| 34 | IDProperty input storage and the 5.2 typed-RNA storage |
| 35 | (`modifier.properties.inputs.<id>.value`) behind one dict-like view, chosen by |
| 36 | feature detection — so 4.2 through 5.2 all work from the same call sites. |
| 37 | - Ports every modifier-input access onto it: the boolean and smooth-by-angle |
| 38 | wrappers, radial array, to-thread, ever-scroll, and the bevel/helper panels. |
| 39 | - Maps the boolean Operation and Solver menu sockets, which 5.2 stores as enum |
| 40 | identifiers rather than integer indices. |
| 41 | - Fixes a **hard crash**: the helper panel passed a socket *name* to |
| 42 | `object.geometry_nodes_input_attribute_toggle`, which resolves inputs by |
| 43 | *identifier*. Silently did nothing on 5.0/5.1; segfaults Blender on 5.2. |
| 44 | |
| 45 | `git diff <vendor-commit>..HEAD` is always the exact patch set. |
| 46 | |
| 47 | ## Install |
| 48 | |
| 49 | ```bash |
| 50 | git clone https://7rnx.net/git/hardops.git \ |
| 51 | ~/.config/blender/<version>/extensions/user_default/hardops |
| 52 | ``` |
| 53 | |
| 54 | Restart Blender and enable it in Preferences → Add-ons. The clone *is* the |
| 55 | extension directory, so updates are a `git pull` and a restart. |
| 56 | |
| 57 | ## Update |
| 58 | |
| 59 | Three remotes serve the same repo — use whichever is reachable: |
| 60 | |
| 61 | ```bash |
| 62 | git pull p2p main # punch:// over Hyperswarm, falls back to HTTPS |
| 63 | git pull web main # https://7rnx.net/git/hardops.git |
| 64 | git pull forge main # local bare repo |
| 65 | ``` |
| 66 | |
| 67 | ## Verifying a change |
| 68 | |
| 69 | Two headless regression scripts ship in the repo and cover the 5.2 work: |
| 70 | |
| 71 | ```bash |
| 72 | blender --background --python test_bool.py |
| 73 | blender --background --python test_rest.py |
| 74 | ``` |
| 75 | |
| 76 | ## Legal |
| 77 | |
| 78 | Hard Ops is a commercial addon licensed GPL-3.0-or-later, which is what permits |
| 79 | this fork to be redistributed. That does not make it free of charge — if you use |
| 80 | it, buy it from the authors. |