Add voxel grid downsampling button to Edit menu - #364
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #364 +/- ##
=======================================
Coverage 39.34% 39.34%
=======================================
Files 8 8
Lines 1426 1426
=======================================
Hits 561 561
Misses 829 829
Partials 36 36 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
The UI addition matches existing menu patterns and correctly invokes the existing voxel_grid command without introducing behavioral or structural issues.
Pull request overview
Adds a GUI entry in the Edit fold menu to trigger the existing voxel_grid console command, using the same “grid input + action button” pattern as “Create surface”, and labeling the action as “Reduce points” for clarity.
Changes:
- Adds a “Grid” numeric input (
#voxelGridRes) for voxel grid resolution in the Edit menu. - Adds a “Reduce points” button (
#voxelGrid) wired to runvoxel_grid <res>viapcdeditor.command(...).
File summaries
| File | Description |
|---|---|
| pcdeditor.js | Adds Edit-menu UI (input + button) and click handler to run voxel_grid with the chosen resolution. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Adds a GUI for the existing
voxel_gridconsole command to the Edit menu, following the same "Grid input + button" pattern as "Create surface".The button is labeled "Reduce points" so that the effect is clear for non-engineer users.