Merge branch 'main' into dev/bbl-network-upd

# Conflicts:
#	src/slic3r/GUI/Widgets/AMSControl.cpp
This commit is contained in:
Noisyfox
2025-05-11 21:17:43 +08:00
42 changed files with 354 additions and 255 deletions
+3 -4
View File
@@ -3430,8 +3430,8 @@ msgid "Bed Shape"
msgstr "" msgstr ""
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5154,8 +5154,7 @@ msgid "Layer: %d/%d"
msgstr "" msgstr ""
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
msgid "Still unload" msgid "Still unload"
+7 -8
View File
@@ -3662,11 +3662,11 @@ msgid "Bed Shape"
msgstr "Forma de la placa d'impressió" msgstr "Forma de la placa d'impressió"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"La temperatura mínima recomanada és inferior a 190 graus o la màxima " "La temperatura mínima recomanada és inferior a 190 °C o la màxima "
"recomanada és superior a 300 graus.\n" "recomanada és superior a 300 °C.\n"
msgid "" msgid ""
"The recommended minimum temperature cannot be higher than the recommended " "The recommended minimum temperature cannot be higher than the recommended "
@@ -5542,11 +5542,10 @@ msgid "Layer: %d/%d"
msgstr "Capa: %d/%d" msgstr "Capa: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Escalfeu el broquet per sobre dels 170 graus abans de carregar o descarregar " "Escalfeu el broquet per sobre dels 170 °C abans de carregar o descarregar el "
"el filament." "filament."
msgid "Still unload" msgid "Still unload"
msgstr "Encara descarregat" msgstr "Encara descarregat"
+4 -5
View File
@@ -3592,8 +3592,8 @@ msgid "Bed Shape"
msgstr "Tvar Podložky" msgstr "Tvar Podložky"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5415,8 +5415,7 @@ msgid "Layer: %d/%d"
msgstr "Vrstva: %d/%d" msgstr "Vrstva: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
msgid "Still unload" msgid "Still unload"
@@ -17817,7 +17816,7 @@ msgstr ""
#~ "Ano - přepnout na přímočarý vzor automaticky\n" #~ "Ano - přepnout na přímočarý vzor automaticky\n"
#~ "Ne - automaticky resetovat hustotu na výchozí ne 100% hodnotu" #~ "Ne - automaticky resetovat hustotu na výchozí ne 100% hodnotu"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "Před vložením filamentu zahřejte trysku na více než 170 stupňů." #~ msgstr "Před vložením filamentu zahřejte trysku na více než 170 stupňů."
#~ msgid "Show G-code window" #~ msgid "Show G-code window"
+6 -8
View File
@@ -3702,11 +3702,11 @@ msgid "Bed Shape"
msgstr "Druckbettform" msgstr "Druckbettform"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"Die empfohlene Mindesttemperatur liegt unter 190 Grad oder die empfohlene " "Die empfohlene Mindesttemperatur liegt unter 190°C oder die empfohlene "
"Maximaltemperatur liegt über 300 Grad.\n" "Maximaltemperatur liegt über 300°C.\n"
msgid "" msgid ""
"The recommended minimum temperature cannot be higher than the recommended " "The recommended minimum temperature cannot be higher than the recommended "
@@ -5596,11 +5596,9 @@ msgid "Layer: %d/%d"
msgstr "Schicht: %d/%d" msgstr "Schicht: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Heizen Sie die Düse vor dem Laden oder Entladen des Filaments auf über 170 " "Heizen Sie die Düse vor dem Laden oder Entladen des Filaments auf über 170°C."
"Grad."
msgid "Still unload" msgid "Still unload"
msgstr "Entlade immer noch" msgstr "Entlade immer noch"
+3 -6
View File
@@ -3481,8 +3481,8 @@ msgid "Bed Shape"
msgstr "" msgstr ""
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5260,11 +5260,8 @@ msgid "Layer: %d/%d"
msgstr "" msgstr ""
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Please heat the nozzle to above 170 degrees before loading or unloading "
"filament."
msgid "Still unload" msgid "Still unload"
msgstr "" msgstr ""
+8 -9
View File
@@ -3689,11 +3689,11 @@ msgid "Bed Shape"
msgstr "Forma de la cama de impresión" msgstr "Forma de la cama de impresión"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"La temperatura mínima recomendada es inferior a 190 grados o la temperatura " "La temperatura mínima recomendada es inferior a 190°C o la temperatura "
"máxima recomendada es superior a 300 grados.\n" "máxima recomendada es superior a 300°C.\n"
msgid "" msgid ""
"The recommended minimum temperature cannot be higher than the recommended " "The recommended minimum temperature cannot be higher than the recommended "
@@ -5569,10 +5569,9 @@ msgid "Layer: %d/%d"
msgstr "Capa: %d/%d" msgstr "Capa: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Por favor, caliente la boquilla por encima de 170 grados antes de cargar o " "Por favor, caliente la boquilla por encima de 170°C antes de cargar o "
"descargar filamento." "descargar filamento."
msgid "Still unload" msgid "Still unload"
@@ -19827,9 +19826,9 @@ msgstr ""
#~ "Sí - cambiar a patrón rectilíneo automaticamente\n" #~ "Sí - cambiar a patrón rectilíneo automaticamente\n"
#~ "No - reiniciar a valor de densidad no 100% por defecto automáticamente" #~ "No - reiniciar a valor de densidad no 100% por defecto automáticamente"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "" #~ msgstr ""
#~ "Caliente la boquilla a más de 170 grados antes de cargar el filamento." #~ "Caliente la boquilla a más de 170°C antes de cargar el filamento."
#~ msgid "Show G-code window" #~ msgid "Show G-code window"
#~ msgstr "Mostrar la ventana de G-Code" #~ msgstr "Mostrar la ventana de G-Code"
+9 -11
View File
@@ -3702,11 +3702,11 @@ msgid "Bed Shape"
msgstr "Forme du plateau" msgstr "Forme du plateau"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"La température minimale recommandée est inférieure à 190 degrés ou la " "La température minimale recommandée est inférieure à 190°C ou la "
"température maximale recommandée est supérieure à 300 degrés.\n" "température maximale recommandée est supérieure à 300°C.\n"
msgid "" msgid ""
"The recommended minimum temperature cannot be higher than the recommended " "The recommended minimum temperature cannot be higher than the recommended "
@@ -5583,11 +5583,10 @@ msgid "Layer: %d/%d"
msgstr "Couche : %d/%d" msgstr "Couche : %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Veuillez chauffer la buse à plus de 170 degrés avant de charger ou de " "Veuillez chauffer la buse à plus de 170°C avant de charger ou de décharger "
"décharger le filament." "le filament."
msgid "Still unload" msgid "Still unload"
msgstr "Décharger encore" msgstr "Décharger encore"
@@ -20415,10 +20414,9 @@ msgstr ""
#~ "Oui - Passez automatiquement au modèle rectiligne\n" #~ "Oui - Passez automatiquement au modèle rectiligne\n"
#~ "Non - Réinitialise automatiquement la densité à la valeur par défaut" #~ "Non - Réinitialise automatiquement la densité à la valeur par défaut"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "" #~ msgstr ""
#~ "Veuillez chauffer la buse à plus de 170 degrés avant de charger le " #~ "Veuillez chauffer la buse à plus de 170°C avant de charger le filament."
#~ "filament."
#~ msgid "Show G-code window" #~ msgid "Show G-code window"
#~ msgstr "Afficher la fenêtre G-code" #~ msgstr "Afficher la fenêtre G-code"
+5 -4
View File
@@ -3548,9 +3548,10 @@ msgstr "Válassz egy STL fájlt az asztal textúrájának importálásához:"
msgid "Bed Shape" msgid "Bed Shape"
msgstr "Asztal alakja" msgstr "Asztal alakja"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"Az ajánlott minimum hőmérséklet kevesebb, mint 190 fok, vagy az ajánlott " "Az ajánlott minimum hőmérséklet kevesebb, mint 190 fok, vagy az ajánlott "
"maximális hőmérséklet nagyobb, mint 300 fok.\n" "maximális hőmérséklet nagyobb, mint 300 fok.\n"
@@ -5357,9 +5358,9 @@ msgstr ""
msgid "Layer: %d/%d" msgid "Layer: %d/%d"
msgstr "" msgstr ""
#, fuzzy
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Kérjük, melegítsd a fúvókát 170 fok fölé a filament betöltése vagy kihúzása " "Kérjük, melegítsd a fúvókát 170 fok fölé a filament betöltése vagy kihúzása "
"előtt." "előtt."
+8 -9
View File
@@ -3694,11 +3694,11 @@ msgid "Bed Shape"
msgstr "Forma Piano" msgstr "Forma Piano"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"La temperatura minima consigliata è inferiore a 190 gradi o la temperatura " "La temperatura minima consigliata è inferiore a 190°C o la temperatura "
"massima consigliata è superiore a 300 gradi.\n" "massima consigliata è superiore a 300°C.\n"
msgid "" msgid ""
"The recommended minimum temperature cannot be higher than the recommended " "The recommended minimum temperature cannot be higher than the recommended "
@@ -5566,10 +5566,9 @@ msgid "Layer: %d/%d"
msgstr "Strato: %d/%d" msgstr "Strato: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Si prega di riscaldare l'ugello a oltre 170 gradi prima di caricare o " "Si prega di riscaldare l'ugello a oltre 170°C prima di caricare o "
"scaricare il filamento." "scaricare il filamento."
msgid "Still unload" msgid "Still unload"
@@ -19892,9 +19891,9 @@ msgstr ""
#~ "Sì - passa automaticamente alla trama rettilinea\n" #~ "Sì - passa automaticamente alla trama rettilinea\n"
#~ "No - ripristina automaticamente la densità al valore predefinito non 100%" #~ "No - ripristina automaticamente la densità al valore predefinito non 100%"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "" #~ msgstr ""
#~ "Riscaldare il nozzle a una temperatura superiore a 170 gradi prima di " #~ "Riscaldare il nozzle a una temperatura superiore a 170°C prima di "
#~ "caricare il filamento." #~ "caricare il filamento."
#~ msgid "Show G-code window" #~ msgid "Show G-code window"
+4 -5
View File
@@ -3504,8 +3504,8 @@ msgid "Bed Shape"
msgstr "ベッド形状" msgstr "ベッド形状"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5265,8 +5265,7 @@ msgid "Layer: %d/%d"
msgstr "" msgstr ""
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
msgid "Still unload" msgid "Still unload"
@@ -16765,7 +16764,7 @@ msgstr ""
#~ "はい - 直線パターンに切り替えます\n" #~ "はい - 直線パターンに切り替えます\n"
#~ "いいえ - 充填密度をリセットします" #~ "いいえ - 充填密度をリセットします"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "" #~ msgstr ""
#~ "フィラメントをロードする前に、ノズル温度を170℃以上に加熱してください" #~ "フィラメントをロードする前に、ノズル温度を170℃以上に加熱してください"
+5 -5
View File
@@ -3563,9 +3563,10 @@ msgstr "베드 모델을 가져올 STL 파일 선택:"
msgid "Bed Shape" msgid "Bed Shape"
msgstr "베드 모양" msgstr "베드 모양"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "권장 최저 온도는 190도 미만 또는 권장 최고 온도는 300도 이상입니다.\n" msgstr "권장 최저 온도는 190도 미만 또는 권장 최고 온도는 300도 이상입니다.\n"
msgid "" msgid ""
@@ -5386,8 +5387,7 @@ msgid "Layer: %d/%d"
msgstr "레이어: %d/%d" msgstr "레이어: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"필라멘트를 로드하거나 언로드하기 전에 노즐을 170도 이상으로 가열하세요." "필라멘트를 로드하거나 언로드하기 전에 노즐을 170도 이상으로 가열하세요."
@@ -18871,7 +18871,7 @@ msgstr ""
#~ "예 - 자동으로 직선 패턴으로 전환합니다\n" #~ "예 - 자동으로 직선 패턴으로 전환합니다\n"
#~ "아니요 - 밀도를 기본값(100%가 아닌 값)으로 자동 재설정합니다" #~ "아니요 - 밀도를 기본값(100%가 아닌 값)으로 자동 재설정합니다"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "필라멘트를 로드하기 전에 노즐을 170도 이상으로 가열하십시오." #~ msgstr "필라멘트를 로드하기 전에 노즐을 170도 이상으로 가열하십시오."
#~ msgid "Show G-code window" #~ msgid "Show G-code window"
+5 -4
View File
@@ -3646,9 +3646,10 @@ msgstr "Pasirinkite STL failą, iš kurio norite importuoti pagrindo modelį:"
msgid "Bed Shape" msgid "Bed Shape"
msgstr "Pagrindo forma" msgstr "Pagrindo forma"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"Rekomenduojama minimali temperatūra yra žemesnė nei 190 laipsnių arba " "Rekomenduojama minimali temperatūra yra žemesnė nei 190 laipsnių arba "
"maksimali temperatūra aukštesnė nei 300 laipsnių.\n" "maksimali temperatūra aukštesnė nei 300 laipsnių.\n"
@@ -5515,9 +5516,9 @@ msgstr "Sluoksnis: %s"
msgid "Layer: %d/%d" msgid "Layer: %d/%d"
msgstr "Sluoksnis: %d/%d" msgstr "Sluoksnis: %d/%d"
#, fuzzy
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Prašome prieš įtraukiant ar išstumiant giją įkaitinti purkštuką virš 170 " "Prašome prieš įtraukiant ar išstumiant giją įkaitinti purkštuką virš 170 "
"laipsnių." "laipsnių."
+6 -8
View File
@@ -3591,11 +3591,11 @@ msgid "Bed Shape"
msgstr "Printbed vorm" msgstr "Printbed vorm"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"De aanbevolen minimumtemperatuur is lager dan 190 graden of de aanbevolen " "De aanbevolen minimumtemperatuur is lager dan 190°C of de aanbevolen "
"maximumtemperatuur is hoger dan 300 graden.\n" "maximumtemperatuur is hoger dan 300°C.\n"
msgid "" msgid ""
"The recommended minimum temperature cannot be higher than the recommended " "The recommended minimum temperature cannot be higher than the recommended "
@@ -5407,11 +5407,9 @@ msgid "Layer: %d/%d"
msgstr "" msgstr ""
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Verwarm het mondstuk tot boven de 170 graden voordat u filament laadt of " "Verwarm het mondstuk tot boven de 170°C voordat u filament laadt of lost."
"lost."
msgid "Still unload" msgid "Still unload"
msgstr "Nog steeds aan het ontladen" msgstr "Nog steeds aan het ontladen"
+6 -5
View File
@@ -3654,9 +3654,10 @@ msgstr "Wybierz plik STL do zaimportowania modelu stołu z:"
msgid "Bed Shape" msgid "Bed Shape"
msgstr "Kształt stołu" msgstr "Kształt stołu"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"Zalecana temperatura jest poniżej minimalnych 190 stopni lub temperatura " "Zalecana temperatura jest poniżej minimalnych 190 stopni lub temperatura "
"przekracza zalecane maksimum 300 stopni.\n" "przekracza zalecane maksimum 300 stopni.\n"
@@ -5524,9 +5525,9 @@ msgstr "Warstwa: %s"
msgid "Layer: %d/%d" msgid "Layer: %d/%d"
msgstr "Warstwa: %d/%d" msgstr "Warstwa: %d/%d"
#, fuzzy
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Przed załadowaniem lub rozładunkiem filamentu, podgrzej dyszę do temperatury " "Przed załadowaniem lub rozładunkiem filamentu, podgrzej dyszę do temperatury "
"powyżej 170 stopni." "powyżej 170 stopni."
@@ -20919,7 +20920,7 @@ msgstr ""
#~ "Tak - przełącz automatycznie na wzór prostoliniowy\n" #~ "Tak - przełącz automatycznie na wzór prostoliniowy\n"
#~ "Nie - automatycznie zresetuj gęstość do domyślnej wartości nie 100%" #~ "Nie - automatycznie zresetuj gęstość do domyślnej wartości nie 100%"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "" #~ msgstr ""
#~ "Proszę podgrzać dyszę do ponad 170 stopni przed załadowaniem filamentu." #~ "Proszę podgrzać dyszę do ponad 170 stopni przed załadowaniem filamentu."
+9 -11
View File
@@ -2979,13 +2979,13 @@ msgid "Max volumetric speed"
msgstr "Fluxo volumétrico máximo" msgstr "Fluxo volumétrico máximo"
msgid "℃" msgid "℃"
msgstr "°C" msgstr ""
msgid "Bed temperature" msgid "Bed temperature"
msgstr "Temperatura da mesa" msgstr "Temperatura da mesa"
msgid "mm³" msgid "mm³"
msgstr "mm3" msgstr ""
msgid "Start calibration" msgid "Start calibration"
msgstr "Iniciar calibração" msgstr "Iniciar calibração"
@@ -3655,11 +3655,11 @@ msgid "Bed Shape"
msgstr "Forma da Mesa" msgstr "Forma da Mesa"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"A temperatura mínima recomendada é inferior a 190 graus ou a temperatura " "A temperatura mínima recomendada é inferior a 190°C ou a temperatura máxima "
"máxima recomendada é superior a 300 graus.\n" "recomendada é superior a 300°C.\n"
msgid "" msgid ""
"The recommended minimum temperature cannot be higher than the recommended " "The recommended minimum temperature cannot be higher than the recommended "
@@ -5527,11 +5527,9 @@ msgid "Layer: %d/%d"
msgstr "Camada: %d/%d" msgstr "Camada: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Aqueça o bico a mais de 170 graus antes de carregar ou descarregar o " "Aqueça o bico a mais de 170°C antes de carregar ou descarregar o filamento."
"filamento."
msgid "Still unload" msgid "Still unload"
msgstr "Ainda descarregando" msgstr "Ainda descarregando"
@@ -10080,7 +10078,7 @@ msgstr ""
"filamento não suporta a impressão na Placa Fria." "filamento não suporta a impressão na Placa Fria."
msgid "°C" msgid "°C"
msgstr "°C" msgstr ""
msgid "" msgid ""
"Bed temperature for layers except the initial one. A value of 0 means the " "Bed temperature for layers except the initial one. A value of 0 means the "
+4 -4
View File
@@ -3695,9 +3695,10 @@ msgstr "Выберите STL файл для импорта формы стол
msgid "Bed Shape" msgid "Bed Shape"
msgstr "Форма стола" msgstr "Форма стола"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"Минимально рекомендуемая температура меньше 190 градусов или максимально " "Минимально рекомендуемая температура меньше 190 градусов или максимально "
"рекомендуемая температура выше 300 градусов.\n" "рекомендуемая температура выше 300 градусов.\n"
@@ -5595,8 +5596,7 @@ msgid "Layer: %d/%d"
msgstr "Слой: %d/%d" msgstr "Слой: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Пожалуйста, перед загрузкой или выгрузкой прутка, нагрейте сопло до " "Пожалуйста, перед загрузкой или выгрузкой прутка, нагрейте сопло до "
"температуры выше 170°C." "температуры выше 170°C."
+6 -7
View File
@@ -3543,11 +3543,11 @@ msgid "Bed Shape"
msgstr "Byggplattans Form" msgstr "Byggplattans Form"
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"Den rekommenderade lägsta temperaturen är lägre än 190 grader eller den " "Den rekommenderade lägsta temperaturen är lägre än 190°C eller den "
"rekommenderade max temperaturen är högre än 300 grader.\n" "rekommenderade max temperaturen är högre än 300°C.\n"
msgid "" msgid ""
"The recommended minimum temperature cannot be higher than the recommended " "The recommended minimum temperature cannot be higher than the recommended "
@@ -5348,10 +5348,9 @@ msgid "Layer: %d/%d"
msgstr "Lager: %d/%d" msgstr "Lager: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Värm nozzeln till över 170 grader innan du laddar eller matar ut filament." "Värm nozzeln till över 170°C innan du laddar eller matar ut filament."
msgid "Still unload" msgid "Still unload"
msgstr "Matar ut fortfarande" msgstr "Matar ut fortfarande"
+6 -5
View File
@@ -3621,9 +3621,10 @@ msgstr "Yatak modelini içe aktarmak için bir STL dosyası seçin:"
msgid "Bed Shape" msgid "Bed Shape"
msgstr "Yatak Şekli" msgstr "Yatak Şekli"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"Önerilen minimum sıcaklık 190 dereceden azdır veya önerilen maksimum " "Önerilen minimum sıcaklık 190 dereceden azdır veya önerilen maksimum "
"sıcaklık 300 dereceden yüksektir.\n" "sıcaklık 300 dereceden yüksektir.\n"
@@ -5480,9 +5481,9 @@ msgstr "Katman: %s"
msgid "Layer: %d/%d" msgid "Layer: %d/%d"
msgstr "Katman: %d/%d" msgstr "Katman: %d/%d"
#, fuzzy
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Filamenti yüklemeden veya boşaltmadan önce lütfen nozulu 170 derecenin " "Filamenti yüklemeden veya boşaltmadan önce lütfen nozulu 170 derecenin "
"üzerine ısıtın." "üzerine ısıtın."
@@ -19713,7 +19714,7 @@ msgstr ""
#~ "Hayır - yoğunluğu otomatik olarak %100 olmayan varsayılan değere " #~ "Hayır - yoğunluğu otomatik olarak %100 olmayan varsayılan değere "
#~ "sıfırlayın" #~ "sıfırlayın"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "" #~ msgstr ""
#~ "Filamenti yüklemeden önce lütfen Nozulu 170 derecenin üzerine ısıtın." #~ "Filamenti yüklemeden önce lütfen Nozulu 170 derecenin üzerine ısıtın."
+5 -4
View File
@@ -3657,9 +3657,10 @@ msgstr "Виберіть файл STL для імпорту моделі сто
msgid "Bed Shape" msgid "Bed Shape"
msgstr "Форма столу" msgstr "Форма столу"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "" msgstr ""
"Мінімально рекомендована температура менше 190 градусів або максимально " "Мінімально рекомендована температура менше 190 градусів або максимально "
"рекомендована температура більше 300 градусів.\n" "рекомендована температура більше 300 градусів.\n"
@@ -5535,9 +5536,9 @@ msgstr "Шар: %s"
msgid "Layer: %d/%d" msgid "Layer: %d/%d"
msgstr "Шар: %d/%d" msgstr "Шар: %d/%d"
#, fuzzy
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "" msgstr ""
"Будь ласка, нагрійте насадку до понад 170 градусів перед завантаженням або " "Будь ласка, нагрійте насадку до понад 170 градусів перед завантаженням або "
"вивантаженням філаменту." "вивантаженням філаменту."
+5 -5
View File
@@ -3498,9 +3498,10 @@ msgstr "选择 STL 文件来导入床模型:"
msgid "Bed Shape" msgid "Bed Shape"
msgstr "热床形状" msgstr "热床形状"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "建议最低温度低于 190 度或建议最高温度高于 300 度。\n" msgstr "建议最低温度低于 190 度或建议最高温度高于 300 度。\n"
msgid "" msgid ""
@@ -5291,8 +5292,7 @@ msgid "Layer: %d/%d"
msgstr "层: %d/%d" msgstr "层: %d/%d"
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "请在进料或退料前把喷嘴升温到170℃以上。" msgstr "请在进料或退料前把喷嘴升温到170℃以上。"
msgid "Still unload" msgid "Still unload"
@@ -17552,7 +17552,7 @@ msgstr ""
#~ "是 - 自动切换到直线图案\n" #~ "是 - 自动切换到直线图案\n"
#~ "否 - 自动将密度重置为默认的非100%值" #~ "否 - 自动将密度重置为默认的非100%值"
#~ msgid "Please heat the nozzle to above 170 degree before loading filament." #~ msgid "Please heat the nozzle to above 170°C before loading filament."
#~ msgstr "请在进料前把喷嘴升温到170℃" #~ msgstr "请在进料前把喷嘴升温到170℃"
#~ msgid "Show G-code window" #~ msgid "Show G-code window"
+5 -4
View File
@@ -3502,9 +3502,10 @@ msgstr "選擇 STL 檔案來匯入熱床模型:"
msgid "Bed Shape" msgid "Bed Shape"
msgstr "熱床形狀" msgstr "熱床形狀"
#, fuzzy
msgid "" msgid ""
"The recommended minimum temperature is less than 190 degree or the " "The recommended minimum temperature is less than 190°C or the "
"recommended maximum temperature is greater than 300 degree.\n" "recommended maximum temperature is greater than 300°C.\n"
msgstr "推薦的最小溫度低於 190 度或推薦的最大溫度高於 300 度。\n" msgstr "推薦的最小溫度低於 190 度或推薦的最大溫度高於 300 度。\n"
msgid "" msgid ""
@@ -5302,9 +5303,9 @@ msgstr "%s 層"
msgid "Layer: %d/%d" msgid "Layer: %d/%d"
msgstr "%d/%d 層" msgstr "%d/%d 層"
#, fuzzy
msgid "" msgid ""
"Please heat the nozzle to above 170 degree before loading or unloading " "Please heat the nozzle to above 170°C before loading or unloading filament."
"filament."
msgstr "請在上料或退料之前將噴嘴加熱至 170 度以上。" msgstr "請在上料或退料之前將噴嘴加熱至 170 度以上。"
msgid "Still unload" msgid "Still unload"
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path d="M15.94,5.06c-.75-.75-1.97-.75-2.72,0l-2.04,2.04c-.75.75-.75,1.97,0,2.72s1.97.75,2.72,0l2.04-2.04c.75-.75.75-1.97,0-2.72Z" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/><path d="M9.82,11.18c-.75-.75-1.97-.75-2.72,0l-2.04,2.04c-.75.75-.75,1.97,0,2.72s1.97.75,2.72,0l2.04-2.04c.75-.75.75-1.97,0-2.72Z" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/><line x1="8" y1="13" x2="13" y2="8" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/><line x1=".5" y1="2.5" x2="1.5" y2="2.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><line x1="3.5" y1="2.5" x2="8.5" y2="2.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><rect x="1.5" y=".5" width="2" height="4" rx=".67" ry=".67" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><line x1="8.5" y1="6.5" x2="7.5" y2="6.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><line x1="5.5" y1="6.5" x2=".5" y2="6.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><rect x="5.5" y="4.5" width="2" height="4" rx=".67" ry=".67" transform="translate(13 13) rotate(180)" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><line x1="2.5" y1="2.5" x2="6.5" y2="2.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><line x1="2.5" y1="6.5" x2="6.5" y2="6.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><rect x=".5" y=".5" width="8" height="8" rx="1.89" ry="1.89" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><line x1="4.5" y1="3.5" x2="4.5" y2="2.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><path d="M15.94,5.06c-.75-.75-1.97-.75-2.72,0l-2.04,2.04c-.75.75-.75,1.97,0,2.72s1.97.75,2.72,0l2.04-2.04c.75-.75.75-1.97,0-2.72Z" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/><path d="M9.82,11.18c-.75-.75-1.97-.75-2.72,0l-2.04,2.04c-.75.75-.75,1.97,0,2.72s1.97.75,2.72,0l2.04-2.04c.75-.75.75-1.97,0-2.72Z" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/><line x1="8" y1="13" x2="13" y2="8" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path d="M15.75,1.25c-1-1-2.63-1-3.63,0l-2.72,2.72c-1,1-1,2.63,0,3.63,1,1,2.63,1,3.63,0l2.72-2.72c1-1,1-2.63,0-3.63Z" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/><path d="M7.59,9.41c-1-1-2.63-1-3.63,0l-2.72,2.72c-1,1-1,2.63,0,3.63s2.63,1,3.63,0l2.72-2.72c1-1,1-2.63,0-3.63Z" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/><line x1=".5" y1="2.5" x2="1.5" y2="2.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><polygon points="8 3 4 3 4 2 9 2 8 3" style="fill:#949494;"/><rect x="1.5" y=".5" width="3" height="4" rx=".82" ry=".82" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><polygon points="13 15 8 15 9 14 13 14 13 15" style="fill:#949494;"/><line x1="4.5" y1="12.5" x2="12.5" y2="4.5" style="fill:none; stroke:#009688; stroke-linecap:round; stroke-linejoin:round;"/><line x1="15.5" y1="14.5" x2="16.5" y2="14.5" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/><rect x="12.5" y="12.5" width="3" height="4" rx=".82" ry=".82" style="fill:none; stroke:#949494; stroke-linecap:square; stroke-linejoin:round;"/></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

