Skip to content

Feature top cover yjx#465

Open
iesteem wants to merge 9 commits into
Snapmaker:feature_top_coverfrom
iesteem:feature_top_cover_yjx
Open

Feature top cover yjx#465
iesteem wants to merge 9 commits into
Snapmaker:feature_top_coverfrom
iesteem:feature_top_cover_yjx

Conversation

@iesteem

@iesteem iesteem commented Jun 10, 2026

Copy link
Copy Markdown

Description

iesteem and others added 8 commits June 10, 2026 16:01
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…ing detection

The solid_infill_filament key was missing from p->config's default key list,
causing collect_filament_slots_from_config() to never detect solid infill
filament usage. This made the high/low temperature mixing guard silently
skip solid infill while correctly catching all other auxiliary materials.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
check_filament_temp_mixing incorrectly used the Plater's global config
(p->config) when checking per-plate filament temperature mixing. This
caused false positives on plates that don't use mixing when a 3MF
project contains both mixed and non-mixed plates.

Remove the global config collection and instead resolve the default
extruder for objects with extruder=0 from full_config(), so only the
filament slots actually used by each plate's objects are considered.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Sync main tab with view panel in select_view_3D via select_tab
- Skip redundant GL toolbar event post when view already matches tab
- Allow Preview tab switch when plate is blocked by temp mixing
- Always re-push filament temp mixing notification to handle external dismiss

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…ions

Replace wxMessageDialog with MessageDialog in both mixing confirm
functions to match the "High and Low Temperature Material Mixing Risk"
dialog style in Preferences. Change dialog title to "Confirm slicing"
with custom Confirm/Cancel button labels.

Add Chinese translations for "Confirm slicing" and the mixing risk
message text.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@iesteem iesteem force-pushed the feature_top_cover_yjx branch from 2d95951 to 62454d9 Compare June 10, 2026 08:02
return;}
#endif
if (evt.CmdDown() && evt.GetKeyCode() == 'R') { if (m_slice_enable) { wxGetApp().plater()->update(true, true); wxPostEvent(m_plater, SimpleEvent(EVT_GLTOOLBAR_SLICE_PLATE)); this->m_tabpanel->SetSelection(tpPreview); } return; }
if (evt.CmdDown() && evt.GetKeyCode() == 'R') { if (m_slice_enable) { wxGetApp().plater()->update(true, true); wxPostEvent(m_plater, SimpleEvent(EVT_GLTOOLBAR_SLICE_PLATE)); } return; }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个删除的代码确定是需要删除的吗

…g check

The global Plater config's wall_filament/solid_infill_filament etc. were
unconditionally collected for every plate, causing false positives when
a filament assigned in the global config was not actually used on a
given plate (e.g., solid_infill_filament=3(ABS) flagged Plate 2 which
only used extruder=0(PLA-AERO)).

Remove collect_filament_slots_from_config(*this->config(), ...) so the
per-plate check only considers plate-level overrides, object/volume
extruder assignments, and global default extruder resolution.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants