Skip to content

Commit

Permalink
Feat: 1. Vertical and horizontal mode for painting 2. Optimize Camera…
Browse files Browse the repository at this point in the history
… behavior (#2424)

* fix camera and update locale

* Paint horizontally or vertically
  • Loading branch information
SoftFever authored Oct 15, 2023
1 parent 53c416b commit 388b483
Show file tree
Hide file tree
Showing 28 changed files with 557 additions and 336 deletions.
24 changes: 14 additions & 10 deletions localization/i18n/OrcaSlicer.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-11 22:28+0800\n"
"POT-Creation-Date: 2023-10-15 11:57+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -166,6 +166,12 @@ msgstr ""
msgid "Height Range"
msgstr ""

msgid "Vertical"
msgstr ""

msgid "Horizontal"
msgstr ""

msgid "Remove painted color"
msgstr ""

Expand Down Expand Up @@ -4696,6 +4702,12 @@ msgid ""
"2D window center."
msgstr ""

msgid "Use free camera"
msgstr ""

msgid "If enabled, use free camera. If not enabled, use constrained camera."
msgstr ""

msgid "Show \"Tip of the day\" notification after start"
msgstr ""

Expand Down Expand Up @@ -7965,9 +7977,7 @@ msgstr ""
msgid "Layers and Perimeters"
msgstr ""

msgid ""
"Filter out gaps smaller than the threshold specified. This setting won't "
"affect top/bottom layers"
msgid "Filter out gaps smaller than the threshold specified"
msgstr ""

msgid ""
Expand Down Expand Up @@ -9857,12 +9867,6 @@ msgstr ""
msgid "Optimizing toolpath"
msgstr ""

msgid "Empty layers around bottom are replaced by nearest normal layers."
msgstr ""

msgid "The model has too many empty layers."
msgstr ""

msgid "Slicing mesh"
msgstr ""

Expand Down
41 changes: 28 additions & 13 deletions localization/i18n/cs/OrcaSlicer_cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-11 22:28+0800\n"
"POT-Creation-Date: 2023-10-15 11:57+0800\n"
"PO-Revision-Date: 2023-09-30 15:15+0200\n"
"Last-Translator: René Mošner <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -169,6 +169,12 @@ msgstr "Trojúhelník"
msgid "Height Range"
msgstr "Rozsah výš"

msgid "Vertical"
msgstr ""

msgid "Horizontal"
msgstr ""

msgid "Remove painted color"
msgstr "Odbarvení"

Expand Down Expand Up @@ -5015,6 +5021,12 @@ msgid ""
"2D window center."
msgstr "Přiblížit se ke kurzoru myši ve 3D zobrazení, na místo středu 2D okna."

msgid "Use free camera"
msgstr ""

msgid "If enabled, use free camera. If not enabled, use constrained camera."
msgstr ""

msgid "Show \"Tip of the day\" notification after start"
msgstr "Zobrazovat \"Tip dne\" po spuštění"

Expand Down Expand Up @@ -8720,12 +8732,8 @@ msgstr "Odfiltrujte drobné mezery"
msgid "Layers and Perimeters"
msgstr "Vrstvy a perimetry"

msgid ""
"Filter out gaps smaller than the threshold specified. This setting won't "
"affect top/bottom layers"
msgid "Filter out gaps smaller than the threshold specified"
msgstr ""
"Vyfiltrované mezery menší než stanovený práh. Toto nastavení neovlivní "
"vrstvy horního/spodního povrchu"

msgid ""
"Speed of gap infill. Gap usually has irregular line width and should be "
Expand Down Expand Up @@ -10959,13 +10967,6 @@ msgstr ""
msgid "Optimizing toolpath"
msgstr "Optimalizace dráhy nástroje"

msgid "Empty layers around bottom are replaced by nearest normal layers."
msgstr ""
"Prázdné vrstvy kolem dna jsou nahrazeny nejbližšími normálními vrstvami."

msgid "The model has too many empty layers."
msgstr "Model má příliš mnoho prázdných vrstev."

msgid "Slicing mesh"
msgstr "Slicování sítě"

Expand Down Expand Up @@ -12156,6 +12157,20 @@ msgstr ""
"Věděli jste, že můžete použít více opakování stěn a vyšší hustotu řídké "
"výplně pro zvýšení pevnosti modelu?"

#~ msgid ""
#~ "Filter out gaps smaller than the threshold specified. This setting won't "
#~ "affect top/bottom layers"
#~ msgstr ""
#~ "Vyfiltrované mezery menší než stanovený práh. Toto nastavení neovlivní "
#~ "vrstvy horního/spodního povrchu"

#~ msgid "Empty layers around bottom are replaced by nearest normal layers."
#~ msgstr ""
#~ "Prázdné vrstvy kolem dna jsou nahrazeny nejbližšími normálními vrstvami."

#~ msgid "The model has too many empty layers."
#~ msgstr "Model má příliš mnoho prázdných vrstev."

#~ msgid "Cali"
#~ msgstr "Kalibrace"

Expand Down
43 changes: 29 additions & 14 deletions localization/i18n/de/OrcaSlicer_de.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Orca Slicer\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-11 22:28+0800\n"
"POT-Creation-Date: 2023-10-15 11:57+0800\n"
"PO-Revision-Date: \n"
"Last-Translator: Heiko Liebscher <hliebschergmail.com>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -165,6 +165,12 @@ msgstr "Dreieck"
msgid "Height Range"
msgstr "Höhenreichweite"

msgid "Vertical"
msgstr ""

msgid "Horizontal"
msgstr ""

msgid "Remove painted color"
msgstr "Gemalte Farbe entfernen"

Expand Down Expand Up @@ -5128,6 +5134,12 @@ msgstr ""
"Vergrößere die Ansicht in Richtung der Mauszeigerposition im 3D-Modus "
"anstatt auf das Zentrum des 2D-Fensters."

msgid "Use free camera"
msgstr ""

msgid "If enabled, use free camera. If not enabled, use constrained camera."
msgstr ""

msgid "Show \"Tip of the day\" notification after start"
msgstr "Benachrichtigung \"Tipp des Tages\" nach dem Start anzeigen"

Expand Down Expand Up @@ -8975,12 +8987,8 @@ msgstr "Filtert winzige Lücken aus"
msgid "Layers and Perimeters"
msgstr "Schichten und Perimeter"

msgid ""
"Filter out gaps smaller than the threshold specified. This setting won't "
"affect top/bottom layers"
msgid "Filter out gaps smaller than the threshold specified"
msgstr ""
"Filtert Lücken aus, die kleiner als der festgelegte Schwellenwert sind. "
"Diese Einstellung beeinflusst die obersten/untersten Schichten nicht"

msgid ""
"Speed of gap infill. Gap usually has irregular line width and should be "
Expand Down Expand Up @@ -11318,14 +11326,6 @@ msgstr ""
msgid "Optimizing toolpath"
msgstr "Optimieren des Werkzeugwegs"

msgid "Empty layers around bottom are replaced by nearest normal layers."
msgstr ""
"Die leeren Ebenen im unteren Bereich werden durch die nächstgelegenen "
"normalen Ebenen ersetzt."

msgid "The model has too many empty layers."
msgstr "Das Modell hat zu viele leere Ebenen."

msgid "Slicing mesh"
msgstr "Slicen des Netzes"

Expand Down Expand Up @@ -12553,6 +12553,21 @@ msgstr ""
"Wussten Sie, dass Sie die Festigkeit des Modells durch mehr Wandschleifen "
"und eine höhere Dichte der Füllung verbessern können?"

#~ msgid ""
#~ "Filter out gaps smaller than the threshold specified. This setting won't "
#~ "affect top/bottom layers"
#~ msgstr ""
#~ "Filtert Lücken aus, die kleiner als der festgelegte Schwellenwert sind. "
#~ "Diese Einstellung beeinflusst die obersten/untersten Schichten nicht"

#~ msgid "Empty layers around bottom are replaced by nearest normal layers."
#~ msgstr ""
#~ "Die leeren Ebenen im unteren Bereich werden durch die nächstgelegenen "
#~ "normalen Ebenen ersetzt."

#~ msgid "The model has too many empty layers."
#~ msgstr "Das Modell hat zu viele leere Ebenen."

#~ msgid "Cali"
#~ msgstr "Kalibrierung"

Expand Down
30 changes: 20 additions & 10 deletions localization/i18n/en/OrcaSlicer_en.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Orca Slicer\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-11 22:28+0800\n"
"POT-Creation-Date: 2023-10-15 11:57+0800\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -163,6 +163,12 @@ msgstr "Triangle"
msgid "Height Range"
msgstr "Height Range"

msgid "Vertical"
msgstr ""

msgid "Horizontal"
msgstr ""

msgid "Remove painted color"
msgstr "Remove painted color"

Expand Down Expand Up @@ -4926,6 +4932,12 @@ msgstr ""
"Zoom in towards the mouse pointer's position in the 3D view, rather than the "
"2D window center."

msgid "Use free camera"
msgstr ""

msgid "If enabled, use free camera. If not enabled, use constrained camera."
msgstr ""

msgid "Show \"Tip of the day\" notification after start"
msgstr "Show \"Tip of the day\" notification after start"

Expand Down Expand Up @@ -8499,9 +8511,7 @@ msgstr ""
msgid "Layers and Perimeters"
msgstr "Layers and Perimeters"

msgid ""
"Filter out gaps smaller than the threshold specified. This setting won't "
"affect top/bottom layers"
msgid "Filter out gaps smaller than the threshold specified"
msgstr ""

msgid ""
Expand Down Expand Up @@ -10579,12 +10589,6 @@ msgstr ""
msgid "Optimizing toolpath"
msgstr "Optimizing toolpath"

msgid "Empty layers around bottom are replaced by nearest normal layers."
msgstr "Empty layers around bottom are replaced by nearest normal layers."

msgid "The model has too many empty layers."
msgstr "The model has too many empty layers."

msgid "Slicing mesh"
msgstr "Slicing mesh"

Expand Down Expand Up @@ -11582,6 +11586,12 @@ msgid ""
"density to improve the strength of the model?"
msgstr ""

#~ msgid "Empty layers around bottom are replaced by nearest normal layers."
#~ msgstr "Empty layers around bottom are replaced by nearest normal layers."

#~ msgid "The model has too many empty layers."
#~ msgstr "The model has too many empty layers."

#~ msgid "Cali"
#~ msgstr "Cali"

Expand Down
42 changes: 29 additions & 13 deletions localization/i18n/es/OrcaSlicer_es.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Orca Slicer\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-11 22:28+0800\n"
"POT-Creation-Date: 2023-10-15 11:57+0800\n"
"PO-Revision-Date: \n"
"Last-Translator: Carlos Fco. Caruncho Serrano <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -164,6 +164,12 @@ msgstr "Triángulo"
msgid "Height Range"
msgstr "Rango de altura"

msgid "Vertical"
msgstr ""

msgid "Horizontal"
msgstr ""

msgid "Remove painted color"
msgstr "Eliminar color pintado"

Expand Down Expand Up @@ -5050,6 +5056,12 @@ msgstr ""
"Hacer zoom hacia la posición del puntero de ratón en la vista 3D, en vez del "
"centro de la ventana 2D."

msgid "Use free camera"
msgstr ""

msgid "If enabled, use free camera. If not enabled, use constrained camera."
msgstr ""

msgid "Show \"Tip of the day\" notification after start"
msgstr "Mostrar la notificación \"Consejo del Día\" después de empezar"

Expand Down Expand Up @@ -8846,12 +8858,8 @@ msgstr "Filtrar pequeños huecos"
msgid "Layers and Perimeters"
msgstr "Capas y Perímetros"

msgid ""
"Filter out gaps smaller than the threshold specified. This setting won't "
"affect top/bottom layers"
msgid "Filter out gaps smaller than the threshold specified"
msgstr ""
"Filtrar espacios menores que el umbral especificado. Esta configuración no "
"afectará en las capas superior/inferior"

msgid ""
"Speed of gap infill. Gap usually has irregular line width and should be "
Expand Down Expand Up @@ -11115,13 +11123,6 @@ msgstr ""
msgid "Optimizing toolpath"
msgstr "Optimización de la trayectoria de la herramienta"

msgid "Empty layers around bottom are replaced by nearest normal layers."
msgstr ""
"Las capas vacías del fondo se sustituyen por las capas normales más cercanas."

msgid "The model has too many empty layers."
msgstr "El modelo tiene demasiadas capas vacías."

msgid "Slicing mesh"
msgstr "Malla de corte"

Expand Down Expand Up @@ -12329,6 +12330,21 @@ msgstr ""
"¿Sabías que puedes utilizar más bucles de perímetro y mayor densidad de "
"relleno de baja densidad para mejorar la resistencia del modelo?"

#~ msgid ""
#~ "Filter out gaps smaller than the threshold specified. This setting won't "
#~ "affect top/bottom layers"
#~ msgstr ""
#~ "Filtrar espacios menores que el umbral especificado. Esta configuración "
#~ "no afectará en las capas superior/inferior"

#~ msgid "Empty layers around bottom are replaced by nearest normal layers."
#~ msgstr ""
#~ "Las capas vacías del fondo se sustituyen por las capas normales más "
#~ "cercanas."

#~ msgid "The model has too many empty layers."
#~ msgstr "El modelo tiene demasiadas capas vacías."

#~ msgid "Cali"
#~ msgstr "Cali"

Expand Down
Loading

0 comments on commit 388b483

Please sign in to comment.