+74 -73
View File
@@ -542,7 +542,7 @@ void PrintConfigDef::init_common_params()
def = this->add("preferred_orientation", coFloat); def = this->add("preferred_orientation", coFloat);
def->label = L("Preferred orientation"); def->label = L("Preferred orientation");
def->tooltip = L("Automatically orient stls on the Z-axis upon initial import"); def->tooltip = L("Automatically orient stls on the Z-axis upon initial import");
def->sidetext = L("°"); def->sidetext = "°";
def->max = 360; def->max = 360;
def->min = -360; def->min = -360;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -695,7 +695,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Other layers"); def->label = L("Other layers");
def->tooltip = L("Bed temperature for layers except the initial one. " def->tooltip = L("Bed temperature for layers except the initial one. "
"A value of 0 means the filament does not support printing on the Cool Plate."); "A value of 0 means the filament does not support printing on the Cool Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->full_label = L("Bed temperature"); def->full_label = L("Bed temperature");
def->min = 0; def->min = 0;
def->max = 300; def->max = 300;
@@ -705,7 +705,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Other layers"); def->label = L("Other layers");
def->tooltip = L("Bed temperature for layers except the initial one. " def->tooltip = L("Bed temperature for layers except the initial one. "
"A value of 0 means the filament does not support printing on the Textured Cool Plate."); "A value of 0 means the filament does not support printing on the Textured Cool Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->full_label = L("Bed temperature"); def->full_label = L("Bed temperature");
def->min = 0; def->min = 0;
def->max = 300; def->max = 300;
@@ -715,7 +715,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Other layers"); def->label = L("Other layers");
def->tooltip = L("Bed temperature for layers except the initial one. " def->tooltip = L("Bed temperature for layers except the initial one. "
"A value of 0 means the filament does not support printing on the Engineering Plate."); "A value of 0 means the filament does not support printing on the Engineering Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->full_label = L("Bed temperature"); def->full_label = L("Bed temperature");
def->min = 0; def->min = 0;
def->max = 300; def->max = 300;
@@ -725,7 +725,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Other layers"); def->label = L("Other layers");
def->tooltip = L("Bed temperature for layers except the initial one. " def->tooltip = L("Bed temperature for layers except the initial one. "
"A value of 0 means the filament does not support printing on the High Temp Plate."); "A value of 0 means the filament does not support printing on the High Temp Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->full_label = L("Bed temperature"); def->full_label = L("Bed temperature");
def->min = 0; def->min = 0;
def->max = 300; def->max = 300;
@@ -735,7 +735,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Other layers"); def->label = L("Other layers");
def->tooltip = L("Bed temperature for layers except the initial one. " def->tooltip = L("Bed temperature for layers except the initial one. "
"A value of 0 means the filament does not support printing on the Textured PEI Plate."); "A value of 0 means the filament does not support printing on the Textured PEI Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->full_label = L("Bed temperature"); def->full_label = L("Bed temperature");
def->min = 0; def->min = 0;
def->max = 300; def->max = 300;
@@ -756,7 +756,7 @@ void PrintConfigDef::init_fff_params()
def->full_label = L("Initial layer bed temperature"); def->full_label = L("Initial layer bed temperature");
def->tooltip = L("Bed temperature of the initial layer. " def->tooltip = L("Bed temperature of the initial layer. "
"A value of 0 means the filament does not support printing on the Cool Plate."); "A value of 0 means the filament does not support printing on the Cool Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->min = 0; def->min = 0;
def->max = 120; def->max = 120;
def->set_default_value(new ConfigOptionInts{ 35 }); def->set_default_value(new ConfigOptionInts{ 35 });
@@ -766,7 +766,7 @@ void PrintConfigDef::init_fff_params()
def->full_label = L("Initial layer bed temperature"); def->full_label = L("Initial layer bed temperature");
def->tooltip = L("Bed temperature of the initial layer. " def->tooltip = L("Bed temperature of the initial layer. "
"A value of 0 means the filament does not support printing on the Textured Cool Plate."); "A value of 0 means the filament does not support printing on the Textured Cool Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->min = 0; def->min = 0;
def->max = 120; def->max = 120;
def->set_default_value(new ConfigOptionInts{ 40 }); def->set_default_value(new ConfigOptionInts{ 40 });
@@ -776,7 +776,7 @@ void PrintConfigDef::init_fff_params()
def->full_label = L("Initial layer bed temperature"); def->full_label = L("Initial layer bed temperature");
def->tooltip = L("Bed temperature of the initial layer. " def->tooltip = L("Bed temperature of the initial layer. "
"A value of 0 means the filament does not support printing on the Engineering Plate."); "A value of 0 means the filament does not support printing on the Engineering Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->min = 0; def->min = 0;
def->max = 300; def->max = 300;
def->set_default_value(new ConfigOptionInts{ 45 }); def->set_default_value(new ConfigOptionInts{ 45 });
@@ -786,7 +786,7 @@ void PrintConfigDef::init_fff_params()
def->full_label = L("Initial layer bed temperature"); def->full_label = L("Initial layer bed temperature");
def->tooltip = L("Bed temperature of the initial layer. " def->tooltip = L("Bed temperature of the initial layer. "
"A value of 0 means the filament does not support printing on the High Temp Plate."); "A value of 0 means the filament does not support printing on the High Temp Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->max = 300; def->max = 300;
def->set_default_value(new ConfigOptionInts{ 45 }); def->set_default_value(new ConfigOptionInts{ 45 });
@@ -795,7 +795,7 @@ void PrintConfigDef::init_fff_params()
def->full_label = L("Initial layer bed temperature"); def->full_label = L("Initial layer bed temperature");
def->tooltip = L("Bed temperature of the initial layer. " def->tooltip = L("Bed temperature of the initial layer. "
"A value of 0 means the filament does not support printing on the Textured PEI Plate."); "A value of 0 means the filament does not support printing on the Textured PEI Plate.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->min = 0; def->min = 0;
def->max = 300; def->max = 300;
def->set_default_value(new ConfigOptionInts{45}); def->set_default_value(new ConfigOptionInts{45});
@@ -934,7 +934,7 @@ void PrintConfigDef::init_fff_params()
"and bridges can improve the overall print quality of these features.\n\n" "and bridges can improve the overall print quality of these features.\n\n"
"Please note, this fan speed is clamped on the lower end by the minimum fan speed threshold set above. It is also adjusted " "Please note, this fan speed is clamped on the lower end by the minimum fan speed threshold set above. It is also adjusted "
"upwards up to the maximum fan speed threshold when the minimum layer time threshold is not met."); "upwards up to the maximum fan speed threshold when the minimum layer time threshold is not met.");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 0; def->min = 0;
def->max = 100; def->max = 100;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -970,7 +970,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("Bridging angle override. If left to zero, the bridging angle will be calculated " def->tooltip = L("Bridging angle override. If left to zero, the bridging angle will be calculated "
"automatically. Otherwise the provided angle will be used for external bridges. " "automatically. Otherwise the provided angle will be used for external bridges. "
"Use 180°for zero angle."); "Use 180°for zero angle.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.)); def->set_default_value(new ConfigOptionFloat(0.));
@@ -982,7 +982,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("Internal bridging angle override. If left to zero, the bridging angle will be calculated " def->tooltip = L("Internal bridging angle override. If left to zero, the bridging angle will be calculated "
"automatically. Otherwise the provided angle will be used for internal bridges. " "automatically. Otherwise the provided angle will be used for internal bridges. "
"Use 180°for zero angle.\n\nIt is recommended to leave it at 0 unless there is a specific model need not to."); "Use 180°for zero angle.\n\nIt is recommended to leave it at 0 unless there is a specific model need not to.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.)); def->set_default_value(new ConfigOptionFloat(0.));
@@ -993,7 +993,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("Controls the density (spacing) of external bridge lines. 100% means solid bridge. Default is 100%.\n\n" def->tooltip = L("Controls the density (spacing) of external bridge lines. 100% means solid bridge. Default is 100%.\n\n"
"Lower density external bridges can help improve reliability as there is more space for air to circulate " "Lower density external bridges can help improve reliability as there is more space for air to circulate "
"around the extruded bridge, improving its cooling speed."); "around the extruded bridge, improving its cooling speed.");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 10; def->min = 10;
def->max = 100; def->max = 100;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -1007,7 +1007,7 @@ void PrintConfigDef::init_fff_params()
"air to circulate around the extruded bridge, improving its cooling speed. \n\n" "air to circulate around the extruded bridge, improving its cooling speed. \n\n"
"This option works particularly well when combined with the second internal bridge over infill option, " "This option works particularly well when combined with the second internal bridge over infill option, "
"further improving internal bridging structure before solid infill is extruded."); "further improving internal bridging structure before solid infill is extruded.");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 10; def->min = 10;
def->max = 100; def->max = 100;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -1300,7 +1300,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Support"); def->category = L("Support");
def->tooltip = L("Maximum angle to let a brim ear appear. \nIf set to 0, no brim will be created. \nIf set to " def->tooltip = L("Maximum angle to let a brim ear appear. \nIf set to 0, no brim will be created. \nIf set to "
"~180, brim will be created on everything but straight sections."); "~180, brim will be created on everything but straight sections.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 180; def->max = 180;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -1318,7 +1318,7 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionFloat(1)); def->set_default_value(new ConfigOptionFloat(1));
def = this->add("compatible_printers", coStrings); def = this->add("compatible_printers", coStrings);
def->label = L("Compatible machine"); def->label = L("Select printers");
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionStrings()); def->set_default_value(new ConfigOptionStrings());
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
@@ -1331,7 +1331,7 @@ void PrintConfigDef::init_fff_params()
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
def = this->add("compatible_printers_condition", coString); def = this->add("compatible_printers_condition", coString);
def->label = L("Compatible machine condition"); def->label = L("Condition");
def->tooltip = L("A boolean expression using the configuration values of an active printer profile. " def->tooltip = L("A boolean expression using the configuration values of an active printer profile. "
"If this expression evaluates to true, this profile is considered compatible " "If this expression evaluates to true, this profile is considered compatible "
"with the active printer profile."); "with the active printer profile.");
@@ -1340,13 +1340,13 @@ void PrintConfigDef::init_fff_params()
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
def = this->add("compatible_prints", coStrings); def = this->add("compatible_prints", coStrings);
def->label = L("Compatible process profiles"); def->label = L("Select profiles");
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionStrings()); def->set_default_value(new ConfigOptionStrings());
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
def = this->add("compatible_prints_condition", coString); def = this->add("compatible_prints_condition", coString);
def->label = L("Compatible process profiles condition"); def->label = L("Condition");
def->tooltip = L("A boolean expression using the configuration values of an active print profile. " def->tooltip = L("A boolean expression using the configuration values of an active print profile. "
"If this expression evaluates to true, this profile is considered compatible " "If this expression evaluates to true, this profile is considered compatible "
"with the active print profile."); "with the active print profile.");
@@ -1430,7 +1430,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("during_print_exhaust_fan_speed", coInts); def = this->add("during_print_exhaust_fan_speed", coInts);
def->label = L("Fan speed"); def->label = L("Fan speed");
def->tooltip=L("Speed of exhaust fan during printing. This speed will override the speed in filament custom G-code."); def->tooltip=L("Speed of exhaust fan during printing. This speed will override the speed in filament custom G-code.");
def->sidetext = L("%"); def->sidetext = "%";
def->min=0; def->min=0;
def->max=100; def->max=100;
def->mode = comSimple; def->mode = comSimple;
@@ -1438,7 +1438,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("complete_print_exhaust_fan_speed", coInts); def = this->add("complete_print_exhaust_fan_speed", coInts);
def->label = L("Fan speed"); def->label = L("Fan speed");
def->sidetext = L("%"); def->sidetext = "%";
def->tooltip=L("Speed of exhaust fan after printing completes"); def->tooltip=L("Speed of exhaust fan after printing completes");
def->min=0; def->min=0;
def->max=100; def->max=100;
@@ -1948,7 +1948,8 @@ void PrintConfigDef::init_fff_params()
def = this->add("default_filament_colour", coStrings); def = this->add("default_filament_colour", coStrings);
def->label = L("Default color"); def->label = L("Default color");
def->tooltip = L("Default filament color"); def->tooltip = L("Default filament color"
"\nRight click to reset value to system default.");
def->gui_type = ConfigOptionDef::GUIType::color; def->gui_type = ConfigOptionDef::GUIType::color;
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionStrings{""}); def->set_default_value(new ConfigOptionStrings{""});
@@ -2060,7 +2061,7 @@ void PrintConfigDef::init_fff_params()
" The part will be scaled in xy to compensate." " The part will be scaled in xy to compensate."
" Only the filament used for the perimeter is taken into account." " Only the filament used for the perimeter is taken into account."
"\nBe sure to allow enough space between objects, as this compensation is done after the checks."); "\nBe sure to allow enough space between objects, as this compensation is done after the checks.");
def->sidetext = L("%"); def->sidetext = "%";
def->ratio_over = ""; def->ratio_over = "";
def->min = 10; def->min = 10;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -2071,7 +2072,7 @@ void PrintConfigDef::init_fff_params()
// xgettext:no-c-format, no-boost-format // xgettext:no-c-format, no-boost-format
def->tooltip = L("Enter the shrinkage percentage that the filament will get after cooling (94% if you measure 94mm instead of 100mm)." def->tooltip = L("Enter the shrinkage percentage that the filament will get after cooling (94% if you measure 94mm instead of 100mm)."
" The part will be scaled in Z to compensate."); " The part will be scaled in Z to compensate.");
def->sidetext = L("%"); def->sidetext = "%";
def->ratio_over = ""; def->ratio_over = "";
def->min = 10; def->min = 10;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -2274,7 +2275,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("temperature_vitrification", coInts); def = this->add("temperature_vitrification", coInts);
def->label = L("Softening temperature"); def->label = L("Softening temperature");
def->tooltip = L("The material softens at this temperature, so when the bed temperature is equal to or greater than it, it's highly recommended to open the front door and/or remove the upper glass to avoid clogging."); def->tooltip = L("The material softens at this temperature, so when the bed temperature is equal to or greater than it, it's highly recommended to open the front door and/or remove the upper glass to avoid clogging.");
def->sidetext = L("°C"); // ORCA add side text def->sidetext = "°C"; // ORCA add side text
def->mode = comSimple; def->mode = comSimple;
def->set_default_value(new ConfigOptionInts{ 100 }); def->set_default_value(new ConfigOptionInts{ 100 });
@@ -2306,7 +2307,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Sparse infill direction"); def->label = L("Sparse infill direction");
def->category = L("Strength"); def->category = L("Strength");
def->tooltip = L("Angle for sparse infill pattern, which controls the start or main direction of line"); def->tooltip = L("Angle for sparse infill pattern, which controls the start or main direction of line");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 360; def->max = 360;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -2316,7 +2317,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Solid infill direction"); def->label = L("Solid infill direction");
def->category = L("Strength"); def->category = L("Strength");
def->tooltip = L("Angle for solid infill pattern, which controls the start or main direction of line"); def->tooltip = L("Angle for solid infill pattern, which controls the start or main direction of line");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 360; def->max = 360;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -2334,7 +2335,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Strength"); def->category = L("Strength");
// xgettext:no-c-format, no-boost-format // xgettext:no-c-format, no-boost-format
def->tooltip = L("Density of internal sparse infill, 100% turns all sparse infill into solid infill and internal solid infill pattern will be used"); def->tooltip = L("Density of internal sparse infill, 100% turns all sparse infill into solid infill and internal solid infill pattern will be used");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 0; def->min = 0;
def->max = 100; def->max = 100;
def->set_default_value(new ConfigOptionPercent(20)); def->set_default_value(new ConfigOptionPercent(20));
@@ -2390,7 +2391,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Lattice angle 1"); def->label = L("Lattice angle 1");
def->category = L("Strength"); def->category = L("Strength");
def->tooltip = L("The angle of the first set of 2D lattice elements in the Z direction. Zero is vertical."); def->tooltip = L("The angle of the first set of 2D lattice elements in the Z direction. Zero is vertical.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = -75; def->min = -75;
def->max = 75; def->max = 75;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -2400,7 +2401,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Lattice angle 2"); def->label = L("Lattice angle 2");
def->category = L("Strength"); def->category = L("Strength");
def->tooltip = L("The angle of the second set of 2D lattice elements in the Z direction. Zero is vertical."); def->tooltip = L("The angle of the second set of 2D lattice elements in the Z direction. Zero is vertical.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = -75; def->min = -75;
def->max = 75; def->max = 75;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -2539,7 +2540,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("accel_to_decel_factor", coPercent); def = this->add("accel_to_decel_factor", coPercent);
def->label = L("accel_to_decel"); def->label = L("accel_to_decel");
def->tooltip = L("Klipper's max_accel_to_decel will be adjusted to this %% of acceleration"); def->tooltip = L("Klipper's max_accel_to_decel will be adjusted to this %% of acceleration");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 1; def->min = 1;
def->max = 100; def->max = 100;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -2678,7 +2679,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Initial layer"); def->label = L("Initial layer");
def->full_label = L("Initial layer nozzle temperature"); def->full_label = L("Initial layer nozzle temperature");
def->tooltip = L("Nozzle temperature for printing initial layer when using this filament"); def->tooltip = L("Nozzle temperature for printing initial layer when using this filament");
def->sidetext = L("°C"); def->sidetext = "°C";
def->min = 0; def->min = 0;
def->max = max_temp; def->max = max_temp;
def->set_default_value(new ConfigOptionInts { 200 }); def->set_default_value(new ConfigOptionInts { 200 });
@@ -2701,7 +2702,7 @@ void PrintConfigDef::init_fff_params()
" reduces the layer binding strength between supports and the supported part, making them easier to separate." " reduces the layer binding strength between supports and the supported part, making them easier to separate."
"\nSet to -1 to disable it." "\nSet to -1 to disable it."
"\nThis setting is overridden by disable_fan_first_layers."); "\nThis setting is overridden by disable_fan_first_layers.");
def->sidetext = L("%"); def->sidetext = "%";
def->min = -1; def->min = -1;
def->max = 100; def->max = 100;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -2713,7 +2714,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("The part cooling fan speed used for all internal bridges. Set to -1 to use the overhang fan speed settings instead.\n\n" def->tooltip = L("The part cooling fan speed used for all internal bridges. Set to -1 to use the overhang fan speed settings instead.\n\n"
"Reducing the internal bridges fan speed, compared to your regular fan speed, can help reduce part warping due to excessive " "Reducing the internal bridges fan speed, compared to your regular fan speed, can help reduce part warping due to excessive "
"cooling applied over a large surface for a prolonged period of time."); "cooling applied over a large surface for a prolonged period of time.");
def->sidetext = L("%"); def->sidetext = "%";
def->min = -1; def->min = -1;
def->max = 100; def->max = 100;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -3097,7 +3098,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Strength"); def->category = L("Strength");
// xgettext:no-c-format, no-boost-format // xgettext:no-c-format, no-boost-format
def->tooltip = L("Infill area is enlarged slightly to overlap with wall for better bonding. The percentage value is relative to line width of sparse infill. Set this value to ~10-15% to minimize potential over extrusion and accumulation of material resulting in rough top surfaces."); def->tooltip = L("Infill area is enlarged slightly to overlap with wall for better bonding. The percentage value is relative to line width of sparse infill. Set this value to ~10-15% to minimize potential over extrusion and accumulation of material resulting in rough top surfaces.");
def->sidetext = L("%"); def->sidetext = "%";
def->ratio_over = "inner_wall_line_width"; def->ratio_over = "inner_wall_line_width";
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(15)); def->set_default_value(new ConfigOptionPercent(15));
@@ -3107,7 +3108,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Strength"); def->category = L("Strength");
// xgettext:no-c-format, no-boost-format // xgettext:no-c-format, no-boost-format
def->tooltip = L("Top solid infill area is enlarged slightly to overlap with wall for better bonding and to minimize the appearance of pinholes where the top infill meets the walls. A value of 25-30% is a good starting point, minimizing the appearance of pinholes. The percentage value is relative to line width of sparse infill"); def->tooltip = L("Top solid infill area is enlarged slightly to overlap with wall for better bonding and to minimize the appearance of pinholes where the top infill meets the walls. A value of 25-30% is a good starting point, minimizing the appearance of pinholes. The percentage value is relative to line width of sparse infill");
def->sidetext = L("%"); def->sidetext = "%";
def->ratio_over = "inner_wall_line_width"; def->ratio_over = "inner_wall_line_width";
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(25)); def->set_default_value(new ConfigOptionPercent(25));
@@ -3183,7 +3184,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("interlocking_orientation", coFloat); def = this->add("interlocking_orientation", coFloat);
def->label = L("Interlocking direction"); def->label = L("Interlocking direction");
def->tooltip = L("Orientation of interlock beams."); def->tooltip = L("Orientation of interlock beams.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 360; def->max = 360;
def->category = L("Advanced"); def->category = L("Advanced");
@@ -3253,7 +3254,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Quality"); def->category = L("Quality");
def->tooltip = L("The amount of material to extrude during ironing. Relative to flow of normal layer height. " def->tooltip = L("The amount of material to extrude during ironing. Relative to flow of normal layer height. "
"Too high value results in overextrusion on the surface"); "Too high value results in overextrusion on the surface");
def->sidetext = L("%"); def->sidetext = "%";
def->ratio_over = "layer_height"; def->ratio_over = "layer_height";
def->min = 0; def->min = 0;
def->max = 100; def->max = 100;
@@ -3293,7 +3294,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Ironing angle"); def->label = L("Ironing angle");
def->category = L("Quality"); def->category = L("Quality");
def->tooltip = L("The angle ironing is done at. A negative number disables this function and uses the default method."); def->tooltip = L("The angle ironing is done at. A negative number disables this function and uses the default method.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = -1; def->min = -1;
def->max = 359; def->max = 359;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -3514,7 +3515,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Fan speed"); def->label = L("Fan speed");
def->tooltip = L("Part cooling fan speed may be increased when auto cooling is enabled. " def->tooltip = L("Part cooling fan speed may be increased when auto cooling is enabled. "
"This is the maximum speed limitation of part cooling fan"); "This is the maximum speed limitation of part cooling fan");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 0; def->min = 0;
def->max = 100; def->max = 100;
def->mode = comSimple; def->mode = comSimple;
@@ -3573,7 +3574,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("fan_min_speed", coFloats); def = this->add("fan_min_speed", coFloats);
def->label = L("Fan speed"); def->label = L("Fan speed");
def->tooltip = L("Minimum speed for part cooling fan"); def->tooltip = L("Minimum speed for part cooling fan");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 0; def->min = 0;
def->max = 100; def->max = 100;
def->mode = comSimple; def->mode = comSimple;
@@ -3583,7 +3584,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Fan speed"); def->label = L("Fan speed");
def->tooltip = L("Speed of auxiliary part cooling fan. Auxiliary fan will run at this speed during printing except the first several layers " def->tooltip = L("Speed of auxiliary part cooling fan. Auxiliary fan will run at this speed during printing except the first several layers "
"which is defined by no cooling layers.\nPlease enable auxiliary_fan in printer settings to use this feature. G-code command: M106 P2 S(0-255)"); "which is defined by no cooling layers.\nPlease enable auxiliary_fan in printer settings to use this feature. G-code command: M106 P2 S(0-255)");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 0; def->min = 0;
def->max = 100; def->max = 100;
def->mode = comSimple; def->mode = comSimple;
@@ -3755,7 +3756,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("Maximum angle of overhangs to allow after making more steep overhangs printable." def->tooltip = L("Maximum angle of overhangs to allow after making more steep overhangs printable."
"90° will not change the model at all and allow any overhang, while 0 will " "90° will not change the model at all and allow any overhang, while 0 will "
"replace all overhangs with conical material."); "replace all overhangs with conical material.");
def->sidetext = L("°"); def->sidetext = "°";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 0.; def->min = 0.;
def->max = 90.; def->max = 90.;
@@ -3891,7 +3892,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Initial layer density"); def->label = L("Initial layer density");
def->category = L("Support"); def->category = L("Support");
def->tooltip = L("Density of the first raft or support layer"); def->tooltip = L("Density of the first raft or support layer");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 10; def->min = 10;
def->max = 100; def->max = 100;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -3937,7 +3938,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("retract_before_wipe", coPercents); def = this->add("retract_before_wipe", coPercents);
def->label = L("Retract amount before wipe"); def->label = L("Retract amount before wipe");
def->tooltip = L("The length of fast retraction before wipe, relative to retraction length"); def->tooltip = L("The length of fast retraction before wipe, relative to retraction length");
def->sidetext = L("%"); def->sidetext = "%";
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercents { 100 }); def->set_default_value(new ConfigOptionPercents { 100 });
@@ -4038,7 +4039,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("travel_slope", coFloats); def = this->add("travel_slope", coFloats);
def->label = L("Traveling angle"); def->label = L("Traveling angle");
def->tooltip = L("Traveling angle for Slope and Spiral Z-hop type. Setting it to 90° results in Normal Lift."); def->tooltip = L("Traveling angle for Slope and Spiral Z-hop type. Setting it to 90° results in Normal Lift.");
def->sidetext = L("°"); def->sidetext = "°";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 1; def->min = 1;
def->max = 90; def->max = 90;
@@ -4180,7 +4181,7 @@ void PrintConfigDef::init_fff_params()
"This option sets the threshold angle for applying a conditional scarf joint seam.\nIf the maximum angle within the perimeter loop " "This option sets the threshold angle for applying a conditional scarf joint seam.\nIf the maximum angle within the perimeter loop "
"exceeds this value (indicating the absence of sharp corners), a scarf joint seam will be used. The default value is 155°."); "exceeds this value (indicating the absence of sharp corners), a scarf joint seam will be used. The default value is 155°.");
def->mode = comAdvanced; def->mode = comAdvanced;
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 180; def->max = 180;
def->set_default_value(new ConfigOptionInt(155)); def->set_default_value(new ConfigOptionInt(155));
@@ -4192,7 +4193,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("This option determines the overhang threshold for the application of scarf joint seams. If the unsupported portion " def->tooltip = L("This option determines the overhang threshold for the application of scarf joint seams. If the unsupported portion "
"of the perimeter is less than this threshold, scarf joint seams will be applied. The default threshold is set at 40% " "of the perimeter is less than this threshold, scarf joint seams will be applied. The default threshold is set at 40% "
"of the external wall's width. Due to performance considerations, the degree of overhang is estimated."); "of the external wall's width. Due to performance considerations, the degree of overhang is estimated.");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 0; def->min = 0;
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(40)); def->set_default_value(new ConfigOptionPercent(40));
@@ -4301,7 +4302,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("skirt_start_angle", coFloat); def = this->add("skirt_start_angle", coFloat);
def->label = L("Skirt start point"); def->label = L("Skirt start point");
def->tooltip = L("Angle from the object center to skirt start point. Zero is the most right position, counter clockwise is positive angle."); def->tooltip = L("Angle from the object center to skirt start point. Zero is the most right position, counter clockwise is positive angle.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = -180; def->min = -180;
def->max = 180; def->max = 180;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -4668,7 +4669,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Pattern angle"); def->label = L("Pattern angle");
def->category = L("Support"); def->category = L("Support");
def->tooltip = L("Use this setting to rotate the support pattern on the horizontal plane."); def->tooltip = L("Use this setting to rotate the support pattern on the horizontal plane.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 359; def->max = 359;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -4951,7 +4952,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Threshold angle"); def->label = L("Threshold angle");
def->category = L("Support"); def->category = L("Support");
def->tooltip = L("Support will be generated for overhangs whose slope angle is below the threshold."); def->tooltip = L("Support will be generated for overhangs whose slope angle is below the threshold.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 90; def->max = 90;
def->mode = comSimple; def->mode = comSimple;
@@ -4973,7 +4974,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Support"); def->category = L("Support");
def->tooltip = L("This setting determines the maximum overhang angle that t he branches of tree support allowed to make." def->tooltip = L("This setting determines the maximum overhang angle that t he branches of tree support allowed to make."
"If the angle is increased, the branches can be printed more horizontally, allowing them to reach farther."); "If the angle is increased, the branches can be printed more horizontally, allowing them to reach farther.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 60; def->max = 60;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -4984,7 +4985,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Support"); def->category = L("Support");
def->tooltip = L("This setting determines the maximum overhang angle that t he branches of tree support allowed to make." def->tooltip = L("This setting determines the maximum overhang angle that t he branches of tree support allowed to make."
"If the angle is increased, the branches can be printed more horizontally, allowing them to reach farther."); "If the angle is increased, the branches can be printed more horizontally, allowing them to reach farther.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 60; def->max = 60;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -4996,7 +4997,7 @@ void PrintConfigDef::init_fff_params()
// TRN PrintSettings: "Organic supports" > "Preferred Branch Angle" // TRN PrintSettings: "Organic supports" > "Preferred Branch Angle"
def->tooltip = L("The preferred angle of the branches, when they do not have to avoid the model. " def->tooltip = L("The preferred angle of the branches, when they do not have to avoid the model. "
"Use a lower angle to make them more vertical and more stable. Use a higher angle for branches to merge faster."); "Use a lower angle to make them more vertical and more stable. Use a higher angle for branches to merge faster.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 10; def->min = 10;
def->max = 85; def->max = 85;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -5030,7 +5031,7 @@ void PrintConfigDef::init_fff_params()
"A higher value results in better overhangs but the supports are harder to remove, " "A higher value results in better overhangs but the supports are harder to remove, "
"thus it is recommended to enable top support interfaces instead of a high branch density value " "thus it is recommended to enable top support interfaces instead of a high branch density value "
"if dense interfaces are needed."); "if dense interfaces are needed.");
def->sidetext = L("%"); def->sidetext = "%";
def->min = 5; def->min = 5;
def->max_literal = 35; def->max_literal = 35;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -5084,7 +5085,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("The angle of the branches' diameter as they gradually become thicker towards the bottom. " def->tooltip = L("The angle of the branches' diameter as they gradually become thicker towards the bottom. "
"An angle of 0 will cause the branches to have uniform thickness over their length. " "An angle of 0 will cause the branches to have uniform thickness over their length. "
"A bit of an angle can increase stability of the organic support."); "A bit of an angle can increase stability of the organic support.");
def->sidetext = L("°"); def->sidetext = "°";
def->min = 0; def->min = 0;
def->max = 15; def->max = 15;
def->mode = comAdvanced; def->mode = comAdvanced;
@@ -5139,7 +5140,7 @@ void PrintConfigDef::init_fff_params()
"This may be useful if your printer does not support M141/M191 commands, or if you desire " "This may be useful if your printer does not support M141/M191 commands, or if you desire "
"to handle heat soaking in the print start macro if no active chamber heater is installed." "to handle heat soaking in the print start macro if no active chamber heater is installed."
); );
def->sidetext = L("°C"); def->sidetext = "°C";
def->full_label = L("Chamber temperature"); def->full_label = L("Chamber temperature");
def->min = 0; def->min = 0;
def->max = max_temp; def->max = max_temp;
@@ -5148,7 +5149,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("nozzle_temperature", coInts); def = this->add("nozzle_temperature", coInts);
def->label = L("Other layers"); def->label = L("Other layers");
def->tooltip = L("Nozzle temperature for layers after the initial one"); def->tooltip = L("Nozzle temperature for layers after the initial one");
def->sidetext = L("°C"); def->sidetext = "°C";
def->full_label = L("Nozzle temperature"); def->full_label = L("Nozzle temperature");
def->min = 0; def->min = 0;
def->max = max_temp; def->max = max_temp;
@@ -5157,7 +5158,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("nozzle_temperature_range_low", coInts); def = this->add("nozzle_temperature_range_low", coInts);
def->label = L("Min"); def->label = L("Min");
//def->tooltip = L(""); //def->tooltip = L("");
def->sidetext = L("°C"); def->sidetext = "°C";
def->min = 0; def->min = 0;
def->max = max_temp; def->max = max_temp;
def->set_default_value(new ConfigOptionInts { 190 }); def->set_default_value(new ConfigOptionInts { 190 });
@@ -5165,7 +5166,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("nozzle_temperature_range_high", coInts); def = this->add("nozzle_temperature_range_high", coInts);
def->label = L("Max"); def->label = L("Max");
//def->tooltip = L(""); //def->tooltip = L("");
def->sidetext = L("°C"); def->sidetext = "°C";
def->min = 0; def->min = 0;
def->max = max_temp; def->max = max_temp;
def->set_default_value(new ConfigOptionInts { 240 }); def->set_default_value(new ConfigOptionInts { 240 });
@@ -5346,7 +5347,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("wipe_tower_rotation_angle", coFloat); def = this->add("wipe_tower_rotation_angle", coFloat);
def->label = L("Wipe tower rotation angle"); def->label = L("Wipe tower rotation angle");
def->tooltip = L("Wipe tower rotation angle with respect to x-axis."); def->tooltip = L("Wipe tower rotation angle with respect to x-axis.");
def->sidetext = L("°"); def->sidetext = "°";
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.)); def->set_default_value(new ConfigOptionFloat(0.));
@@ -5362,7 +5363,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Stabilization cone apex angle"); def->label = L("Stabilization cone apex angle");
def->tooltip = L("Angle at the apex of the cone that is used to stabilize the wipe tower. " def->tooltip = L("Angle at the apex of the cone that is used to stabilize the wipe tower. "
"Larger angle means wider base."); "Larger angle means wider base.");
def->sidetext = L("°"); def->sidetext = "°";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 0.; def->min = 0.;
def->max = 90.; def->max = 90.;
@@ -5433,7 +5434,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("wipe_tower_extra_spacing", coPercent); def = this->add("wipe_tower_extra_spacing", coPercent);
def->label = L("Wipe tower purge lines spacing"); def->label = L("Wipe tower purge lines spacing");
def->tooltip = L("Spacing of purge lines on the wipe tower."); def->tooltip = L("Spacing of purge lines on the wipe tower.");
def->sidetext = L("%"); def->sidetext = "%";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 100.; def->min = 100.;
def->max = 300.; def->max = 300.;
@@ -5443,7 +5444,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Extra flow for purging"); def->label = L("Extra flow for purging");
def->tooltip = L("Extra flow used for the purging lines on the wipe tower. This makes the purging lines thicker or narrower " def->tooltip = L("Extra flow used for the purging lines on the wipe tower. This makes the purging lines thicker or narrower "
"than they normally would be. The spacing is adjusted automatically."); "than they normally would be. The spacing is adjusted automatically.");
def->sidetext = L("%"); def->sidetext = "%";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 100.; def->min = 100.;
def->max = 300.; def->max = 300.;
@@ -5453,7 +5454,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Idle temperature"); def->label = L("Idle temperature");
def->tooltip = L("Nozzle temperature when the tool is currently not used in multi-tool setups." def->tooltip = L("Nozzle temperature when the tool is currently not used in multi-tool setups."
"This is only used when 'Ooze prevention' is active in Print Settings. Set to 0 to disable."); "This is only used when 'Ooze prevention' is active in Print Settings. Set to 0 to disable.");
def->sidetext = L("°C"); def->sidetext = "°C";
def->min = 0; def->min = 0;
def->max = max_temp; def->max = max_temp;
def->set_default_value(new ConfigOptionInts{0}); def->set_default_value(new ConfigOptionInts{0});
@@ -5560,7 +5561,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("When transitioning between different numbers of walls as the part becomes " def->tooltip = L("When transitioning between different numbers of walls as the part becomes "
"thinner, a certain amount of space is allotted to split or join the wall segments. " "thinner, a certain amount of space is allotted to split or join the wall segments. "
"It's expressed as a percentage over nozzle diameter"); "It's expressed as a percentage over nozzle diameter");
def->sidetext = L("%"); def->sidetext = "%";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 0; def->min = 0;
def->set_default_value(new ConfigOptionPercent(100)); def->set_default_value(new ConfigOptionPercent(100));
@@ -5575,7 +5576,7 @@ void PrintConfigDef::init_fff_params()
"starts/stops and travel time. However, large extrusion width variation can lead to " "starts/stops and travel time. However, large extrusion width variation can lead to "
"under- or overextrusion problems. " "under- or overextrusion problems. "
"It's expressed as a percentage over nozzle diameter"); "It's expressed as a percentage over nozzle diameter");
def->sidetext = L("%"); def->sidetext = "%";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 0; def->min = 0;
def->set_default_value(new ConfigOptionPercent(25)); def->set_default_value(new ConfigOptionPercent(25));
@@ -5587,7 +5588,7 @@ void PrintConfigDef::init_fff_params()
" an angle greater than this setting will not have transitions and no walls will be " " an angle greater than this setting will not have transitions and no walls will be "
"printed in the center to fill the remaining space. Reducing this setting reduces " "printed in the center to fill the remaining space. Reducing this setting reduces "
"the number and length of these center walls, but may leave gaps or overextrude"); "the number and length of these center walls, but may leave gaps or overextrude");
def->sidetext = L("°"); def->sidetext = "°";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 1.; def->min = 1.;
def->max = 59.; def->max = 59.;
@@ -5609,7 +5610,7 @@ void PrintConfigDef::init_fff_params()
"not be printed, while features thicker than the Minimum feature size will be widened to " "not be printed, while features thicker than the Minimum feature size will be widened to "
"the Minimum wall width. " "the Minimum wall width. "
"It's expressed as a percentage over nozzle diameter"); "It's expressed as a percentage over nozzle diameter");
def->sidetext = L("%"); def->sidetext = "%";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 0; def->min = 0;
def->set_default_value(new ConfigOptionPercent(25)); def->set_default_value(new ConfigOptionPercent(25));
@@ -5633,7 +5634,7 @@ void PrintConfigDef::init_fff_params()
def->category = L("Quality"); def->category = L("Quality");
def->tooltip = L("The minimum wall width that should be used for the first layer is recommended to be set " def->tooltip = L("The minimum wall width that should be used for the first layer is recommended to be set "
"to the same size as the nozzle. This adjustment is expected to enhance adhesion."); "to the same size as the nozzle. This adjustment is expected to enhance adhesion.");
def->sidetext = L("%"); def->sidetext = "%";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 0; def->min = 0;
def->set_default_value(new ConfigOptionPercent(85)); def->set_default_value(new ConfigOptionPercent(85));
@@ -5645,7 +5646,7 @@ void PrintConfigDef::init_fff_params()
"of the model. If the Minimum wall width is thinner than the thickness of the feature," "of the model. If the Minimum wall width is thinner than the thickness of the feature,"
" the wall will become as thick as the feature itself. " " the wall will become as thick as the feature itself. "
"It's expressed as a percentage over nozzle diameter"); "It's expressed as a percentage over nozzle diameter");
def->sidetext = L("%"); def->sidetext = "%";
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 0; def->min = 0;
def->set_default_value(new ConfigOptionPercent(85)); def->set_default_value(new ConfigOptionPercent(85));
+2 -2
View File
@@ -406,9 +406,9 @@ void CameraPopup::update(bool vcamera_streaming)
wxString CameraPopup::to_resolution_label_string(CameraResolution resolution) { wxString CameraPopup::to_resolution_label_string(CameraResolution resolution) {
switch (resolution) { switch (resolution) {
case RESOLUTION_720P: case RESOLUTION_720P:
return _L("720p"); return "720p";
case RESOLUTION_1080P: case RESOLUTION_1080P:
return _L("1080p"); return "1080p";
default: default:
return ""; return "";
} }
+2 -2
View File
@@ -62,7 +62,7 @@ void ConfigManipulation::check_nozzle_recommended_temperature_range(DynamicPrint
wxString msg_text; wxString msg_text;
bool need_check = false; bool need_check = false;
if (temperature_range_low < 190 || temperature_range_high > 300) { if (temperature_range_low < 190 || temperature_range_high > 300) {
msg_text += _L("The recommended minimum temperature is less than 190 degree or the recommended maximum temperature is greater than 300 degree.\n"); msg_text += _L("The recommended minimum temperature is less than 190°C or the recommended maximum temperature is greater than 300°C.\n");
need_check = true; need_check = true;
} }
if (temperature_range_low > temperature_range_high) { if (temperature_range_low > temperature_range_high) {
@@ -630,7 +630,7 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
toggle_line("bridge_no_support", !support_is_normal_tree); toggle_line("bridge_no_support", !support_is_normal_tree);
// This is only supported for auto normal tree // This is only supported for auto normal tree
toggle_line("support_critical_regions_only", is_auto(support_type) && support_is_normal_tree); toggle_line("support_critical_regions_only", is_auto(support_type) && support_is_tree);
for (auto el : { "support_interface_spacing", "support_interface_filament", for (auto el : { "support_interface_spacing", "support_interface_filament",
"support_interface_loop_pattern", "support_bottom_interface_spacing" }) "support_interface_loop_pattern", "support_bottom_interface_spacing" })
+2 -2
View File
@@ -1448,7 +1448,7 @@ PageTemperatures::PageTemperatures(ConfigWizard *parent)
auto *sizer_extr = new wxFlexGridSizer(3, 5, 5); auto *sizer_extr = new wxFlexGridSizer(3, 5, 5);
auto *text_extr = new wxStaticText(this, wxID_ANY, _L("Extrusion Temperature:")); auto *text_extr = new wxStaticText(this, wxID_ANY, _L("Extrusion Temperature:"));
auto *unit_extr = new wxStaticText(this, wxID_ANY, _L("°C")); auto *unit_extr = new wxStaticText(this, wxID_ANY, "°C");
sizer_extr->AddGrowableCol(0, 1); sizer_extr->AddGrowableCol(0, 1);
sizer_extr->Add(text_extr, 0, wxALIGN_CENTRE_VERTICAL); sizer_extr->Add(text_extr, 0, wxALIGN_CENTRE_VERTICAL);
sizer_extr->Add(spin_extr); sizer_extr->Add(spin_extr);
@@ -1462,7 +1462,7 @@ PageTemperatures::PageTemperatures(ConfigWizard *parent)
auto *sizer_bed = new wxFlexGridSizer(3, 5, 5); auto *sizer_bed = new wxFlexGridSizer(3, 5, 5);
auto *text_bed = new wxStaticText(this, wxID_ANY, _L("Bed Temperature:")); auto *text_bed = new wxStaticText(this, wxID_ANY, _L("Bed Temperature:"));
auto *unit_bed = new wxStaticText(this, wxID_ANY, _L("°C")); auto *unit_bed = new wxStaticText(this, wxID_ANY, "°C");
sizer_bed->AddGrowableCol(0, 1); sizer_bed->AddGrowableCol(0, 1);
sizer_bed->Add(text_bed, 0, wxALIGN_CENTRE_VERTICAL); sizer_bed->Add(text_bed, 0, wxALIGN_CENTRE_VERTICAL);
sizer_bed->Add(spin_bed); sizer_bed->Add(spin_bed);
+80 -4
View File
@@ -1727,7 +1727,7 @@ void Choice::msw_rescale()
void ColourPicker::BUILD() void ColourPicker::BUILD()
{ {
auto size = wxSize(def_width() * m_em_unit, wxDefaultCoord); auto size = wxSize(def_width_wider() * m_em_unit, -1); // ORCA match color picker width
if (m_opt.height >= 0) size.SetHeight(m_opt.height*m_em_unit); if (m_opt.height >= 0) size.SetHeight(m_opt.height*m_em_unit);
if (m_opt.width >= 0) size.SetWidth(m_opt.width*m_em_unit); if (m_opt.width >= 0) size.SetWidth(m_opt.width*m_em_unit);
@@ -1750,7 +1750,24 @@ void ColourPicker::BUILD()
// // recast as a wxWindow to fit the calling convention // // recast as a wxWindow to fit the calling convention
window = dynamic_cast<wxWindow*>(temp); window = dynamic_cast<wxWindow*>(temp);
temp->Bind(wxEVT_COLOURPICKER_CHANGED, ([this](wxCommandEvent e) { on_change_field(); }), temp->GetId()); temp->Bind(wxEVT_COLOURPICKER_CHANGED, ([this,temp](wxCommandEvent e) {
#ifdef __WXMSW__
draw_bmp_btn(temp, temp->GetColour());
#endif
on_change_field();
}), temp->GetId());
// ORCA reset value to default on right click. previously no way to switch back on windows
temp->GetPickerCtrl()->Bind(wxEVT_RIGHT_DOWN, [this, temp](wxMouseEvent e){
#ifdef __WXMSW__
temp->SetColour(wxTransparentColour);
draw_bmp_btn(temp, wxTransparentColour);
#else
set_undef_value(temp);
#endif
on_change_field();
e.Skip();
});
temp->SetToolTip(get_tooltip_text(clr_str)); temp->SetToolTip(get_tooltip_text(clr_str));
} }
@@ -1782,17 +1799,69 @@ void ColourPicker::set_undef_value(wxColourPickerCtrl* field)
btn->SetBitmapLabel(bmp); btn->SetBitmapLabel(bmp);
} }
// ORCA match style with button on windows
void ColourPicker::draw_bmp_btn(wxColourPickerCtrl* field, wxColour color)
{
wxButton* btn = dynamic_cast<wxButton*>(field->GetPickerCtrl());
if (!btn->GetBitmap().IsOk()) return;
btn->SetWindowStyle(wxBORDER_NONE); // ORCA just in case to prevent any overflow
btn->SetBackgroundColour(*wxWHITE);
wxGetApp().UpdateDarkUI(btn);
auto create_bitmap = [btn](const wxColour& picker_color,const wxColour& bg_color, bool focus) -> wxBitmap {
wxSize btn_sz = btn->GetSize();
wxImage image(btn_sz);
image.InitAlpha();
memset(image.GetAlpha(), 0, image.GetWidth() * image.GetHeight());
wxBitmap bmp(std::move(image));
wxMemoryDC dc(bmp);
if (!dc.IsOk()) return bmp;
wxGCDC dc2(dc); // just use wxGCDC since bitmap button only used for windows
dc2.SetPen(focus ? wxPen(wxColour(StateColor::darkModeColorFor(wxColour("#009688"))), 1) : *wxTRANSPARENT_PEN);
dc2.SetBrush(wxBrush(StateColor::darkModeColorFor(bg_color)));
dc2.DrawRoundedRectangle(btn->GetRect(), btn->FromDIP(4));
int padding = btn->FromDIP(5);
dc2.SetPen(*wxTRANSPARENT_PEN);
if (picker_color != wxTransparentColour){ // Draw color
dc2.SetBrush(wxBrush(picker_color));
dc2.DrawRectangle(wxRect(padding, padding, btn_sz.x - 2 * padding, btn_sz.y - 2 * padding));
} else { // Draw Pick text
// Label::Body_14 rendered much bolder with wxGCDC
dc2.SetFont(wxFont(11, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL));
wxString text = _L("Pick") + " " + dots;
wxSize text_sz = dc2.GetTextExtent(text);
dc2.SetTextForeground(StateColor::darkModeColorFor(wxColour("#262E30")));
dc2.DrawText(text, (btn_sz.x - text_sz.x) / 2, (btn_sz.y - text_sz.y) / 2);
}
dc.SelectObject(wxNullBitmap);
return bmp;
};
btn->SetBitmap( create_bitmap(color, wxColour("#DFDFDF"), false)); // Normal
btn->SetBitmapFocus( create_bitmap(color, wxColour("#DFDFDF"), true )); // Focus
btn->SetBitmapCurrent( create_bitmap(color, wxColour("#D4D4D4"), false)); // Hover
}
void ColourPicker::set_value(const boost::any& value, bool change_event) void ColourPicker::set_value(const boost::any& value, bool change_event)
{ {
m_disable_change_event = !change_event; m_disable_change_event = !change_event;
const wxString clr_str(boost::any_cast<wxString>(value)); const wxString clr_str(boost::any_cast<wxString>(value));
auto field = dynamic_cast<wxColourPickerCtrl*>(window); auto field = dynamic_cast<wxColourPickerCtrl*>(window);
#ifdef __WXMSW__
wxColour clr = (clr_str.IsEmpty() || !clr.IsOk()) ? wxTransparentColour : clr_str;
field->SetColour(clr);
draw_bmp_btn(field, clr);
#else
wxColour clr(clr_str); wxColour clr(clr_str);
if (clr_str.IsEmpty() || !clr.IsOk()) if (clr_str.IsEmpty() || !clr.IsOk())
set_undef_value(field); set_undef_value(field);
else else
field->SetColour(clr); field->SetColour(clr);
#endif
m_disable_change_event = false; m_disable_change_event = false;
} }
@@ -1814,7 +1883,7 @@ void ColourPicker::msw_rescale()
Field::msw_rescale(); Field::msw_rescale();
wxColourPickerCtrl* field = dynamic_cast<wxColourPickerCtrl*>(window); wxColourPickerCtrl* field = dynamic_cast<wxColourPickerCtrl*>(window);
auto size = wxSize(def_width() * m_em_unit, wxDefaultCoord); auto size = wxSize(def_width_wider() * m_em_unit, -1); // ORCA match color picker width with parameters
if (m_opt.height >= 0) if (m_opt.height >= 0)
size.SetHeight(m_opt.height * m_em_unit); size.SetHeight(m_opt.height * m_em_unit);
else if (parent_is_custom_ctrl && opt_height > 0) else if (parent_is_custom_ctrl && opt_height > 0)
@@ -1825,16 +1894,23 @@ void ColourPicker::msw_rescale()
else else
field->SetMinSize(size); field->SetMinSize(size);
#ifdef __WXMSW__
draw_bmp_btn(field, field->GetColour());
#else
if (field->GetColour() == wxTransparentColour) if (field->GetColour() == wxTransparentColour)
set_undef_value(field); set_undef_value(field);
#endif
} }
void ColourPicker::sys_color_changed() void ColourPicker::sys_color_changed()
{ {
#ifdef _WIN32 #ifdef _WIN32
if (wxWindow* win = this->getWindow()) if (wxWindow* win = this->getWindow())
if (wxColourPickerCtrl* picker = dynamic_cast<wxColourPickerCtrl*>(win)) if (wxColourPickerCtrl* picker = dynamic_cast<wxColourPickerCtrl*>(win)){
wxGetApp().UpdateDarkUI(picker->GetPickerCtrl(), true); wxGetApp().UpdateDarkUI(picker->GetPickerCtrl(), true);
draw_bmp_btn(picker, picker->GetColour());
}
#endif #endif
} }
+1
View File
@@ -468,6 +468,7 @@ class ColourPicker : public Field {
using Field::Field; using Field::Field;
void set_undef_value(wxColourPickerCtrl* field); void set_undef_value(wxColourPickerCtrl* field);
void draw_bmp_btn(wxColourPickerCtrl* field, wxColour color);
public: public:
ColourPicker(const ConfigOptionDef& opt, const t_config_option_key& id) : Field(opt, id) {} ColourPicker(const ConfigOptionDef& opt, const t_config_option_key& id) : Field(opt, id) {}
ColourPicker(wxWindow* parent, const ConfigOptionDef& opt, const t_config_option_key& id) : Field(parent, opt, id) {} ColourPicker(wxWindow* parent, const ConfigOptionDef& opt, const t_config_option_key& id) : Field(parent, opt, id) {}
+2 -2
View File
@@ -4867,8 +4867,8 @@ void GCodeViewer::render_legend(float &legend_height, int canvas_width, int canv
} }
// ORCA use % symbol for percentage and use "Usage" for "Used filaments" // ORCA use % symbol for percentage and use "Usage" for "Used filaments"
offsets = calculate_offsets({ {_u8L("Line Type"), labels}, {_u8L("Time"), times}, {_u8L("%"), percents}, {"", used_filaments_length}, {"", used_filaments_weight}, {_u8L("Display"), {""}}}, icon_size); offsets = calculate_offsets({ {_u8L("Line Type"), labels}, {_u8L("Time"), times}, {"%", percents}, {"", used_filaments_length}, {"", used_filaments_weight}, {_u8L("Display"), {""}}}, icon_size);
append_headers({{_u8L("Line Type"), offsets[0]}, {_u8L("Time"), offsets[1]}, {_u8L("%"), offsets[2]}, {_u8L("Usage"), offsets[3]}, {_u8L("Display"), offsets[5]}}); append_headers({{_u8L("Line Type"), offsets[0]}, {_u8L("Time"), offsets[1]}, {"%", offsets[2]}, {_u8L("Usage"), offsets[3]}, {_u8L("Display"), offsets[5]}});
break; break;
} }
case EViewType::Height: { imgui.title(_u8L("Layer Height (mm)")); break; } case EViewType::Height: { imgui.title(_u8L("Layer Height (mm)")); break; }
+2 -2
View File
@@ -262,7 +262,7 @@ std::string GLGizmoCut3D::get_tooltip() const
if (tooltip.empty() && (m_hover_id == X || m_hover_id == Y || m_hover_id == CutPlaneZRotation)) { if (tooltip.empty() && (m_hover_id == X || m_hover_id == Y || m_hover_id == CutPlaneZRotation)) {
std::string axis = m_hover_id == X ? "X" : m_hover_id == Y ? "Y" : "Z"; std::string axis = m_hover_id == X ? "X" : m_hover_id == Y ? "Y" : "Z";
return axis + ": " + format(float(rad2deg(m_angle)), 1) + _u8L("°"); return axis + ": " + format(float(rad2deg(m_angle)), 1) + "°";
} }
return tooltip; return tooltip;
@@ -2541,7 +2541,7 @@ bool GLGizmoCut3D::render_angle_input(const std::string& label, float& in_val, c
float val = rad2deg(in_val); float val = rad2deg(in_val);
const float old_val = val; const float old_val = val;
const std::string format = "%.0f " + _u8L("°"); const std::string format = "%.0f°";
m_imgui->bbl_slider_float_style("##angle_" + label, &val, min_val, max_val, format.c_str(), 1.f, true, from_u8(label)); m_imgui->bbl_slider_float_style("##angle_" + label, &val, min_val, max_val, format.c_str(), 1.f, true, from_u8(label));
ImGui::SameLine(left_width); ImGui::SameLine(left_width);
+1 -1
View File
@@ -2108,7 +2108,7 @@ void GLGizmoMeasure::show_face_face_assembly_senior()
m_buffered_around_center = 0; m_buffered_around_center = 0;
} }
ImGui::SameLine(rotate_around_center_size + m_space_size + m_input_size_max + m_space_size / 2.0f); ImGui::SameLine(rotate_around_center_size + m_space_size + m_input_size_max + m_space_size / 2.0f);
m_imgui->text(_L("°")); m_imgui->text("°");
} }
} }
} }
+1 -1
View File
@@ -343,7 +343,7 @@ void GLGizmoSimplify::on_render_input_window(float x, float y, float bottom_limi
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing,ImVec2(10,20)); ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing,ImVec2(10,20));
if (is_worker_running) { // apply or preview if (is_worker_running) { // apply or preview
// draw progress bar // draw progress bar
std::string progress_text = GUI::format(_L("%1%"), std::to_string(progress)) + "%%"; std::string progress_text = GUI::format("%1%", std::to_string(progress)) + "%%";
ImVec2 progress_size(bottom_left_width - space_size, 0.0f); ImVec2 progress_size(bottom_left_width - space_size, 0.0f);
ImGui::BBLProgressBar2(progress / 100., progress_size); ImGui::BBLProgressBar2(progress / 100., progress_size);
ImGui::SameLine(); ImGui::SameLine();
+1 -1
View File
@@ -972,7 +972,7 @@ void GLGizmoText::on_render_input_window(float x, float y, float bottom_limit)
//ImGui::SameLine(); //ImGui::SameLine();
//ImGui::AlignTextToFramePadding(); //ImGui::AlignTextToFramePadding();
//m_imgui->text(_L("Status:")); //m_imgui->text(_L("Status") + ": ");
//float status_cap = m_imgui->calc_text_size(_L("Status:")).x + space_size + ImGui::GetStyle().WindowPadding.x; //float status_cap = m_imgui->calc_text_size(_L("Status:")).x + space_size + ImGui::GetStyle().WindowPadding.x;
//ImGui::SameLine(); //ImGui::SameLine();
//m_imgui->text(m_is_modify ? _L("Modify") : _L("Add")); //m_imgui->text(m_is_modify ? _L("Modify") : _L("Add"));
@@ -1034,7 +1034,7 @@ void GizmoObjectManipulation::do_render_rotate_window(ImGuiWrapper *imgui_wrappe
is_relative_input = true; is_relative_input = true;
} }
ImGui::SameLine(caption_max + (++index_unit) * unit_size + (++index) * space_size); ImGui::SameLine(caption_max + (++index_unit) * unit_size + (++index) * space_size);
imgui_wrapper->text(_L("°")); imgui_wrapper->text("°");
m_buffered_rotation = rotation; m_buffered_rotation = rotation;
if (is_relative_input) { if (is_relative_input) {
m_last_rotate_type = RotateType::Relative; m_last_rotate_type = RotateType::Relative;
@@ -1091,7 +1091,7 @@ void GizmoObjectManipulation::do_render_rotate_window(ImGuiWrapper *imgui_wrappe
is_absolute_input = true; is_absolute_input = true;
} }
ImGui::SameLine(caption_max + (++index_unit) * unit_size + (++index) * space_size); ImGui::SameLine(caption_max + (++index_unit) * unit_size + (++index) * space_size);
imgui_wrapper->text(_L("°")); imgui_wrapper->text("°");
m_buffered_absolute_rotation = absolute_rotation; m_buffered_absolute_rotation = absolute_rotation;
if (is_absolute_input) { if (is_absolute_input) {
m_last_rotate_type = RotateType::Absolute; m_last_rotate_type = RotateType::Absolute;
@@ -1247,7 +1247,7 @@ void GizmoObjectManipulation::do_render_scale_input_window(ImGuiWrapper* imgui_w
ImGui::PushItemWidth(unit_size); ImGui::PushItemWidth(unit_size);
ImGui::BBLInputDouble(label_scale_values[0][2], &scale[2], 0.0f, 0.0f, "%.2f"); ImGui::BBLInputDouble(label_scale_values[0][2], &scale[2], 0.0f, 0.0f, "%.2f");
ImGui::SameLine(caption_max + (++index_unit) *unit_size + (++index) * space_size); ImGui::SameLine(caption_max + (++index_unit) *unit_size + (++index) * space_size);
imgui_wrapper->text(_L("%")); imgui_wrapper->text("%");
if (scale.x() > 0 && scale.y() > 0 && scale.z() > 0) { if (scale.x() > 0 && scale.y() > 0 && scale.z() > 0) {
m_buffered_scale = scale; m_buffered_scale = scale;
} }
+2 -2
View File
@@ -535,7 +535,7 @@ void PrinterPartsDialog::set_nozzle_type(wxCommandEvent& evt)
nozzle_diameter_checkbox->Clear(); nozzle_diameter_checkbox->Clear();
for (int i = 0; i < diameter_list.size(); i++) for (int i = 0; i < diameter_list.size(); i++)
{ {
nozzle_diameter_checkbox->Append(wxString::Format(_L("%.1f"), diameter_list[i])); nozzle_diameter_checkbox->Append(wxString::Format("%.1f", diameter_list[i]));
} }
nozzle_diameter_checkbox->SetSelection(0); nozzle_diameter_checkbox->SetSelection(0);
@@ -618,7 +618,7 @@ bool PrinterPartsDialog::Show(bool show)
for (int i = 0; i < diameter_list.size(); i++) for (int i = 0; i < diameter_list.size(); i++)
{ {
nozzle_diameter_checkbox->Append( wxString::Format(_L("%.1f"), diameter_list[i])); nozzle_diameter_checkbox->Append( wxString::Format("%.1f", diameter_list[i]));
if (diameter_list[i] == diameter) { if (diameter_list[i] == diameter) {
nozzle_diameter_checkbox->SetSelection(i); nozzle_diameter_checkbox->SetSelection(i);
} }
+5 -5
View File
@@ -333,12 +333,12 @@ void PrintingTaskPanel::create_panel(wxWindow* parent)
sizer_percent_icon->Add(0, 0, 1, wxEXPAND, 0); sizer_percent_icon->Add(0, 0, 1, wxEXPAND, 0);
m_staticText_progress_percent = new wxStaticText(penel_text, wxID_ANY, L("0"), wxDefaultPosition, wxDefaultSize, 0); m_staticText_progress_percent = new wxStaticText(penel_text, wxID_ANY, "0", wxDefaultPosition, wxDefaultSize, 0);
m_staticText_progress_percent->SetFont(::Label::Head_18); m_staticText_progress_percent->SetFont(::Label::Head_18);
m_staticText_progress_percent->SetMaxSize(wxSize(-1, FromDIP(20))); m_staticText_progress_percent->SetMaxSize(wxSize(-1, FromDIP(20)));
m_staticText_progress_percent->SetForegroundColour(wxColour(0, 150, 136)); m_staticText_progress_percent->SetForegroundColour(wxColour(0, 150, 136));
m_staticText_progress_percent_icon = new wxStaticText(penel_text, wxID_ANY, L("%"), wxDefaultPosition, wxDefaultSize, 0); m_staticText_progress_percent_icon = new wxStaticText(penel_text, wxID_ANY, "%", wxDefaultPosition, wxDefaultSize, 0);
m_staticText_progress_percent_icon->SetFont(::Label::Body_11); m_staticText_progress_percent_icon->SetFont(::Label::Body_11);
m_staticText_progress_percent_icon->SetMaxSize(wxSize(-1, FromDIP(13))); m_staticText_progress_percent_icon->SetMaxSize(wxSize(-1, FromDIP(13)));
m_staticText_progress_percent_icon->SetForegroundColour(wxColour(0, 150, 136)); m_staticText_progress_percent_icon->SetForegroundColour(wxColour(0, 150, 136));
@@ -1270,7 +1270,7 @@ wxBoxSizer *StatusBasePanel::create_misc_control(wxWindow *parent)
/* create speed control */ /* create speed control */
m_switch_speed = new ImageSwitchButton(parent, m_bitmap_speed_active, m_bitmap_speed); m_switch_speed = new ImageSwitchButton(parent, m_bitmap_speed_active, m_bitmap_speed);
m_switch_speed->SetLabels(_L("100%"), _L("100%")); m_switch_speed->SetLabels("100%", "100%");
m_switch_speed->SetMinSize(MISC_BUTTON_2FAN_SIZE); m_switch_speed->SetMinSize(MISC_BUTTON_2FAN_SIZE);
m_switch_speed->SetMaxSize(MISC_BUTTON_2FAN_SIZE); m_switch_speed->SetMaxSize(MISC_BUTTON_2FAN_SIZE);
m_switch_speed->SetPadding(FromDIP(3)); m_switch_speed->SetPadding(FromDIP(3));
@@ -1403,7 +1403,7 @@ void StatusBasePanel::reset_temp_misc_control()
m_tempCtrl_bed->Enable(true); m_tempCtrl_bed->Enable(true);
// reset misc control // reset misc control
m_switch_speed->SetLabels(_L("100%"), _L("100%")); m_switch_speed->SetLabels("100%", "100%");
m_switch_speed->SetValue(false); m_switch_speed->SetValue(false);
m_switch_lamp->SetLabels(_L("Lamp"), _L("Lamp")); m_switch_lamp->SetLabels(_L("Lamp"), _L("Lamp"));
m_switch_lamp->SetValue(false); m_switch_lamp->SetValue(false);
@@ -3392,7 +3392,7 @@ void StatusPanel::axis_ctrl_e_hint(bool up_down)
{ {
if (ctrl_e_hint_dlg == nullptr) { if (ctrl_e_hint_dlg == nullptr) {
ctrl_e_hint_dlg = new SecondaryCheckDialog(this->GetParent(), wxID_ANY, _L("Warning"), SecondaryCheckDialog::ButtonStyle::CONFIRM_AND_CANCEL, wxDefaultPosition, wxDefaultSize, wxCLOSE_BOX | wxCAPTION, true); ctrl_e_hint_dlg = new SecondaryCheckDialog(this->GetParent(), wxID_ANY, _L("Warning"), SecondaryCheckDialog::ButtonStyle::CONFIRM_AND_CANCEL, wxDefaultPosition, wxDefaultSize, wxCLOSE_BOX | wxCAPTION, true);
ctrl_e_hint_dlg->update_text(_L("Please heat the nozzle to above 170 degree before loading or unloading filament.")); ctrl_e_hint_dlg->update_text(_L("Please heat the nozzle to above 170°C before loading or unloading filament."));
ctrl_e_hint_dlg->show_again_config_text = std::string("not_show_ectrl_hint"); ctrl_e_hint_dlg->show_again_config_text = std::string("not_show_ectrl_hint");
} }
if (up_down) { if (up_down) {
+1 -1
View File
@@ -251,7 +251,7 @@ StepMeshDialog::StepMeshDialog(wxWindow* parent, Slic3r::Step& file, double line
wxBoxSizer* mesh_face_number_sizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* mesh_face_number_sizer = new wxBoxSizer(wxHORIZONTAL);
wxStaticText *mesh_face_number_title = new wxStaticText(this, wxID_ANY, _L("Number of triangular facets") + ": "); wxStaticText *mesh_face_number_title = new wxStaticText(this, wxID_ANY, _L("Number of triangular facets") + ": ");
mesh_face_number_title->SetForegroundColour(StateColor::darkModeColorFor(FONT_COLOR)); mesh_face_number_title->SetForegroundColour(StateColor::darkModeColorFor(FONT_COLOR));
mesh_face_number_text = new wxStaticText(this, wxID_ANY, _L("0")); mesh_face_number_text = new wxStaticText(this, wxID_ANY, "0");
mesh_face_number_text->SetForegroundColour(StateColor::darkModeColorFor(FONT_COLOR)); mesh_face_number_text->SetForegroundColour(StateColor::darkModeColorFor(FONT_COLOR));
mesh_face_number_text->SetMinSize(wxSize(FromDIP(150), -1)); mesh_face_number_text->SetMinSize(wxSize(FromDIP(150), -1));
mesh_face_number_sizer->Add(mesh_face_number_title, 0, wxALIGN_LEFT); mesh_face_number_sizer->Add(mesh_face_number_title, 0, wxALIGN_LEFT);
+40 -9
View File
@@ -3585,7 +3585,7 @@ void TabFilament::build()
optgroup->append_single_option_line("filament_multitool_ramming_flow"); optgroup->append_single_option_line("filament_multitool_ramming_flow");
page = add_options_page(L("Dependencies"), "advanced"); page = add_options_page(L("Dependencies"), "advanced");
optgroup = page->new_optgroup(L("Profile dependencies"), "param_profile_dependencies"); optgroup = page->new_optgroup(L("Compatible printers"), "param_dependencies_printers");
create_line_with_widget(optgroup.get(), "compatible_printers", "", [this](wxWindow* parent) { create_line_with_widget(optgroup.get(), "compatible_printers", "", [this](wxWindow* parent) {
return compatible_widget_create(parent, m_compatible_printers); return compatible_widget_create(parent, m_compatible_printers);
}); });
@@ -3594,6 +3594,7 @@ void TabFilament::build()
option.opt.full_width = true; option.opt.full_width = true;
optgroup->append_single_option_line(option); optgroup->append_single_option_line(option);
optgroup = page->new_optgroup(L("Compatible process profiles"), "param_dependencies_presets");
create_line_with_widget(optgroup.get(), "compatible_prints", "", [this](wxWindow* parent) { create_line_with_widget(optgroup.get(), "compatible_prints", "", [this](wxWindow* parent) {
return compatible_widget_create(parent, m_compatible_prints); return compatible_widget_create(parent, m_compatible_prints);
}); });
@@ -5921,10 +5922,14 @@ void Tab::create_line_with_widget(ConfigOptionsGroup* optgroup, const std::strin
// Return a callback to create a Tab widget to mark the preferences as compatible / incompatible to the current printer. // Return a callback to create a Tab widget to mark the preferences as compatible / incompatible to the current printer.
wxSizer* Tab::compatible_widget_create(wxWindow* parent, PresetDependencies &deps) wxSizer* Tab::compatible_widget_create(wxWindow* parent, PresetDependencies &deps)
{ {
deps.checkbox = new wxCheckBox(parent, wxID_ANY, _(L("All"))); deps.checkbox = new ::CheckBox(parent, wxID_ANY);
deps.checkbox->SetFont(Slic3r::GUI::wxGetApp().normal_font());
wxGetApp().UpdateDarkUI(deps.checkbox, false, true); wxGetApp().UpdateDarkUI(deps.checkbox, false, true);
deps.checkbox_title = new wxStaticText(parent, wxID_ANY, _L("All"));
deps.checkbox_title->SetFont(Label::Body_14);
deps.checkbox_title->SetForegroundColour(wxColour("#363636"));
wxGetApp().UpdateDarkUI(deps.checkbox_title, false, true);
// ORCA modernize button style // ORCA modernize button style
Button* btn = new Button(parent, _(L("Set")) + " " + dots); Button* btn = new Button(parent, _(L("Set")) + " " + dots);
btn->SetFont(Label::Body_14); btn->SetFont(Label::Body_14);
@@ -5948,18 +5953,43 @@ wxSizer* Tab::compatible_widget_create(wxWindow* parent, PresetDependencies &dep
auto sizer = new wxBoxSizer(wxHORIZONTAL); auto sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add((deps.checkbox), 0, wxALIGN_CENTER_VERTICAL); sizer->Add((deps.checkbox), 0, wxALIGN_CENTER_VERTICAL);
sizer->Add((deps.checkbox_title), 0, wxALIGN_CENTER_VERTICAL);
sizer->Add(new wxStaticText(parent, wxID_ANY, " ")); // weirdly didnt apply AddSpacer or wxRIGHT border
sizer->Add((deps.btn), 0, wxALIGN_CENTER_VERTICAL); sizer->Add((deps.btn), 0, wxALIGN_CENTER_VERTICAL);
deps.checkbox->Bind(wxEVT_CHECKBOX, ([this, &deps](wxCommandEvent e) auto on_toggle = [this, &deps](const bool &state){
{ deps.checkbox->SetValue(state);
deps.btn->Enable(! deps.checkbox->GetValue()); deps.btn->Enable(!state);
// All printers have been made compatible with this preset. // All printers have been made compatible with this preset.
if (deps.checkbox->GetValue()) if (state)
this->load_key_value(deps.key_list, std::vector<std::string> {}); this->load_key_value(deps.key_list, std::vector<std::string> {});
this->get_field(deps.key_condition)->toggle(deps.checkbox->GetValue()); this->get_field(deps.key_condition)->toggle(state);
this->update_changed_ui(); this->update_changed_ui();
}) ); };
deps.checkbox_title->Bind(wxEVT_LEFT_DOWN,([this, &deps, on_toggle](wxMouseEvent e) {
if (e.GetEventType() == wxEVT_LEFT_DCLICK) return;
on_toggle(!deps.checkbox->GetValue());
e.Skip();
}));
deps.checkbox_title->Bind(wxEVT_LEFT_DCLICK,([this, &deps, on_toggle](wxMouseEvent e) {
on_toggle(!deps.checkbox->GetValue());
e.Skip();
}));
deps.checkbox->Bind(wxEVT_TOGGLEBUTTON, ([this, on_toggle](wxCommandEvent e) {
on_toggle(e.IsChecked());
e.Skip();
}), deps.checkbox->GetId());
if (deps.checkbox){
bool is_empty = m_config->option<ConfigOptionStrings>(deps.key_list)->values.empty();
deps.checkbox->SetValue(is_empty);
deps.btn->Enable(!is_empty);
}
/*
if (m_compatible_printers.checkbox) { if (m_compatible_printers.checkbox) {
bool is_empty = m_config->option<ConfigOptionStrings>("compatible_printers")->values.empty(); bool is_empty = m_config->option<ConfigOptionStrings>("compatible_printers")->values.empty();
m_compatible_printers.checkbox->SetValue(is_empty); m_compatible_printers.checkbox->SetValue(is_empty);
@@ -5971,6 +6001,7 @@ wxSizer* Tab::compatible_widget_create(wxWindow* parent, PresetDependencies &dep
m_compatible_prints.checkbox->SetValue(is_empty); m_compatible_prints.checkbox->SetValue(is_empty);
is_empty ? m_compatible_prints.btn->Disable() : m_compatible_prints.btn->Enable(); is_empty ? m_compatible_prints.btn->Disable() : m_compatible_prints.btn->Enable();
} }
*/
deps.btn->Bind(wxEVT_BUTTON, ([this, parent, &deps](wxCommandEvent e) deps.btn->Bind(wxEVT_BUTTON, ([this, parent, &deps](wxCommandEvent e)
{ {
+2 -1
View File
@@ -164,7 +164,8 @@ protected:
struct PresetDependencies { struct PresetDependencies {
Preset::Type type = Preset::TYPE_INVALID; Preset::Type type = Preset::TYPE_INVALID;
wxCheckBox *checkbox = nullptr; ::CheckBox* checkbox = nullptr;
wxStaticText* checkbox_title = nullptr;
Button *btn = nullptr; Button *btn = nullptr;
std::string key_list; // "compatible_printers" std::string key_list; // "compatible_printers"
std::string key_condition; std::string key_condition;
+4 -4
View File
@@ -796,7 +796,7 @@ void AMSLib::render_extra_text(wxDC& dc)
auto tsize = dc.GetMultiLineTextExtent("?"); auto tsize = dc.GetMultiLineTextExtent("?");
auto pot = wxPoint(0, 0); auto pot = wxPoint(0, 0);
pot = wxPoint((libsize.x - tsize.x) / 2 + FromDIP(2), (libsize.y - tsize.y) / 2 - FromDIP(5)); pot = wxPoint((libsize.x - tsize.x) / 2 + FromDIP(2), (libsize.y - tsize.y) / 2 - FromDIP(5));
dc.DrawText(L("?"), pot); dc.DrawText("?", pot);
} }
else { else {
auto tsize = dc.GetMultiLineTextExtent(m_info.material_name); auto tsize = dc.GetMultiLineTextExtent(m_info.material_name);
@@ -840,9 +840,9 @@ void AMSLib::render_extra_text(wxDC& dc)
} }
if (m_info.material_state == AMSCanType::AMS_CAN_TYPE_EMPTY) { if (m_info.material_state == AMSCanType::AMS_CAN_TYPE_EMPTY) {
auto tsize = dc.GetMultiLineTextExtent(_L("/")); auto tsize = dc.GetMultiLineTextExtent("/");
auto pot = wxPoint((libsize.x - tsize.x) / 2 + FromDIP(2), (libsize.y - tsize.y) / 2 + FromDIP(3)); auto pot = wxPoint((libsize.x - tsize.x) / 2 + FromDIP(2), (libsize.y - tsize.y) / 2 + FromDIP(3));
dc.DrawText(_L("/"), pot); dc.DrawText("/", pot);
} }
} }
@@ -895,7 +895,7 @@ void AMSLib::render_generic_text(wxDC &dc)
else { else {
pot = wxPoint((libsize.x - tsize.x) / 2, (libsize.y - tsize.y) / 2 + FromDIP(3)); pot = wxPoint((libsize.x - tsize.x) / 2, (libsize.y - tsize.y) / 2 + FromDIP(3));
} }
dc.DrawText(L("?"), pot); dc.DrawText("?", pot);
} }
else { else {