feat(blender): add Blender extension for mesh remeshing#176
Open
feat(blender): add Blender extension for mesh remeshing#176
Conversation
Create a Blender 4.2+ extension that integrates mmgpy functionality directly into Blender's UI, allowing users to remesh models without leaving Blender. Features: - Remesh selected mesh objects with customizable parameters - Presets (Fine, Medium, Coarse) for quick remeshing - Size control (hmin, hmax, hsiz, hausd) - Local refinement via Empty objects (spheres and boxes) - Batch processing support - Full undo/redo support The extension uses the new Blender Extensions system with: - blender_manifest.toml for metadata and wheel bundling - blender-extension-builder for dependency management - Platform-specific builds via --split-platforms flag Closes #125
❌ 4 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Benchmark Results Summary
Total: 82 benchmarks |
- Add sync_version.py to sync extension version from pyproject.toml - Update build.sh to run version sync before building - Add GitHub Actions workflow to build extension for all platforms (linux-x64, windows-x64, macos-arm64) on release - Workflow uploads packages as release assets automatically The extension version is now derived from mmgpy's version: - 0.6.0.dev0 -> 0.6.0 (dev suffix stripped for Blender manifest)
Convert Python PEP 440 versions to SemVer format for Blender: - 0.6.0.dev0 -> 0.6.0-dev.0 - 0.6.0a1 -> 0.6.0-alpha.1 - 0.6.0b1 -> 0.6.0-beta.1 - 0.6.0rc1 -> 0.6.0-rc.1 Keep Python format for dependency specifier (PEP 508 compatible).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Create a Blender 4.2+ extension that integrates mmgpy functionality directly into Blender's UI, allowing users to remesh models without leaving Blender.
Features
Installation Workflow for Users
./build.sh --all).zipfileBuilding
Test Plan
Related Issue
Closes #125