[PR #262] [MERGED] Feature/updated_plate_view_v2 #979

Closed
opened 2026-05-06 12:34:18 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/262
Author: @MisterBeardy
Created: 2/4/2026
Status: Merged
Merged: 2/4/2026
Merged by: @maziggy

Base: 0.1.8bHead: feature/updated_plate_view_v2


📝 Commits (4)

  • 87c18e5 Add plate object count metadata and viewer display
  • d5f798a Merge branch '0.1.8b' into feature/3d_plate_view_v2
  • 008fc70 fixed lint error
  • 2833270 Merge branch '0.1.8b' into feature/updated_plate_view_v2

📊 Changes

6 files changed (+469 additions, -101 deletions)

View changed files

📝 backend/app/api/routes/archives.py (+29 -1)
📝 backend/app/api/routes/library.py (+28 -1)
📝 backend/app/api/routes/printers.py (+1 -0)
📝 frontend/src/components/ModelViewer.tsx (+48 -20)
📝 frontend/src/components/ModelViewerModal.tsx (+362 -79)
📝 frontend/src/types/plates.ts (+1 -0)

📄 Description

Description

  • Updated 3D Model view with dynamic resizing of window
  • Added full screen view
  • Added object detection for plates instead of showing "0 Filaments"

Resolves issue with window size issues and models with more then 10 plates

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test addition or update

Changes Made

  • Added Full Screen icon on 3D Model view
  • Added object detection on each plate
  • Dynamic resize for both model and plate view

Screenshots

image image

Testing

  • I have tested this on my local machine
  • I have tested with my printer model:

Checklist

  • My code follows the project's coding style
  • I have commented my code where necessary
  • I have updated the documentation (if needed)
  • My changes generate no new warnings
  • I have tested my changes thoroughly

Additional Notes

Previous merge failed and resolved a lint error.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/262 **Author:** [@MisterBeardy](https://github.com/MisterBeardy) **Created:** 2/4/2026 **Status:** ✅ Merged **Merged:** 2/4/2026 **Merged by:** [@maziggy](https://github.com/maziggy) **Base:** `0.1.8b` ← **Head:** `feature/updated_plate_view_v2` --- ### 📝 Commits (4) - [`87c18e5`](https://github.com/maziggy/bambuddy/commit/87c18e5fcf7762aa29369fa0916cc7936c767e8b) Add plate object count metadata and viewer display - [`d5f798a`](https://github.com/maziggy/bambuddy/commit/d5f798ad7fae23c52501ba803960f0fd807c8ff8) Merge branch '0.1.8b' into feature/3d_plate_view_v2 - [`008fc70`](https://github.com/maziggy/bambuddy/commit/008fc702fa8ce6abe1d6a61e424cc2d1922b046e) fixed lint error - [`2833270`](https://github.com/maziggy/bambuddy/commit/2833270e29bdb90262deab5f1352df5539ddc1de) Merge branch '0.1.8b' into feature/updated_plate_view_v2 ### 📊 Changes **6 files changed** (+469 additions, -101 deletions) <details> <summary>View changed files</summary> 📝 `backend/app/api/routes/archives.py` (+29 -1) 📝 `backend/app/api/routes/library.py` (+28 -1) 📝 `backend/app/api/routes/printers.py` (+1 -0) 📝 `frontend/src/components/ModelViewer.tsx` (+48 -20) 📝 `frontend/src/components/ModelViewerModal.tsx` (+362 -79) 📝 `frontend/src/types/plates.ts` (+1 -0) </details> ### 📄 Description ## Description - Updated 3D Model view with dynamic resizing of window - Added full screen view - Added object detection for plates instead of showing "0 Filaments" ## Related Issue Resolves issue with window size issues and models with more then 10 plates ## Type of Change <!-- Mark the relevant option with an "x" --> - [X] Bug fix (non-breaking change that fixes an issue) - [X] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [ ] Code refactoring - [ ] Performance improvement - [ ] Test addition or update ## Changes Made - Added Full Screen icon on 3D Model view - Added object detection on each plate - Dynamic resize for both model and plate view ## Screenshots <img width="678" height="799" alt="image" src="https://github.com/user-attachments/assets/4e0cac1b-044e-4f04-b978-2a79c21c283d" /> <img width="1674" height="993" alt="image" src="https://github.com/user-attachments/assets/f4b2ad1f-ab76-41f5-86d9-f1d1368411ff" /> ## Testing <!-- Describe how you tested your changes --> - [X] I have tested this on my local machine - [ ] I have tested with my printer model: <!-- e.g., X1C, P1S, A1 --> ## Checklist - [X] My code follows the project's coding style - [ ] I have commented my code where necessary - [ ] I have updated the documentation (if needed) - [ ] My changes generate no new warnings - [ ] I have tested my changes thoroughly ## Additional Notes Previous merge failed and resolved a lint error. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:34:18 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#979
No description provided.