-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add warning icons for extruder visibility in SimulationView #21152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Introduces warning icons in the SimulationView menu to indicate when extruder visibility is low or unchecked. Updates layout logic to accommodate the new icons and increments the plugin version to 1.0.2.
Updated the id from lineTypeLabel to SchemeTypeLabel and adjusted references accordingly for clarity and consistency in SimulationViewMenuComponent.qml.
id should start with lowercase
Test Results24 506 tests +24 506 24 498 ✅ +24 498 48s ⏱️ +48s For more details on these errors, see this check. Results for commit 89a6708. ± Comparison against base commit db86084. ♻️ This comment has been updated with latest results. |
Updated the warning icon visibility check to only consider extruders that exist in the current printer, preventing false warnings for non-existent extruders.
wawanbreton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good and I love the idea, the only thing that bothers me is that the warning also appears when the exruder is disabled. Can you fix that ?
Updated warning icon visibility logic to display warnings only for enabled extruders in the simulation view menu. This prevents warnings from appearing for extruders that are not active.
|
Although it's in my job description to annoy you, this does not fall within that category xD |
This pull request introduces visual warnings in the Simulation View menu to improve user awareness when specific extruder settings might affect the simulation display. The main changes are the addition of warning icons that appear under certain conditions, along with minor layout adjustments and a version bump for the plugin.
User interface improvements:
UM.ColorImage) next to the line type label inSimulationViewMenuComponent.qml, which becomes visible if any extruder is unchecked or has opacity below a threshold. This helps users quickly identify potential issues with extruder visibility.Layout and style adjustments:
Version update:
plugin.jsonfrom1.0.1to1.0.2to reflect the new changes.CURA-12847