mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-22 21:50:51 -05:00
Fix a crash from the Russian extruder range warning, and check plural placeholders in CI (#16815)
This commit is contained in:
1 parent
694b3ad705
commit
258ddc15e8
41 files changed
+12448
-5388
No files matched your search
@@ -112,6 +112,8 @@ For each language:
|
||||
- `note`: the developer's `TRN` comment.
|
||||
- `flags`: `c-format` or `boost-format`.
|
||||
- `description`: present when a sense has to be chosen.
|
||||
- `similar`: earlier translations of similar English. `"human": true` marks a person's work: when
|
||||
the English barely changed, patch that translation instead of translating again (see the rules).
|
||||
3. Read every apply message:
|
||||
- **REJECTED:** a hard rule broke. Fix the translation and apply the corrected items again.
|
||||
- **WARNING:** something worth a second look, such as a glossary rendering not found, ending
|
||||
@@ -121,13 +123,17 @@ For each language:
|
||||
|
||||
`apply` adds `# AI Translated` to every entry it writes, and `# Needs human review: <reason>` where an
|
||||
item has `review`. On an `--overwrite`, `"review": ""` removes an earlier note. Never add either to a translation a person wrote. `--human` is for applying their
|
||||
text.
|
||||
text, and for a fix that keeps their words; it also drops a stale AI mark. `apply` rejects text that
|
||||
strays from a person's translation more than the English change explains, unless the item says why
|
||||
with `"rewrite": "<reason>"`.
|
||||
|
||||
**The work is large:** every new string, times every language. When subagents are available, give each
|
||||
one a language or a few. Each agent only touches its own catalogs, so they can run
|
||||
in parallel. Settle step 3 first. Give each agent the language list, this skill's path, the rules file,
|
||||
and these instructions:
|
||||
- Fill every empty entry.
|
||||
- Patch a person's earlier translation (`"human": true` in `similar`) instead of translating again, and
|
||||
keep their words when fixing their entries.
|
||||
- Don't add glossary rows.
|
||||
- Report what it could not translate, the review notes it added, and any term it thinks the glossary
|
||||
still lacks.
|
||||
|
||||
@@ -11,7 +11,8 @@ can detect; everything else is on the translator.
|
||||
A rejected entry is not written. Fix it and apply again.
|
||||
|
||||
- **Placeholders stay exactly as written:** `%s`, `%d`, `%.1f`, `%1$d`, `%1%`, `%%`. Never `%1 %`, never
|
||||
`%` for `%%`. Plain printf placeholders keep their order; only positional ones (`%1$s`, `%1%`) may move.
|
||||
`%` for `%%`. Plain printf placeholders keep their order; only positional ones (`%1$s`, `%1%`) may move,
|
||||
and one the msgid repeats may appear just once.
|
||||
A broken placeholder crashes the app.
|
||||
- **Line breaks:** the same number of `\n`, with the same leading and trailing ones. Don't add breaks to fit
|
||||
text, least of all in parameter names.
|
||||
@@ -26,6 +27,26 @@ A rejected entry is not written. Fix it and apply again.
|
||||
ja/ko/zh/th/vi, 3 for ru/cs/pl/lt, 4 for uk). Each form is really inflected for its quantity. Repeating
|
||||
one sentence is a bug in Slavic and Baltic languages, but correct in Turkish and Hungarian.
|
||||
|
||||
## A person's translation: patch it, don't rewrite it
|
||||
|
||||
A translator's wording is kept unless it is wrong. Machine output never replaces it wholesale.
|
||||
|
||||
- **A reworded string:** `pending` lists earlier translations of similar English under `similar`, and
|
||||
marks a person's work with `"human": true`. When the English barely changed, start from that
|
||||
translation and change only what the English change requires: a renamed term, an added clause, a
|
||||
period. Keep the translator's wording, word order, terms and line structure. If they already wrote what
|
||||
the new English says, the translation does not change at all.
|
||||
- **A fix in a person's translation:** for a check error (a line break, a space, placeholder order, a
|
||||
missing clause), change only what the error needs. Keep the rest of their words, even where they differ
|
||||
from the glossary or from how you would phrase it. Report such glossary differences instead.
|
||||
- **Rewrite only what is plainly wrong:** another string's text, a cut-off sentence, a mistranslation.
|
||||
Say why with `"rewrite": "<what was wrong>"` in the item; the reason becomes the review note.
|
||||
- `apply` enforces this. It rejects text that strays further from a person's translation than the
|
||||
English change explains (below 85% alike for a fix, or clearly less alike than the English for a
|
||||
reworded string), unless the item carries `rewrite`.
|
||||
- Apply a fix that keeps the person's words with `--human`, so the entry stays theirs. Text you wrote
|
||||
gets the default `# AI Translated`.
|
||||
|
||||
## Mechanical: not detectable, still required
|
||||
|
||||
- Edit only `msgstr`. Never change `msgid`, `msgctxt`, the header or another entry's text.
|
||||
|
||||
@@ -177,6 +177,11 @@ class Entry:
|
||||
while pos < len(lines) and (lines[pos] == "#" or lines[pos].startswith("# ")):
|
||||
pos += 1
|
||||
add = []
|
||||
if not ai: # a person's words: drop a stale AI mark
|
||||
lines = [l for l in lines if l != "# " + AI_TAG]
|
||||
pos = 0
|
||||
while pos < len(lines) and (lines[pos] == "#" or lines[pos].startswith("# ")):
|
||||
pos += 1
|
||||
if review is not None: # "" clears an earlier note, a reason replaces it
|
||||
lines = [l for l in lines if not l.startswith("# " + REVIEW_TAG)]
|
||||
pos = 0
|
||||
@@ -402,9 +407,9 @@ def validate(e, msgstrs, nplurals, glossary=None, lang=None):
|
||||
b1, c1 = _placeholders(src, flags)
|
||||
b2, c2 = _placeholders(s, flags)
|
||||
positional = any("$" in p for p in c1)
|
||||
c_bad = sorted(c1) != sorted(c2) if positional else c1 != c2
|
||||
c_bad = set(c1) != set(c2) if positional else c1 != c2
|
||||
bad = []
|
||||
if sorted(b1) != sorted(b2):
|
||||
if set(b1) != set(b2):
|
||||
bad.append(f"boost placeholders {b1} -> {b2}")
|
||||
if c_bad:
|
||||
bad.append(f"printf placeholders {c1} -> {c2}" + ("" if positional else " (order must match)"))
|
||||
@@ -504,15 +509,44 @@ def similar_entries(c, e, pool, cutoff=0.72):
|
||||
sm = difflib.SequenceMatcher(autojunk=False)
|
||||
sm.set_seq2(e.msgid)
|
||||
best = []
|
||||
for other, msgstr, obsolete in pool:
|
||||
for other, msgstr, obsolete, human in pool:
|
||||
sm.set_seq1(other)
|
||||
if sm.real_quick_ratio() < cutoff or sm.quick_ratio() < cutoff:
|
||||
continue
|
||||
r = sm.ratio()
|
||||
if r >= cutoff and other != e.msgid:
|
||||
best.append((r, other, msgstr, obsolete))
|
||||
best.append((r, other, msgstr, obsolete, human))
|
||||
best.sort(key=lambda t: -t[0])
|
||||
return [{"msgid": o, "msgstr": s, "obsolete": ob, "similarity": round(r, 2)} for r, o, s, ob in best[:2]]
|
||||
return [dict({"msgid": o, "msgstr": s, "obsolete": ob, "similarity": round(r, 2)}, **({"human": True} if h else {}))
|
||||
for r, o, s, ob, h in best[:2]]
|
||||
|
||||
|
||||
def similar_pool(c):
|
||||
return [(x.msgid, x.msgstrs()[0], x.obsolete, not x.ai) for x in c.entries
|
||||
if not x.is_header and x.msgstrs() and x.msgstrs()[0] and not x.fuzzy and 8 < len(x.msgid) < 600]
|
||||
|
||||
|
||||
def human_drift(e, strs, pool):
|
||||
"""Why a translation strays from a person's text more than the English change explains, or None."""
|
||||
import difflib
|
||||
alike = lambda x, y: difflib.SequenceMatcher(None, x, y, autojunk=False).ratio()
|
||||
new, old = "\n".join(strs), "\n".join(e.msgstrs())
|
||||
if old.strip() and not e.ai:
|
||||
r = alike(old, new)
|
||||
if r < 0.85:
|
||||
return (f"replaces a person's translation with text only {r:.0%} like it: keep their words and change "
|
||||
f"only what the fix needs, or give \"rewrite\": \"<reason>\"")
|
||||
return None
|
||||
if old.strip() or len(e.msgid) <= 8:
|
||||
return None
|
||||
for s in similar_entries(None, e, pool, cutoff=0.85):
|
||||
if s.get("human"):
|
||||
r = alike(s["msgstr"], new)
|
||||
if r < s["similarity"] - 0.1:
|
||||
return (f"the English is {s['similarity']:.0%} like a string a person translated, but this translation is "
|
||||
f"only {r:.0%} like theirs: patch their translation, or give \"rewrite\": \"<reason>\"")
|
||||
break
|
||||
return None
|
||||
|
||||
|
||||
def cmd_pending(a):
|
||||
@@ -520,8 +554,7 @@ def cmd_pending(a):
|
||||
g = Glossary(a.wiki, langs=[a.lang])
|
||||
todo = [e for e in c.active() if needs_translation(e, c.nplurals, a.include_fuzzy)]
|
||||
batch = todo[a.offset:a.offset + a.limit] if a.limit else todo[a.offset:]
|
||||
pool = [(x.msgid, x.msgstrs()[0], x.obsolete) for x in c.entries
|
||||
if not x.is_header and x.msgstrs() and x.msgstrs()[0] and not x.fuzzy and 8 < len(x.msgid) < 600]
|
||||
pool = similar_pool(c)
|
||||
items = []
|
||||
for e in batch:
|
||||
item = {"id": e.id(), "msgctxt": e.msgctxt, "msgid": e.msgid}
|
||||
@@ -561,6 +594,7 @@ def cmd_apply(a):
|
||||
items = data["entries"] if isinstance(data, dict) else data
|
||||
idx = c.index()
|
||||
by_id = {c.entries[i].id(): i for i in idx.values()}
|
||||
pool = similar_pool(c)
|
||||
applied, skipped, rejected, warned = 0, 0, [], []
|
||||
for it in items:
|
||||
if "msgid" in it:
|
||||
@@ -588,9 +622,16 @@ def cmd_apply(a):
|
||||
if errors:
|
||||
rejected.append((label, errors))
|
||||
continue
|
||||
drift = None if it.get("rewrite") else human_drift(e, strs, pool)
|
||||
if drift:
|
||||
rejected.append((label, [drift]))
|
||||
continue
|
||||
if warnings:
|
||||
warned.append((label, warnings))
|
||||
c.changes[i] = e.rewrite(strs, ai=not a.human, review=it.get("review"))
|
||||
review = it.get("review")
|
||||
if it.get("rewrite") and not review:
|
||||
review = "Rewrote a person's translation: " + it["rewrite"]
|
||||
c.changes[i] = e.rewrite(strs, ai=not a.human, review=review)
|
||||
applied += 1
|
||||
if not a.dry_run and c.changes:
|
||||
c.save()
|
||||
@@ -636,7 +677,7 @@ def cmd_check(a):
|
||||
if msgfmt:
|
||||
fd, mo = tempfile.mkstemp(suffix=".mo") # Windows msgfmt cannot write to "nul"
|
||||
os.close(fd)
|
||||
r = subprocess.run([msgfmt, "--check-format", "-o", mo, str(c.path)], capture_output=True, text=True)
|
||||
r = subprocess.run([msgfmt, "--check-format", "--check-header", "-o", mo, str(c.path)], capture_output=True, text=True)
|
||||
os.unlink(mo)
|
||||
if r.returncode:
|
||||
print(f"{lang}: msgfmt --check-format failed\n{r.stderr.strip()}")
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
if [ -f "$dir/OrcaSlicer_${lang}.po" ]; then
|
||||
mkdir -p ./resources/i18n/${lang}/
|
||||
msgfmt --check-format -o ./resources/i18n/${lang}/OrcaSlicer.mo $dir/OrcaSlicer_${lang}.po
|
||||
msgfmt --check-format --check-header -o ./resources/i18n/${lang}/OrcaSlicer.mo $dir/OrcaSlicer_${lang}.po
|
||||
# Check the exit status of the msgfmt command
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error encountered with msgfmt command for language ${lang}."
|
||||
|
||||
@@ -116,5 +116,5 @@ See `.claude/skills/orca-translations/references/source-audit.md` for the full c
|
||||
### Verifying
|
||||
|
||||
- `scripts/run_gettext.bat --full` (Windows) regenerates the template, merges every catalog and compiles the `.mo` files. It must exit 0.
|
||||
- Or check a single catalog with `msgfmt --check-format -o <out>.mo localization/i18n/<lang>/OrcaSlicer_<lang>.po`.
|
||||
- Or check a single catalog with `msgfmt --check-format --check-header -o <out>.mo localization/i18n/<lang>/OrcaSlicer_<lang>.po`. Without `--check-header`, msgfmt skips the placeholder check in plural forms.
|
||||
- Fuzzy entries are not shown to users. If you correct one, clear its `fuzzy` flag, otherwise the fix never ships.
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-10-25 02:28+0800\n"
|
||||
"POT-Creation-Date: 2026-10-24 15:39-0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -3024,10 +3024,7 @@ msgstr ""
|
||||
msgid "Simplify Model"
|
||||
msgstr ""
|
||||
|
||||
msgid "Subdivision mesh"
|
||||
msgstr ""
|
||||
|
||||
msgid "(Lost color)"
|
||||
msgid "Subdivision mesh (Lost color)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Center"
|
||||
@@ -6071,7 +6068,7 @@ msgstr ""
|
||||
msgid "Size:"
|
||||
msgstr ""
|
||||
|
||||
#, possible-boost-format
|
||||
#, possible-c-format, possible-boost-format
|
||||
msgid "Conflicts of G-code paths have been found at layer %d, Z = %.2lfmm. Please separate the conflicted objects farther (%s <-> %s)."
|
||||
msgstr ""
|
||||
|
||||
@@ -6091,15 +6088,15 @@ msgstr ""
|
||||
msgid "Tool %d"
|
||||
msgstr ""
|
||||
|
||||
#, possible-c-format, possible-boost-format
|
||||
msgid "Filament %s is placed in the %s, but the generated G-code path exceeds the printable range of the %s."
|
||||
msgid_plural "Filaments %s are placed in the %s, but the generated G-code path exceeds the printable range of the %s."
|
||||
#, possible-boost-format
|
||||
msgid "Filament %1% is placed in the %2%, but the generated G-code path exceeds the printable range of the %2%."
|
||||
msgid_plural "Filaments %1% are placed in the %2%, but the generated G-code path exceeds the printable range of the %2%."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#, possible-c-format, possible-boost-format
|
||||
msgid "Filament %s is placed in the %s, but the generated G-code path exceeds the printable height of the %s."
|
||||
msgid_plural "Filaments %s are placed in the %s, but the generated G-code path exceeds the printable height of the %s."
|
||||
#, possible-boost-format
|
||||
msgid "Filament %1% is placed in the %2%, but the generated G-code path exceeds the printable height of the %2%."
|
||||
msgid_plural "Filaments %1% are placed in the %2%, but the generated G-code path exceeds the printable height of the %2%."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
@@ -12750,6 +12747,7 @@ msgid ""
|
||||
"Is the disk full?"
|
||||
msgstr ""
|
||||
|
||||
#. TRN %1% is the extruder number counted from 1.
|
||||
#, possible-boost-format
|
||||
msgid "A G-code move intersects a collision volume for extruder %1%. This may cause a printer collision."
|
||||
msgstr ""
|
||||
@@ -13027,10 +13025,12 @@ msgstr ""
|
||||
msgid "%1% is too close to exclusion area. There may be collisions when printing."
|
||||
msgstr ""
|
||||
|
||||
#. TRN %1% is the object name.
|
||||
#, possible-boost-format
|
||||
msgid "%1% intersects collision volumes for every available extruder."
|
||||
msgstr ""
|
||||
|
||||
#. TRN %1% is the object name, %2% the extruder number counted from 1.
|
||||
#, possible-boost-format
|
||||
msgid "%1% intersects a collision volume for extruder %2%."
|
||||
msgstr ""
|
||||
@@ -13379,7 +13379,8 @@ msgstr ""
|
||||
msgid "Choose whether all nozzles use the same collision volumes, derive toolhead-relative volumes from each nozzle's XY offset, or configure independent volumes for every extruder. In individual mode, select each extruder on the Extruder page to configure its volumes."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shared"
|
||||
#. TRN Collision volume modes: one set for all nozzles, one set moved by each nozzle's XY offset, or one set per extruder.
|
||||
msgid "Shared by all nozzles"
|
||||
msgstr ""
|
||||
|
||||
msgid "Toolhead-relative (nozzle offsets)"
|
||||
@@ -14785,7 +14786,7 @@ msgstr ""
|
||||
|
||||
#, no-c-format, no-boost-format
|
||||
msgid ""
|
||||
"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 XY to compensate. For multi-material prints, ensure filament shrinkage matches across all used filaments\n"
|
||||
"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 XY to compensate. For multi-material prints, ensure filament shrinkage matches across all used filaments.\n"
|
||||
"Be sure to allow enough space between objects, as this compensation is done after the checks."
|
||||
msgstr ""
|
||||
|
||||
@@ -14865,7 +14866,7 @@ msgstr ""
|
||||
msgid "Wipe tower cooling"
|
||||
msgstr ""
|
||||
|
||||
msgid "Temperature drop before entering filament tower"
|
||||
msgid "Temperature drop before entering the wipe tower."
|
||||
msgstr ""
|
||||
|
||||
msgid "Interface layer pre-extrusion distance"
|
||||
@@ -15253,8 +15254,8 @@ msgstr ""
|
||||
msgid "accel_to_decel"
|
||||
msgstr ""
|
||||
|
||||
#, possible-c-format, possible-boost-format
|
||||
msgid "Klipper's max_accel_to_decel will be adjusted to this %% of acceleration."
|
||||
#, no-c-format, no-boost-format
|
||||
msgid "Klipper's max_accel_to_decel will be adjusted to this % of acceleration."
|
||||
msgstr ""
|
||||
|
||||
msgid "Default jerk."
|
||||
@@ -15431,14 +15432,14 @@ msgstr ""
|
||||
msgid "Fuzzy skin generator mode"
|
||||
msgstr ""
|
||||
|
||||
#, possible-c-format, possible-boost-format
|
||||
#, no-c-format, no-boost-format
|
||||
msgid ""
|
||||
"Fuzzy skin generation mode. Works only with Arachne!\n"
|
||||
"Displacement: Сlassic mode when the pattern is formed by shifting the nozzle sideways from the original path.\n"
|
||||
"Extrusion: The mode when the pattern formed by the amount of extruded plastic. This is the fast and straight algorithm without unnecessary nozzle shake that gives a smooth pattern. But it is more useful for forming loose walls in the entire they array.\n"
|
||||
"Combined: Joint mode [Displacement] + [Extrusion]. The appearance of the walls is similar to [Displacement] Mode, but it leaves no pores between the perimeters.\n"
|
||||
"\n"
|
||||
"Attention! The [Extrusion] and [Combined] modes works only the fuzzy_skin_thickness parameter not more than the thickness of printed loop. At the same time, the width of the extrusion for a particular layer should also not be below a certain level. It is usually equal 15-25%% of a layer height. Therefore, the maximum fuzzy skin thickness with a perimeter width of 0.4 mm and a layer height of 0.2 mm will be 0.4-(0.2*0.25)=±0.35mm! If you enter a higher parameter than this, the error Flow::spacing() will displayed, and the model will not be sliced. You can choose this number until this error is repeated."
|
||||
"Attention! The [Extrusion] and [Combined] modes works only the fuzzy_skin_thickness parameter not more than the thickness of printed loop. At the same time, the width of the extrusion for a particular layer should also not be below a certain level. It is usually equal 15-25% of a layer height. Therefore, the maximum fuzzy skin thickness with a perimeter width of 0.4 mm and a layer height of 0.2 mm will be 0.4-(0.2*0.25)=±0.35mm! If you enter a higher parameter than this, the error Flow::spacing() will displayed, and the model will not be sliced. You can choose this number until this error is repeated."
|
||||
msgstr ""
|
||||
|
||||
msgid "Displacement"
|
||||
@@ -15688,7 +15689,7 @@ msgid "Support controlling chamber temperature"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"This option is enabled if machine support controlling chamber temperature\n"
|
||||
"This option is enabled if the machine supports controlling the chamber temperature\n"
|
||||
"G-code command: M141 S(0-255)"
|
||||
msgstr ""
|
||||
|
||||
@@ -15696,14 +15697,14 @@ msgid "Support air filtration"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Enable this if printer support air filtration\n"
|
||||
"Enable this if the printer supports air filtration\n"
|
||||
"G-code command: M106 P3 S(0-255)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Use cooling filter"
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable this if printer support cooling filter"
|
||||
msgid "Enable this if the printer supports a cooling filter"
|
||||
msgstr ""
|
||||
|
||||
msgid "G-code flavor"
|
||||
@@ -16530,8 +16531,8 @@ msgstr ""
|
||||
msgid "Detect overhang walls"
|
||||
msgstr ""
|
||||
|
||||
#, possible-c-format, possible-boost-format
|
||||
msgid "This detects the overhang percentage relative to line width and uses a different speed to print. For 100%% overhang, bridging speed is used."
|
||||
#, no-c-format, no-boost-format
|
||||
msgid "This detects the overhang percentage relative to line width and uses a different speed to print. For 100% overhang, bridging speed is used."
|
||||
msgstr ""
|
||||
|
||||
msgid "Print unsupported walls last"
|
||||
@@ -19100,7 +19101,8 @@ msgstr ""
|
||||
msgid "Nozzle volume types"
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle volume variants indexed by nozzle ID."
|
||||
#. TRN The quoted values are G-code identifiers; keep them in English.
|
||||
msgid "Nozzle volume types indexed by nozzle ID, such as \"Standard\" or \"High Flow\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "Retraction distance used when cutting filament."
|
||||
@@ -19130,12 +19132,15 @@ msgstr ""
|
||||
msgid "Accumulated printed mass at the current layer."
|
||||
msgstr ""
|
||||
|
||||
msgid "Current layer mass"
|
||||
msgid "Previous layer mass"
|
||||
msgstr ""
|
||||
|
||||
msgid "Printed mass of the previous layer."
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as previous_layer_mass. Bambu Studio uses this name."
|
||||
msgstr ""
|
||||
|
||||
msgid "Current physical extruder ID"
|
||||
msgstr ""
|
||||
|
||||
@@ -19163,7 +19168,7 @@ msgstr ""
|
||||
msgid "Timelapse inline photo"
|
||||
msgstr ""
|
||||
|
||||
msgid "Whether the timelapse photo is captured at the inline position."
|
||||
msgid "Whether the photo is taken where the nozzle already is, without moving to a safe timelapse position first."
|
||||
msgstr ""
|
||||
|
||||
msgid "Farthest-point timelapse enabled"
|
||||
@@ -19172,10 +19177,10 @@ msgstr ""
|
||||
msgid "Whether farthest-point timelapse positioning is active."
|
||||
msgstr ""
|
||||
|
||||
msgid "Clear to X0"
|
||||
msgid "Clear path to X0"
|
||||
msgstr ""
|
||||
|
||||
msgid "Whether the timelapse move is clear to X0."
|
||||
msgid "Whether the nozzle can move to X0 at the current height without hitting another printed object."
|
||||
msgstr ""
|
||||
|
||||
msgid "Previous extruder"
|
||||
@@ -19193,13 +19198,13 @@ msgstr ""
|
||||
msgid "Current hotend"
|
||||
msgstr ""
|
||||
|
||||
msgid "Zero-based extruder index of the outgoing filament. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."
|
||||
msgid "Hotend of the outgoing filament, given as its zero-based extruder index. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."
|
||||
msgstr ""
|
||||
|
||||
msgid "Next hotend"
|
||||
msgstr ""
|
||||
|
||||
msgid "Zero-based extruder index of the incoming filament. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."
|
||||
msgid "Hotend of the incoming filament, given as its zero-based extruder index. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."
|
||||
msgstr ""
|
||||
|
||||
msgid "Next nozzle ID"
|
||||
@@ -19217,13 +19222,15 @@ msgstr ""
|
||||
msgid "Old extruder variant"
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle-volume variant of the outgoing extruder."
|
||||
#. TRN The quoted value is a G-code identifier; keep it in English.
|
||||
msgid "Extruder type and nozzle volume type of the outgoing extruder, such as \"Direct Drive High Flow\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "New extruder variant"
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle-volume variant of the incoming extruder."
|
||||
#. TRN The quoted value is a G-code identifier; keep it in English.
|
||||
msgid "Extruder type and nozzle volume type of the incoming extruder, such as \"Direct Drive High Flow\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "Filament nozzle-change retract length"
|
||||
@@ -19235,7 +19242,7 @@ msgstr ""
|
||||
msgid "New extruder retracted length"
|
||||
msgstr ""
|
||||
|
||||
msgid "Currently parked retraction length of the incoming extruder."
|
||||
msgid "Retraction length still applied to the incoming extruder from when it was parked."
|
||||
msgstr ""
|
||||
|
||||
msgid "Outer wall volumetric speed"
|
||||
@@ -19319,13 +19326,13 @@ msgstr ""
|
||||
msgid "First flush volume"
|
||||
msgstr ""
|
||||
|
||||
msgid "The first flush volume."
|
||||
msgid "First half of the planned purge length, in mm of filament."
|
||||
msgstr ""
|
||||
|
||||
msgid "Second flush volume"
|
||||
msgstr ""
|
||||
|
||||
msgid "The second flush volume."
|
||||
msgid "Second half of the planned purge length, in mm of filament."
|
||||
msgstr ""
|
||||
|
||||
msgid "Old filament e feedrate"
|
||||
@@ -19427,40 +19434,46 @@ msgstr ""
|
||||
msgid "Whether travel should avoid the wipe perimeter."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wipe avoidance X"
|
||||
msgid "Wipe tower avoidance X"
|
||||
msgstr ""
|
||||
|
||||
msgid "X position used to avoid the wipe area."
|
||||
msgid "X position just beside the wipe tower that the nozzle moves to so it stays clear of the tower."
|
||||
msgstr ""
|
||||
|
||||
msgid "Prime tower interface"
|
||||
msgstr ""
|
||||
|
||||
msgid "Whether the current purge is for a prime-tower interface."
|
||||
msgid "Whether the current purge is for the prime tower interface layer (where different materials meet)."
|
||||
msgstr ""
|
||||
|
||||
msgid "Filament tower interface print temperature"
|
||||
msgid "Print temperature for prime tower interface layer (where different materials meet)."
|
||||
msgstr ""
|
||||
|
||||
msgid "Print temperature used for the filament tower interface."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wipe tower center X"
|
||||
msgid "Wipe tower wait position X"
|
||||
msgstr ""
|
||||
|
||||
msgid "X coordinate of the nozzle's wipe-tower wait position, 2 mm outside the tower edge."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wipe tower center Y"
|
||||
msgid "Wipe tower wait position Y"
|
||||
msgstr ""
|
||||
|
||||
msgid "Y coordinate of the nozzle's wipe-tower wait position."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wipe tower center position valid"
|
||||
msgid "Wipe tower wait position valid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Whether the print has a wipe tower."
|
||||
msgid "Whether the wait position is set, which is the case when the print has a wipe tower."
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as wipe_tower_wait_pos_x. Bambu Studio uses this name."
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as wipe_tower_wait_pos_y. Bambu Studio uses this name."
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as wipe_tower_wait_pos_valid. Bambu Studio uses this name."
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle temperatures indexed by filament."
|
||||
@@ -19469,9 +19482,6 @@ msgstr ""
|
||||
msgid "First-layer nozzle temperatures indexed by filament."
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle temperature initial layer"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extrusion role"
|
||||
msgstr ""
|
||||
|
||||
@@ -21334,8 +21344,8 @@ msgid ""
|
||||
"Please click the Sync button above and restart the calibration."
|
||||
msgstr ""
|
||||
|
||||
#, possible-c-format, possible-boost-format
|
||||
msgid "Printing %1s material with %2s nozzle may cause nozzle damage."
|
||||
#, possible-boost-format
|
||||
msgid "Printing %1% material with %2% nozzle may cause nozzle damage."
|
||||
msgstr ""
|
||||
|
||||
msgid "Need select printer"
|
||||
@@ -30789,7 +30799,7 @@ msgstr ""
|
||||
msgid "Cannot unsubscribe your own plugins. Use Delete to remove the local files."
|
||||
msgstr ""
|
||||
|
||||
msgid "Python interpreter is shutting down"
|
||||
msgid "Python interpreter is shutting down."
|
||||
msgstr ""
|
||||
|
||||
msgid "Plugin system is shutting down."
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Orca Slicer\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-10-25 02:28+0800\n"
|
||||
"POT-Creation-Date: 2026-10-24 15:39-0300\n"
|
||||
"PO-Revision-Date: 2026-06-17 15:44-0300\n"
|
||||
"Last-Translator: Alexandre Folle de Menezes\n"
|
||||
"Language-Team: \n"
|
||||
@@ -3020,10 +3020,7 @@ msgstr ""
|
||||
msgid "Simplify Model"
|
||||
msgstr ""
|
||||
|
||||
msgid "Subdivision mesh"
|
||||
msgstr ""
|
||||
|
||||
msgid "(Lost color)"
|
||||
msgid "Subdivision mesh (Lost color)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Center"
|
||||
@@ -6067,7 +6064,7 @@ msgstr ""
|
||||
msgid "Size:"
|
||||
msgstr ""
|
||||
|
||||
#, boost-format
|
||||
#, c-format, boost-format
|
||||
msgid "Conflicts of G-code paths have been found at layer %d, Z = %.2lfmm. Please separate the conflicted objects farther (%s <-> %s)."
|
||||
msgstr ""
|
||||
|
||||
@@ -6087,15 +6084,15 @@ msgstr ""
|
||||
msgid "Tool %d"
|
||||
msgstr ""
|
||||
|
||||
#, c-format, boost-format
|
||||
msgid "Filament %s is placed in the %s, but the generated G-code path exceeds the printable range of the %s."
|
||||
msgid_plural "Filaments %s are placed in the %s, but the generated G-code path exceeds the printable range of the %s."
|
||||
#, boost-format
|
||||
msgid "Filament %1% is placed in the %2%, but the generated G-code path exceeds the printable range of the %2%."
|
||||
msgid_plural "Filaments %1% are placed in the %2%, but the generated G-code path exceeds the printable range of the %2%."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#, c-format, boost-format
|
||||
msgid "Filament %s is placed in the %s, but the generated G-code path exceeds the printable height of the %s."
|
||||
msgid_plural "Filaments %s are placed in the %s, but the generated G-code path exceeds the printable height of the %s."
|
||||
#, boost-format
|
||||
msgid "Filament %1% is placed in the %2%, but the generated G-code path exceeds the printable height of the %2%."
|
||||
msgid_plural "Filaments %1% are placed in the %2%, but the generated G-code path exceeds the printable height of the %2%."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
@@ -12746,6 +12743,7 @@ msgid ""
|
||||
"Is the disk full?"
|
||||
msgstr ""
|
||||
|
||||
#. TRN %1% is the extruder number counted from 1.
|
||||
#, boost-format
|
||||
msgid "A G-code move intersects a collision volume for extruder %1%. This may cause a printer collision."
|
||||
msgstr ""
|
||||
@@ -13023,10 +13021,12 @@ msgstr ""
|
||||
msgid "%1% is too close to exclusion area. There may be collisions when printing."
|
||||
msgstr ""
|
||||
|
||||
#. TRN %1% is the object name.
|
||||
#, boost-format
|
||||
msgid "%1% intersects collision volumes for every available extruder."
|
||||
msgstr ""
|
||||
|
||||
#. TRN %1% is the object name, %2% the extruder number counted from 1.
|
||||
#, boost-format
|
||||
msgid "%1% intersects a collision volume for extruder %2%."
|
||||
msgstr ""
|
||||
@@ -13375,7 +13375,8 @@ msgstr ""
|
||||
msgid "Choose whether all nozzles use the same collision volumes, derive toolhead-relative volumes from each nozzle's XY offset, or configure independent volumes for every extruder. In individual mode, select each extruder on the Extruder page to configure its volumes."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shared"
|
||||
#. TRN Collision volume modes: one set for all nozzles, one set moved by each nozzle's XY offset, or one set per extruder.
|
||||
msgid "Shared by all nozzles"
|
||||
msgstr ""
|
||||
|
||||
msgid "Toolhead-relative (nozzle offsets)"
|
||||
@@ -14781,7 +14782,7 @@ msgstr ""
|
||||
|
||||
#, no-c-format, no-boost-format
|
||||
msgid ""
|
||||
"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 XY to compensate. For multi-material prints, ensure filament shrinkage matches across all used filaments\n"
|
||||
"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 XY to compensate. For multi-material prints, ensure filament shrinkage matches across all used filaments.\n"
|
||||
"Be sure to allow enough space between objects, as this compensation is done after the checks."
|
||||
msgstr ""
|
||||
|
||||
@@ -14861,7 +14862,7 @@ msgstr ""
|
||||
msgid "Wipe tower cooling"
|
||||
msgstr ""
|
||||
|
||||
msgid "Temperature drop before entering filament tower"
|
||||
msgid "Temperature drop before entering the wipe tower."
|
||||
msgstr ""
|
||||
|
||||
msgid "Interface layer pre-extrusion distance"
|
||||
@@ -15249,8 +15250,8 @@ msgstr ""
|
||||
msgid "accel_to_decel"
|
||||
msgstr ""
|
||||
|
||||
#, c-format, boost-format
|
||||
msgid "Klipper's max_accel_to_decel will be adjusted to this %% of acceleration."
|
||||
#, no-c-format, no-boost-format
|
||||
msgid "Klipper's max_accel_to_decel will be adjusted to this % of acceleration."
|
||||
msgstr ""
|
||||
|
||||
msgid "Default jerk."
|
||||
@@ -15427,14 +15428,14 @@ msgstr ""
|
||||
msgid "Fuzzy skin generator mode"
|
||||
msgstr ""
|
||||
|
||||
#, c-format, boost-format
|
||||
#, no-c-format, no-boost-format
|
||||
msgid ""
|
||||
"Fuzzy skin generation mode. Works only with Arachne!\n"
|
||||
"Displacement: Сlassic mode when the pattern is formed by shifting the nozzle sideways from the original path.\n"
|
||||
"Extrusion: The mode when the pattern formed by the amount of extruded plastic. This is the fast and straight algorithm without unnecessary nozzle shake that gives a smooth pattern. But it is more useful for forming loose walls in the entire they array.\n"
|
||||
"Combined: Joint mode [Displacement] + [Extrusion]. The appearance of the walls is similar to [Displacement] Mode, but it leaves no pores between the perimeters.\n"
|
||||
"\n"
|
||||
"Attention! The [Extrusion] and [Combined] modes works only the fuzzy_skin_thickness parameter not more than the thickness of printed loop. At the same time, the width of the extrusion for a particular layer should also not be below a certain level. It is usually equal 15-25%% of a layer height. Therefore, the maximum fuzzy skin thickness with a perimeter width of 0.4 mm and a layer height of 0.2 mm will be 0.4-(0.2*0.25)=±0.35mm! If you enter a higher parameter than this, the error Flow::spacing() will displayed, and the model will not be sliced. You can choose this number until this error is repeated."
|
||||
"Attention! The [Extrusion] and [Combined] modes works only the fuzzy_skin_thickness parameter not more than the thickness of printed loop. At the same time, the width of the extrusion for a particular layer should also not be below a certain level. It is usually equal 15-25% of a layer height. Therefore, the maximum fuzzy skin thickness with a perimeter width of 0.4 mm and a layer height of 0.2 mm will be 0.4-(0.2*0.25)=±0.35mm! If you enter a higher parameter than this, the error Flow::spacing() will displayed, and the model will not be sliced. You can choose this number until this error is repeated."
|
||||
msgstr ""
|
||||
|
||||
msgid "Displacement"
|
||||
@@ -15684,7 +15685,7 @@ msgid "Support controlling chamber temperature"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"This option is enabled if machine support controlling chamber temperature\n"
|
||||
"This option is enabled if the machine supports controlling the chamber temperature\n"
|
||||
"G-code command: M141 S(0-255)"
|
||||
msgstr ""
|
||||
|
||||
@@ -15692,14 +15693,14 @@ msgid "Support air filtration"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Enable this if printer support air filtration\n"
|
||||
"Enable this if the printer supports air filtration\n"
|
||||
"G-code command: M106 P3 S(0-255)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Use cooling filter"
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable this if printer support cooling filter"
|
||||
msgid "Enable this if the printer supports a cooling filter"
|
||||
msgstr ""
|
||||
|
||||
msgid "G-code flavor"
|
||||
@@ -16526,8 +16527,8 @@ msgstr ""
|
||||
msgid "Detect overhang walls"
|
||||
msgstr ""
|
||||
|
||||
#, c-format, boost-format
|
||||
msgid "This detects the overhang percentage relative to line width and uses a different speed to print. For 100%% overhang, bridging speed is used."
|
||||
#, no-c-format, no-boost-format
|
||||
msgid "This detects the overhang percentage relative to line width and uses a different speed to print. For 100% overhang, bridging speed is used."
|
||||
msgstr ""
|
||||
|
||||
msgid "Print unsupported walls last"
|
||||
@@ -19096,7 +19097,8 @@ msgstr ""
|
||||
msgid "Nozzle volume types"
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle volume variants indexed by nozzle ID."
|
||||
#. TRN The quoted values are G-code identifiers; keep them in English.
|
||||
msgid "Nozzle volume types indexed by nozzle ID, such as \"Standard\" or \"High Flow\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "Retraction distance used when cutting filament."
|
||||
@@ -19126,12 +19128,15 @@ msgstr ""
|
||||
msgid "Accumulated printed mass at the current layer."
|
||||
msgstr ""
|
||||
|
||||
msgid "Current layer mass"
|
||||
msgid "Previous layer mass"
|
||||
msgstr ""
|
||||
|
||||
msgid "Printed mass of the previous layer."
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as previous_layer_mass. Bambu Studio uses this name."
|
||||
msgstr ""
|
||||
|
||||
msgid "Current physical extruder ID"
|
||||
msgstr ""
|
||||
|
||||
@@ -19159,7 +19164,7 @@ msgstr ""
|
||||
msgid "Timelapse inline photo"
|
||||
msgstr ""
|
||||
|
||||
msgid "Whether the timelapse photo is captured at the inline position."
|
||||
msgid "Whether the photo is taken where the nozzle already is, without moving to a safe timelapse position first."
|
||||
msgstr ""
|
||||
|
||||
msgid "Farthest-point timelapse enabled"
|
||||
@@ -19168,10 +19173,10 @@ msgstr ""
|
||||
msgid "Whether farthest-point timelapse positioning is active."
|
||||
msgstr ""
|
||||
|
||||
msgid "Clear to X0"
|
||||
msgid "Clear path to X0"
|
||||
msgstr ""
|
||||
|
||||
msgid "Whether the timelapse move is clear to X0."
|
||||
msgid "Whether the nozzle can move to X0 at the current height without hitting another printed object."
|
||||
msgstr ""
|
||||
|
||||
msgid "Previous extruder"
|
||||
@@ -19189,13 +19194,13 @@ msgstr ""
|
||||
msgid "Current hotend"
|
||||
msgstr ""
|
||||
|
||||
msgid "Zero-based extruder index of the outgoing filament. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."
|
||||
msgid "Hotend of the outgoing filament, given as its zero-based extruder index. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."
|
||||
msgstr ""
|
||||
|
||||
msgid "Next hotend"
|
||||
msgstr ""
|
||||
|
||||
msgid "Zero-based extruder index of the incoming filament. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."
|
||||
msgid "Hotend of the incoming filament, given as its zero-based extruder index. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."
|
||||
msgstr ""
|
||||
|
||||
msgid "Next nozzle ID"
|
||||
@@ -19213,13 +19218,15 @@ msgstr ""
|
||||
msgid "Old extruder variant"
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle-volume variant of the outgoing extruder."
|
||||
#. TRN The quoted value is a G-code identifier; keep it in English.
|
||||
msgid "Extruder type and nozzle volume type of the outgoing extruder, such as \"Direct Drive High Flow\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "New extruder variant"
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle-volume variant of the incoming extruder."
|
||||
#. TRN The quoted value is a G-code identifier; keep it in English.
|
||||
msgid "Extruder type and nozzle volume type of the incoming extruder, such as \"Direct Drive High Flow\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "Filament nozzle-change retract length"
|
||||
@@ -19231,7 +19238,7 @@ msgstr ""
|
||||
msgid "New extruder retracted length"
|
||||
msgstr ""
|
||||
|
||||
msgid "Currently parked retraction length of the incoming extruder."
|
||||
msgid "Retraction length still applied to the incoming extruder from when it was parked."
|
||||
msgstr ""
|
||||
|
||||
msgid "Outer wall volumetric speed"
|
||||
@@ -19315,13 +19322,13 @@ msgstr ""
|
||||
msgid "First flush volume"
|
||||
msgstr ""
|
||||
|
||||
msgid "The first flush volume."
|
||||
msgid "First half of the planned purge length, in mm of filament."
|
||||
msgstr ""
|
||||
|
||||
msgid "Second flush volume"
|
||||
msgstr ""
|
||||
|
||||
msgid "The second flush volume."
|
||||
msgid "Second half of the planned purge length, in mm of filament."
|
||||
msgstr ""
|
||||
|
||||
msgid "Old filament e feedrate"
|
||||
@@ -19423,40 +19430,46 @@ msgstr ""
|
||||
msgid "Whether travel should avoid the wipe perimeter."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wipe avoidance X"
|
||||
msgid "Wipe tower avoidance X"
|
||||
msgstr ""
|
||||
|
||||
msgid "X position used to avoid the wipe area."
|
||||
msgid "X position just beside the wipe tower that the nozzle moves to so it stays clear of the tower."
|
||||
msgstr ""
|
||||
|
||||
msgid "Prime tower interface"
|
||||
msgstr ""
|
||||
|
||||
msgid "Whether the current purge is for a prime-tower interface."
|
||||
msgid "Whether the current purge is for the prime tower interface layer (where different materials meet)."
|
||||
msgstr ""
|
||||
|
||||
msgid "Filament tower interface print temperature"
|
||||
msgid "Print temperature for prime tower interface layer (where different materials meet)."
|
||||
msgstr ""
|
||||
|
||||
msgid "Print temperature used for the filament tower interface."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wipe tower center X"
|
||||
msgid "Wipe tower wait position X"
|
||||
msgstr ""
|
||||
|
||||
msgid "X coordinate of the nozzle's wipe-tower wait position, 2 mm outside the tower edge."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wipe tower center Y"
|
||||
msgid "Wipe tower wait position Y"
|
||||
msgstr ""
|
||||
|
||||
msgid "Y coordinate of the nozzle's wipe-tower wait position."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wipe tower center position valid"
|
||||
msgid "Wipe tower wait position valid"
|
||||
msgstr ""
|
||||
|
||||
msgid "Whether the print has a wipe tower."
|
||||
msgid "Whether the wait position is set, which is the case when the print has a wipe tower."
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as wipe_tower_wait_pos_x. Bambu Studio uses this name."
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as wipe_tower_wait_pos_y. Bambu Studio uses this name."
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as wipe_tower_wait_pos_valid. Bambu Studio uses this name."
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle temperatures indexed by filament."
|
||||
@@ -19465,9 +19478,6 @@ msgstr ""
|
||||
msgid "First-layer nozzle temperatures indexed by filament."
|
||||
msgstr ""
|
||||
|
||||
msgid "Nozzle temperature initial layer"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extrusion role"
|
||||
msgstr ""
|
||||
|
||||
@@ -21330,8 +21340,8 @@ msgid ""
|
||||
"Please click the Sync button above and restart the calibration."
|
||||
msgstr ""
|
||||
|
||||
#, c-format, boost-format
|
||||
msgid "Printing %1s material with %2s nozzle may cause nozzle damage."
|
||||
#, boost-format
|
||||
msgid "Printing %1% material with %2% nozzle may cause nozzle damage."
|
||||
msgstr ""
|
||||
|
||||
msgid "Need select printer"
|
||||
@@ -30785,7 +30795,7 @@ msgstr ""
|
||||
msgid "Cannot unsubscribe your own plugins. Use Delete to remove the local files."
|
||||
msgstr ""
|
||||
|
||||
msgid "Python interpreter is shutting down"
|
||||
msgid "Python interpreter is shutting down."
|
||||
msgstr ""
|
||||
|
||||
msgid "Plugin system is shutting down."
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -132,7 +132,7 @@ exit /b %errorlevel%
|
||||
if errorlevel 1 exit /b 1
|
||||
)
|
||||
if not exist "./resources/i18n/!lang!" mkdir "./resources/i18n/!lang!"
|
||||
.\tools\msgfmt.exe --check-format -o "./resources/i18n/!lang!/OrcaSlicer.mo" "%file%"
|
||||
.\tools\msgfmt.exe --check-format --check-header -o "./resources/i18n/!lang!/OrcaSlicer.mo" "%file%"
|
||||
if errorlevel 1 (
|
||||
echo Error encountered with msgfmt command for language !lang!.
|
||||
exit /b 1
|
||||
|
||||
@@ -121,7 +121,7 @@ do
|
||||
fi
|
||||
fi
|
||||
mkdir -p "resources/i18n/${lang}"
|
||||
if ! msgfmt --check-format -o "resources/i18n/${lang}/OrcaSlicer.mo" "$dir/OrcaSlicer_${lang}.po"; then
|
||||
if ! msgfmt --check-format --check-header -o "resources/i18n/${lang}/OrcaSlicer.mo" "$dir/OrcaSlicer_${lang}.po"; then
|
||||
echo "Error encountered with msgfmt command for language ${lang}."
|
||||
exit 1 # Exit the script with an error status
|
||||
fi
|
||||
|
||||
+27
-15
@@ -1335,7 +1335,7 @@ static std::vector<Vec2d> get_path_of_change_filament(const Print& print)
|
||||
wipe_avoid_pos_x = get_wipe_avoid_pos_x(box_min, box_max, 3.f);
|
||||
}
|
||||
|
||||
// Nozzle-heating center just outside the wipe tower. Clamp X to the
|
||||
// Position where the nozzle waits to heat, just outside the wipe tower. Clamp X to the
|
||||
// region every extruder can reach (shared printable polygon), which equals the full
|
||||
// printable_area for all current single/dual printers, so existing output is unchanged.
|
||||
Vec2f stop_pos = tool_change_start_pos;
|
||||
@@ -1347,6 +1347,10 @@ static std::vector<Vec2d> get_path_of_change_filament(const Print& print)
|
||||
if (stop_pos.x() < printer_bbx.min[0]) stop_pos.x() = float(printer_bbx.min[0]);
|
||||
if (stop_pos.x() > printer_bbx.max[0]) stop_pos.x() = float(printer_bbx.max[0]);
|
||||
}
|
||||
config.set_key_value("wipe_tower_wait_pos_x", new ConfigOptionFloat(stop_pos.x()));
|
||||
config.set_key_value("wipe_tower_wait_pos_y", new ConfigOptionFloat(stop_pos.y()));
|
||||
config.set_key_value("wipe_tower_wait_pos_valid", new ConfigOptionBool(true));
|
||||
// Bambu Studio's names for the wait position, used by its profiles.
|
||||
config.set_key_value("wipe_tower_center_pos_x", new ConfigOptionFloat(stop_pos.x()));
|
||||
config.set_key_value("wipe_tower_center_pos_y", new ConfigOptionFloat(stop_pos.y()));
|
||||
config.set_key_value("wipe_tower_center_pos_valid", new ConfigOptionBool(true));
|
||||
@@ -3009,6 +3013,7 @@ void GCode::do_export(Print* print, const char* path, GCodeProcessorResult* resu
|
||||
const int extruder_id = m_processor.get_result().exclusion_volume_conflict_extruder_id;
|
||||
std::string warning = extruder_id >= 0 ?
|
||||
Slic3r::format(
|
||||
// TRN %1% is the extruder number counted from 1.
|
||||
_(L("A G-code move intersects a collision volume for extruder %1%. This may cause a printer collision.")),
|
||||
std::to_string(extruder_id + 1)) :
|
||||
_(L("A G-code move intersects a collision volume. This may cause a printer collision."));
|
||||
@@ -3769,27 +3774,31 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
||||
// For the start / end G-code to do the priming and final filament pull in case there is no wipe tower provided.
|
||||
this->placeholder_parser().set("has_wipe_tower", has_wipe_tower);
|
||||
|
||||
// Nozzle-heating center just outside the wipe tower. The tower side is chosen
|
||||
// Position where the nozzle waits to heat, just outside the wipe tower. The tower side is chosen
|
||||
// from the full-bed midpoint, then X is clamped to the region every extruder can reach (shared printable
|
||||
// polygon) = the full printable_area for all current single/dual printers, so existing output is unchanged.
|
||||
Vec2f wipe_tower_center = Vec2f::Zero();
|
||||
bool wipe_tower_center_valid = false;
|
||||
Vec2f wipe_tower_wait_pos = Vec2f::Zero();
|
||||
bool wipe_tower_wait_pos_valid = false;
|
||||
if (has_wipe_tower) {
|
||||
BoundingBoxf bbx = print.wipe_tower_data().bbx;
|
||||
bbx.translate(print.get_fake_wipe_tower().pos.cast<double>());
|
||||
BoundingBoxf printer_bed_bbx(m_config.printable_area.values);
|
||||
if (bbx.center().x() < printer_bed_bbx.center().x())
|
||||
wipe_tower_center = Vec2f(float(bbx.max.x() + 2.f), float(bbx.center().y()));
|
||||
wipe_tower_wait_pos = Vec2f(float(bbx.max.x() + 2.f), float(bbx.center().y()));
|
||||
else
|
||||
wipe_tower_center = Vec2f(float(bbx.min.x() - 2.f), float(bbx.center().y()));
|
||||
wipe_tower_wait_pos = Vec2f(float(bbx.min.x() - 2.f), float(bbx.center().y()));
|
||||
auto printer_bbx = unscaled(get_extents(print.get_extruder_shared_printable_polygon()));
|
||||
if (wipe_tower_center.x() < printer_bbx.min[0]) wipe_tower_center.x() = float(printer_bbx.min[0]);
|
||||
if (wipe_tower_center.x() > printer_bbx.max[0]) wipe_tower_center.x() = float(printer_bbx.max[0]);
|
||||
wipe_tower_center_valid = true;
|
||||
if (wipe_tower_wait_pos.x() < printer_bbx.min[0]) wipe_tower_wait_pos.x() = float(printer_bbx.min[0]);
|
||||
if (wipe_tower_wait_pos.x() > printer_bbx.max[0]) wipe_tower_wait_pos.x() = float(printer_bbx.max[0]);
|
||||
wipe_tower_wait_pos_valid = true;
|
||||
}
|
||||
this->placeholder_parser().set("wipe_tower_center_pos_x", new ConfigOptionFloat(wipe_tower_center.x()));
|
||||
this->placeholder_parser().set("wipe_tower_center_pos_y", new ConfigOptionFloat(wipe_tower_center.y()));
|
||||
this->placeholder_parser().set("wipe_tower_center_pos_valid", new ConfigOptionBool(wipe_tower_center_valid));
|
||||
this->placeholder_parser().set("wipe_tower_wait_pos_x", new ConfigOptionFloat(wipe_tower_wait_pos.x()));
|
||||
this->placeholder_parser().set("wipe_tower_wait_pos_y", new ConfigOptionFloat(wipe_tower_wait_pos.y()));
|
||||
this->placeholder_parser().set("wipe_tower_wait_pos_valid", new ConfigOptionBool(wipe_tower_wait_pos_valid));
|
||||
// Bambu Studio's names for the wait position, used by its profiles.
|
||||
this->placeholder_parser().set("wipe_tower_center_pos_x", new ConfigOptionFloat(wipe_tower_wait_pos.x()));
|
||||
this->placeholder_parser().set("wipe_tower_center_pos_y", new ConfigOptionFloat(wipe_tower_wait_pos.y()));
|
||||
this->placeholder_parser().set("wipe_tower_center_pos_valid", new ConfigOptionBool(wipe_tower_wait_pos_valid));
|
||||
this->placeholder_parser().set("has_single_extruder_multi_material_priming", wipe_tower_type == WipeTowerType::Type2 && has_wipe_tower && print.config().single_extruder_multi_material_priming);
|
||||
this->placeholder_parser().set("total_toolchanges", DoExport::resolve_total_toolchanges(print.wipe_tower_data(), print.tool_ordering()));
|
||||
this->placeholder_parser().set("num_extruders", int(print.config().nozzle_diameter.values.size()));
|
||||
@@ -6090,12 +6099,15 @@ std::string GCode::process_layer_change_gcode(const Print &print, coordf_t print
|
||||
}
|
||||
double curr_y_acceleration_limit = -1, curr_accumulated_mass = -1;
|
||||
mass_load_limited_machine_acceleration(curr_print_statistics, print, curr_y_acceleration_limit, curr_accumulated_mass);
|
||||
double curr_layer_mass = curr_print_statistics.total_weight - m_last_layer_accumulated_mass;
|
||||
if (curr_layer_mass <= EPSILON) curr_layer_mass = 0.0;
|
||||
// Runs before this layer prints, so the mass added since the last layer change is the previous layer's.
|
||||
double previous_layer_mass = curr_print_statistics.total_weight - m_last_layer_accumulated_mass;
|
||||
if (previous_layer_mass <= EPSILON) previous_layer_mass = 0.0;
|
||||
m_last_layer_accumulated_mass = curr_print_statistics.total_weight;
|
||||
config.set_key_value("curr_y_acceleration_limit", new ConfigOptionFloat(curr_y_acceleration_limit));
|
||||
config.set_key_value("curr_accumulated_mass", new ConfigOptionFloat(curr_accumulated_mass));
|
||||
config.set_key_value("curr_layer_mass", new ConfigOptionFloat(curr_layer_mass));
|
||||
config.set_key_value("previous_layer_mass", new ConfigOptionFloat(previous_layer_mass));
|
||||
// Bambu Studio's name for previous_layer_mass.
|
||||
config.set_key_value("curr_layer_mass", new ConfigOptionFloat(previous_layer_mass));
|
||||
|
||||
return this->placeholder_parser_process("layer_change_gcode",
|
||||
print.config().layer_change_gcode.value, m_writer.filament()->id(), &config)
|
||||
|
||||
@@ -848,8 +848,8 @@ protected:
|
||||
float m_last_layer_z{ 0.0f };
|
||||
float m_max_layer_z{ 0.0f };
|
||||
float m_last_width{ 0.0f };
|
||||
// Bedslinger mass model: cumulative printed mass at the previous layer, used to derive
|
||||
// the current layer mass for the per-layer Y acceleration limit (curr_y_acceleration_limit).
|
||||
// Bedslinger mass model: cumulative printed mass at the previous layer change, used to derive
|
||||
// previous_layer_mass, the mass of the layer printed since then.
|
||||
double m_last_layer_accumulated_mass{ 0.0 };
|
||||
|
||||
// Always check gcode placeholders when building in debug mode.
|
||||
|
||||
@@ -950,7 +950,9 @@ StringObjectException Print::sequential_print_clearance_valid(const Print &print
|
||||
const std::string collision_message = !exclusion_collision->collision_volume ?
|
||||
(boost::format(L("%1% is too close to exclusion area. There may be collisions when printing.")) % instance.model_instance->get_object()->name).str() :
|
||||
is_auto_filament_map_mode(print.get_filament_map_mode()) && print.is_BBL_printer() ?
|
||||
// TRN %1% is the object name.
|
||||
(boost::format(L("%1% intersects collision volumes for every available extruder.")) % instance.model_instance->get_object()->name).str() :
|
||||
// TRN %1% is the object name, %2% the extruder number counted from 1.
|
||||
(boost::format(L("%1% intersects a collision volume for extruder %2%.")) % instance.model_instance->get_object()->name % (exclusion_collision->extruder_id + 1)).str();
|
||||
if (single_object_exception.string.empty()) {
|
||||
single_object_exception.string = collision_message;
|
||||
|
||||
@@ -1075,7 +1075,8 @@ void PrintConfigDef::init_common_params()
|
||||
def->tooltip = L("Choose whether all nozzles use the same collision volumes, derive toolhead-relative volumes from each nozzle's XY offset, or configure independent volumes for every extruder. In individual mode, select each extruder on the Extruder page to configure its volumes.");
|
||||
def->enum_keys_map = &ConfigOptionEnum<BedExcludeVolumeMode>::get_enum_values();
|
||||
def->enum_values = { "shared", "toolhead_offset", "per_extruder" };
|
||||
def->enum_labels = { L("Shared"), L("Toolhead-relative (nozzle offsets)"), L("Individual per extruder") };
|
||||
// TRN Collision volume modes: one set for all nozzles, one set moved by each nozzle's XY offset, or one set per extruder.
|
||||
def->enum_labels = { L("Shared by all nozzles"), L("Toolhead-relative (nozzle offsets)"), L("Individual per extruder") };
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionEnum<BedExcludeVolumeMode>(BedExcludeVolumeMode::Shared));
|
||||
|
||||
@@ -3295,7 +3296,7 @@ void PrintConfigDef::init_fff_params()
|
||||
def->label = L("Shrinkage (XY)");
|
||||
// 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). "
|
||||
"The part will be scaled in XY to compensate. For multi-material prints, ensure filament shrinkage matches across all used filaments\n"
|
||||
"The part will be scaled in XY to compensate. For multi-material prints, ensure filament shrinkage matches across all used filaments.\n"
|
||||
"Be sure to allow enough space between objects, as this compensation is done after the checks.");
|
||||
def->sidetext = "%";
|
||||
def->ratio_over = "";
|
||||
@@ -3410,7 +3411,7 @@ void PrintConfigDef::init_fff_params()
|
||||
|
||||
def = this->add("filament_cooling_before_tower", coFloats);
|
||||
def->label = L("Wipe tower cooling");
|
||||
def->tooltip = L("Temperature drop before entering filament tower");
|
||||
def->tooltip = L("Temperature drop before entering the wipe tower.");
|
||||
def->sidetext = L(u8"\u2103" /* °C */); // degrees Celsius, CIS languages need translation
|
||||
def->mode = comDevelop;
|
||||
def->nullable = true;
|
||||
@@ -3946,7 +3947,8 @@ void PrintConfigDef::init_fff_params()
|
||||
def = this->add("accel_to_decel_factor", coPercent);
|
||||
def->label = L("accel_to_decel");
|
||||
def->category = L("Speed");
|
||||
def->tooltip = L("Klipper's max_accel_to_decel will be adjusted to this %% of acceleration.");
|
||||
// xgettext:no-c-format, no-boost-format
|
||||
def->tooltip = L("Klipper's max_accel_to_decel will be adjusted to this % of acceleration.");
|
||||
def->sidetext = "%";
|
||||
def->min = 1;
|
||||
def->max = 100;
|
||||
@@ -4283,6 +4285,7 @@ void PrintConfigDef::init_fff_params()
|
||||
def = this->add("fuzzy_skin_mode", coEnum);
|
||||
def->label = L("Fuzzy skin generator mode");
|
||||
def->category = L("Others");
|
||||
// xgettext:no-c-format, no-boost-format
|
||||
def->tooltip = L("Fuzzy skin generation mode. Works only with Arachne!\n"
|
||||
"Displacement: Сlassic mode when the pattern is formed by shifting the nozzle sideways from the original path.\n"
|
||||
"Extrusion: The mode when the pattern formed by the amount of extruded plastic. "
|
||||
@@ -4291,7 +4294,7 @@ void PrintConfigDef::init_fff_params()
|
||||
"Combined: Joint mode [Displacement] + [Extrusion]. The appearance of the walls is similar to [Displacement] Mode, but it leaves no pores between the perimeters.\n\n"
|
||||
"Attention! The [Extrusion] and [Combined] modes works only the fuzzy_skin_thickness parameter not more than the thickness of printed loop. "
|
||||
"At the same time, the width of the extrusion for a particular layer should also not be below a certain level. "
|
||||
"It is usually equal 15-25%% of a layer height. Therefore, the maximum fuzzy skin thickness with a perimeter width of 0.4 mm and a layer height of 0.2 mm will be 0.4-(0.2*0.25)=±0.35mm! "
|
||||
"It is usually equal 15-25% of a layer height. Therefore, the maximum fuzzy skin thickness with a perimeter width of 0.4 mm and a layer height of 0.2 mm will be 0.4-(0.2*0.25)=±0.35mm! "
|
||||
"If you enter a higher parameter than this, the error Flow::spacing() will displayed, and the model will not be sliced. You can choose this number until this error is repeated." );
|
||||
def->enum_keys_map = &ConfigOptionEnum<FuzzySkinMode>::get_enum_values();
|
||||
def->enum_values.push_back("displacement");
|
||||
@@ -4610,14 +4613,14 @@ void PrintConfigDef::init_fff_params()
|
||||
// Orca: may remove this option later
|
||||
def =this->add("support_chamber_temp_control",coBool);
|
||||
def->label=L("Support controlling chamber temperature");
|
||||
def->tooltip=L("This option is enabled if machine support controlling chamber temperature\nG-code command: M141 S(0-255)");
|
||||
def->tooltip=L("This option is enabled if the machine supports controlling the chamber temperature\nG-code command: M141 S(0-255)");
|
||||
def->mode=comAdvanced;
|
||||
def->set_default_value(new ConfigOptionBool(true));
|
||||
def->readonly=false;
|
||||
|
||||
def =this->add("support_air_filtration",coBool);
|
||||
def->label=L("Support air filtration");
|
||||
def->tooltip=L("Enable this if printer support air filtration\nG-code command: M106 P3 S(0-255)");
|
||||
def->tooltip=L("Enable this if the printer supports air filtration\nG-code command: M106 P3 S(0-255)");
|
||||
def->mode=comDevelop;
|
||||
def->set_default_value(new ConfigOptionBool(true));
|
||||
|
||||
@@ -4628,7 +4631,7 @@ void PrintConfigDef::init_fff_params()
|
||||
|
||||
def = this->add("cooling_filter_enabled", coBool);
|
||||
def->label = L("Use cooling filter");
|
||||
def->tooltip = L("Enable this if printer support cooling filter");
|
||||
def->tooltip = L("Enable this if the printer supports a cooling filter");
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
@@ -5893,7 +5896,8 @@ void PrintConfigDef::init_fff_params()
|
||||
def = this->add("detect_overhang_wall", coBool);
|
||||
def->label = L("Detect overhang walls");
|
||||
def->category = L("Quality");
|
||||
def->tooltip = L("This detects the overhang percentage relative to line width and uses a different speed to print. For 100%% overhang, bridging speed is used.");
|
||||
// xgettext:no-c-format, no-boost-format
|
||||
def->tooltip = L("This detects the overhang percentage relative to line width and uses a different speed to print. For 100% overhang, bridging speed is used.");
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionBool(true));
|
||||
|
||||
@@ -13604,7 +13608,7 @@ static std::map<t_custom_gcode_key, t_config_option_keys> s_CustomGcodeSpecificP
|
||||
{"before_layer_change_gcode", {"layer_num", "layer_z", "max_layer_z"}},
|
||||
{"layer_change_gcode", {"layer_num", "layer_z", "max_layer_z", "most_used_physical_extruder_id",
|
||||
"current_filament_id", "current_nozzle_id", "curr_y_acceleration_limit",
|
||||
"curr_accumulated_mass", "curr_layer_mass"}},
|
||||
"curr_accumulated_mass", "previous_layer_mass", "curr_layer_mass"}},
|
||||
{"time_lapse_gcode", {"layer_num", "layer_z", "max_layer_z", "most_used_physical_extruder_id",
|
||||
"curr_physical_extruder_id", "timelapse_pos_x", "timelapse_pos_y",
|
||||
"has_timelapse_safe_pos", "timelapse_inline_photo",
|
||||
@@ -13620,6 +13624,7 @@ static std::map<t_custom_gcode_key, t_config_option_keys> s_CustomGcodeSpecificP
|
||||
"flush_length", "flush_volumetric_speeds", "flush_temperatures", "filament_cooling_before_tower",
|
||||
"wipe_avoid_perimeter", "wipe_avoid_pos_x", "is_prime_tower_interface",
|
||||
"filament_tower_interface_purge_volume", "filament_tower_interface_print_temp",
|
||||
"wipe_tower_wait_pos_x", "wipe_tower_wait_pos_y", "wipe_tower_wait_pos_valid",
|
||||
"wipe_tower_center_pos_x", "wipe_tower_center_pos_y", "wipe_tower_center_pos_valid",
|
||||
"temperature", "nozzle_temperature", "first_layer_temperature", "nozzle_temperature_initial_layer",
|
||||
"new_filament_e_feedrate", "new_filament_temp", "new_retract_length",
|
||||
@@ -13683,7 +13688,9 @@ CustomGcodeSpecificConfigDef::CustomGcodeSpecificConfigDef()
|
||||
new_def("current_extruder_id", coInt, L("Current extruder ID"), L("Index of the currently active physical extruder. The index is zero-based (first extruder has index 0)."));
|
||||
new_def("current_nozzle_id", coInt, L("Current nozzle ID"), L("Index of the currently active nozzle. The index is zero-based (first nozzle has index 0)."));
|
||||
new_def("nozzle_diameter_at_nozzle_id", coFloats, L("Nozzle diameters"), L("Nozzle diameters indexed by nozzle ID."));
|
||||
new_def("nozzle_volume_types", coStrings, L("Nozzle volume types"), L("Nozzle volume variants indexed by nozzle ID."));
|
||||
new_def("nozzle_volume_types", coStrings, L("Nozzle volume types"),
|
||||
// TRN The quoted values are G-code identifiers; keep them in English.
|
||||
L("Nozzle volume types indexed by nozzle ID, such as \"Standard\" or \"High Flow\"."));
|
||||
new_def("retraction_distance_when_cut", coFloat, L("Retraction distance when cut"), L("Retraction distance used when cutting filament."));
|
||||
new_def("long_retraction_when_cut", coBool, L("Long retraction when cut"), L("Whether long retraction is used when cutting filament."));
|
||||
|
||||
@@ -13691,28 +13698,33 @@ CustomGcodeSpecificConfigDef::CustomGcodeSpecificConfigDef()
|
||||
new_def("most_used_physical_extruder_id", coInt, L("Most-used physical extruder ID"), L("Index of the physical extruder used most often on the current layer. The index is zero-based (first extruder has index 0)."));
|
||||
new_def("curr_y_acceleration_limit", coFloat, L("Current Y acceleration limit"), L("Current Y-axis acceleration limit after the bed-mass adjustment."));
|
||||
new_def("curr_accumulated_mass", coFloat, L("Current accumulated mass"), L("Accumulated printed mass at the current layer."));
|
||||
new_def("curr_layer_mass", coFloat, L("Current layer mass"), L("Printed mass of the previous layer."));
|
||||
new_def("previous_layer_mass", coFloat, L("Previous layer mass"), L("Printed mass of the previous layer."));
|
||||
new_def("curr_layer_mass", coFloat, L("Previous layer mass"), L("Same as previous_layer_mass. Bambu Studio uses this name."));
|
||||
|
||||
// time_lapse_gcode
|
||||
new_def("curr_physical_extruder_id", coInt, L("Current physical extruder ID"), L("Index of the physical extruder active for the current layer. The index is zero-based (first extruder has index 0)."));
|
||||
new_def("timelapse_pos_x", coInt, L("Timelapse position X"), L("Selected X position for timelapse capture."));
|
||||
new_def("timelapse_pos_y", coInt, L("Timelapse position Y"), L("Selected Y position for timelapse capture."));
|
||||
new_def("has_timelapse_safe_pos", coBool, L("Has timelapse safe position"), L("Whether a safe timelapse position was found."));
|
||||
new_def("timelapse_inline_photo", coBool, L("Timelapse inline photo"), L("Whether the timelapse photo is captured at the inline position."));
|
||||
new_def("timelapse_inline_photo", coBool, L("Timelapse inline photo"), L("Whether the photo is taken where the nozzle already is, without moving to a safe timelapse position first."));
|
||||
new_def("farthest_point_timelapse_enabled", coBool, L("Farthest-point timelapse enabled"), L("Whether farthest-point timelapse positioning is active."));
|
||||
new_def("clear_to_x0", coBool, L("Clear to X0"), L("Whether the timelapse move is clear to X0."));
|
||||
new_def("clear_to_x0", coBool, L("Clear path to X0"), L("Whether the nozzle can move to X0 at the current height without hitting another printed object."));
|
||||
|
||||
// change_filament_gcode
|
||||
new_def("previous_extruder", coInt, L("Previous extruder"), L("Index of the filament that is being unloaded. The index is zero-based (first filament has index 0). At the start of the print, when no filament is loaded yet, it is -1."));
|
||||
new_def("next_extruder", coInt, L("Next extruder"), L("Index of the filament that is being loaded. The index is zero-based (first filament has index 0)."));
|
||||
new_def("current_hotend", coInt, L("Current hotend"), L("Zero-based extruder index of the outgoing filament. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."));
|
||||
new_def("next_hotend", coInt, L("Next hotend"), L("Zero-based extruder index of the incoming filament. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."));
|
||||
new_def("current_hotend", coInt, L("Current hotend"), L("Hotend of the outgoing filament, given as its zero-based extruder index. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."));
|
||||
new_def("next_hotend", coInt, L("Next hotend"), L("Hotend of the incoming filament, given as its zero-based extruder index. On Bambu printers it is -1, or the nozzle ID when a filament moves between nozzles across layers."));
|
||||
new_def("next_nozzle_id", coInt, L("Next nozzle ID"), L("Index of the nozzle associated with the incoming filament. The index is zero-based (first nozzle has index 0)."));
|
||||
new_def("next_filament_id", coInt, L("Next filament ID"), L("Index of the incoming filament. The index is zero-based (first filament has index 0)."));
|
||||
new_def("old_extruder_variant", coString, L("Old extruder variant"), L("Nozzle-volume variant of the outgoing extruder."));
|
||||
new_def("new_extruder_variant", coString, L("New extruder variant"), L("Nozzle-volume variant of the incoming extruder."));
|
||||
new_def("old_extruder_variant", coString, L("Old extruder variant"),
|
||||
// TRN The quoted value is a G-code identifier; keep it in English.
|
||||
L("Extruder type and nozzle volume type of the outgoing extruder, such as \"Direct Drive High Flow\"."));
|
||||
new_def("new_extruder_variant", coString, L("New extruder variant"),
|
||||
// TRN The quoted value is a G-code identifier; keep it in English.
|
||||
L("Extruder type and nozzle volume type of the incoming extruder, such as \"Direct Drive High Flow\"."));
|
||||
new_def("filament_retract_length_nc", coFloat, L("Filament nozzle-change retract length"), L("Nozzle-change retraction length of the outgoing filament."));
|
||||
new_def("new_extruder_retracted_length", coFloat, L("New extruder retracted length"), L("Currently parked retraction length of the incoming extruder."));
|
||||
new_def("new_extruder_retracted_length", coFloat, L("New extruder retracted length"), L("Retraction length still applied to the incoming extruder from when it was parked."));
|
||||
new_def("outer_wall_volumetric_speed", coFloat, L("Outer wall volumetric speed"), L("Volumetric speed used for the outer wall."));
|
||||
new_def("relative_e_axis", coBool, L("Relative e-axis"), L("Indicates if relative positioning is being used."));
|
||||
new_def("toolchange_count", coInt, L("Toolchange count"), L("The number of toolchanges throughout the print."));
|
||||
@@ -13727,8 +13739,8 @@ CustomGcodeSpecificConfigDef::CustomGcodeSpecificConfigDef()
|
||||
new_def("x_after_toolchange", coFloat, L("X after toolchange"), L("The X pos after toolchange."));
|
||||
new_def("y_after_toolchange", coFloat, L("Y after toolchange"), L("The Y pos after toolchange."));
|
||||
new_def("z_after_toolchange", coFloat, L("Z after toolchange"), L("The Z pos after toolchange."));
|
||||
new_def("first_flush_volume", coFloat, L("First flush volume"), L("The first flush volume."));
|
||||
new_def("second_flush_volume", coFloat, L("Second flush volume"), L("The second flush volume."));
|
||||
new_def("first_flush_volume", coFloat, L("First flush volume"), L("First half of the planned purge length, in mm of filament."));
|
||||
new_def("second_flush_volume", coFloat, L("Second flush volume"), L("Second half of the planned purge length, in mm of filament."));
|
||||
new_def("old_filament_e_feedrate", coInt, L("Old filament e feedrate"), L("The old filament extruder feedrate."));
|
||||
new_def("new_filament_e_feedrate", coInt, L("New filament e feedrate"), L("The new filament extruder feedrate."));
|
||||
new_def("travel_point_1_x", coFloat, L("Travel point 1 X"), L("The travel point 1 X."));
|
||||
@@ -13744,19 +13756,22 @@ CustomGcodeSpecificConfigDef::CustomGcodeSpecificConfigDef()
|
||||
new_def("flush_length", coFloat, L("Flush length"), L("Total flush length."));
|
||||
new_def("flush_volumetric_speeds", coFloats, L("Flush volumetric speeds"), L("Flush volumetric speeds for each filament."));
|
||||
new_def("flush_temperatures", coInts, L("Flush temperatures"), L("Flush temperatures for each filament."));
|
||||
new_def("filament_cooling_before_tower", coFloats, L("Filament cooling before tower"), L("Temperature drop before entering filament tower"));
|
||||
new_def("filament_cooling_before_tower", coFloats, L("Filament cooling before tower"), L("Temperature drop before entering the wipe tower."));
|
||||
new_def("wipe_avoid_perimeter", coBool, L("Avoid wipe perimeter"), L("Whether travel should avoid the wipe perimeter."));
|
||||
new_def("wipe_avoid_pos_x", coFloat, L("Wipe avoidance X"), L("X position used to avoid the wipe area."));
|
||||
new_def("is_prime_tower_interface", coBool, L("Prime tower interface"), L("Whether the current purge is for a prime-tower interface."));
|
||||
new_def("wipe_avoid_pos_x", coFloat, L("Wipe tower avoidance X"), L("X position just beside the wipe tower that the nozzle moves to so it stays clear of the tower."));
|
||||
new_def("is_prime_tower_interface", coBool, L("Prime tower interface"), L("Whether the current purge is for the prime tower interface layer (where different materials meet)."));
|
||||
new_def("filament_tower_interface_purge_volume", coFloat, L("Interface layer purge length"), L("Purge length for prime tower interface layer (where different materials meet)."));
|
||||
new_def("filament_tower_interface_print_temp", coInt, L("Filament tower interface print temperature"), L("Print temperature used for the filament tower interface."));
|
||||
new_def("wipe_tower_center_pos_x", coFloat, L("Wipe tower center X"), L("X coordinate of the nozzle's wipe-tower wait position, 2 mm outside the tower edge."));
|
||||
new_def("wipe_tower_center_pos_y", coFloat, L("Wipe tower center Y"), L("Y coordinate of the nozzle's wipe-tower wait position."));
|
||||
new_def("wipe_tower_center_pos_valid", coBool, L("Wipe tower center position valid"), L("Whether the print has a wipe tower."));
|
||||
new_def("filament_tower_interface_print_temp", coInt, L("Interface layer print temperature"), L("Print temperature for prime tower interface layer (where different materials meet)."));
|
||||
new_def("wipe_tower_wait_pos_x", coFloat, L("Wipe tower wait position X"), L("X coordinate of the nozzle's wipe-tower wait position, 2 mm outside the tower edge."));
|
||||
new_def("wipe_tower_wait_pos_y", coFloat, L("Wipe tower wait position Y"), L("Y coordinate of the nozzle's wipe-tower wait position."));
|
||||
new_def("wipe_tower_wait_pos_valid", coBool, L("Wipe tower wait position valid"), L("Whether the wait position is set, which is the case when the print has a wipe tower."));
|
||||
new_def("wipe_tower_center_pos_x", coFloat, L("Wipe tower wait position X"), L("Same as wipe_tower_wait_pos_x. Bambu Studio uses this name."));
|
||||
new_def("wipe_tower_center_pos_y", coFloat, L("Wipe tower wait position Y"), L("Same as wipe_tower_wait_pos_y. Bambu Studio uses this name."));
|
||||
new_def("wipe_tower_center_pos_valid", coBool, L("Wipe tower wait position valid"), L("Same as wipe_tower_wait_pos_valid. Bambu Studio uses this name."));
|
||||
new_def("temperature", coInts, L("Temperature"), L("Nozzle temperatures indexed by filament."));
|
||||
new_def("nozzle_temperature", coInts, L("Nozzle temperature"), L("Nozzle temperatures indexed by filament."));
|
||||
new_def("first_layer_temperature", coInts, L("First layer temperature"), L("First-layer nozzle temperatures indexed by filament."));
|
||||
new_def("nozzle_temperature_initial_layer", coInts, L("Nozzle temperature initial layer"), L("First-layer nozzle temperatures indexed by filament."));
|
||||
new_def("nozzle_temperature_initial_layer", coInts, L("First layer nozzle temperature"), L("First-layer nozzle temperatures indexed by filament."));
|
||||
|
||||
// change_extrusion_role_gcode
|
||||
// The whole tooltip is one literal so that the GUI can look it up in the catalog.
|
||||
|
||||
@@ -12373,9 +12373,10 @@ void GLCanvas3D::_set_warning_notification(EWarning warning, bool state)
|
||||
extruder_name += (boost::format(_u8L("Tool %d"))%extruder_id).str();
|
||||
}
|
||||
|
||||
text += (boost::format(into_u8(_L_PLURAL("Filament %s is placed in the %s, but the generated G-code path exceeds the printable range of the %s.",
|
||||
"Filaments %s are placed in the %s, but the generated G-code path exceeds the printable range of the %s.",
|
||||
error_iter->second.size()))) %filaments %extruder_name %extruder_name).str();
|
||||
text += format(_L_PLURAL("Filament %1% is placed in the %2%, but the generated G-code path exceeds the printable range of the %2%.",
|
||||
"Filaments %1% are placed in the %2%, but the generated G-code path exceeds the printable range of the %2%.",
|
||||
error_iter->second.size()),
|
||||
filaments, extruder_name);
|
||||
}
|
||||
error = ErrorType::SLICING_LIMIT_ERROR;
|
||||
break;
|
||||
@@ -12423,9 +12424,10 @@ void GLCanvas3D::_set_warning_notification(EWarning warning, bool state)
|
||||
}
|
||||
}
|
||||
std::string extruder_name = extruder_name_list[extruder_id-1];
|
||||
text += (boost::format(into_u8(_L_PLURAL("Filament %s is placed in the %s, but the generated G-code path exceeds the printable height of the %s.",
|
||||
"Filaments %s are placed in the %s, but the generated G-code path exceeds the printable height of the %s.",
|
||||
filament_ids.size()))) % filaments % extruder_name % extruder_name).str();
|
||||
text += format(_L_PLURAL("Filament %1% is placed in the %2%, but the generated G-code path exceeds the printable height of the %2%.",
|
||||
"Filaments %1% are placed in the %2%, but the generated G-code path exceeds the printable height of the %2%.",
|
||||
filament_ids.size()),
|
||||
filaments, extruder_name);
|
||||
}
|
||||
if (!text.empty()) {
|
||||
text += "\n";
|
||||
|
||||
@@ -2373,7 +2373,7 @@ void MenuFactory::append_menu_item_simplify(wxMenu* menu)
|
||||
void MenuFactory::append_menu_item_smooth_mesh(wxMenu *menu)
|
||||
{
|
||||
wxMenuItem *menu_item = append_menu_item(
|
||||
menu, wxID_ANY, _L("Subdivision mesh") + _L("(Lost color)"), "", [](wxCommandEvent &) { obj_list()->smooth_mesh(); }, "", menu, []() { return plater()->can_smooth_mesh(); },
|
||||
menu, wxID_ANY, _L("Subdivision mesh (Lost color)"), "", [](wxCommandEvent &) { obj_list()->smooth_mesh(); }, "", menu, []() { return plater()->can_smooth_mesh(); },
|
||||
m_parent);
|
||||
}
|
||||
|
||||
|
||||
@@ -463,7 +463,7 @@ static void add_msg_content(wxWindow *parent,
|
||||
}
|
||||
|
||||
if (!link_text.IsEmpty() && link_callback) {
|
||||
msg_escaped += "<span><a href=\"#\" style=\"color:rgb(0, 150, 136); text-decoration:underline;\">" + std::string(link_text.ToUTF8().data()) + "</a></span>";
|
||||
msg_escaped += " <span><a href=\"#\" style=\"color:rgb(0, 150, 136); text-decoration:underline;\">" + std::string(link_text.ToUTF8().data()) + "</a></span>";
|
||||
}
|
||||
|
||||
html->SetPage("<html><body bgcolor=\"" + bgr_clr_str + "\"><font color=\"" + text_clr_str + "\">" + wxString::FromUTF8(msg_escaped.data()) + "</font></body></html>");
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "../GUI/Plater.hpp"
|
||||
#include <memory>
|
||||
#include "slic3r/GUI/Jobs/Worker.hpp"
|
||||
#include "slic3r/GUI/format.hpp"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
@@ -310,7 +311,7 @@ static bool is_same_nozzle_type(const DynamicPrintConfig &full_config, const Mac
|
||||
if (abs(filament_nozzle_hrc) > abs(printer_nozzle_hrc)) {
|
||||
BOOST_LOG_TRIVIAL(info) << "filaments hardness mismatch: printer_nozzle_hrc = " << printer_nozzle_hrc << ", filament_nozzle_hrc = " << filament_nozzle_hrc;
|
||||
std::string filament_type = full_config.opt_string("filament_type", 0);
|
||||
error_msg = wxString::Format(_L("Printing %1s material with %2s nozzle may cause nozzle damage."), filament_type, to_wstring_name(NozzleTypeEumnToStr[obj->GetExtderSystem()->GetNozzleType(0)]));
|
||||
error_msg = format_wxstr(_L("Printing %1% material with %2% nozzle may cause nozzle damage."), filament_type, to_wstring_name(NozzleTypeEumnToStr[obj->GetExtderSystem()->GetNozzleType(0)]));
|
||||
error_msg += "\n";
|
||||
|
||||
MessageDialog msg_dlg(nullptr, error_msg, wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);
|
||||
|
||||
@@ -2153,7 +2153,7 @@ void ScriptAsyncRuntime::Impl::run_invocation(const std::shared_ptr<Run>& run)
|
||||
{
|
||||
PythonRuntimeLease lease = PythonInterpreter::instance().acquire_runtime_lease();
|
||||
if (!lease) {
|
||||
completion.error = _u8L("Python interpreter is shutting down");
|
||||
completion.error = _u8L("Python interpreter is shutting down.");
|
||||
} else {
|
||||
pybind11::gil_scoped_acquire gil;
|
||||
|
||||
|
||||
@@ -838,6 +838,32 @@ TEST_CASE("Custom G-code placeholders are substituted", "[Print]")
|
||||
CHECK(per_layer.find(";Layer:200 (0.1 mm) max 20\n") != std::string::npos);
|
||||
}
|
||||
|
||||
// The layer change G-code runs before its layer prints, so the layer mass it gets is the previous layer's.
|
||||
TEST_CASE("Layer change G-code gets the previous layer's mass under both placeholder names", "[Print]")
|
||||
{
|
||||
const std::string gcode = slice({ cube(20) }, {
|
||||
{ "filament_density", 1.24 },
|
||||
// curr_layer_mass is Bambu Studio's name for previous_layer_mass.
|
||||
{ "layer_change_gcode", ";Mass:[layer_num] {if previous_layer_mass > 0}printed{else}none{endif} "
|
||||
"{if previous_layer_mass == curr_layer_mass}same{else}different{endif}" },
|
||||
});
|
||||
// Nothing is printed before the first layer change; layer 0 is printed before the second.
|
||||
CHECK(gcode.find(";Mass:0 none same\n") != std::string::npos);
|
||||
CHECK(gcode.find(";Mass:1 printed same\n") != std::string::npos);
|
||||
}
|
||||
|
||||
TEST_CASE("Start G-code gets the wipe tower wait position under both placeholder names", "[Print]")
|
||||
{
|
||||
// wipe_tower_center_pos_* are Bambu Studio's names for wipe_tower_wait_pos_*.
|
||||
const std::string gcode = slice({ cube(20) }, {
|
||||
{ "machine_start_gcode", "; Wait {if wipe_tower_wait_pos_valid}set{else}unset{endif} "
|
||||
"{if wipe_tower_center_pos_valid}set{else}unset{endif} "
|
||||
"[wipe_tower_wait_pos_x],[wipe_tower_wait_pos_y] [wipe_tower_center_pos_x],[wipe_tower_center_pos_y]" },
|
||||
});
|
||||
// A single-filament print has no wipe tower, so neither name has a position.
|
||||
CHECK(gcode.find("; Wait unset unset 0,0 0,0\n") != std::string::npos);
|
||||
}
|
||||
|
||||
TEST_CASE("Timelapse G-code gets the snapshot placeholders on bed slingers and other printers", "[Print]")
|
||||
{
|
||||
const std::string structure = GENERATE(as<std::string>{}, "i3", "corexy");
|
||||
|
||||
Reference in new issue
Block a user