Repository navigation
3D printing: the print-face tint shows only while Send to Slicer is open, and is no longer saved in the design (#11512) #11559
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
Changes from all commits
396ec16
85e6ccf
8ae3191
dc8c917
cac313c
7019092
aaef962
b37b324
b4a004a
581290e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| { | ||
| "en": { | ||
| "prefs.keep_print_faces": "Keep print faces", | ||
| "prefs.keep_print_faces_tip": "On: the print face of each body is tinted in the view at all times and saved in the design. Off: it is tinted only while Send to Slicer is open, and designs are saved and opened without print faces." | ||
| }, | ||
| "ar": { | ||
| "prefs.keep_print_faces": "الاحتفاظ بأوجه الطباعة", | ||
| "prefs.keep_print_faces_tip": "تشغيل: يُلوَّن وجه الطباعة لكل جسم في العرض دائمًا ويُحفظ في التصميم. إيقاف: يُلوَّن فقط أثناء فتح نافذة إرسال إلى برنامج التقطيع، وتُحفظ التصاميم وتُفتح بدون أوجه الطباعة." | ||
| }, | ||
| "de": { | ||
| "prefs.keep_print_faces": "Auflageflächen behalten", | ||
| "prefs.keep_print_faces_tip": "Ein: Die Auflagefläche jedes Körpers wird in der Ansicht immer eingefärbt und in der Konstruktion gespeichert. Aus: Sie wird nur eingefärbt, solange An Slicer senden geöffnet ist, und Konstruktionen werden ohne Auflageflächen gespeichert und geöffnet." | ||
| }, | ||
| "es": { | ||
| "prefs.keep_print_faces": "Conservar caras de impresión", | ||
| "prefs.keep_print_faces_tip": "Activado: la cara de impresión de cada cuerpo se tiñe siempre en la vista y se guarda en el diseño. Desactivado: solo se tiñe mientras Enviar al laminador está abierto, y los diseños se guardan y se abren sin caras de impresión." | ||
| }, | ||
| "fr": { | ||
| "prefs.keep_print_faces": "Conserver les faces d’impression", | ||
| "prefs.keep_print_faces_tip": "Activé : la face d’impression de chaque corps est toujours teintée dans la vue et enregistrée dans la conception. Désactivé : elle n'est teintée que tant qu'Envoyer au slicer est ouvert, et les conceptions sont enregistrées et ouvertes sans faces d’impression." | ||
| }, | ||
| "he": { | ||
| "prefs.keep_print_faces": "שמירת פאות הדפסה", | ||
| "prefs.keep_print_faces_tip": "מופעל: פאת ההדפסה של כל גוף נצבעת בתצוגה תמיד ונשמרת בתכנון. כבוי: היא נצבעת רק כל עוד חלון שליחה לסלייסר פתוח, ותכנונים נשמרים ונפתחים ללא פאות הדפסה." | ||
| }, | ||
| "ja": { | ||
| "prefs.keep_print_faces": "造形面を保持", | ||
| "prefs.keep_print_faces_tip": "オン: 各ボディの造形面をビューで常に色付けし、デザインに保存します。オフ: 「スライサーに送る」が開いている間だけ色付けし、デザインは造形面なしで保存・オープンされます。" | ||
| }, | ||
| "ko": { | ||
| "prefs.keep_print_faces": "출력 바닥면 유지", | ||
| "prefs.keep_print_faces_tip": "켜기: 각 바디의 출력 바닥면을 뷰에 항상 색으로 표시하고 디자인에 저장합니다. 끄기: 슬라이서로 보내기가 열려 있는 동안만 표시하며, 디자인은 출력 바닥면 없이 저장되고 열립니다." | ||
| }, | ||
| "vi": { | ||
| "prefs.keep_print_faces": "Giữ mặt in", | ||
| "prefs.keep_print_faces_tip": "Bật: mặt in của mỗi khối luôn được tô màu trong khung nhìn và được lưu trong thiết kế. Tắt: mặt in chỉ được tô màu khi cửa sổ Gửi sang phần mềm cắt lớp (Slicer) đang mở, và thiết kế được lưu và mở mà không có mặt in." | ||
| }, | ||
| "zh": { | ||
| "prefs.keep_print_faces": "保留打印底面", | ||
| "prefs.keep_print_faces_tip": "开启:每个实体的打印底面始终在视图中着色,并保存在设计中。关闭:仅在“发送到切片软件”打开时着色,设计保存和打开时不含打印底面。" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1499,6 +1499,10 @@ preference_settings! { | |
| /// How strongly a print face stands out in the viewport (#8429): the share of the section | ||
| /// colour in its tint, 0 to 1; its outline follows. 0 draws no highlight. | ||
| print_face_highlight: f32 = 0.2, PAGE_GENERAL, accept(0.0..=1.0); | ||
| /// Print faces show in the view at all times and are saved in the design, as before #11512. | ||
| /// Off (the default): they show only while the Send to Slicer window is open, a save leaves | ||
| /// them out, and a design that has them opens without them. | ||
| keep_print_faces: bool = false, PAGE_GENERAL; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| /// The line about sending again replacing the slicer's file has been shown. | ||
| slicer_resend_hint_seen: bool = false; | ||
| /// The user has agreed to Open with EasyPrint uploading a model to Printables' servers. | ||
|
|
@@ -2296,6 +2300,7 @@ pub fn apply(app: &mut SolveApp, ctx: &egui::Context) { | |
| apply_network(&app.preferences); | ||
| // The features computed from now on are checked as the preference says. | ||
| app.session.set_validation(app.preferences.validation); | ||
| crate::print_face_ui::sync(&mut app.session, &app.preferences); | ||
| // The profiler records while the preference is on (switched when it changes; at start-up only | ||
| // when on, so SOLIDCRAFT_PROFILE=1 is not undone by the default). | ||
| let profile = app.preferences.profile_operations; | ||
|
|
@@ -6759,6 +6764,7 @@ mod tests { | |
| ("Fold items", PAGE_GRAPHICS), | ||
| ("Allow network locations in designs", PAGE_GENERAL), | ||
| ("Print face highlight", PAGE_GENERAL), | ||
| ("Keep print faces", PAGE_GENERAL), | ||
| ]; | ||
| let mut found = vec![Vec::new(); cases.len()]; | ||
| let mut h = crate::scenario::Harness::new(); | ||
|
|
@@ -12701,6 +12707,7 @@ mod settings_search_tests { | |
| ("allow network locations", "Allow network locations in designs"), | ||
| ("slicer that is already running", "Open files in a slicer that is already running"), | ||
| ("print face highlight", "Print face highlight"), | ||
| ("keep print faces", "Keep print faces"), | ||
| ("interface language", "Interface language"), | ||
| ] { | ||
| h.app.prefs_window.shell.filter = query.into(); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.