mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-26 23:29:14 +00:00
Merge branch 'main' into fix/tool-mapping-safety
This commit is contained in:
commit
5d1d0fdfd4
765 changed files with 197154 additions and 15290 deletions
10
.clang-tidy
10
.clang-tidy
|
|
@ -18,7 +18,8 @@ CheckOptions:
|
|||
# Headers that declare a symbol but are not the one to include: per-platform
|
||||
# implementations of wxWidgets and Boost.Thread (a Linux run would suggest the
|
||||
# GTK or pthread one), library internals and forward declarations (MSVC's STL
|
||||
# __msvc_* and the Windows UCRT's corecrt_* included), CPython's headers behind
|
||||
# __msvc_*, the Windows UCRT's corecrt_*, libc++'s __*/ directories and the
|
||||
# macOS SDK's _*.h behind its C headers included), CPython's headers behind
|
||||
# Python.h (python3.x/ on Linux and macOS, libpython/include/ on Windows),
|
||||
# curl's behind curl.h, oneTBB's behind tbb/, and
|
||||
# admesh's stl.h, which the include path also exposes without its directory.
|
||||
|
|
@ -31,7 +32,8 @@ CheckOptions:
|
|||
# The boost/process headers are only included through Utils/BoostProcessCompat.hpp.
|
||||
# FFmpeg's C headers are left alone because they are only included inside
|
||||
# extern "C", which an inserted include would miss. OS-specific headers (GLib,
|
||||
# GTK, D-Bus, POSIX, the Windows SDK) are only used inside platform #if blocks,
|
||||
# GTK, D-Bus, POSIX, the Windows SDK, the macOS SDK's frameworks and MacTypes.h)
|
||||
# are only used inside platform #if blocks,
|
||||
# and an include added at the top of the file would break the other platforms'
|
||||
# builds. A symbol these provide is not reported missing.
|
||||
# Write every / as [/\\] so the patterns also match Windows paths.
|
||||
|
|
@ -46,6 +48,8 @@ CheckOptions:
|
|||
bits[/\\].*;
|
||||
corecrt_.*\.h;
|
||||
__msvc_.*\.hpp;
|
||||
__[a-z0-9_]+[/\\].*;
|
||||
[/\\]_[A-Za-z0-9_]+\.h;
|
||||
boost[/\\]multiprecision[/\\]fwd\.hpp;
|
||||
imconfig\.h;
|
||||
expat_external\.h;
|
||||
|
|
@ -68,6 +72,8 @@ CheckOptions:
|
|||
termios\.h;
|
||||
[/\\](um|shared)[/\\].*;
|
||||
sal\.h;
|
||||
\.framework[/\\].*;
|
||||
MacTypes\.h;
|
||||
tchar\.h;
|
||||
clipper[/\\]clipper\.hpp;
|
||||
png(lib)?conf\.h;
|
||||
|
|
|
|||
|
|
@ -1,86 +0,0 @@
|
|||
# DELEGATION SPECIFICATION: HARNESS-DRIVEN VALIDATION LOOP
|
||||
slug: sketch-focus-arbiter · repo: /home/tommaso/projects/apps/orca_cad · branch: cad-mainline
|
||||
|
||||
## 1. TARGET GOAL
|
||||
|
||||
**Functional Objective.** Keyboard input in the Design tab is routed by WHAT THE KEY IS, not by
|
||||
which widget the window manager decided to focus. Adopted from FreeCAD's
|
||||
`DrawSketchKeyboardManager::detectKeyboardEventHandlingMode`
|
||||
(src/Mod/Sketcher/Gui/DrawSketchKeyboardManager.cpp), which never queries focus at all:
|
||||
|
||||
- digit, `-`, `.`, `,` -> the open value field
|
||||
- Backspace / Delete -> the open value field (when one is open)
|
||||
- Enter / Return / Tab -> commit the field, control returns to the view
|
||||
- a letter -> the sketch-tool shortcut map, as today
|
||||
- Esc -> the existing CadLevel LIFO (DesignInteraction.hpp), unchanged
|
||||
- anything else -> sticky: whoever had it keeps it
|
||||
|
||||
Observable postcondition: for EVERY sketch tool that opens a value field, a value typed
|
||||
immediately after the field appears — with NO click into the field — is the value committed.
|
||||
Today the prefill is committed instead whenever the WM withholds focus.
|
||||
|
||||
**Target Files / Scope (writable).**
|
||||
src/slic3r/GUI/CAD/DesignPanel.cpp (the arbiter lives in the existing wxEVT_CHAR_HOOK)
|
||||
src/slic3r/GUI/CAD/DesignCanvas.cpp/.hpp (forwarding entry points only)
|
||||
src/slic3r/GUI/CAD/SketchInlineEditor.cpp/.hpp (accept a programmatically delivered character)
|
||||
scripts/CAD/check-gui-click-edit.py (F2P oracle — authoring exception, see §4)
|
||||
Everything else read-only. No dependency additions, no reformatting.
|
||||
|
||||
**Open Bindings.**
|
||||
- The in-canvas ImGui field on wip/in-canvas-value-field is NOT in scope. Default: the arbiter
|
||||
is implemented against the CURRENT wxFrame field on cad-mainline, because content-based
|
||||
routing makes the window's focus irrelevant either way. If it later moves in-canvas the
|
||||
arbiter is unchanged.
|
||||
- Tools whose field is opened by a toolbar button rather than a gesture (Constrain path) are
|
||||
covered by the same arbiter but are not in the F2P tool list. Default: assert them in P2P only.
|
||||
|
||||
## 2. HARNESS ENVIRONMENT & GROUND TRUTH
|
||||
|
||||
The rig container `orcacad-gui` on nativedev IS the harness. Xvfb `:11` + openbox, the app under
|
||||
test, `xdotool` for synthetic input, and an MCP socket at `/tmp/mcp.sock` that reports sketch
|
||||
state as JSON. It is a closed loop: drive input, read geometry back, assert. No window manager
|
||||
politics, no human.
|
||||
|
||||
Harness interface (ordered; each slot one invocation, one exit code):
|
||||
S1 sync docker cp <file> orcacad-gui:/OrcaSlicer/<path>
|
||||
S2 build docker exec orcacad-gui ninja -C /OrcaSlicer/build orca-slicer
|
||||
S3 restart docker exec orcacad-gui /OrcaSlicer/scripts/CAD/start-headless-gui.sh
|
||||
S4 F2P docker exec -e DISPLAY=:11 orcacad-gui python3 /tmp/check-gui-click-edit.py --attach
|
||||
S5 P2P docker exec -e DISPLAY=:11 orcacad-gui python3 /tmp/check-gui-sketching.py
|
||||
|
||||
**F2P.** `scripts/CAD/check-gui-click-edit.py`. For each of Line, Rectangle, Circle, Slot,
|
||||
Polygon, Ellipse and Rounded rectangle: arm the tool, draw it, and type a value that differs
|
||||
from the prefill WITHOUT clicking the field. Assert the committed value equals the typed value.
|
||||
The ladder must FAIL against unmodified cad-mainline — that is what proves it asserts something.
|
||||
|
||||
**P2P.** `scripts/CAD/check-gui-sketching.py`, the existing gesture ladder, minus anything red at
|
||||
baseline. NOTE: it calls `focus_field()` — one click into the field before typing — which is the
|
||||
workaround this whole task removes. It stays green as a regression guard; it is NOT evidence.
|
||||
|
||||
**Test Integrity Constraint.** `focus_field()` in check-gui-sketching.py must NOT be deleted to
|
||||
make things pass, and check-gui-click-edit.py must NOT be weakened. Either invalidates the run.
|
||||
|
||||
## 3. VERIFICATION COMMANDS
|
||||
1. Static: `docker exec orcacad-gui ninja -C /OrcaSlicer/build orca-slicer` (warnings delta only;
|
||||
this repo configures no linter — the compiler is the static gate. Absolute-zero is NOT the gate.)
|
||||
2. Harness: `docker exec -e DISPLAY=:11 orcacad-gui python3 /tmp/check-gui-click-edit.py --attach`
|
||||
3. Regression: `docker exec -e DISPLAY=:11 orcacad-gui python3 /tmp/check-gui-sketching.py`
|
||||
|
||||
## 4. CONVERGENCE LOOP — ceiling 8 iterations
|
||||
EDIT (scoped) -> EXECUTE S1..S5 -> PARSE the ladder's per-tool assertions and the [UX]/[KEYTRACE]
|
||||
lines -> PATCH from the parsed cause. On ceiling without convergence: stop, report the last diff
|
||||
and the unresolved failure set. Do not report success.
|
||||
|
||||
F2P authoring exception: check-gui-click-edit.py is writable, and must be shown RED against
|
||||
unmodified source before any source edit counts.
|
||||
|
||||
## 5. TERMINATION CRITERIA
|
||||
- [ ] S2 exits 0, and introduces no compiler warning absent from the baseline.
|
||||
- [ ] S4 ALL_PASSED — every tool commits the typed value, no click into the field.
|
||||
- [ ] S5 shows zero regressions against its recorded baseline pass count.
|
||||
- [ ] F2P proven red without the fix (source stashed, ladder re-run, must FAIL).
|
||||
|
||||
## 6. GUARDRAILS
|
||||
Zero-assumption: no completion claim without captured stdout and exit codes. Oracle supremacy:
|
||||
the ladder's verdict overrides my judgement. Blast radius: §1 files only. Baseline obligation:
|
||||
run §3 once before the first edit and record it.
|
||||
|
|
@ -796,7 +796,12 @@ append_shortcut_item(export_menu, Shortcut::ExportSlicedFile, true, _L("Export p
|
|||
NULL" (`:3438-3445`). `wxEVT_CHILD_FOCUS` derives from `wxCommandEvent` and propagates, and its
|
||||
window is the *direct* child (`:3453-3491`).
|
||||
- `wxPanel::SetFocus` focuses the first child if "the control has at least one child";
|
||||
`SetFocusIgnoringChildren()` focuses the panel itself (`interface/wx/panel.h:125-142`).
|
||||
`SetFocusIgnoringChildren()` focuses the panel itself (`interface/wx/panel.h:125-142`). **[source]**
|
||||
Not while the focus is on the panel or inside it: `wxControlContainerBase::DoSetFocus()` returns at
|
||||
once when `FindFocus()` or one of its parents below the top-level window is the panel, so a panel that
|
||||
holds the focus itself keeps it (`src/common/containr.cpp:110-149`). Otherwise it focuses the child
|
||||
that had the focus last, if it is still shown, else the first child that `CanAcceptFocusFromKeyboard()`
|
||||
(`:605-700`).
|
||||
- `wxGetActiveWindow()` "always returns NULL in the other ports", i.e. on everything but MSW and GTK
|
||||
(`interface/wx/window.h:4545-4551`).
|
||||
|
||||
|
|
@ -811,6 +816,10 @@ append_shortcut_item(export_menu, Shortcut::ExportSlicedFile, true, _L("Export p
|
|||
`MSWEnableHWND`). Any `WM_SETFOCUS`, `WM_KILLFOCUS` or button-down in a window outside
|
||||
`wxCurrentPopupWindow` dismisses a transient popup that lacks `wxPU_CONTAINS_CONTROLS`
|
||||
(`src/msw/window.cpp:3018-3033` → `MSWDismissUnfocusedPopup`, `src/msw/popupwin.cpp:218-229`).
|
||||
- **macOS:** hiding a window that holds the focus moves it to the next view AppKit can focus, which can
|
||||
be a `wxPanel` just shown beside it rather than that panel's control; a `SetFocus()` on that panel then
|
||||
leaves the focus on the panel (see Contract). Seen in `Plater::priv::set_current_panel` on a switch from
|
||||
Prepare to Preview.
|
||||
- **Modeless windows:** focus requested right after `Show()` can be dropped while activation is still
|
||||
in flight (Orca comment in `SpeedDialWebDialog`'s ctor). Set it from `CallAfter` or on
|
||||
`wxEVT_ACTIVATE` (`SpeedDialWebDialog`'s activate handler, see `references/popups-menus.md`); the
|
||||
|
|
@ -846,6 +855,14 @@ append_shortcut_item(export_menu, Shortcut::ExportSlicedFile, true, _L("Export p
|
|||
e.Skip(); });
|
||||
```
|
||||
Cite: `GLCanvas3D::on_mouse`.
|
||||
- **Rule:** To give a view the keyboard, focus its control, not the panel that holds it.
|
||||
**Why:** a panel that holds the focus itself keeps it, and on macOS that is where hiding a focused
|
||||
sibling leaves it, so the view's keys wait until the pointer enters it.
|
||||
```cpp
|
||||
// Wrong: current_panel->SetFocusFromKbd();
|
||||
// Right: get_current_canvas3D()->force_set_focus(); // the shown view's canvas
|
||||
```
|
||||
Cite: `Plater::priv::set_current_panel`.
|
||||
- **Rule:** Defer focus changes out of `wxEVT_KILL_FOCUS`, and always `Skip()` focus events.
|
||||
```cpp
|
||||
// Wrong: ctrl->Bind(wxEVT_KILL_FOCUS, [=](wxFocusEvent&) { other->SetFocus(); });
|
||||
|
|
|
|||
|
|
@ -1242,6 +1242,10 @@ macOS. On MSW it breaks `wxTopLevelWindowMSW::OnActivate`'s focus restore in the
|
|||
- `append_shortcut_item` records the item in `m_shortcut_menu_items`, and `update_shortcut_labels()` rewrites the
|
||||
labels with `SetItemLabel` after the user rebinds a key. Menu text for a registry shortcut always goes through
|
||||
these helpers, never through a hard-coded `"\tCtrl+X"`.
|
||||
- `GetItemLabelText()` drops a key after `"\t"` but keeps one after `" - "`, so on macOS it returns the label with
|
||||
the key text. `MainFrame::menu_item_label()` gives a menu bar item's label without it, from the label the item was
|
||||
made with: the MCP server names menu items by it, so a menu path is the same on every platform. A menu bar item
|
||||
that writes a fixed key after `sep` itself, outside these helpers, records its plain label in `m_key_text_items`.
|
||||
|
||||
**`Plater::PopupMenu(menu, pos)`** (`Plater.cpp`).
|
||||
- It calls `wxGetApp().mainframe->PopupMenu(menu, pos)`. The invoking window is MainFrame, so **`pos` is in
|
||||
|
|
@ -1296,7 +1300,9 @@ wxMenuItem* append_menu_check_item(wxMenu*, int id, const wxString&, const wxStr
|
|||
pass `nullptr`.
|
||||
- A non-null `parent` binds a `wxEVT_UPDATE_UI` handler for that id on `parent` that is never unbound. It calls
|
||||
`enable_menu_item` (`evt.Enable(cb_condition())`), which on macOS also re-applies the icon, grayscale when
|
||||
disabled, on every validation (§14). `append_menu_check_item` binds `Enable` + `Check` the same way.
|
||||
disabled, on every validation (§14). It finds the item by the event's id in the menu that sent the event and
|
||||
keeps no pointer to it: the handler outlives a menu that is destroyed and an item that is removed.
|
||||
`append_menu_check_item` binds `Enable` + `Check` the same way.
|
||||
`append_menu_radio_item` takes no conditions.
|
||||
- Without `parent`, `cb_condition` is ignored: no enable callback is wired.
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ Contents: [Rules](#rules) · [1 Creating and parenting](#1-creating-and-parentin
|
|||
8. A `wxEVT_DESTROY` handler on a parent fires for every descendant: compare `GetEventObject()` and `Skip()`. For a top-level window it runs after the derived destructor — do derived cleanup in the destructor. §3
|
||||
9. Accessors reachable from teardown-time events return `nullptr` instead of dereferencing a pimpl or child; the real fix is still to stop the events first. §3
|
||||
10. Bring a top-level window forward with `if (!w->IsShown()) w->Show(); w->Raise();` — `Raise()` never shows, and a redundant `Show()` is not inert on GTK3. §4
|
||||
11. On macOS, after a native modal (file/dir dialog, native message box) or a generic progress dialog opened from a secondary top-level window, re-raise that window with a deferred, liveness-guarded `Raise()`. §4
|
||||
11. On macOS, after a native modal (file/dir dialog, native message box) or a generic progress dialog opened from a secondary top-level window, re-raise that window with a deferred, liveness-guarded `Raise()`. A dialog that raises the main window itself and must stay in sight meanwhile is a Cocoa child window of it for that span (`keep_window_above`). §4
|
||||
12. Remove style bits with `& ~flag`, never `!flag`. §5
|
||||
13. Always pass the style to a `DPIDialog`: the `DPIAware` default is `wxDEFAULT_FRAME_STYLE` (resizable, min/max boxes). §5, §7
|
||||
14. A `wxFRAME_FLOAT_ON_PARENT` frame takes a non-null top-level parent (parent to `mainframe`, not to a panel). §5
|
||||
|
|
@ -498,16 +498,30 @@ Linux on `wxEVT_SHOW` + `CallAfter`, macOS on `wxEVT_SHOW`.
|
|||
through `EndModal`. The `Raise()` is deferred to run after the modal has fully torn down, and guarded
|
||||
because the dialog may be destroyed while queued.
|
||||
```cpp
|
||||
void PluginsDialog::restore_z_order()
|
||||
void WebViewHostDialog::restore_z_order()
|
||||
{
|
||||
wxGetApp().CallAfter([this, alive = m_alive]() {
|
||||
if (alive->load(std::memory_order_acquire) && IsShown())
|
||||
wxGetApp().CallAfter([this, alive = m_host_alive] {
|
||||
if (alive->load() && IsShown())
|
||||
Raise();
|
||||
});
|
||||
}
|
||||
```
|
||||
Cite: 0a0d59b76b (`PluginsDialog::restore_z_order`; also passed as the `restore` callback of
|
||||
`detail::run_off_thread_with_progress`).
|
||||
A `WebViewHostDialog` subclass calls the inherited `restore_z_order()` after each such modal, on every
|
||||
outcome including Cancel.
|
||||
Cite: 0a0d59b76b (`PluginsDialog`: also passed as the `restore` callback of
|
||||
`detail::run_off_thread_with_progress`); `ActionReplayDialog::open_file`.
|
||||
- **Rule:** On macOS, when a secondary dialog raises the main window on purpose (to give it the keyboard
|
||||
focus for work that acts on it) and must stay in sight meanwhile, attach it as a Cocoa child window of the
|
||||
main window for that span — `keep_window_above(GetHandle(), mainframe->GetHandle(), true)`
|
||||
(`slic3r/Utils/MacDarkMode.hpp`) — and detach it with `false` when the work ends.
|
||||
**Why:** the raised main window becomes key and front and buries the dialog, which wx never attaches to
|
||||
its parent on macOS (§5), while an MSW owner or a GTK `transient_for` parent keeps it above by itself. A
|
||||
child window stays directly above its parent without becoming key, so the main window keeps the focus;
|
||||
it also moves with its parent, so attach it only for the span. wx detaches it on `Hide()` and in the
|
||||
window's destructor (`src/osx/cocoa/nonownedwnd.mm:767-768, 990-991`), so closing the dialog midway
|
||||
needs no extra step.
|
||||
Cite: `ActionReplayDialog::run` (a run's progress and Stop button; the dialog takes the focus back with
|
||||
`restore_z_order()` when the run finishes).
|
||||
- **Rule:** Never position windows by absolute coordinates on Wayland, and never expect `SetIcon` to show on
|
||||
macOS or Wayland.
|
||||
|
||||
|
|
|
|||
346
.github/scripts/inactive_pr_notices.py
vendored
Normal file
346
.github/scripts/inactive_pr_notices.py
vendored
Normal file
|
|
@ -0,0 +1,346 @@
|
|||
"""Posts a notice on inactive PRs and adds the labels stale.yml needs to close them.
|
||||
|
||||
stale.yml sets the limits and day counts in its environment. It needs the workflow's token, because the
|
||||
stale bot counts a comment from a person as activity.
|
||||
"""
|
||||
|
||||
import datetime
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
import urllib.parse
|
||||
|
||||
REPO = os.environ["GITHUB_REPOSITORY"]
|
||||
LIMIT = max(0, int(os.environ["NOTICE_LIMIT"]))
|
||||
RENOTICE_DAYS = int(os.environ["RENOTICE_DAYS"])
|
||||
CLOSE_DAYS = int(os.environ["PR_CLOSE_DAYS"])
|
||||
DRY_RUN = os.environ.get("DRY_RUN", "false") == "true"
|
||||
# Dry runs post nothing, so they have no deadline
|
||||
DEADLINE = None if DRY_RUN else time.monotonic() + 60 * int(os.environ["NOTICE_MINUTES"])
|
||||
WAIT_LABEL = "wait for response"
|
||||
STALE_LABEL = "stale"
|
||||
TEAM = ("MEMBER", "OWNER", "COLLABORATOR")
|
||||
MARKER = "<!-- inactive-pr-notice -->"
|
||||
GH_TRIES = 3
|
||||
GH_TIMEOUT = 120
|
||||
# gh errors worth another try; others, such as a 404, fail at once
|
||||
TRANSIENT = re.compile(r"HTTP (5\d\d|429)|rate limit|timed? ?out|connection|EOF|Something went wrong", re.IGNORECASE)
|
||||
|
||||
# Days without activity before each notice, and its text
|
||||
NOTICES = {
|
||||
"waiting": (int(os.environ["PR_STALE_DAYS"]), """We asked for changes or more information on this PR, and nothing has happened on it for at least {days} days. It will be closed in {close} days.
|
||||
|
||||
To keep it open, leave a comment. If you push new commits, please also leave a comment so we know it's ready for review again. If you no longer have time for it, that's fine. You can close it yourself."""),
|
||||
"conflicts": (int(os.environ["CONFLICT_DAYS"]), """This PR has conflicts with the main branch, and nothing has happened on it for at least {days} days. It will be closed in {close} days.
|
||||
|
||||
If you still want to work on it, please fix the conflicts and leave a comment. If you no longer have time for it, that's fine. You can close it yourself."""),
|
||||
"unreviewed-conflicts": (int(os.environ["CONFLICT_DAYS"]), """We're sorry that nobody on the team has reviewed this PR yet. It has conflicts with the main branch, and nothing has happened on it for at least {days} days. It will be closed in {close} days.
|
||||
|
||||
If you still want a review, please fix the conflicts and leave a comment. If you no longer have time for it, that's fine. You can close it yourself."""),
|
||||
"unreviewed": (int(os.environ["UNREVIEWED_DAYS"]), """We're sorry that nobody on the team has reviewed this PR yet. Nothing has happened on it for at least {days} days. It will be closed in {close} days.
|
||||
|
||||
If you still want a review, leave a comment. If you no longer have time for it, that's fine. You can close it yourself."""),
|
||||
"draft": (int(os.environ["DRAFT_DAYS"]), """Nothing has happened on this draft PR for at least {days} days. It will be closed in {close} days.
|
||||
|
||||
If you're still working on it, leave a comment to keep it open. If it is closed, you can open a new PR later and link this one."""),
|
||||
}
|
||||
|
||||
QUERY = """query($owner: String!, $name: String!, $cursor: String) {
|
||||
repository(owner: $owner, name: $name) {
|
||||
pullRequests(states: OPEN, first: 40, after: $cursor) {
|
||||
pageInfo { hasNextPage endCursor }
|
||||
nodes {
|
||||
number isDraft mergeable baseRefName authorAssociation
|
||||
author { __typename login }
|
||||
labels(first: 100) { nodes { name } }
|
||||
assignees { totalCount }
|
||||
milestone { title }
|
||||
commits(last: 1) { nodes { commit { committedDate } } }
|
||||
comments(last: 30) { totalCount nodes { author { __typename login } authorAssociation createdAt body } }
|
||||
reviews(last: 20) { totalCount nodes { author { __typename login } authorAssociation submittedAt } }
|
||||
labelEvents: timelineItems(last: 100, itemTypes: [LABELED_EVENT]) {
|
||||
nodes { ... on LabeledEvent { createdAt label { name } actor { login } } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}"""
|
||||
|
||||
# One page of a PR's comments or reviews
|
||||
HISTORY = """query($owner: String!, $name: String!, $number: Int!, $cursor: String) {
|
||||
repository(owner: $owner, name: $name) {
|
||||
pullRequest(number: $number) {
|
||||
%s(first: 100, after: $cursor) { pageInfo { hasNextPage endCursor } nodes { author { __typename login } authorAssociation createdAt body } }
|
||||
}
|
||||
}
|
||||
}"""
|
||||
|
||||
|
||||
def gh(*args, tries=GH_TRIES, missing_ok=False):
|
||||
target = next((a for a in args if a.startswith("repos/") or a == "graphql"), args[0])
|
||||
for attempt in range(1, tries + 1):
|
||||
try:
|
||||
result = subprocess.run(["gh", *args], capture_output=True, encoding="utf-8", timeout=GH_TIMEOUT)
|
||||
except subprocess.TimeoutExpired:
|
||||
result = subprocess.CompletedProcess(args, 1, "", f"timed out after {GH_TIMEOUT} s")
|
||||
if result.returncode == 0 or (missing_ok and "HTTP 404" in result.stderr):
|
||||
return result.stdout
|
||||
print(f"gh api {target} failed (try {attempt} of {tries}): {result.stderr.strip()}", file=sys.stderr)
|
||||
if attempt == tries or not TRANSIENT.search(result.stderr):
|
||||
break
|
||||
time.sleep(10 * attempt)
|
||||
raise RuntimeError(f"gh api {target} failed")
|
||||
|
||||
|
||||
def paged(query, path, *variables):
|
||||
"""All nodes of the connection at path, where path starts below the query's data."""
|
||||
owner, name = REPO.split("/")
|
||||
cursor, nodes = None, []
|
||||
while True:
|
||||
args = ["api", "graphql", "-f", "query=" + query, "-f", "owner=" + owner, "-f", "name=" + name, *variables]
|
||||
if cursor:
|
||||
args += ["-f", "cursor=" + cursor]
|
||||
page = json.loads(gh(*args))["data"]
|
||||
for key in path:
|
||||
page = page[key]
|
||||
nodes += page["nodes"]
|
||||
if not page["pageInfo"]["hasNextPage"]:
|
||||
return nodes
|
||||
cursor = page["pageInfo"]["endCursor"]
|
||||
|
||||
|
||||
def days_since(stamp, now):
|
||||
return (now - parse_time(stamp)).days
|
||||
|
||||
|
||||
def is_person(actor):
|
||||
return bool(actor) and actor["__typename"] == "User"
|
||||
|
||||
|
||||
def parse_time(stamp):
|
||||
return datetime.datetime.fromisoformat(stamp.replace("Z", "+00:00"))
|
||||
|
||||
|
||||
def full_comments(pr):
|
||||
"""The PR's comments, reading the whole history when the fetched window doesn't hold them all."""
|
||||
nodes = pr["comments"]["nodes"]
|
||||
if pr["comments"]["totalCount"] <= len(nodes):
|
||||
return nodes
|
||||
return paged(HISTORY % "comments", ("repository", "pullRequest", "comments"), "-F", f"number={pr['number']}")
|
||||
|
||||
|
||||
def answered_notice(pr):
|
||||
"""Whether a person replied to this PR's notice while the wait label that the notice added is still on it."""
|
||||
labels = {label["name"] for label in pr["labels"]["nodes"]}
|
||||
added = [e for e in pr["labelEvents"]["nodes"] if e and e["label"]["name"] == WAIT_LABEL]
|
||||
if WAIT_LABEL not in labels or STALE_LABEL in labels or not added or not added[-1]["actor"]:
|
||||
return False
|
||||
|
||||
def notices(nodes):
|
||||
return [c for c in nodes if c["author"] and not is_person(c["author"]) and c["body"].startswith(MARKER)]
|
||||
|
||||
comments = pr["comments"]["nodes"]
|
||||
# A notice can be older than the fetched window
|
||||
if not notices(comments):
|
||||
comments = full_comments(pr)
|
||||
if not notices(comments):
|
||||
return False
|
||||
notice, added = notices(comments)[-1], added[-1]
|
||||
# The notice adds the label seconds before it posts, so a later add came from someone else
|
||||
gap = (parse_time(notice["createdAt"]) - parse_time(added["createdAt"])).total_seconds()
|
||||
if added["actor"]["login"] != notice["author"]["login"] or not 0 <= gap <= 300:
|
||||
return False
|
||||
replies = [c["createdAt"] for c in comments if is_person(c["author"])]
|
||||
replies += [r["submittedAt"] for r in pr["reviews"]["nodes"] if is_person(r["author"]) and r["submittedAt"]]
|
||||
replies += [c["commit"]["committedDate"] for c in pr["commits"]["nodes"]]
|
||||
return max(replies) > notice["createdAt"]
|
||||
|
||||
|
||||
def team_replied(pr):
|
||||
author = pr["author"]["login"]
|
||||
|
||||
def replied(nodes):
|
||||
return any(is_person(x["author"]) and x["author"]["login"] != author and x["authorAssociation"] in TEAM
|
||||
for x in nodes)
|
||||
|
||||
for key in ("comments", "reviews"):
|
||||
fetched = pr[key]
|
||||
nodes = fetched["nodes"]
|
||||
# An older reply can be outside the fetched window
|
||||
if not replied(nodes) and fetched["totalCount"] > len(nodes):
|
||||
nodes = paged(HISTORY % key, ("repository", "pullRequest", key), "-F", f"number={pr['number']}")
|
||||
if replied(nodes):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def pick_notice(pr, now):
|
||||
"""The case and idle days of the notice this PR should get now, or None."""
|
||||
labels = {label["name"] for label in pr["labels"]["nodes"]}
|
||||
if (STALE_LABEL in labels or not is_person(pr["author"]) or pr["baseRefName"] != "main"
|
||||
or pr["assignees"]["totalCount"] or pr["milestone"]):
|
||||
return None
|
||||
comments, reviews = pr["comments"]["nodes"], pr["reviews"]["nodes"]
|
||||
|
||||
def noticed(nodes):
|
||||
return any(c["body"].startswith(MARKER) and days_since(c["createdAt"], now) < RENOTICE_DAYS for c in nodes)
|
||||
|
||||
if noticed(comments):
|
||||
return None
|
||||
|
||||
activity = [c["createdAt"] for c in comments if is_person(c["author"])]
|
||||
activity += [r["submittedAt"] for r in reviews if is_person(r["author"]) and r["submittedAt"]]
|
||||
# A rebase or amend sets a new commit date
|
||||
activity += [c["commit"]["committedDate"] for c in pr["commits"]["nodes"]]
|
||||
idle = days_since(max(activity), now)
|
||||
|
||||
if WAIT_LABEL in labels:
|
||||
case = "waiting" if not pr["isDraft"] else None
|
||||
elif pr["authorAssociation"] in TEAM:
|
||||
case = None
|
||||
elif pr["isDraft"]:
|
||||
case = "draft"
|
||||
# GitHub computes this on request, so the next run sees the real value
|
||||
elif pr["mergeable"] == "UNKNOWN":
|
||||
case = None
|
||||
elif pr["mergeable"] == "CONFLICTING":
|
||||
case = "conflicts"
|
||||
else:
|
||||
case = "unreviewed"
|
||||
if not case or idle < NOTICES[case][0]:
|
||||
return None
|
||||
# Checked last because they can read a PR's whole history
|
||||
if noticed(full_comments(pr)):
|
||||
return None
|
||||
if case in ("conflicts", "unreviewed"):
|
||||
replied = team_replied(pr)
|
||||
if case == "unreviewed" and replied:
|
||||
return None
|
||||
if case == "conflicts" and not replied:
|
||||
case = "unreviewed-conflicts"
|
||||
return case, idle
|
||||
|
||||
|
||||
def find_notices(number, since):
|
||||
"""The ids of the notices posted on this PR since the given time."""
|
||||
return gh("api", f"repos/{REPO}/issues/{number}/comments?since={since}", "--jq",
|
||||
f'.[] | select(.user.type == "Bot" and (.body | startswith("{MARKER}"))) | .id').split()
|
||||
|
||||
|
||||
def post_comment(number, body, since):
|
||||
"""The id of the new comment, posted once even when GitHub fails after creating it."""
|
||||
for attempt in range(1, GH_TRIES + 1):
|
||||
try:
|
||||
return gh("api", f"repos/{REPO}/issues/{number}/comments", "-f", f"body={body}", "--jq", ".id", tries=1).strip()
|
||||
except RuntimeError:
|
||||
# Posting again is only safe once GitHub confirms the last try created nothing
|
||||
if posted := find_notices(number, since):
|
||||
return posted[0]
|
||||
if attempt < GH_TRIES:
|
||||
time.sleep(10 * attempt)
|
||||
raise RuntimeError(f"posting the notice on #{number} failed")
|
||||
|
||||
|
||||
def post_notice(number, case, labels):
|
||||
# The stale bot counts any change after the stale label as activity, so the stale label goes on last
|
||||
added_wait = WAIT_LABEL not in labels
|
||||
# A minute early, so a GitHub clock behind the runner's still finds a notice this call posted
|
||||
since = (datetime.datetime.now(datetime.timezone.utc) - datetime.timedelta(minutes=1)).strftime("%Y-%m-%dT%H:%M:%SZ")
|
||||
# Adding a label the PR already has changes nothing, and the fetched labels can be minutes old
|
||||
gh("api", f"repos/{REPO}/issues/{number}/labels", "-f", f"labels[]={WAIT_LABEL}", "--silent")
|
||||
comment = None
|
||||
try:
|
||||
days, text = NOTICES[case]
|
||||
comment = post_comment(number, MARKER + "\n" + text.format(days=days, close=CLOSE_DAYS), since)
|
||||
gh("api", f"repos/{REPO}/issues/{number}/labels", "-f", f"labels[]={STALE_LABEL}", "--silent")
|
||||
except RuntimeError:
|
||||
# Without the stale label nothing closes the PR, so the notice is undone and the next run tries again
|
||||
try:
|
||||
comments = set(find_notices(number, since))
|
||||
except RuntimeError:
|
||||
comments = set()
|
||||
comments |= {comment} if comment else set()
|
||||
undo = [f"repos/{REPO}/issues/comments/{c}" for c in comments]
|
||||
if added_wait:
|
||||
undo.append(wait_label_path(number))
|
||||
# Each step is tried even when one before it fails; gh logs the failure
|
||||
for path in undo:
|
||||
try:
|
||||
gh("api", "-X", "DELETE", path, "--silent", missing_ok=True)
|
||||
except RuntimeError:
|
||||
pass
|
||||
raise
|
||||
|
||||
|
||||
def wait_label_path(number):
|
||||
return f"repos/{REPO}/issues/{number}/labels/{urllib.parse.quote(WAIT_LABEL)}"
|
||||
|
||||
|
||||
def main():
|
||||
now = datetime.datetime.now(datetime.timezone.utc)
|
||||
prs = paged(QUERY, ("repository", "pullRequests"))
|
||||
failed = []
|
||||
|
||||
for pr in prs:
|
||||
labels = {label["name"] for label in pr["labels"]["nodes"]}
|
||||
# A draft is only on the stale track while a notice is open, so the stale step never starts its own clock on one
|
||||
draft = pr["isDraft"] and WAIT_LABEL in labels and STALE_LABEL not in labels
|
||||
try:
|
||||
if not (draft or answered_notice(pr)):
|
||||
continue
|
||||
print(f"#{pr['number']} {'draft' if draft else 'answered'}: removing {WAIT_LABEL}")
|
||||
if not DRY_RUN:
|
||||
# Another bot can remove the label between the fetch and this call
|
||||
gh("api", "-X", "DELETE", wait_label_path(pr["number"]), "--silent", missing_ok=True)
|
||||
except RuntimeError:
|
||||
failed.append(pr["number"])
|
||||
|
||||
todo = []
|
||||
for pr in prs:
|
||||
try:
|
||||
if notice := pick_notice(pr, now):
|
||||
todo.append((notice, pr))
|
||||
except RuntimeError:
|
||||
failed.append(pr["number"])
|
||||
# Longest idle first
|
||||
todo.sort(key=lambda item: item[0][1], reverse=True)
|
||||
posted = 0
|
||||
for position, ((case, idle), pr) in enumerate(todo):
|
||||
if position == LIMIT:
|
||||
if not DRY_RUN:
|
||||
break
|
||||
print(f"-- over the limit of {LIMIT}, not posted tonight --")
|
||||
# A notice cut off by the step timeout would stay up with nothing to close the PR
|
||||
if DEADLINE and time.monotonic() > DEADLINE:
|
||||
print(f"Out of time after {posted} notices; the rest wait for the next run")
|
||||
break
|
||||
print(f"#{pr['number']} {case}: idle {idle} days")
|
||||
if DRY_RUN:
|
||||
if position < LIMIT:
|
||||
posted += 1
|
||||
continue
|
||||
try:
|
||||
post_notice(pr["number"], case, {label["name"] for label in pr["labels"]["nodes"]})
|
||||
posted += 1
|
||||
except RuntimeError:
|
||||
failed.append(pr["number"])
|
||||
# Stays under GitHub's limit on comments per minute
|
||||
time.sleep(2)
|
||||
failed = sorted(set(failed))
|
||||
print(f"{'would-post' if DRY_RUN else 'posted'}={posted} eligible={len(todo)} limit={LIMIT} failed={len(failed)} dry-run={str(DRY_RUN).lower()}")
|
||||
# Doesn't count against the limits it reports
|
||||
try:
|
||||
print(gh("api", "rate_limit", "--jq",
|
||||
r'.resources | "rate-limit rest-used=\(.core.used) rest-remaining=\(.core.remaining) '
|
||||
r'graphql-used=\(.graphql.used) graphql-remaining=\(.graphql.remaining)"').strip())
|
||||
except RuntimeError:
|
||||
pass
|
||||
if failed:
|
||||
sys.exit("Failed on " + " ".join(f"#{n}" for n in failed))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
10
.github/workflows/build_all.yml
vendored
10
.github/workflows/build_all.yml
vendored
|
|
@ -16,6 +16,7 @@ on:
|
|||
- 'resources/**'
|
||||
- ".github/workflows/build_*.yml"
|
||||
- ".github/workflows/unit_tests*.yml"
|
||||
- ".github/workflows/mcp_sweep.yml"
|
||||
- 'build_linux.sh'
|
||||
- 'build_win.bat'
|
||||
- 'scripts/test_build_win.ps1'
|
||||
|
|
@ -44,6 +45,7 @@ on:
|
|||
- 'version.inc'
|
||||
- ".github/workflows/build_*.yml"
|
||||
- ".github/workflows/unit_tests*.yml"
|
||||
- ".github/workflows/mcp_sweep.yml"
|
||||
- 'build_linux.sh'
|
||||
- 'build_win.bat'
|
||||
- 'scripts/test_build_win.ps1'
|
||||
|
|
@ -252,6 +254,14 @@ jobs:
|
|||
os: ${{ vars.SELF_HOSTED && 'orca-macos-arm64' || 'macos-15' }}
|
||||
artifact: ${{ github.sha }}-tests-macos-arm64
|
||||
test-dir: build/arm64/tests
|
||||
# Drive the x86_64 AppImage's GUI through every MCP sweep test on Xvfb.
|
||||
# GitHub-hosted only, as the job installs Xvfb, Openbox and the AppImage's
|
||||
# host libraries with apt.
|
||||
mcp_sweep_linux_x86_64:
|
||||
name: Linux x86_64
|
||||
needs: build_linux
|
||||
if: ${{ !cancelled() && success() && !inputs.build-deps-only && !vars.SELF_HOSTED }}
|
||||
uses: ./.github/workflows/mcp_sweep.yml
|
||||
# Slice a two-colour cube through every shipped printer, and through every
|
||||
# system process/filament whose templates no printer's own slice reaches, so
|
||||
# every custom g-code and filename_format shipped is expanded (names in {if}
|
||||
|
|
|
|||
8
.github/workflows/build_flatpak.yml
vendored
8
.github/workflows/build_flatpak.yml
vendored
|
|
@ -224,11 +224,13 @@ jobs:
|
|||
# the bounds checks are compiled in, so a stripped exe still catches them.
|
||||
find "$d/build_flatpak/tests" -type f -perm -u+x -exec strip --strip-unneeded {} + 2>/dev/null || true
|
||||
# At runtime the tests read tests/ (TEST_DATA_DIR), scripts/, and under
|
||||
# resources/ the shipped profiles (PROFILES_DIR), the printers/ maps, and
|
||||
# the icon SVGs (NativeCommands icon names are checked against them).
|
||||
# resources/ the shipped profiles (PROFILES_DIR), the printers/ maps,
|
||||
# the icon SVGs (NativeCommands icon names are checked against them), and
|
||||
# the MCP server's page agent (web/mcp).
|
||||
find "$d" -mindepth 1 -maxdepth 1 -type d \
|
||||
! -name tests ! -name build_flatpak ! -name scripts ! -name resources -exec rm -rf {} +
|
||||
find "$d/resources" -mindepth 1 -maxdepth 1 ! -name profiles ! -name printers ! -name images -exec rm -rf {} +
|
||||
find "$d/resources" -mindepth 1 -maxdepth 1 ! -name profiles ! -name printers ! -name images ! -name web -exec rm -rf {} +
|
||||
find "$d/resources/web" -mindepth 1 -maxdepth 1 ! -name mcp -exec rm -rf {} +
|
||||
# Only the SVGs are read; the png/ico/icns/gif assets are ~35MB of dead weight.
|
||||
find "$d/resources/images" -mindepth 1 -maxdepth 1 ! -name '*.svg' -exec rm -rf {} + 2>/dev/null || true
|
||||
tar -cf flatpak-test-asset.tar flatpak_app "$d"
|
||||
|
|
|
|||
1
.github/workflows/build_optional.yml
vendored
1
.github/workflows/build_optional.yml
vendored
|
|
@ -44,6 +44,7 @@ on:
|
|||
- 'version.inc'
|
||||
- ".github/workflows/build_*.yml"
|
||||
- ".github/workflows/unit_tests*.yml"
|
||||
- ".github/workflows/mcp_sweep.yml"
|
||||
- 'build_linux.sh'
|
||||
- 'build_win.bat'
|
||||
- 'scripts/test_build_win.ps1'
|
||||
|
|
|
|||
37
.github/workflows/check_cad_offer_table.yml
vendored
Normal file
37
.github/workflows/check_cad_offer_table.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
name: Check CAD offer table
|
||||
|
||||
# src/slic3r/GUI/CAD/DesignOffer.hpp is generated from scripts/CAD/tool_atlas.json and must never be
|
||||
# edited by hand. This fails when the checked-in header is not what the generator makes of the atlas, and
|
||||
# when the generator's checks of an atlas (scripts/CAD/test_gen_offer_table.py) miss a fault.
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'scripts/CAD/tool_atlas.json'
|
||||
- 'scripts/CAD/gen_offer_table.py'
|
||||
- 'scripts/CAD/test_gen_offer_table.py'
|
||||
- 'src/slic3r/GUI/CAD/DesignOffer.hpp'
|
||||
- '.github/workflows/check_cad_offer_table.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'scripts/CAD/tool_atlas.json'
|
||||
- 'scripts/CAD/gen_offer_table.py'
|
||||
- 'scripts/CAD/test_gen_offer_table.py'
|
||||
- 'src/slic3r/GUI/CAD/DesignOffer.hpp'
|
||||
- '.github/workflows/check_cad_offer_table.yml'
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
check_cad_offer_table:
|
||||
name: Check CAD offer table
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Check the offer table against the atlas
|
||||
run: python3 scripts/CAD/gen_offer_table.py --check
|
||||
|
||||
- name: Test the generator's checks of the atlas
|
||||
run: python3 scripts/CAD/test_gen_offer_table.py
|
||||
107
.github/workflows/mcp_sweep.yml
vendored
Normal file
107
.github/workflows/mcp_sweep.yml
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
name: MCP Sweep
|
||||
|
||||
# Run the MCP sweep (tools/mcp/run_sweep.py) against the x86_64 Linux AppImage
|
||||
# the calling build_all.yml run built, each job's app on a private Xvfb display
|
||||
# with Openbox as its window manager. Called once from build_all.yml.
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
mcp_sweep:
|
||||
# Static "MCP Sweep"; the caller's job name adds the arch, as for the unit tests.
|
||||
name: MCP Sweep
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 150
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
# The app comes from the AppImage. The tests read tools/mcp, the test
|
||||
# data in tests/, the handy models and profiles in resources/, and
|
||||
# scripts/CAD.
|
||||
sparse-checkout: |
|
||||
tools
|
||||
tests
|
||||
resources
|
||||
scripts
|
||||
|
||||
- name: Download the AppImage
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
# <ver> is V<version> or PR-<number>, so this leaves out the aarch64
|
||||
# build's OrcaSlicer_Linux_ubuntu_2404_aarch64_<ver>.
|
||||
pattern: OrcaSlicer_Linux_ubuntu_2404_{V,PR-}*
|
||||
path: ${{ runner.temp }}/appimage
|
||||
|
||||
- name: Extract the AppImage
|
||||
working-directory: ${{ runner.temp }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mapfile -t found < <(find appimage -name '*.AppImage')
|
||||
[ ${#found[@]} -eq 1 ] || { echo "expected one x86_64 AppImage, found: ${found[*]:-none}" >&2; exit 1; }
|
||||
chmod +x "${found[0]}"
|
||||
"${found[0]}" --appimage-extract > /dev/null
|
||||
# The bare binary cannot find the AppImage's bundled libraries; AppRun
|
||||
# sets them up and execs it, so the pid, exit codes and signals the
|
||||
# sweep reads are the app's own.
|
||||
[ -x squashfs-root/AppRun ] || { echo "no AppRun in the AppImage" >&2; exit 1; }
|
||||
echo "ORCA_BIN=$PWD/squashfs-root/AppRun" >> "$GITHUB_ENV"
|
||||
|
||||
# Openbox keeps popup lists open under Xvfb, which test_gui_tools.py and
|
||||
# test_filaments.py need; ffmpeg lets test_recording.py encode. The rest
|
||||
# are the host libraries the AppImage leaves out (scripts/appimage_lib_policy.sh),
|
||||
# with Mesa's software OpenGL for Xvfb.
|
||||
- name: Install Xvfb, Openbox and the AppImage's host runtime
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
xvfb openbox ffmpeg dbus \
|
||||
libopengl0 libgl1 libegl1 libgl1-mesa-dri libwebkit2gtk-4.1-0
|
||||
|
||||
# WebKitGTK runs its web processes in a bubblewrap sandbox, which needs
|
||||
# unprivileged user namespaces, and Ubuntu 24.04's AppArmor denies them.
|
||||
# The runner is discarded after the job.
|
||||
- name: Allow unprivileged user namespaces
|
||||
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
||||
|
||||
- name: Run the sweep
|
||||
id: sweep
|
||||
# Short of the job's limit, so the steps after it still run.
|
||||
timeout-minutes: 120
|
||||
run: |
|
||||
set -o pipefail
|
||||
# One session bus for the run's apps, as a desktop session gives them.
|
||||
# -j defaults to half the cores: 2 on this 4-vCPU runner, which also
|
||||
# draws every app's OpenGL in software.
|
||||
dbus-run-session -- python3 tools/mcp/run_sweep.py --xvfb --bin "$ORCA_BIN" \
|
||||
--out "$RUNNER_TEMP/mcp-sweep" \
|
||||
2>&1 | tee "$RUNNER_TEMP/mcp-sweep.log"
|
||||
|
||||
- name: Publish job summary
|
||||
if: ${{ !cancelled() && steps.sweep.outcome != 'skipped' }}
|
||||
run: |
|
||||
{
|
||||
echo "## MCP sweep"
|
||||
echo '```'
|
||||
# Each failed run, beside the others and then alone, the failures'
|
||||
# logs, any crash report, and the closing count
|
||||
grep -E "^[^ ]+ +(FAIL \(|passed alone)|^FAIL |^crash report: | passed \(.* alone\)" \
|
||||
"$RUNNER_TEMP/mcp-sweep.log" || echo "no result lines, see the log"
|
||||
echo '```'
|
||||
} >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
# A failed run keeps each failed test's folder (test.log and a copy of the
|
||||
# app's log), the data folders of the jobs it failed on, and results.jsonl.
|
||||
- name: Upload the failed runs
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: mcp-sweep-linux-x86_64
|
||||
path: |
|
||||
${{ runner.temp }}/mcp-sweep
|
||||
${{ runner.temp }}/mcp-sweep.log
|
||||
retention-days: 7
|
||||
if-no-files-found: ignore
|
||||
65
.github/workflows/stale.yml
vendored
65
.github/workflows/stale.yml
vendored
|
|
@ -4,9 +4,16 @@ on:
|
|||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
notices:
|
||||
description: What the notice step does on this run
|
||||
type: choice
|
||||
options: [dry-run, post, skip]
|
||||
default: dry-run
|
||||
|
||||
permissions:
|
||||
actions: write # save the run state in the actions cache
|
||||
contents: read # check out the notice script
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
|
|
@ -17,11 +24,42 @@ concurrency:
|
|||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
ISSUE_STALE_DAYS: 90
|
||||
ISSUE_CLOSE_DAYS: 14
|
||||
# CONTRIBUTING's "If your PR is closed" section repeats these day counts, so update it too
|
||||
PR_STALE_DAYS: 90
|
||||
PR_CLOSE_DAYS: 14
|
||||
CONFLICT_DAYS: 90
|
||||
UNREVIEWED_DAYS: 180
|
||||
DRAFT_DAYS: 180
|
||||
# A PR that answered a notice gets no new one for this long
|
||||
RENOTICE_DAYS: 90
|
||||
# Each notice posts one comment, which counts toward the stale step's hourly limit
|
||||
NOTICE_LIMIT: 40
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
if: github.repository == 'OrcaSlicer/OrcaSlicer' && inputs.notices != 'skip'
|
||||
with:
|
||||
sparse-checkout: .github/scripts
|
||||
persist-credentials: false
|
||||
# Posts the notice on long-inactive PRs, which the stale step closes if nothing changes
|
||||
- name: Post notices on inactive PRs
|
||||
if: github.repository == 'OrcaSlicer/OrcaSlicer' && inputs.notices != 'skip'
|
||||
timeout-minutes: 30
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
DRY_RUN: ${{ inputs.notices == 'dry-run' }}
|
||||
# Stops starting notices with time to finish the last one before the timeout
|
||||
NOTICE_MINUTES: 20
|
||||
run: python3 .github/scripts/inactive_pr_notices.py
|
||||
- uses: actions/stale@v11
|
||||
# A failed notice step doesn't stop the stale run
|
||||
if: ${{ !cancelled() }}
|
||||
with:
|
||||
# Each stale label or close costs about 2 operations and posts one
|
||||
# comment, so 800 stays under GitHub's limit of 500 comments an hour.
|
||||
# comment, so 800 stays under GitHub's limit of 500 comments an hour
|
||||
# together with the notice step's NOTICE_LIMIT comments.
|
||||
# Runs that stop early continue from the same place the next day.
|
||||
operations-per-run: 800
|
||||
ascending: true
|
||||
|
|
@ -33,13 +71,13 @@ jobs:
|
|||
# Update its filters when they change.
|
||||
|
||||
# Issues
|
||||
days-before-issue-stale: 90
|
||||
days-before-issue-close: 14
|
||||
days-before-issue-stale: ${{ env.ISSUE_STALE_DAYS }}
|
||||
days-before-issue-close: ${{ env.ISSUE_CLOSE_DAYS }}
|
||||
close-issue-reason: not_planned
|
||||
exempt-all-issue-assignees: true
|
||||
exempt-all-issue-milestones: true
|
||||
stale-issue-message: |
|
||||
This issue has had no activity for 90 days, so it will be closed in 14 days.
|
||||
This issue has had no activity for ${{ env.ISSUE_STALE_DAYS }} days, so it will be closed in ${{ env.ISSUE_CLOSE_DAYS }} days.
|
||||
|
||||
If it's a bug that still happens on the latest OrcaSlicer release, please leave a comment with the version you tested. If it's a feature request you still want, please leave a comment saying so. Either one keeps it open.
|
||||
close-issue-message: |
|
||||
|
|
@ -49,20 +87,21 @@ jobs:
|
|||
|
||||
# PRs: only PRs where we asked the author for something
|
||||
only-pr-labels: "wait for response"
|
||||
days-before-pr-stale: 90
|
||||
days-before-pr-close: 14
|
||||
exempt-draft-pr: true
|
||||
days-before-pr-stale: ${{ env.PR_STALE_DAYS }}
|
||||
days-before-pr-close: ${{ env.PR_CLOSE_DAYS }}
|
||||
# Drafts aren't exempt because the notice step removes the label from drafts without a notice
|
||||
exempt-draft-pr: false
|
||||
exempt-all-pr-assignees: true
|
||||
exempt-all-pr-milestones: true
|
||||
delete-branch: false
|
||||
stale-pr-message: |
|
||||
We asked for changes or more information on this PR, and there has been no activity for 90 days. It will be closed in 14 days.
|
||||
We asked for changes or more information on this PR, and nothing has happened on it for at least ${{ env.PR_STALE_DAYS }} days. It will be closed in ${{ env.PR_CLOSE_DAYS }} days.
|
||||
|
||||
To keep it open, leave a comment. If you push new commits, please also leave a short comment so we know it's ready for another look. If you no longer have time for it, that is fine, just let us know.
|
||||
To keep it open, leave a comment. If you push new commits, please also leave a comment so we know it's ready for review again. If you no longer have time for it, that's fine. You can close it yourself.
|
||||
close-pr-message: |
|
||||
This PR was closed because we did not hear back after the reminder. Thank you for the work you put into it.
|
||||
This PR was closed because we did not get a reply after the reminder. Thank you for the work you put into it.
|
||||
|
||||
If you want to continue, push your changes and reopen it, or open a new PR.
|
||||
If you want to continue, open a new PR and link this one. You can also leave a comment here, and a team member can reopen it.
|
||||
|
||||
# The stale bot checks exemptions before activity, so it never comes back
|
||||
# to a stale item that became exempt. Remove the label from those here.
|
||||
|
|
@ -77,8 +116,8 @@ jobs:
|
|||
--json number,assignees,milestone \
|
||||
--jq '.[] | select((.assignees | length > 0) or .milestone != null) | .number'
|
||||
gh pr list -R "$GITHUB_REPOSITORY" --label stale --state open --limit 1000 \
|
||||
--json number,isDraft,assignees,milestone,labels \
|
||||
--jq '.[] | select(.isDraft or (.assignees | length > 0) or .milestone != null
|
||||
--json number,assignees,milestone,labels \
|
||||
--jq '.[] | select((.assignees | length > 0) or .milestone != null
|
||||
or ([.labels[].name] | index("wait for response") | not)) | .number'
|
||||
} | while read -r n; do
|
||||
gh api -X DELETE "repos/$GITHUB_REPOSITORY/issues/$n/labels/stale" --silent < /dev/null ||
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -55,3 +55,5 @@ __pycache__/
|
|||
/.test/
|
||||
docs/superpowers/
|
||||
ctest_results.xml
|
||||
.superpowers/
|
||||
docs/sf-plan/
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@ ctest --test-dir ./tests/libslic3r -C Release # individual suite
|
|||
ctest --test-dir ./tests/fff_print -C Release
|
||||
```
|
||||
|
||||
To run the app and see or drive it (reproduce an issue, capture before/after screenshots, script GUI steps), use its MCP server: [tools/mcp/README.md](tools/mcp/README.md) launches it and drives it from a shell, Python or a replayable script, and the design is in [docs/HLSD/mcp-server.md](docs/HLSD/mcp-server.md).
|
||||
|
||||
The MCP sweep's tests (`tools/mcp/run_sweep.py`) are designed top down: [tools/mcp/TESTS.md](tools/mcp/TESTS.md) holds the rules and the index, and each area's entries are in `tools/mcp/test-entries/`. Before writing or changing a test, add or update its entry (what it tests, the checks that decide it, what it leaves out) and have the entry reviewed. Keep the entry in step with the test.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Docs live in `docs/`; the high-level design of a subsystem goes in `docs/HLSD/<subsystem>.md`.
|
||||
|
|
|
|||
|
|
@ -110,6 +110,15 @@ There are more PRs than reviewers can handle, so we may close a PR that doesn't
|
|||
|
||||
You're welcome to open a new PR once the change meets this guide. Please link the old PR in the description, so reviewers can see the earlier discussion. Thank you for the time you put into it.
|
||||
|
||||
We also close PRs that have been inactive for a long time. A bot first leaves a comment saying the PR will be closed in 14 days. It does this when:
|
||||
|
||||
- We asked you for changes or more information, and nothing has happened for 90 days.
|
||||
- The PR has conflicts with the main branch, and nothing has happened for 90 days.
|
||||
- Nobody on the team has reviewed or commented on the PR, and nothing has happened for 180 days.
|
||||
- The PR is a draft, and nothing has happened for 180 days.
|
||||
|
||||
"Nothing has happened" means no comment, review or new commit from a person. To keep the PR open, leave a comment.
|
||||
|
||||
## Security issues
|
||||
|
||||
Please don't report security problems in a public issue. See [SECURITY.md](SECURITY.md).
|
||||
|
|
|
|||
|
|
@ -250,4 +250,4 @@ The OrcaSlicer logo was designed by community member [Justin Levine](https://git
|
|||
- **OrcaSlicer** is licensed under the GNU Affero General Public License, version 3.
|
||||
- The **GNU Affero General Public License**, version 3 ensures that if you use any part of this software in any way (even behind a web server), your software must be released under the same license.
|
||||
- OrcaSlicer includes a **pressure advance calibration pattern test** adapted from Andrew Ellis' generator, which is licensed under GNU General Public License, version 3. Ellis' generator is itself adapted from a generator developed by Sineos for Marlin, which is licensed under GNU General Public License, version 3.
|
||||
- The **Bambu networking plugin** is based on non-free libraries from BambuLab. It is optional to the OrcaSlicer and provides extended functionalities for Bambulab printer users.
|
||||
- The **Bambu networking plugin** is based on non-free libraries from BambuLab. It is optional to OrcaSlicer and provides extended functionalities for Bambulab printer users.
|
||||
|
|
|
|||
3
deps/OpenCV/OpenCV.cmake
vendored
3
deps/OpenCV/OpenCV.cmake
vendored
|
|
@ -82,6 +82,9 @@ orcaslicer_add_cmake_project(OpenCV
|
|||
-DWITH_IMGCODEC_GIF=OFF
|
||||
-DWITH_KLEIDICV=OFF
|
||||
-DENABLE_PRECOMPILED_HEADERS=OFF
|
||||
# Build only the baseline CPU code, without the per-CPU copies OpenCV picks from at runtime.
|
||||
# Orca's image work is too light to gain from them, and they make OpenCV slower to build and the app bigger.
|
||||
-DCPU_DISPATCH=
|
||||
-DINSTALL_TESTS=OFF
|
||||
-DINSTALL_C_EXAMPLES=OFF
|
||||
-DINSTALL_PYTHON_EXAMPLES=OFF
|
||||
|
|
|
|||
2
deps/wxWidgets/wxWidgets.cmake
vendored
2
deps/wxWidgets/wxWidgets.cmake
vendored
|
|
@ -44,7 +44,7 @@ endif ()
|
|||
orcaslicer_add_cmake_project(
|
||||
wxWidgets
|
||||
GIT_REPOSITORY "https://github.com/OrcaSlicer/Orca-deps-wxWidgets"
|
||||
GIT_TAG b44c39c100975a0ac0e46f937aa3f3eae5e18631
|
||||
GIT_TAG 89844cb1f80b17a5916d5274cd88317cac3e2a3c
|
||||
# A shallow clone fetches only the branch head, so checking out a pinned commit fails once the
|
||||
# branch moves past it.
|
||||
GIT_SHALLOW OFF
|
||||
|
|
|
|||
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
// OrcaSlicer: let automation (the MCP server) record items through the test-engine hooks, which
|
||||
// ImGuiWrapper implements. ImGui calls them only while ImGuiContext::TestEngineHookItems is set.
|
||||
#define IMGUI_ENABLE_TEST_ENGINE
|
||||
|
||||
//---- Define assertion handler. Defaults to calling assert().
|
||||
// If your macro uses multiple statements, make sure is enclosed in a 'do { .. } while (0)' block so it can be used as a single statement.
|
||||
//#define IM_ASSERT(_EXPR) MyAssert(_EXPR)
|
||||
|
|
|
|||
|
|
@ -759,7 +759,8 @@ enum ImGuiItemStatusFlags_
|
|||
ImGuiItemStatusFlags_Openable = 1 << 20, //
|
||||
ImGuiItemStatusFlags_Opened = 1 << 21, //
|
||||
ImGuiItemStatusFlags_Checkable = 1 << 22, //
|
||||
ImGuiItemStatusFlags_Checked = 1 << 23 //
|
||||
ImGuiItemStatusFlags_Checked = 1 << 23, //
|
||||
ImGuiItemStatusFlags_Inputable = 1 << 24 // [OrcaSlicer, as upstream] Takes typed input (a slider or drag without ImGuiSliderFlags_NoInput, an input field)
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
@ -2666,17 +2667,25 @@ extern void ImGuiTestEngineHook_ItemInfo(ImGuiContext* ctx, ImGuiID id,
|
|||
extern void ImGuiTestEngineHook_IdInfo(ImGuiContext* ctx, ImGuiDataType data_type, ImGuiID id, const void* data_id);
|
||||
extern void ImGuiTestEngineHook_IdInfo(ImGuiContext* ctx, ImGuiDataType data_type, ImGuiID id, const void* data_id, const void* data_id_end);
|
||||
extern void ImGuiTestEngineHook_Log(ImGuiContext* ctx, const char* fmt, ...);
|
||||
// OrcaSlicer: what a field shows and what kind of widget it is ("slider", "drag", "input", "multiline", "combo"), and the
|
||||
// text TextEx() draws, for automation; upstream's test engine reads these by other means.
|
||||
extern void ImGuiTestEngineHook_ItemValue(ImGuiContext* ctx, ImGuiID id, const char* kind, const char* value, ImGuiItemStatusFlags flags);
|
||||
extern void ImGuiTestEngineHook_Text(ImGuiContext* ctx, const ImRect& bb, const char* text, const char* text_end);
|
||||
#define IMGUI_TEST_ENGINE_ITEM_VALUE(_ID,_KIND,_VALUE,_FLAGS) if (g.TestEngineHookItems) ImGuiTestEngineHook_ItemValue(&g, _ID, _KIND, _VALUE, _FLAGS)
|
||||
#define IMGUI_TEST_ENGINE_TEXT(_BB,_TEXT,_TEXT_END) if (g.TestEngineHookItems) ImGuiTestEngineHook_Text(&g, _BB, _TEXT, _TEXT_END)
|
||||
#define IMGUI_TEST_ENGINE_ITEM_ADD(_BB,_ID) if (g.TestEngineHookItems) ImGuiTestEngineHook_ItemAdd(&g, _BB, _ID) // Register item bounding box
|
||||
#define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) if (g.TestEngineHookItems) ImGuiTestEngineHook_ItemInfo(&g, _ID, _LABEL, _FLAGS) // Register item label and status flags (optional)
|
||||
#define IMGUI_TEST_ENGINE_LOG(_FMT,...) if (g.TestEngineHookItems) ImGuiTestEngineHook_Log(&g, _FMT, __VA_ARGS__) // Custom log entry from user land into test log
|
||||
#define IMGUI_TEST_ENGINE_ID_INFO(_ID,_TYPE,_DATA) if (g.TestEngineHookIdInfo == id) ImGuiTestEngineHook_IdInfo(&g, _TYPE, _ID, (const void*)(_DATA));
|
||||
#define IMGUI_TEST_ENGINE_ID_INFO2(_ID,_TYPE,_DATA,_DATA2) if (g.TestEngineHookIdInfo == id) ImGuiTestEngineHook_IdInfo(&g, _TYPE, _ID, (const void*)(_DATA), (const void*)(_DATA2));
|
||||
#define IMGUI_TEST_ENGINE_ID_INFO2(_ID,_TYPE,_DATA,_DATA2) if (g.TestEngineHookItems || g.TestEngineHookIdInfo == id) ImGuiTestEngineHook_IdInfo(&g, _TYPE, _ID, (const void*)(_DATA), (const void*)(_DATA2));
|
||||
#else
|
||||
#define IMGUI_TEST_ENGINE_ITEM_ADD(_BB,_ID) do { } while (0)
|
||||
#define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) do { } while (0)
|
||||
#define IMGUI_TEST_ENGINE_LOG(_FMT,...) do { } while (0)
|
||||
#define IMGUI_TEST_ENGINE_ID_INFO(_ID,_TYPE,_DATA) do { } while (0)
|
||||
#define IMGUI_TEST_ENGINE_ID_INFO2(_ID,_TYPE,_DATA,_DATA2) do { } while (0)
|
||||
#define IMGUI_TEST_ENGINE_ITEM_VALUE(_ID,_KIND,_VALUE,_FLAGS) do { } while (0)
|
||||
#define IMGUI_TEST_ENGINE_TEXT(_BB,_TEXT,_TEXT_END) do { } while (0)
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -234,6 +234,7 @@ void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags)
|
|||
|
||||
ImRect bb(text_pos, text_pos + text_size);
|
||||
ItemSize(text_size, 0.0f);
|
||||
IMGUI_TEST_ENGINE_TEXT(bb, text_begin, text_end);
|
||||
ItemAdd(bb, 0);
|
||||
}
|
||||
else
|
||||
|
|
@ -243,6 +244,7 @@ void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags)
|
|||
|
||||
ImRect bb(text_pos, text_pos + text_size);
|
||||
ItemSize(text_size, 0.0f);
|
||||
IMGUI_TEST_ENGINE_TEXT(bb, text_begin, text_end);
|
||||
if (!ItemAdd(bb, 0))
|
||||
return;
|
||||
|
||||
|
|
@ -837,6 +839,10 @@ bool ImGui::InvisibleButton(const char* str_id, const ImVec2& size_arg, ImGuiBut
|
|||
bool hovered, held;
|
||||
bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags);
|
||||
|
||||
#ifdef IMGUI_ENABLE_TEST_ENGINE
|
||||
ImGuiContext& g = *GImGui;
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, str_id, window->DC.LastItemStatusFlags);
|
||||
#endif
|
||||
return pressed;
|
||||
}
|
||||
|
||||
|
|
@ -1329,6 +1335,7 @@ bool ImGui::ImageTextButton(const ImVec2& button_size, const char* text, ImTextu
|
|||
|
||||
bool hovered, held;
|
||||
bool pressed = ButtonBehavior(bb, id, &hovered, &held);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, text, window->DC.LastItemStatusFlags);
|
||||
|
||||
// Render
|
||||
const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);
|
||||
|
|
@ -1556,7 +1563,8 @@ bool ImGui::RadioButton(const char* label, bool active)
|
|||
if (label_size.x > 0.0f)
|
||||
RenderText(label_pos, label);
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | ImGuiItemStatusFlags_Checkable | (active ? ImGuiItemStatusFlags_Checked : 0));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "radio", "", 0);
|
||||
return pressed;
|
||||
}
|
||||
|
||||
|
|
@ -1603,7 +1611,8 @@ bool ImGui::BBLRadioButton(const char *label, bool active)
|
|||
if (g.LogEnabled) LogRenderedText(&label_pos, active ? "(x)" : "( )");
|
||||
if (label_size.x > 0.0f) RenderText(label_pos, label);
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | ImGuiItemStatusFlags_Checkable | (active ? ImGuiItemStatusFlags_Checked : 0));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "radio", "", 0);
|
||||
return pressed;
|
||||
}
|
||||
|
||||
|
|
@ -2052,6 +2061,8 @@ bool ImGui::BeginCombo(const char* label, const char* preview_value, ImGuiComboF
|
|||
popup_open = true;
|
||||
}
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | ImGuiItemStatusFlags_Openable | (popup_open ? ImGuiItemStatusFlags_Opened : 0));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "combo", preview_value, 0);
|
||||
if (!popup_open)
|
||||
return false;
|
||||
|
||||
|
|
@ -2168,6 +2179,8 @@ bool ImGui::BBLBeginCombo(const char *label, const char *preview_value, ImGuiCom
|
|||
popup_open = true;
|
||||
}
|
||||
if (push_color_count > 0) { ImGui::PopStyleColor(push_color_count); }
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | ImGuiItemStatusFlags_Openable | (popup_open ? ImGuiItemStatusFlags_Opened : 0));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "combo", preview_value, 0);
|
||||
if (!popup_open) return false;
|
||||
|
||||
if (has_window_size_constraint) {
|
||||
|
|
@ -2933,7 +2946,8 @@ bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data,
|
|||
if (label_size.x > 0.0f)
|
||||
RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label);
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | (temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "drag", value_buf, temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0);
|
||||
return value_changed;
|
||||
}
|
||||
|
||||
|
|
@ -3019,7 +3033,8 @@ bool ImGui::BBLDragScalar(const char *label, ImGuiDataType data_type, void *p_da
|
|||
if (label_size.x > 0.0f) RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label);
|
||||
if (push_color_count) { ImGui::PopStyleColor(1); }
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | (temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "drag", value_buf, temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0);
|
||||
return value_changed;
|
||||
}
|
||||
|
||||
|
|
@ -3643,7 +3658,8 @@ bool ImGui::SliderScalar(const char* label, ImGuiDataType data_type, void* p_dat
|
|||
if (label_size.x > 0.0f)
|
||||
RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label);
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | (temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "slider", value_buf, temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0);
|
||||
return value_changed;
|
||||
}
|
||||
|
||||
|
|
@ -3719,7 +3735,8 @@ bool ImGui::BBLSliderScalarIn(const char *label, ImGuiDataType data_type, void *
|
|||
float value_size = CalcTextSize(value_buf).x;
|
||||
RenderTextClipped(ImVec2(frame_bb.Min.x + end_x,frame_bb.Min.y),ImVec2(frame_bb.Max.x + value_size,frame_bb.Max.y), value_buf, value_buf_end, NULL, ImVec2(0.5f, 0.5f));
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | (temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "slider", value_buf, temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0);
|
||||
return value_changed;
|
||||
}
|
||||
|
||||
|
|
@ -3833,7 +3850,15 @@ bool ImGui::BBLSliderScalar(const char *label, ImGuiDataType data_type, void *p_
|
|||
|
||||
if (label_size.x > 0.0f) RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label);
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | (temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0));
|
||||
#ifdef IMGUI_ENABLE_TEST_ENGINE
|
||||
if (g.TestEngineHookItems)
|
||||
{
|
||||
char value_buf[64];
|
||||
DataTypeFormatString(value_buf, IM_ARRAYSIZE(value_buf), data_type, p_data, format);
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, "slider", value_buf, temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0);
|
||||
}
|
||||
#endif
|
||||
return value_changed;
|
||||
}
|
||||
|
||||
|
|
@ -5564,7 +5589,8 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_
|
|||
if (value_changed && !(flags & ImGuiInputTextFlags_NoMarkEdited))
|
||||
MarkItemEdited(id);
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags | (is_readonly ? 0 : ImGuiItemStatusFlags_Inputable));
|
||||
IMGUI_TEST_ENGINE_ITEM_VALUE(id, is_multiline ? "multiline" : "input", is_password ? "" : buf, is_readonly ? 0 : ImGuiItemStatusFlags_Inputable);
|
||||
if ((flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0)
|
||||
return enter_pressed;
|
||||
else
|
||||
|
|
@ -7219,7 +7245,7 @@ bool ImGui::BBLImageSelectable(ImTextureID user_texture_id, const ImVec2& size_a
|
|||
if (pressed && (window->Flags & ImGuiWindowFlags_Popup) && !(flags & ImGuiSelectableFlags_DontClosePopups) && !(g.CurrentItemFlags & ImGuiItemFlags_SelectableDontClosePopup))
|
||||
CloseCurrentPopup();
|
||||
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, label, window->DC.LastItemStatusFlags);
|
||||
IMGUI_TEST_ENGINE_ITEM_INFO(id, NULL, window->DC.LastItemStatusFlags);
|
||||
|
||||
return pressed;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -300,14 +300,14 @@ failure; so is a tool that eats the press and silently kills orbit.
|
|||
A tool that mutates nothing, has no commit, and cannot fail — and therefore has no home in this
|
||||
codebase. Current state, verified:
|
||||
|
||||
- Offer row `{"measure", "Measure", 6, …}` (`DesignOffer.hpp:120`) has `action == nullptr` and
|
||||
- Offer row `{"design_measure", "Measure", 6, …}` (`DesignOffer.hpp:120`) has `action == nullptr` and
|
||||
`refusal == nullptr`. The table's own contract (`DesignOffer.hpp:43-48`) is *"nullptr → kernel
|
||||
support exists, no GUI path yet (row shows disabled)"*, so the row renders as
|
||||
**"Measure (no GUI route)"** and is permanently disabled (`DesignPanel.cpp:6519`). With no
|
||||
refusal in the row, it contributes nothing to the family's "why" line either.
|
||||
- The maths exists, for MCP callers only: `resolve_ref` + `measure` (`McpControl.cpp:522`, `:546`)
|
||||
— refs `{face|edge|point}`, distance = `|pa - pb|` of **representative points** (face centroid,
|
||||
edge mid-sample), angle = `acos(da·db)` when both refs carry a direction.
|
||||
- The maths exists, for MCP callers only: the `design_measure` CAD tool (`cad_measure` in
|
||||
`Mcp/Tools/DesignInspectTools.cpp`) — refs `{face|edge|point}`, distance = `|pa - pb|` of **representative
|
||||
points** (face centroid, edge mid-sample), angle = `acos(da·db)` when both refs carry a direction.
|
||||
- The correct OCCT primitive is already linked and already used: `BRepExtrema_DistShapeShape`
|
||||
(`GeometryEngine.cpp:31`, `:457`).
|
||||
- The Prepare tab ships a full measure gizmo — `GLGizmoMeasure` (`src/slic3r/GUI/Gizmos/`) over
|
||||
|
|
@ -383,7 +383,7 @@ the same label primitive the dimension chain already draws (`render_dimensioning
|
|||
| `Esc` | `TwoRefs→OneRef→Exit` | ladder routes it | — | the ladder already handles "tool armed" |
|
||||
| any key | — | swallowed while the field is open | — | a query tool must not steal letters: no tool keys while Measure is armed |
|
||||
| `MiddleDrag`/`RightDrag` | — | — | orbit/pan | a 3D measurement is unreadable from one angle; the camera must stay live *inside* the tool, exactly like Select |
|
||||
| MCP `measure` | same engine | — | — | the RPC becomes one caller of `measure_refs`, so the agent surface and the GUI cannot disagree |
|
||||
| MCP `design_measure` | same engine | — | — | the RPC becomes one caller of `measure_refs`, so the agent surface and the GUI cannot disagree |
|
||||
|
||||
### 9.10 Measure — three friction points, and how the architecture prevents them
|
||||
|
||||
|
|
@ -409,7 +409,7 @@ lambda happened to be built rather than by anything the user can see.
|
|||
|
||||
### 10.1 The architectural claim: there are two Dimension tools, and they disagree
|
||||
|
||||
| | click-to-place (`Mode::Dimension`) | selection-based (the `sk_dimension` row) |
|
||||
| | click-to-place (`Mode::Dimension`) | selection-based (the `sketch_dimension` row) |
|
||||
|---|---|---|
|
||||
| entry | arm the tool, pick in the viewport (`:10651`) | select first, then apply (`DesignCanvas.cpp:1417-1430`) |
|
||||
| kinds it can make | Length, Diameter, Radius, Distance, DistanceToLine | **also Angle between two lines** |
|
||||
|
|
@ -437,14 +437,17 @@ cleared anyway (`:10689-10699`); abort a value field and the placed dimension **
|
|||
its measured value (`cancel_dimension_value`, `:2174` — deliberate, but it means a cancelled
|
||||
gesture has already added a constraint, and nothing says so).
|
||||
|
||||
**`apply_dimension` records a poison value.** Its per-case thresholds move nothing for
|
||||
`v <= 0` (Length/Diameter/Radius, `:611-613`) or `v < 0` (Distance/DistanceToLine, `:622`, `:639`) —
|
||||
and then `record_dimension_constraint(v)` runs **unconditionally** (`:659`). The file's own sibling
|
||||
says it best, at the socket boundary: *"a negative/zero/NaN value that moved nothing would still be
|
||||
pushed to the solver as a constraint it must satisfy and cannot, silently corrupting the sketch
|
||||
rather than failing. (`apply_dimension` has the same flaw for any other caller; this guard protects
|
||||
the socket, not the tool.)"* (`McpControl.cpp:1572-1577`). So the agent surface validates and the GUI
|
||||
does not — the GUI is the less safe caller of its own function.
|
||||
**`apply_dimension` refuses an out-of-range value before it records anything.** Its per-case
|
||||
thresholds move nothing for `v <= 0` (Length/Diameter/Radius, `:611-613`) or `v < 0`
|
||||
(Distance/DistanceToLine, `:622`, `:639`), and `record_dimension_constraint(v)` after them runs
|
||||
**unconditionally** (`:659`): a negative, zero or NaN value that moved nothing would be pushed to the
|
||||
solver as a constraint it must satisfy and cannot, silently corrupting the sketch. So a guard at the
|
||||
top of `apply_dimension` refuses a value that is not finite, not above zero for a length, radius or
|
||||
diameter, or negative for a distance, and says why on the status line, before it moves or records
|
||||
anything. The `sketch_set_value` CAD tool (`Mcp/Tools/DesignSketchTools.cpp`) checks the same rule, and refuses a
|
||||
selection with nothing to dimension, before it calls `apply_dimension`, so that its call fails with
|
||||
the reason rather than reporting a value the sketch tool refused only on its status line. The GUI
|
||||
and the agent surface are equally safe callers of the function.
|
||||
|
||||
**`record_dimension_constraint` never dedupes at all.** It `push_back`s unconditionally
|
||||
(`:674`, `:684`, `:691`, `:700`), so applying the selection-path dimension twice leaves **two**
|
||||
|
|
@ -523,11 +526,12 @@ Three rules the type enforces, each closing a defect above:
|
|||
contradiction you can see. `drive == Reference` renders `measured` only, and the palette is the
|
||||
one already in the tab (green quote = measured, driving colour = driven).
|
||||
2. **`apply(value)` returns a `WriteOutcome`** (`Ok | ClampedTo | Refused`, the base-operator type
|
||||
from §0.2) — the same type for the solver path, the geometric path and the socket. The socket
|
||||
guard already written in `McpControl.cpp:1572-1577` moves *into* `apply`, so the GUI cannot be the
|
||||
unsafe caller of its own function any more. `Refused` keeps the field open with the typed text
|
||||
and the reason, which is also what makes the `Coincident`-flip reversible: the dimension keeps
|
||||
its `type` and only its value changes.
|
||||
from §0.2) — the same type for the solver path, the geometric path and the MCP server. The
|
||||
range guard `apply_dimension` runs becomes `apply`'s `Refused`, so every caller learns of a
|
||||
refusal from the result rather than from the status line, and `sketch_set_value` in
|
||||
`Mcp/Tools/DesignSketchTools.cpp` keeps no copy of the check. `Refused` keeps the field open with the typed
|
||||
text and the reason, which is also what makes the `Coincident`-flip reversible: the dimension
|
||||
keeps its `type` and only its value changes.
|
||||
3. **One dimension per (type, operand pair) lives in one `std::vector<Dimension>`**, and the
|
||||
constraint slot is a *projection* of it (`upsert` semantics from `:1074-1130`, kept). The click
|
||||
path and the selection path both become thin callers of one `Dimension` builder, so the operand
|
||||
|
|
@ -611,7 +615,7 @@ Constrain session on a *committed* sketch reports "sketching", and the panel has
|
|||
property of a sketch; the mode is a way of editing one.
|
||||
|
||||
Constraints are also the last large block of verbs living outside the offer. The offer has 92 rows
|
||||
(`DesignOffer.hpp`) and the whole constraint vocabulary is **one** of them (`sk_constrain`, `:168`);
|
||||
(`DesignOffer.hpp`) and the whole constraint vocabulary is **one** of them (`sketch_constrain`);
|
||||
the other 20 are toolbar buttons (`DesignPanel.cpp:1516-1539`). Five enum members have no button at
|
||||
all: `Distance` comes from the Dimension tool, `LockX`/`LockY` have solver bindings
|
||||
(`SketchSolver.cpp:191`, `:240`, `:245`) and only a label (`DesignPanel.cpp:8051`), `PointOnLine` is produced only as
|
||||
|
|
@ -1018,18 +1022,27 @@ corner drag solves the offset so that the *opposite* corner stays put (`:7690-77
|
|||
### 14.2 Verified current behaviour: the constraint table, read in the right direction
|
||||
|
||||
`confirm_transform` (`:8342-8445`) `remove_if`s — **returning true means REMOVED** — over every
|
||||
constraint that touches a target (`is_target` checks `ea`, `eb` and `ec`):
|
||||
constraint that touches a target (`is_target` checks `ea`, `eb` and `ec`).
|
||||
|
||||
A constraint whose every operand is a target moved with them under the one map, so it is kept unless
|
||||
it measures against the sketch's fixed frame or, under Scale, a size: `Fix`, `LockX`, `LockY` and
|
||||
`SymmetricAboutX/Y` are removed by every map, Horizontal and Vertical by Rotate, `DistanceX/Y` by
|
||||
Rotate and Scale, `Distance`, Radius and Diameter by Scale, and a `PointOnLine` with an offset by
|
||||
Scale. A rectangle moved, turned or scaled whole keeps its corners joined.
|
||||
|
||||
A constraint that reaches past the targets — to an entity left where it was, or to the origin or an
|
||||
axis — is judged by its class:
|
||||
|
||||
| Mode | Removed | Kept |
|
||||
|---|---|---|
|
||||
| Move | Coincident, PointOnLine, PointOnObject, Concentric, Symmetric, Midpoint, **Fix, LockX, LockY**, cross-entity `Distance` | Horizontal, Vertical, Parallel, Perpendicular, Angle, EqualLength, Radius, Diameter, Collinear, **self**-`Distance` |
|
||||
| Rotate | everything else — Coincident, Concentric, Tangent, Parallel, Perpendicular, Midpoint, Symmetric, PointOnLine/Object, Horizontal, Vertical, Angle, Fix, Lock | EqualLength, Radius, Diameter, self-`Distance` |
|
||||
| Move | Coincident, PointOnLine, PointOnObject, Concentric, Symmetric, Midpoint, **Fix, LockX, LockY**, `Distance` | Horizontal, Vertical, Parallel, Perpendicular, Angle, EqualLength, Radius, Diameter, Collinear |
|
||||
| Rotate | everything else — Coincident, Concentric, Tangent, Parallel, Perpendicular, Midpoint, Symmetric, PointOnLine/Object, Horizontal, Vertical, Angle, `Distance`, Fix, Lock | EqualLength, Radius, Diameter |
|
||||
| Scale | everything except the five orientation types | Horizontal, Vertical, Parallel, Perpendicular, Angle |
|
||||
| Array / PolarArray | additive: copies are appended and bound to their source through a ladder — lines get Parallel+EqualLength (linear) or EqualLength alone (polar), arcs/circles a per-copy Radius plus Concentric when the polar pivot *is* the source's centre | the originals are untouched |
|
||||
|
||||
Then `resolve_live()`. The rationale in the comment is real — *"Surviving classes are satisfied by
|
||||
construction; the re-solve folds in the new placement"* — and the array ladder is the same
|
||||
degrade-and-keep-the-first-set pattern as Batch 13's fillet, which is the right instinct.
|
||||
Then `resolve_live()`. What is kept holds by construction, so the re-solve moves nothing, and the
|
||||
array ladder is the same degrade-and-keep-the-first-set pattern as Batch 13's fillet, which is the
|
||||
right instinct.
|
||||
|
||||
### 14.3 The defects
|
||||
|
||||
|
|
@ -1039,15 +1052,10 @@ degrade-and-keep-the-first-set pattern as Batch 13's fillet, which is the right
|
|||
`reset_tf(); // drop any in-progress transform gizmo` (`:295`). So arming Line with a pending
|
||||
fillet keeps the fillet, and arming Line with a pending rotation **throws the rotation away** —
|
||||
targets picked, value dialled or typed, ghost visible. Same gesture, opposite outcome, no message.
|
||||
2. **The keep/drop table over-removes, silently.** For every mode there are constraint types the map
|
||||
provably preserves that are removed anyway: Move removes Coincident/PointOnLine/PointOnObject even
|
||||
when *all* their operands are targets (a rigid translation of a whole loop preserves them); Rotate
|
||||
removes Coincident, Concentric, Tangent, Parallel, Perpendicular, Midpoint, Symmetric and
|
||||
PointOnObject although a rotation preserves all of them; Scale removes Coincident, Tangent,
|
||||
Midpoint, Symmetric, PointOnLine, PointOnObject and EqualLength although a uniform scale preserves
|
||||
them (and it keeps Horizontal/Vertical, which only a *non-uniform* scale would break — Scale here
|
||||
is uniform, so that half is right). The user sees badges vanish and the DoF readout climb, while the
|
||||
geometry — which *is* correctly mapped — looks fine, so the loss stays invisible until a later edit.
|
||||
2. **The class table keeps some relations a move breaks.** For a constraint reaching past the
|
||||
targets, Move keeps Tangent, Collinear, `DistanceX/Y` and `SymmetricAboutX/Y`, although translating one end
|
||||
of them carries it away from the other; the re-solve then pulls the moved geometry back toward
|
||||
the relation, undoing part of the move.
|
||||
3. **Move releases an explicit anchor.** `Fix`, `LockX` and `LockY` are removed by a translation. A
|
||||
point the user pinned to protect it can be moved, and the protection silently disappears. Either the
|
||||
map should obey the anchor (refuse, or carry it) or the release must be reported.
|
||||
|
|
@ -1135,10 +1143,10 @@ degrade-and-keep-the-first-set pattern as Batch 13's fillet, which is the right
|
|||
none of them these), so the family is reachable only from the offer. Either assign keys from the free
|
||||
letters (G I J K N Q U V W Y Z — K is already Constrain) or state that the family is deliberately
|
||||
offer-only: `snaporca-fqwu` counts 47 of 86 verbs with no shortcut, and this is a sixth of them.
|
||||
- **Batch 14 — derive the keep/drop table, do not maintain it.** `confirm_transform :8357-8387` is a
|
||||
hand-written per-type switch that over-removes in all three mutating modes; for each `(type, map)`
|
||||
pair the answer is a property of the map (does it preserve the relation?), with the genuine
|
||||
exceptions (`Fix`/`Lock`, an absolute `Angle`) named as exceptions.
|
||||
- **Batch 14 — derive the keep/drop table, do not maintain it.** For a constraint reaching past the
|
||||
targets, `confirm_transform` is a hand-written per-type switch, and its Move column keeps relations
|
||||
a translation breaks (14.3, 2); whether one end moving away from the other breaks a relation is a
|
||||
property of the map, with the genuine exceptions (`Fix`/`Lock`) named as exceptions.
|
||||
- **Phase 2 (3D) needs its batch list written before it starts** — otherwise it will be designed by
|
||||
whoever opens the file first.
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ Its coupling to the rest of the application is deliberately narrow. It adds no s
|
|||
slicing pipeline and touches neither the preset system nor `Tab`. It reaches the rest of Orca
|
||||
in two places: **Commit to Plate**, which hands finished solids to Prepare as ordinary model
|
||||
objects (by default one assembly object with a part per body, which keeps the bodies' relative
|
||||
placement, or one object per body), and one optional 3MF archive entry that carries the recipe.
|
||||
placement, or one object per body) in one Prepare undo step, named after the bodies the user
|
||||
named, and one optional 3MF archive entry that carries the recipe.
|
||||
Everything else is contained in `src/libslic3r/CAD/` and `src/slic3r/GUI/CAD/`.
|
||||
|
||||
The user-facing manual lives in the wiki
|
||||
|
|
@ -123,6 +124,13 @@ A Text feature follows the same rule: it stores the outlines it was vectorised i
|
|||
its string, font and height, so the project opens identically on a machine that lacks the font;
|
||||
the three parameters are only what an edit reopens the dialog with.
|
||||
|
||||
The recipe is copied into `Model::cad_recipe` after every document change
|
||||
(`DesignPanel::sync_recipe_to_model()`), so every save path writes it. A change marks the project
|
||||
modified the way other project data outside Prepare's undo stack does, with the backup's change
|
||||
mark and the plater's dirty flag, so the title, autosave and the unsaved-changes prompt of New
|
||||
Project and Open all see it. A project that holds only a design loads no objects; it still opens
|
||||
under its file's name, since `Plater::load_project()` counts a loaded recipe as a loaded project.
|
||||
|
||||
## The interaction contract
|
||||
|
||||
Three inputs carry the whole modelling loop — left click, right click and `Esc` — and the
|
||||
|
|
@ -162,7 +170,8 @@ rather than to its end points: a press that wandered past the budget at any mome
|
|||
navigation, even if it comes back to where it started, which is what stops a slow, careful
|
||||
orbit from ending in a menu. There is no time budget — a gesture that means something different
|
||||
when it is slow is exactly what the interaction charter rules out. The raycast uses the press
|
||||
position, not the release. The sketch tool sees a right press only once the release has shown it
|
||||
position, not the release, scaled to the canvas's GL pixels as every mouse event the canvas passes
|
||||
on is (two per logical pixel on a Retina display). The sketch tool sees a right press only once the release has shown it
|
||||
was a click: the press itself goes to the camera, which may pan or orbit with that button, and the
|
||||
canvas replays it to the tool on a stationary release. A tool that uses the click (to terminate a
|
||||
chain, say) keeps the menu closed. Past either budget the event is navigation, and navigation
|
||||
|
|
@ -320,10 +329,14 @@ The tab is a page of Orca's main window and answers to the same settings as Prep
|
|||
isometric from the front-right corner that Home returns to, not Prepare's front-left one.
|
||||
- **Viewport text.** The status line and the active tool's values are drawn by the canvas in
|
||||
its ImGui pass, so they go with the canvas: a top-level window over GL does not follow its
|
||||
frame and was left floating over other applications.
|
||||
frame and would be left floating over other applications.
|
||||
- **Undo.** The tab keeps its own history (the recipe is not part of Prepare's snapshots), but
|
||||
it has no Undo/Redo of its own: the top bar, `Ctrl+Z` and Edit drive it while the tab is
|
||||
shown, greyed to what an undo would actually do.
|
||||
shown, greyed to what an undo would actually do. Every change to the recipe is one step, a
|
||||
feature rename included, and an edit the kernel refuses leaves none and keeps what was
|
||||
redoable. A body's name and colour are saved with the recipe but are not in the history, and
|
||||
its visibility is view state. The history is not saved with the project, so a project opens
|
||||
with nothing to undo in the tab.
|
||||
- **Docking.** The sidebar docks like Prepare's — either side, floating, resized, or collapsed
|
||||
with the canvas's collapse button or `Shift+Tab` — through its own AUI manager under the
|
||||
toolbar, because Prepare's manages the Plater and the Plater is not on this page. The button is
|
||||
|
|
@ -345,24 +358,168 @@ most: its verbs are items of their own at the top of the menu rather than a fami
|
|||
is appended after the eight, so it moved no existing index, and it reads the same from the
|
||||
viewport and from a row of the Bodies list.
|
||||
|
||||
An invariant across 93 verbs and 20 selection kinds does not survive by review, so the map
|
||||
An invariant across 92 verbs and 20 selection kinds does not survive by review, so the map
|
||||
exists once, as data: `scripts/CAD/tool_atlas.json` carries every verb with its row, key, icon,
|
||||
accepted selections, preconditions and refusal string, and `scripts/CAD/gen_offer_table.py`
|
||||
emits `src/slic3r/GUI/CAD/DesignOffer.hpp` from it. The header is checked in and never
|
||||
hand-edited; `scripts/CAD/run-all-checks.sh` runs the generator with `--check` as its first
|
||||
rung, which is what makes "GENERATED — DO NOT EDIT" a fact rather than a request. The generator
|
||||
also refuses an atlas with a duplicate verb id, since `mcp_run_verb` resolves a verb by id and
|
||||
would make the second one unreachable.
|
||||
hand-edited; the `check_cad_offer_table.yml` workflow runs the generator with `--check` on every
|
||||
push and pull request that touches the atlas, the generator or the header, which is what makes
|
||||
"GENERATED — DO NOT EDIT" a fact rather than a request. The generator also refuses an atlas with a
|
||||
duplicate verb id, since a verb is resolved by id (`mcp_run_verb`, a command's key) and the second
|
||||
one would be unreachable, and a table in which an entry's name is not marked for translation in the
|
||||
`Design` context (`L_CONTEXT`): every name is a command's title, which a person sees translated, and
|
||||
the mark compiles to the bare string, so nothing at run time could tell it is missing.
|
||||
|
||||
The same table is the Design tab's Speed Dial actions and its automation commands, so the three cannot drift
|
||||
apart. The header's `kDesignTools` holds 127 entries: the 92 verbs with a menu item, and 35 commands with no
|
||||
menu item (`row` -1), such as `design_describe`, `sketch_draw` or `design_commit_to_plate`. An entry with a handler
|
||||
(`action`, the code its menu item runs) or a `tool` block is a command of the catalog, whose key is the entry's
|
||||
id and whose title is its name, unless it is a folded item: 88 commands. An entry with a handler does what its
|
||||
menu item does when it is called with no arguments, and has an action of its own in the Speed Dial. An entry
|
||||
with a `tool` block also runs silently, with arguments: the block is that form's access, params, examples and
|
||||
whether it reports a rejected rebuild in its reply, which the header carries as JSON text (`doc`) beside the
|
||||
entry's `access` and `ok_false`. An item
|
||||
whose tool is a variant of a command is folded into it (`"fold": {"into", "args"}`): it is no command, keeps its
|
||||
id, its place in the menu, its key and its Speed Dial action, and the command opens its tool when called with
|
||||
exactly the item's arguments, as Polar array is `sketch_pattern {type: "circular"}` and the Corner rectangle
|
||||
`sketch_draw {type: "rectangle_2_point"}`. 37 items fold into eight commands, the 24 shape items into
|
||||
`sketch_draw` among them. An entry with a handler and a block may name the arguments that choose its own item
|
||||
(`args`), as Boolean's Join item is `solid_boolean {operation: "join"}`, so that each of a command's variants opens
|
||||
the same way. Two items have neither a handler nor a block, Pattern on Curve and Align to, and are shown greyed:
|
||||
they are no command. Every command has a `section`, its heading in the names index the MCP server's
|
||||
`tool_list` gives, and `feature_row` marks the four items whose handler works on the Feature tree's selected
|
||||
row (Edit, Rename, Delete and Constrain sketch). `operations` names what a command that changes Prepare's model
|
||||
reaches of `GUI/Operations` (`design_commit_to_plate`'s `delete_objects`). `modal` marks the three entries whose handler opens a dialog
|
||||
that waits for an answer: a modal one for SVG (a file picker) and Color, which holds the call that opened it
|
||||
until it is answered, and the Design tab's own modeless dialog for Text, which does not.
|
||||
`kDesignSelectionIds` names the selection kinds in `OfferSel`'s order, the ids the verbs' `accepts` use.
|
||||
|
||||
The atlas and its generator sit in `scripts/CAD/` rather than in `docs/`: they are build inputs
|
||||
for a checked-in header, not documentation.
|
||||
|
||||
## Automation surface
|
||||
|
||||
`McpControl` exposes the document over JSON-RPC when `ORCA_CAD_MCP` is set in the environment,
|
||||
with `tools/orca_cad_mcp_bridge.py` as the client side. It describes the scene, queries
|
||||
topology, measures, and runs the same verbs the offer does — it re-implements nothing, so a
|
||||
scripted action and a clicked one cannot diverge. It is off unless the variable is set.
|
||||
The document is automated through the app's MCP server, on every platform, with the Design tab's commands, one
|
||||
per command entry of its table: what they are, how they are named and called, what each does and takes and which
|
||||
menu items call it are in [mcp-tools.md](mcp-tools.md), The Design tab's commands, and how the server holds them,
|
||||
their gate and their Speed Dial actions in [mcp-server.md](mcp-server.md). The commands
|
||||
(`Mcp/McpToolsDesign.hpp`, `Mcp/Tools/Design*.cpp`) describe the design, read topology, measure, and run the same
|
||||
verbs the offer does — they re-implement nothing, so a scripted action and a clicked one cannot diverge. Where a
|
||||
GUI action is bound to a selection, a card or a dialog, its work is split into a function both callers share, and
|
||||
the command calls that function with explicit arguments instead of driving the widgets; the functions the tab
|
||||
shares so are below.
|
||||
|
||||
The catalog holds the commands only when the CAD feature is on at startup, because the main window makes the
|
||||
Design page only then, so turning the feature on takes a restart. What a caller sees of that, and when the tab
|
||||
refuses a call, are in mcp-tools.md, The Design tab's commands.
|
||||
|
||||
Face and edge ids name faces and edges of the current model, and a rebuild renumbers them while a
|
||||
stale id still names a real face or edge, so the replies carry the model's `generation`: a call that
|
||||
passes ids with the `generation` they were read at is refused (`stale_ids`) once the model has moved
|
||||
on, rather than acting on another face or edge.
|
||||
|
||||
The commands add features through the kernel calls the cards use, named as the cards name them,
|
||||
one checkpoint per call. A rebuild that fails is taken back with `CadDocument::rollback()`, which
|
||||
leaves nothing to redo, and the status line says "Edit rejected" as it does for a refused GUI
|
||||
edit; the call reports the kernel's reason. A card's own Confirm in add mode does the same: a feature whose
|
||||
rebuild fails is taken back, and an add the card refuses or that adds nothing leaves no undo step, and either
|
||||
way the card stays open with the reason on the status line. Commit to Plate and Export STEP confirm an open card
|
||||
first, so that what is shown goes out, and stop where that Confirm does not take: nothing is sent or written and
|
||||
the Design tab stays in front. Planes are named as in the cards: a
|
||||
base plane through the modeling origin, the frame every feature uses, a datum Plane feature, or a
|
||||
planar face, which a sketch takes with its outward normal (`CadDocument::plane_of_face()`) and where a hole or a
|
||||
thread drills from the Hole card's inward face plane, its x along the face's longest edge
|
||||
(`CadDocument::inward_plane_of_face()`, shared with the card). A feature is read and edited as its
|
||||
card shows it: `feature_describe` and `feature_edit` share one table of each type's card fields and
|
||||
ranges, and an edit goes through `replace_feature()` as the card's Confirm does in edit mode. Numeric fields are
|
||||
set through `CadDocument::set_numeric_field()`, the allow-list expressions use, so a literal edit and a binding
|
||||
reach the same fields. A feature stores its body indices and face and edge ids as of the model just before it,
|
||||
and the rebuild replays them so; a Plane's, an Axis's and a Coordinate system's are the finished model's, where
|
||||
the engine reads them (`for_each_body_ref()`). `CadDocument::recompute()` records the bodies that existed just
|
||||
before each feature (`bodies_before`, not saved), and `CadDocument::history_before()` gives the history cut at a
|
||||
feature, without the undo and redo stacks and the display meshes, which `body_describe {before}` replays and the
|
||||
cards replay to list bodies when they edit. While a card that edits a feature is open, the viewport's pick is fed
|
||||
the model before the feature (but for those three), each of its bodies where the view draws the body it became
|
||||
(its placement, matched by identity, as its visibility is), and the Hole and Thread cards read the picked face's
|
||||
geometry from that model too. `CadDocument::for_each_feature_ref()` and, for a datum plane,
|
||||
`for_each_datum_ref()` are the kernel's own reference visitors, the lists that deleting and moving a feature
|
||||
remap, from which `feature_describe` reads `used_by`.
|
||||
|
||||
Commit to Plate and Export STEP… are split from their button and file dialog
|
||||
(`commit_to_plate()`, `export_step_to()`), so `design_commit_to_plate` and `design_export_step` run the GUI's own work,
|
||||
and `design_new` is New Design's `clear_document()` without the confirmation. The Feature tree's
|
||||
and Bodies list's row actions are split the same way, into cores that take an index
|
||||
(`delete_feature()`, `move_feature()`, `show_feature()`, `rename_feature()`, `delete_body()`,
|
||||
`rename_body()`, `set_body_color()`, `show_body()`), which the rows call with the selected one and
|
||||
the automation calls without selecting anything. A tree edit the kernel refuses has its features put back by the
|
||||
kernel, and `CadDocument::abandon_checkpoint()` drops the checkpoint and restores the redo branch it cleared, so
|
||||
no undo step is left. `design_select` selects through `mcp_select()` what a click would select.
|
||||
|
||||
A body's placement, where Commit to Plate and Export STEP send it, is view state the panel keeps per body
|
||||
(`m_body_xform`), keyed by the transient `uid` of the feature that made the body (`CadFeature::uid`), so that it
|
||||
follows the body when the bodies are renumbered. The Move / Rotate card and Place on Face (`place_on_face()`) set
|
||||
it, and so does `body_place` (mcp-tools.md, A body's placement). The section view and the
|
||||
view's switches have setters that take a value, which `view_set {tab: "design"}` uses where the toolbar and the
|
||||
rows only toggle, and `DesignCanvas::view_normal_to_sketch()` is the `N` key.
|
||||
|
||||
A sketch session opens through `begin_sketch_session()`, which a plane or face pick also runs, on the same plane
|
||||
frames, so a sketch on a base plane passes through the modeling origin. A committed sketch is re-opened in the session
|
||||
by `DesignCanvas::edit_sketch()` and `DesignSketchTool::begin_edit()`; mcp-tools.md (Behaviour a caller relies on)
|
||||
says what `sketch_edit` and the sketch commands then do. A committed sketch's loops come from
|
||||
`DesignSketchTool::loop_report(entities)`, which finds and numbers them over the whole sketch, as
|
||||
`region_entity_indices_with_holes()` numbers them; how a call names one is in mcp-tools.md (The selection). The
|
||||
viewport shows only the loops no extrude has taken, so its loops are numbered apart, and `DesignPanel::mcp_select()`
|
||||
selects a numbered loop by finding the shown loop with its entities (`display_region_of()`), refusing one an extrude
|
||||
took. `DesignPanel::default_revolve_axis_entity()` gives a sketch's only construction line, or none when it has none
|
||||
or several, which the Revolve card offers first as its axis. Inside a session, `DesignSketchTool`'s scripted entry
|
||||
points run the tools' own apply steps without a pointer: `fillet_scripted()` is the Fillet and Chamfer tools' Confirm
|
||||
(`confirm_op()`, which reports a refused value), `trim_scripted()` a Trim or Extend click (`apply_live_trim()`),
|
||||
`transform_scripted()` the transform gizmo's Confirm, for a move, rotate or scale and for a linear or circular
|
||||
pattern, `mirror_scripted()` the Mirror tool's, `offset_scripted()` the Offset tool's, `add_shape_scripted()` the last
|
||||
click of every drawing tool, which `sketch_draw` reaches by its `type` (the nineteen shapes, from a line to a polygon,
|
||||
built by the tool's own builder and grouping, with the constraints inferred exactly, and those the tool binds inside
|
||||
the shape at any slant, such as an oblique rectangle's right angles or a slot's tangencies, added where rounding left
|
||||
them out, batched as the tool's inference batches them; `make_polygon()` puts a polygon's side within 1e-9 rad of
|
||||
level or upright on an axis, because the rounding of its vertices' sines and cosines differs between platforms' math
|
||||
libraries and would leave a different set of sides exact on each), and `constrain_scripted()` a CONSTRAIN bar button
|
||||
or the Dimension tool, whose picks the planner it shares with the panel (`plan_entity_constraint()`,
|
||||
`write_plan_value()`, in `SketchEngine`) turns into constraints. Each keeps the armed tool and its sticky settings,
|
||||
and refuses while a gesture or a value field is pending, which the tool's apply step would take over. Text and SVG art
|
||||
have argument forms beside their dialog and file picker: `sketch_text` takes the Text dialog's outline and push
|
||||
(`DesignPanel::mcp_outline_text()`), and `sketch_insert_svg` adds an SVG file's outlines as Insert SVG does
|
||||
(`add_imported_regions`).
|
||||
|
||||
Topology reads come from the kernel: `GeometryEngine::surface_info()` gives a face's surface type,
|
||||
area and analytic numbers, `edge_faces()` the faces along each edge (one for a seam),
|
||||
`edge_convexity()` whether two faces meet in an outside or inside corner (OCCT's fillet classification,
|
||||
`ChFi3d::DefineConnectType`), and `min_distance()` the closest points of two shapes (OCCT's
|
||||
`BRepExtrema_DistShapeShape`). The Plane card's Confirm and the `construct_plane` command
|
||||
share `CadDocument::datum_plane_refusal()`, which refuses a construction that is missing a
|
||||
reference, names a face or edge no longer on the model, or puts a tangent plane on a face that is
|
||||
not a cylinder, so neither reaches the kernel's silent fallback to an offset plane; a refused
|
||||
Confirm leaves no undo step.
|
||||
|
||||
The Thread card's pick and `solid_thread` share `CadDocument::thread_target()` (the picked cylinder's
|
||||
axis frame) and `nearest_thread_standard()` (the size inferred from it). The Sweep card's path list
|
||||
holds Helix features as well as sketches, and a sweep along a helix is made with a binormal
|
||||
(`SketchEngine::make_sweep`). Thread, sweep and loft automation rebuilds through `recompute_guarded()`,
|
||||
as the cards do: the kernel works on a worker thread while the UI thread waits in `wxYield()` behind a progress
|
||||
dialog that appears after 300 ms, so the window stays live during a long build.
|
||||
|
||||
The tab borrows the app's shared camera when its page shows (`DesignPanel::on_tab_shown()`, which swaps it into
|
||||
the plater's slot) and gives it back when the page hides, so the Design view's camera is the one the camera tools
|
||||
act on while the tab is shown.
|
||||
|
||||
The viewport is a canvas target like Prepare's for the app's MCP server (`DesignCanvas::gl_canvas()`):
|
||||
`view_set {tab: "design"}` shows the tab and points its camera, `window_screenshot` captures the view
|
||||
(sketch overlay and status line included) and composites it into window captures, `mouse_gesture`
|
||||
clicks and drags it at pixels, so a left click picks and a right click opens the offer, and
|
||||
`widget_list` lists its in-canvas value fields. Keys sent with `keyboard_press` reach the panel's
|
||||
`wxEVT_CHAR_HOOK` as a real key press does, travelling up from the focused widget, so Escape,
|
||||
Enter and the tool shortcuts behave as they do for a person.
|
||||
|
||||
[mcp-tools.md](mcp-tools.md) describes the commands as a caller sees them, and [mcp-server.md](mcp-server.md) how
|
||||
the server holds them: the table they are made from and their gate.
|
||||
|
||||
## Where the code lives
|
||||
|
||||
|
|
@ -377,18 +534,32 @@ scripted action and a clicked one cannot diverge. It is off unless the variable
|
|||
| `src/slic3r/GUI/CAD/DesignRowList.*` | the Feature tree and Bodies lists, with per-row actions |
|
||||
| `src/slic3r/GUI/CAD/DesignCanvas.*` | viewport integration |
|
||||
| `src/slic3r/GUI/CAD/DesignSketchTool.*` | in-canvas sketching |
|
||||
| `src/slic3r/GUI/Mcp/McpToolsDesign.hpp`, `src/slic3r/GUI/Mcp/Tools/Design*.cpp` | the automation surface: the Design commands made from the table, their silent forms (`silent_forms()`) and their gate; `DesignTools.cpp` holds the gate, the registration and the Document heading's commands, and each other heading's are in a file of its own (`DesignSketchTools.cpp`, `DesignSolidTools.cpp` and so on) |
|
||||
| `src/slic3r/GUI/CAD/DesignInteraction.hpp` | the Esc level contract |
|
||||
| `src/slic3r/GUI/CAD/DesignOffer.hpp` | generated offer table |
|
||||
| `scripts/CAD/tool_atlas.json` | source of truth for the offer |
|
||||
| `src/slic3r/GUI/CAD/DesignOffer.hpp` | the generated table: the offer, the Speed Dial actions and the commands |
|
||||
| `scripts/CAD/tool_atlas.json` | source of truth for the table |
|
||||
|
||||
## Verification
|
||||
|
||||
The kernel is covered by Catch2 suites in `tests/libslic3r/` (`test_caddocument`,
|
||||
`test_sketchconstraints`, `test_sketchedit`, `test_sketchimport`, `test_sketchinference`,
|
||||
`test_sketchprofile`, `test_slvs_constraints`), which need no display;
|
||||
`scripts/CAD/run-kernel-tests.sh` builds only `libslic3r_tests` and runs them headless.
|
||||
`test_sketchprofile`, `test_slvs_constraints`), which need no display. They are part of
|
||||
`libslic3r_tests` in a CAD build and run under `ctest` and CI like any other suite;
|
||||
`libslic3r_tests "[CadDocument]"` runs the document's cases.
|
||||
|
||||
The GUI half is not covered by CI, which has no OpenGL canvas or synthetic input: the ladders
|
||||
in `scripts/CAD/` drive a running application in a local rig instead, and
|
||||
`scripts/CAD/run-all-checks.sh` is the gate that runs all of them. A green kernel run says
|
||||
nothing about the viewport, so the two are reported separately rather than as one number.
|
||||
The automation surface has its own checks. `slic3rutils_tests "[Mcp][CAD]"`
|
||||
(`tests/slic3rutils/test_mcp_cad.cpp`) runs the commands' argument checks and kernel calls on a
|
||||
`CadDocument` or a bare `DesignSketchTool`, with no panel, and checks the table and the commands the
|
||||
catalog holds; `scripts/CAD/test_gen_offer_table.py` checks the generator's refusals. On a live application,
|
||||
the MCP sweep's Design tests drive the commands through `tool_call` and, through the server's UI tools, the tab
|
||||
as a person does; `tools/mcp/test-entries/design.md` says what each checks. They need an English UI, and the
|
||||
MCP sweep runs them on the Linux AppImage; `tools/mcp/README.md` says how to run them by hand.
|
||||
|
||||
Three checks in `scripts/CAD/` drive a running app through its MCP server as an agent does and
|
||||
grade the sketch layer against arithmetic: `check-mcp-sketch.py`, `check-sketch-engine.py` and
|
||||
`check-sketch-engine-corpus.py`, which grades it against the vector geometry of real drawings.
|
||||
They need the MCP server and the CAD feature on and run on every platform; no CI job runs them.
|
||||
`scripts/CAD/README.md` says how to run each.
|
||||
|
||||
The offer table is checked in CI: the `check_cad_offer_table.yml` workflow fails when
|
||||
`DesignOffer.hpp` is not what `gen_offer_table.py` makes of `tool_atlas.json`.
|
||||
|
|
|
|||
|
|
@ -51,7 +51,10 @@ bare printable key in the frame hook would swallow that character in every text
|
|||
The dialog refuses such chords and `ShortcutRegistry::load()` drops them from the config.
|
||||
Space counts as typing. The speed dial's default is the one bare Space, and
|
||||
`MainFrame` leaves it to a focused control that uses Space itself (text fields, buttons,
|
||||
combo boxes), so it opens the dial from the canvases and the tab strip only.
|
||||
combo boxes), so it opens the dial from the canvases and the tab strip only. Selecting a page
|
||||
with a 3D view (Prepare, Preview, the Design tab) gives the view the keyboard: the page's own
|
||||
`SetFocus()` would hand it to its first focusable control, a sidebar control there, which keeps
|
||||
Space until the pointer enters the view.
|
||||
|
||||
`MainFrame::handle_global_shortcut` skips a chord that `KeyChord::edits_text()` reports
|
||||
while a text field has the focus (a wx text entry, spin control, web view or ImGui
|
||||
|
|
|
|||
564
docs/HLSD/mcp-server.md
Normal file
564
docs/HLSD/mcp-server.md
Normal file
|
|
@ -0,0 +1,564 @@
|
|||
# MCP Server
|
||||
|
||||
The MCP server lets an AI agent drive a running OrcaSlicer through the Model Context Protocol. A developer's agent
|
||||
reproduces a GitHub issue: it loads the files, picks presets, changes settings, clicks through the GUI, slices, takes
|
||||
screenshots before and after a fix and saves the steps as a replay. A user drives OrcaSlicer from Claude Code, Codex,
|
||||
Cursor or Claude Desktop. The server is off by default.
|
||||
|
||||
This document is the server's architecture and the principles its commands are built on. The commands themselves,
|
||||
how they are named and grouped, what each does and takes, which calls open a dialog and the behaviour a caller relies
|
||||
on, are in [mcp-tools.md](mcp-tools.md), and each command's description and schema, which `tool_describe` gives, is
|
||||
its manual. The Design tab, whose commands run on the same server, is in [design-tab.md](design-tab.md).
|
||||
|
||||
## Terms
|
||||
|
||||
- **Command**: one function the app can be asked to run, with a key (`object_mirror`), a JSON schema and a
|
||||
description. MCP lists it as a tool.
|
||||
- **Action**: an entry of the Speed Dial, the app's command palette. A command's actions run it with fixed
|
||||
arguments, and most of them are its menu items.
|
||||
- **Person's form**: a call whose arguments are exactly one of the command's actions'. It does what a person's pick
|
||||
of that action does, which may ask in a dialog; any other call runs from its arguments and opens nothing.
|
||||
- **Front end**: anything that runs commands: an MCP client over HTTP or the stdio bridge, Action Replay, the Run
|
||||
Script panel, a `--run` file, a plugin, and a person's pick in the Speed Dial or a menu.
|
||||
- **Job**: a call that runs on a thread of its own and can outlive its reply; `app_wait {for: "job"}` returns its
|
||||
result.
|
||||
- **Guard**: a command's class, `Inspect`, `Recover` or `Mutate`, which decides when it may run.
|
||||
- **Operation**: a function of the operations layer (`GUI/Operations/`), which holds what a command, a dialog and
|
||||
the plugin API share. A call's *background operation* is the slice, export or worker job it started and holds.
|
||||
- **Journal**: the session's record of the calls that changed something, which `replay_export` turns into a
|
||||
**replay**, a JSON file of calls that `replay_run`, `--run` and Action Replay run again.
|
||||
- **GUI instruments**: what driving the GUI needs beyond running commands: the UI inspector, the menu capture, ImGui
|
||||
item recording and, on Wayland, window-state hooks.
|
||||
|
||||
## Architecture
|
||||
|
||||
```
|
||||
MCP client ──HTTP──▶ McpEndpoint ◀──HTTP── orca-slicer --mcp-stdio ◀── stdio client
|
||||
(HTTP server, protocol, token, discovery file)
|
||||
│
|
||||
▼
|
||||
Action Replay ──▶ AutomationRuntime ── McpCore: arguments, guards, admission,
|
||||
Run Script ──▶ │ jobs (JobRegistry), Journal
|
||||
--run, plugins ─▶ │
|
||||
▼
|
||||
a person's pick ──▶ CommandCatalog (NativeCommands): Mcp/Tools/<Place>Tools.cpp
|
||||
│
|
||||
UiInvoker: every wx call on the UI thread
|
||||
│
|
||||
┌──────────────────┼───────────────────────┬────────────────────────┐
|
||||
▼ ▼ ▼ ▼
|
||||
Operations layer GUI automation: Capture: Replay engine,
|
||||
(GUI/Operations/) UiInspector, ModalTracker, ScreenCapture, Python runner
|
||||
│ SyntheticInput, page agent McpRecorder
|
||||
▼
|
||||
Plater, Tab, Sidebar, GCodeViewer and the other owners
|
||||
```
|
||||
|
||||
| Component | Its job | Code |
|
||||
|---|---|---|
|
||||
| `McpEndpoint` | The MCP server and nothing else: HTTP, the protocol, the request gate, the token, the discovery file, taking over a port another window gives up | `Mcp/McpEndpoint.cpp`, `McpHttpServer`, `McpProtocol` |
|
||||
| `AutomationRuntime` | Runs commands for every front end; owns the dispatch core, the jobs, the journal, the UI invoker, the `ModalTracker`, the recorder and the scopes a run, a plugin or a client leaves state in | `Mcp/AutomationRuntime.cpp` |
|
||||
| `McpCore` | Dispatches a call: checks its arguments, applies its guard and operation admission, runs it inline or as a job, journals it | `Mcp/McpCore.cpp` |
|
||||
| `CommandCatalog` | Every command, built once at startup and sealed, so any thread reads it | `CommandCatalog.hpp`, `NativeCommands.cpp`, `Mcp/Tools/` |
|
||||
| `ActionRegistry` | The Speed Dial's actions, a command's among them | `ActionRegistry.cpp` |
|
||||
| Operations layer | What more than one interface does, in one place: checks, refusals, undo, the owner calls | `GUI/Operations/` |
|
||||
| GUI automation | Sees the GUI as a person does and acts on it: the inspector and its refs, input, dialogs, web pages | `Mcp/UiInspector.cpp`, `Mcp/ModalTracker.cpp`, `Mcp/WebPages.cpp` |
|
||||
| Capture | Screenshots and recordings | `Mcp/ScreenCapture.cpp`, `Mcp/McpRecorder.cpp` |
|
||||
| Replay engine | Runs replays, and describes one for Action Replay | `Mcp/McpReplay.cpp`, `Mcp/McpReplaySummary.cpp` |
|
||||
| Python runner | Runs a script as the main program of a run, with the plugin API | `plugin/PythonScriptRunner.cpp`, `plugin/PythonSession.hpp` |
|
||||
| stdio bridge | Serves stdio clients and starts the app on demand | `Mcp/McpStdioBridge.cpp` |
|
||||
|
||||
The server runs inside the GUI process, because most of what an agent reproduces is GUI behaviour. `GUI_App` owns
|
||||
the runtime and the endpoint, and neither exists until something needs it: before then there is no thread, socket,
|
||||
modal-dialog hook or synthetic input state. The endpoint holds the runtime by reference, and the runtime does not
|
||||
know the endpoint, so every front end but MCP runs with the server off. The core that uses no wx (the command
|
||||
catalog's type, the dispatch core, the hand-off to the UI thread, the jobs, the journal, argument checking, the
|
||||
protocol and HTTP transport, the replay model, the stdio bridge and the token) is the library
|
||||
`libslic3r_automation`, unit-tested without the GUI.
|
||||
|
||||
## Design principles
|
||||
|
||||
1. **One command, every route.** A command is one function, `run(args, context)`, with JSON arguments that match its
|
||||
schema. `tools/call`, `tool_call`, a replay step, a script's or plugin's call, a Speed Dial pick and a menu item
|
||||
all reach it by its key and run it alike, so a feature added once reaches agents, replays, scripts and people.
|
||||
2. **A command does what the GUI does, through the GUI's code.** What a command shares with a dialog or another
|
||||
interface is an operation, which the dialog calls too, so the two cannot drift apart. A command writes a value
|
||||
through the control that sets it, and acts on the selection by selecting as a person would, so the app answers
|
||||
with its own undo steps, notifications and dialogs.
|
||||
3. **A call either asks or runs from its arguments.** The person's form asks as the menu item does; any other call
|
||||
opens nothing and takes the dialog's answers as arguments, or refuses with the question as its reason. So an agent
|
||||
can work without a person, and a person's pick behaves as it always has.
|
||||
4. **The UI thread is never blocked by a request, nor re-entered.** Handlers run off the UI thread and post every wx
|
||||
call to it; a guard keeps a change out of a modal dialog and out of another call's nested event loop. A call that
|
||||
outlives its reply budget becomes a job, and the server never retries a change.
|
||||
5. **A call owns its result.** A slice or export the call started is its background operation, numbered so it is
|
||||
never taken for someone else's, and one runs at a time, so no call changes the project under another's.
|
||||
6. **A replay does the same thing again.** The journal records each call in its schema's form, with indices rather
|
||||
than per-process ids, locators rather than refs, and the values a call resolved from saved state; defaults are
|
||||
fixed values, never what a person last set.
|
||||
7. **Agents find by listing, and replies say what they hold.** An agent lists a catalog and reads the manual of what
|
||||
it picked, since a word search does not match a person's words to a command. Descriptions state what a reply
|
||||
holds, what every tool shares is said once, and a reply's default size fits a client's reply cap.
|
||||
8. **Nothing leaves the machine, and secrets stay hidden.** The server binds to loopback and wants a token, scripts
|
||||
run under the plugin audit, and captions, the activity log, dialog text and URLs mask secrets.
|
||||
9. **It costs nothing until used.** The runtime and the endpoint start on first use, and the GUI instruments, which
|
||||
cost every frame, are on only while something drives the GUI.
|
||||
10. **Input stays inside the app.** Input goes in as wx events, never through the OS or the window manager, so no
|
||||
command needs OrcaSlicer in front and the app never takes the keyboard from the person's other app.
|
||||
|
||||
## Transport
|
||||
|
||||
The endpoint is `http://127.0.0.1:<port>/mcp`, bound to loopback; the default port is 13619, since 13618 is the
|
||||
OAuth callback server. It is stateless Streamable HTTP: each POST carries one JSON-RPC message, with no SSE stream,
|
||||
no `Mcp-Session-Id` and no batching. `McpHttpServer` serves every socket on one I/O thread and runs each request on a
|
||||
thread of its own, because a handler can block for a whole reply budget. Connections are capped, and at the cap the
|
||||
one stalled longest on its client is evicted, never one being handled, so a recovery call gets through. Sockets are
|
||||
not inherited by child processes, which would otherwise keep the port bound after the server closes it.
|
||||
|
||||
Every request is checked before any JSON is parsed: path, method, a loopback `Host` against DNS rebinding, a loopback
|
||||
`Origin` when sent, the bearer token in constant time, the content type and a size cap. No CORS headers are sent.
|
||||
`McpProtocol` serves the handshake era (2025-11-25, 2025-06-18) and the 2026-07-28 era, whose requests carry their
|
||||
version in `_meta` and need no handshake.
|
||||
|
||||
A tool result is one compact JSON text block plus any images. No tool declares an `outputSchema`: Claude Code shows
|
||||
its model a tool's description and input schema but never its output schema, and fails a call whose structured
|
||||
content does not match it, so a schema would teach nothing and could turn a call that ran into an error. Failures
|
||||
are `isError` results the model can act on (mcp-tools.md, How a failure shows). Before validation the server reads
|
||||
what agents commonly send in place of the schema's form (`normalize_arguments()`): an argument under a name the tool
|
||||
does not take as one it does, a value in another JSON form, an enum value under the other argument whose enum takes
|
||||
it. Each came from the bench, where it was an agent's first guess many times over, and the journal records the
|
||||
schema's form.
|
||||
|
||||
The server `instructions` fit the 4096 characters clients keep. Clients that defer tools load only names and the
|
||||
instructions at first, so the instructions say first how to find what to call, then what many tools share: never
|
||||
retry a call that returned a job, a call with an action's arguments may ask, the paging shape, 0-based indices, ids.
|
||||
|
||||
## Security, token and discovery
|
||||
|
||||
The bearer token is 32 random bytes in `<datadir>/mcp/token`, owner-only (created 0600 on POSIX, the per-user ACL on
|
||||
Windows) and kept out of AppConfig, whose writes use default permissions. `ORCA_MCP_TOKEN` overrides it for one run.
|
||||
Deleting the file and turning the server off and on issues a new token. While serving, `<datadir>/mcp/server.json`
|
||||
holds the URL, port, pid and token, so the stdio bridge and the test harness connect without the launch environment;
|
||||
it is written owner-only and removed on stop only by the process it names, since windows sharing a configuration
|
||||
folder share the file.
|
||||
|
||||
## Lifecycle
|
||||
|
||||
The endpoint opens at startup, before the first startup dialog, when `--mcp`, `--mcp-port` or the `mcp_enabled`
|
||||
preference asks, so an agent can answer the TLS prompt or the setup wizard. The runtime starts on first use by any
|
||||
front end. `app_state.ready` stays false until the main window, the Prepare canvas's OpenGL and the tab pages are
|
||||
up, since a 3MF save needs GL for its thumbnail and a GTK web view made too early loses its message handler; after
|
||||
10 s it stops waiting, since a hidden canvas or a busy person can hold either back for ever.
|
||||
|
||||
When the app closes, the endpoint closes and the runtime stops: waiting calls wake with "shutting down", new calls
|
||||
are refused, and auto-answer rules end. Nothing is freed then, since a call may still be on the UI thread's stack in
|
||||
a nested loop; both are freed outside any event loop once their threads have left, or left in place after 10 s,
|
||||
since freeing under a call that never returns would crash. A language change rebuilds the GUI and only suspends the
|
||||
runtime: refs go stale and UI calls ask for a retry.
|
||||
|
||||
Windows that share a configuration folder share the port, and the bind is exclusive: the first window serves, and
|
||||
the others retry and take over when it closes. Windows meant to serve side by side need their own `--datadir` or
|
||||
`--mcp-port`. Turning the server off in Preferences closes only the endpoint, since the call that opened Preferences
|
||||
may itself be an MCP call; closing it ends the client's auto-answer rules, recording and held presses, so a person
|
||||
using the app afterwards never has a prompt answered for them.
|
||||
|
||||
## Threading
|
||||
|
||||
Tool handlers never run on the UI thread. Anything that touches wx runs in a closure that `ToolContext::run_ui()`
|
||||
posts through `UiInvoker` and waits for; a closure not started within 10 s is abandoned, and the call says it is safe
|
||||
to retry. After a change a tool makes one more round trip (`settle()`), so the events the change queued are handled
|
||||
before the reply. A person's pick is the one call that runs on the UI thread itself, in place.
|
||||
|
||||
**Guards.** The guard is checked in the closure, on the UI thread, since the app can change between posting and
|
||||
running. mcp-tools.md (When a command may run) lists the commands of each.
|
||||
|
||||
| Class | What it holds | Behind a modal or inside another call |
|
||||
|---|---|---|
|
||||
| `Inspect` | reads, lists, screenshots, `widget_list`, the recording commands | runs |
|
||||
| `Recover` | answering dialogs, `job_cancel`, `window_set`, GUI input aimed at the topmost modal | runs |
|
||||
| `Mutate` | everything else | refused, naming the dialogs |
|
||||
|
||||
A change inside another UI call's nested loop (a modal, a progress dialog, `wxYield`) would re-enter code that is in
|
||||
the middle of a call, which is why a mutate call is refused there. The input tools are recover calls so that they can
|
||||
answer the dialog that holds the app, and apply the mutate checks themselves once their target is outside it.
|
||||
|
||||
**Jobs.** Observation runs on the request thread; every tool that can activate UI runs as a job, since a click can
|
||||
open another modal. The request waits up to the reply budget, 45 s, under Codex's 60 s tool timeout, then replies
|
||||
`{status: "running", job}`. A handler that opens a modal blocks in its loop, so a probe posted into that loop reads
|
||||
the open dialogs, and the reply becomes `blocked_by_dialog` with a note on how to answer the dialog and how the next
|
||||
such call runs without asking, so an agent learns it from the call that asked.
|
||||
|
||||
**Platforms.** On macOS a native picker or message box pauses wx's pending events, and every posted closure with
|
||||
them, so the server answers from the snapshot the tracker publishes for any thread, and native dialogs are answered
|
||||
ahead by a `dialog_auto_answer` rule. Running closures some other way inside the Cocoa modal session would re-enter
|
||||
the app while the dialog is up. On Windows and Linux a native dialog's loop runs the closures, and on Windows the
|
||||
dispatcher also wakes the UI thread with a message, which menus' and system dialogs' loops need. On GTK a window the
|
||||
compositor isn't drawing gets no frames, so a call that times out says so instead of giving a misleading reason.
|
||||
|
||||
**Followed calls and the person mark.** A run a person starts (Action Replay, the Run Script panel, `--run`) outlives
|
||||
any reply, so the runtime follows it on a thread of its own and hands its result to the window that started it. Its
|
||||
jobs carry the person mark, so a script under a person's run runs as the person's (Python scripts, Identity).
|
||||
|
||||
### Operations
|
||||
|
||||
Slicing and G-code export finish in the background process, and arrange, orient and the gizmos' jobs on the Plater's
|
||||
job worker. A call that starts such work holds it as its background operation until it ends, so its reply is the
|
||||
work's outcome and `job_cancel` stops it. The worker does not record who queued a job, so a call that finds it idle
|
||||
at the start of one of its UI closures and busy at the end has started one and claims it; a job a person starts in
|
||||
that window is claimed too, a known cost of the rule.
|
||||
|
||||
**Admission.** While a background operation runs, every other `Mutate` call is refused, whichever client, replay or
|
||||
script sends it, and so are changes while the worker runs a job no call holds; reads are not. The check runs as the
|
||||
call arrives and again in each UI closure, so a call admitted just before an operation began still can't change the
|
||||
project under it.
|
||||
|
||||
**Identity.** An operation never takes another's completion for its own. `Plater` numbers slice requests and runs and
|
||||
keeps a project revision, so a slice knows its own runs, and is `superseded` when someone else slices or edits the
|
||||
project during them. Each plate's outcome comes from its last own run, and statistics come only while the project is
|
||||
as the slice left it. The rules are in `Operations/RunStatus`, free of wx and `Plater`, so they are unit-tested.
|
||||
|
||||
**Idle.** `app_wait {for: "idle"}` holds when no modal is open, nothing slices, the job worker and every gizmo's
|
||||
background work are idle, and no job runs but the caller and its ancestors, so a replay waiting for idle doesn't wait
|
||||
on itself.
|
||||
|
||||
## The operations layer
|
||||
|
||||
The Speed Dial, the MCP commands and the plugin API (`orca.host`) ask the app to do things by name, and what one does
|
||||
another often does too. The checks, the refusal and its wording, the undo snapshot and the order of the owner calls of
|
||||
such a function are in one place, `src/slic3r/GUI/Operations/` (namespace `Slic3r::GUI::Ops`), and each interface
|
||||
converts its arguments and results around it. Where a dialog does the same work (Clone, Preferences, the Plugins
|
||||
window, the Printer Selection and System Filaments dialogs, AMS sync, Fix Model), the dialog calls the operation too.
|
||||
|
||||
**What is an operation.** An effect, or a rule about one owner's state that its own widgets also apply, is a public
|
||||
method of the owner (`Plater`, `Sidebar`, `Tab`, `GCodeViewer`). What an automation caller invokes by name is an
|
||||
operation when more than one interface reaches it, and always for a new command. A caller calls an operation to
|
||||
change something and an owner to read. A function with one entry point is left as it is until a second appears.
|
||||
|
||||
**Shape.** An operation is a free function, `Outcome<Result> op(const Args&)`, over plain structs (no JSON, no
|
||||
`wxString`, no GUI pointer). An `Outcome` holds the result or a `Refusal`: a `kind` (`Precondition`, `Busy` or
|
||||
`Failed`), a stable `code`, one English message marked for translation, and `names` that help the caller. The Speed
|
||||
Dial shows the message translated; a tool and a Python exception carry it in English with its code, so a refusal
|
||||
reads the same through every route.
|
||||
|
||||
**Rules.** An operation runs on the UI thread and returns at once: background work returns a ticket and a status
|
||||
function, and the caller owns the wait, the timeout and the cancel. It takes its function's undo snapshot once, after
|
||||
its checks. It adds no guard and asks nothing: an answer a caller may give is a field of `Args`. An owner method whose
|
||||
menu item asks in a dialog takes the answer where a caller can give one (a path, a size, `keep_z`), which skips that
|
||||
dialog. For its other questions and messages it takes `Prompts`: `Ask` does as the menu item does, and `Skip` runs
|
||||
without them, each method saying what it answers in their place. An `Args` that passes the choice on holds a `Prompts`
|
||||
too. An operation includes owner headers, libslic3r and wx, and nothing of `GUI/Mcp`, `plugin/`, JSON or pybind11; the
|
||||
dispatch core includes nothing of it. A command does what a person's action does by running the code that action runs,
|
||||
not by writing the model or the config beside it: a dialog's OK is split into a function both call, and a command that
|
||||
acts on the object list's selection selects the row first.
|
||||
|
||||
**Keeping it so.** A command names the operations it reaches (`reaching()`), and the command reference lists them.
|
||||
`test_operations` requires every command outside the Design tab that is not read-only to name one, or to be on its
|
||||
exception list with a reason (it runs what its arguments name, drives the GUI, changes the session, has one entry
|
||||
point, runs its menu item's function, or steps a history).
|
||||
|
||||
## Tool catalog
|
||||
|
||||
The commands are the process's `CommandCatalog` (`NativeCommands::instance()`), built once at startup, before the
|
||||
runtime starts, and sealed, so any thread reads it. `register_all_commands()` gathers each place's commands from its
|
||||
file, `Mcp/Tools/<Place>Tools.cpp`, and sorts them by place, the first word of their names, in the order mcp-tools.md
|
||||
gives. A command is made with a maker that sets its guard and where it runs (`inspect_tool()`, `mutate_tool()`,
|
||||
`recover_input_tool()`, or `menu_command()` for one made from menu items). `tools/list` shows the commands that run
|
||||
from arguments; `tool_list` lists the rest (the menu items that take no arguments, the Design tab's commands, the
|
||||
plugins' operations), and `tool_call` runs any of them.
|
||||
|
||||
**Access labels.** Each tool's MCP annotations mark what a call does by its nature, not everything a call could
|
||||
reach. Codex asks before every call of a destructive tool and Claude Code runs read-only calls in parallel, so
|
||||
labelling by reach would put a confirmation on calls an agent makes all the time. `destructive` is a command whose
|
||||
every call deletes what a person made, with no undo; a command that loses work only when an argument says so, or that
|
||||
runs what its arguments name, is not. mcp-tools.md lists the commands of each label.
|
||||
|
||||
**Indices and ids.** Every argument that names an object, part or instance by index has a twin that names it by the id
|
||||
`object_list` reports. The index is what the app works by and moves when things before it go; the id stays with its
|
||||
thing, so a stale id is refused where a stale index would quietly name another. A call's ids are read as indices on
|
||||
the UI thread just before the command runs, so commands read indices only, and the journal records the indices,
|
||||
since ids belong to one process.
|
||||
|
||||
**Descriptions and replies.** A description gives what the tool does, the arguments that change it, `Reply:` with its
|
||||
fields, then edge cases, and what several tools share is written once (the locator grammar in `widget_list`, the
|
||||
paging shape in the server instructions), since every session loads the whole list. An argument name means one thing
|
||||
across the tools (mcp-tools.md, Naming). A name that misses is answered with the closest names, or with why the
|
||||
catalog left it out (the CAD feature off at startup). Lists page as `{items, offset, total}`, and defaults are sized
|
||||
so the bare call fits a client's reply cap. Numbers reach a client rounded, since a double's last digits are noise
|
||||
that costs tokens; a call asks for them whole with `_meta` `"orcaslicer/exact_numbers": true`. Paths are absolute,
|
||||
since a relative one would resolve against the GUI's working directory, and travel as UTF-8.
|
||||
|
||||
### Design tab: the Design commands
|
||||
|
||||
The Design tab's commands are made from one table, `kDesignTools` in `CAD/DesignOffer.hpp`, generated from
|
||||
`scripts/CAD/tool_atlas.json`, which is also the tab's right-click menu and its Speed Dial actions (design-tab.md, The
|
||||
offer is generated, not hand-written). An entry's description, closed schema, access and the operations it names all
|
||||
come from the table, and its silent form, in `Mcp/Tools/Design<Heading>Tools.cpp`, is bound to it by id. They join
|
||||
the catalog only when it is built with the CAD feature on, since the catalog is sealed at startup; otherwise a call by
|
||||
one of their names is told why (`design_unavailable`). They are not listed, so a session that never opens the tab
|
||||
pays only for their names, at the end of `tool_list`'s description.
|
||||
|
||||
A call that chooses a menu item opens that tool, as the menu does; any other call runs the silent form on the UI
|
||||
thread under the mutate guard. `design_gate()` refuses by cause first, and the entry's `access` decides what the tab
|
||||
lets through while a card, a Move or a sketch session is open. A failed rebuild is rolled back, so the design is as it
|
||||
was and the call is left out of a replay. mcp-tools.md (The Design tab's commands) has how they are named, called,
|
||||
refused and journaled.
|
||||
|
||||
## Speed Dial catalog
|
||||
|
||||
`action_list` and `action_run` serve the Speed Dial's `ActionRegistry`: the commands' actions, plates, recent
|
||||
projects, plugin scripts and pages, and settings on request. A menu item and the command that does its job are one
|
||||
command, so the items of one job are actions of one command, each with the arguments that pick its variant (Mirror >
|
||||
Along X Axis is `object_mirror {axis: "x"}`). An action keeps its menu item's id, title, section and icon, because a
|
||||
person's pins and run counts are stored under the id. The Design tab's actions are live: there while the tab is shown,
|
||||
in its mode, with the CAD feature on.
|
||||
|
||||
**One function, two contexts.** A call's context is the core's; a person's pick has a `PersonContext`, which runs in
|
||||
place on the UI thread with no job, no journal entry and no endpoint, so every action works with the server off. A
|
||||
long command a person picks runs as a job on the runtime's core instead, with the same guards and admission as a
|
||||
call, and shows its result as a notification. The makers place a command's function on the thread it needs:
|
||||
`ui_command()` on the UI thread, `long_command()` where its call runs, and `with_person_form()` and
|
||||
`with_menu_item_forms()` for a command whose person's form asks; `silent: true` runs such a command from its
|
||||
arguments, and the journal keeps it.
|
||||
|
||||
**action_run** runs an action as a call with its arguments would, after re-making the live families (plates, recent
|
||||
projects, the Design tab's actions), so it finds the app as it is. It is journaled as that `action_run`, so a replay
|
||||
never passes the action arguments it does not take, and an agent's runs never reorder the Speed Dial.
|
||||
|
||||
## GUI automation
|
||||
|
||||
The GUI commands (mcp-tools.md, Driving the GUI) let an agent see the app as a person does and act where the typed
|
||||
commands don't reach: a dialog, a gizmo's panel, a web page, a menu item with no command.
|
||||
|
||||
- **Seeing.** `UiInspector` turns the shown windows into a text tree: widgets, list rows, menus, the 3D toolbar and
|
||||
gizmos, the canvases' ImGui items (from ImGui's test-engine hooks, on only with the instruments) and web pages'
|
||||
elements. It reads an element as a person sees it, a field by the setting it edits or its label, so the tree is
|
||||
enough to act on without a screenshot. A ref is never reused and goes stale with its element; a locator names an
|
||||
element by what a person sees, so it holds across runs, and the journal records locators.
|
||||
- **Acting.** An element is activated through its owner's own dispatch (`wxEVT_MENU`, a toolbar's click action, a
|
||||
control's semantic event), and only custom-drawn widgets and the 3D views get synthesized mouse events, since a
|
||||
native control acts on what the system tells it. An element gets the state a person would see before it is listed
|
||||
or clicked. `SyntheticInput` holds the keys and buttons of a gesture for the code that reads hardware state, and a
|
||||
press is released by whoever made it or when its owner ends. The camera is turned with `view_set`, never a drag,
|
||||
since what a drag does is the user's mouse setting.
|
||||
- **Menus.** A native menu loop holds the UI thread until a person closes the menu, so a menu a call opens is
|
||||
captured instead of shown: listed in the reply, or its item dispatched as a pick from a shown menu is. Other menus
|
||||
opened while a call runs are closed unseen and noted.
|
||||
- **Dialogs.** `ModalTracker`, a `wxModalDialogHook`, sees every `ShowModal()`, native dialogs included, keeps the
|
||||
modal stack the guards read and publishes a snapshot for other threads. A dialog's message is read as a person
|
||||
reads it, with secrets masked. `dialog_answer` presses a wx dialog's own button, so its handler runs, and presses a
|
||||
native message box through the OS on Windows and Linux. An auto-answer rule answers a dialog as it opens: a picker
|
||||
takes its path as a person's choice would, and a wx dialog's button is pressed once its loop runs, since its
|
||||
handler does the dialog's work.
|
||||
- **Web pages.** Every web view, plugins' included, is read and driven by one page agent
|
||||
(`resources/web/mcp/page_agent.js`) that the server sends in with the request when a page lacks it, so no host
|
||||
needs a change. It lists a page after Playwright's accessibility snapshot, and sends what a person's input sends,
|
||||
since synthesized DOM events get no default action. A page's messages to its host are held while an action runs,
|
||||
so a page that closes its dialog can't destroy the web view under the call.
|
||||
- **Windows.** `window_set` changes only geometry and checks the whole request before anything changes. A window
|
||||
manager may apply a request later or change it, so the call waits until the window shows what was asked. Wayland
|
||||
has no request to place a window, so positions are refused there.
|
||||
|
||||
The windows a person keeps for themself (the Run Script panel, the Agent Activity pane, the Python scripts dialog,
|
||||
Action Replay's prompts) are named `kHiddenFromAutomation`, so no tool or auto-answer rule acts in them.
|
||||
|
||||
## Screenshots and recording
|
||||
|
||||
`window_screenshot` captures on the UI thread and encodes off it. The canvas capture forces a frame of a 3D view and
|
||||
reads it back before the swap, so it is exactly what is drawn on every platform. The window capture takes a window
|
||||
and composites the 3D views into it, since window capture loses OpenGL content on several platforms, and says
|
||||
`approximate` where it may differ from the screen.
|
||||
|
||||
| Platform | Window capture |
|
||||
|---|---|
|
||||
| Windows | Windows Graphics Capture, which reads what DWM composed, covered or not; `PrintWindow` would repaint the window and flash it |
|
||||
| macOS 14.4 and later | ScreenCaptureKit, the app's own windows only, which needs no Screen Recording permission |
|
||||
| macOS before 14.4 | the content view drawn into a bitmap, approximate |
|
||||
| Linux X11 | `XGetImage` of the window |
|
||||
| Linux Wayland | the window's widgets drawn into a bitmap, approximate |
|
||||
|
||||
A recording has to stay light, since it runs while the app works. The UI thread only captures, on a timer that fires
|
||||
inside modal loops too and backs off when capturing is slow; `RecordingSink`, which uses no wx, writes the frames as
|
||||
JPEG into a Matroska file, which keeps their real times and plays as it is, and drops a frame rather than wait for
|
||||
the disk. `recording_encode` runs the system `ffmpeg`, never a program a call names, at constant quality, which suits
|
||||
a mostly still screen. Captions name the calls that act, with secrets masked. While any recording runs the tab bar
|
||||
shows a REC pill, so a person always knows the app is being recorded.
|
||||
|
||||
## Replays and the journal
|
||||
|
||||
A replay is a JSON file of calls, which one engine (`McpReplay.cpp`, wx-free) runs for `replay_run`, `--run` and
|
||||
Action Replay:
|
||||
|
||||
```jsonc
|
||||
{ "orca_replay_version": "0.2.0", "name": "repro #12345", "vars": {"model": "${replay_dir}/part.stl"},
|
||||
"steps": [
|
||||
{"tool": "project_import", "args": {"paths": ["${vars.model}"]}},
|
||||
{"tool": "plate_slice", "expect": {"/plates/0/outcome": {"eq": "ok"}}},
|
||||
{"tool": "window_screenshot", "args": {"target": "canvas", "save_path": "${out_dir}/preview.png", "overwrite": true}}
|
||||
]}
|
||||
```
|
||||
|
||||
`orca_replay_version` is the format's semver: a minor version adds tools or fields, a major one renames or removes
|
||||
them, and while the major version is 0 a build reads only its own minor version. The step fields, placeholders and
|
||||
matchers are in `replay_run`'s description. Steps are child calls of the replay's job, so they are not journaled and a
|
||||
replay's wait for idle doesn't wait for itself.
|
||||
|
||||
**The journal** records the client calls that change something, plus the waits, screenshots and recordings a replay
|
||||
needs, in the schema's form, with locators for refs and indices for ids. A call that runs as a job is judged by its
|
||||
final result, so a replay never repeats a call that did nothing, and one that asked in a dialog stays, since the
|
||||
steps after it answer that dialog. It keeps a bounded number of recent calls, so a long session can't grow it without
|
||||
limit.
|
||||
|
||||
**`--run FILE`** runs a replay or a Python script once the GUI is ready, then closes the app and exits 0 when it
|
||||
passed, 1 when a step failed and 2 when the file is invalid; `--outputdir` is where files saved without a path go.
|
||||
A `--run` launch is never handed to a running instance, so its exit code is its own, and its session is the run's, so
|
||||
a person's unsaved-project backup is still offered at their next launch.
|
||||
|
||||
**Action Replay** is a window where a person opens, writes and replays a file, whole or a step at a time. A replay is
|
||||
a file people pass around, so before a run the window describes each step and flags what reaches beyond the project:
|
||||
writing a file outside the output folder, changing presets, replacing the project, sending to a printer, or running a
|
||||
program. When a step would replace a project with unsaved changes, it asks whether to save first. The window's
|
||||
prompts are the person's own, so no tool and no auto-answer rule a replay registers answers them.
|
||||
|
||||
## Python scripts
|
||||
|
||||
A Python script is a `.py` file or a code string that runs on the plugin interpreter as the main program of a run,
|
||||
with the whole plugin API and without being packaged as a plugin. A person runs one in the Run Script panel or with
|
||||
`--run file.py`; an agent sends one with `script_run`, and a plugin's code may too. A script that runs under
|
||||
`python file.py`, or code written for a plugin's `execute()`, runs here unchanged. A *file run*, whose `filename`
|
||||
names an existing file, gets `__file__`, `sys.argv`, imports from its folder and its PEP 723 dependencies, installed
|
||||
into the package folder plugins share; code sent as text gets none of that. The outcome (`finished`, `raised`,
|
||||
`cancelled`, `timed_out`) is reported in a successful result, so the journal keeps the call and a replay of it fails
|
||||
again. What a script can rely on:
|
||||
|
||||
- **Runs overlap**, an agent's beside a person's, so a run's output, `__main__`, `sys.argv` and identity are keyed by
|
||||
the run bound to the calling thread, and carried into the threads and pool tasks it starts.
|
||||
- **Imports.** A file run imports from its folder without anyone changing `sys.path`, and an edited helper is
|
||||
compiled afresh on the next run. `sys.modules` is one cache, so overlapping scripts from different folders share a
|
||||
helper of the same name; helpers want distinct names.
|
||||
- **The end of a run.** Like `python file.py`, a run ends once its code, its non-daemon threads, its window callbacks
|
||||
and its pool tasks are done. Then it shuts down the pools its code created and calls its `atexit` functions once.
|
||||
Pool workers are shared by every run and belong to none.
|
||||
- **Stop.** `job_cancel` and `timeout_s` interrupt the run, again every second until it ends, but never inside the
|
||||
host's own bookkeeping; five seconds after the first stop the run stops waiting for its work. Code blocked in a C
|
||||
call holds the run until it returns.
|
||||
- **Windows.** What a run opens closes with it. A window callback runs on the UI thread, so it can't call tools,
|
||||
which wait for the UI thread, and hands work to the script's own code. While a modal the run opened is up, tool
|
||||
calls that change the project are refused, so interactive scripts use modeless windows.
|
||||
- **Idle.** A `script_run` job doesn't count as busy for `app_wait {for: "idle"}`, though the calls it makes do, so a
|
||||
macro waiting for the person doesn't hold every agent's wait.
|
||||
|
||||
**Identity.** A person's script runs under the audit identity `(script)` and an agent's under `(mcp)`, told apart by
|
||||
the person mark. The plugin audit ([plugin-permissions.md](plugin-permissions.md)) judges a script as it judges a
|
||||
plugin, but a script has no install state to hold a grant, so it is never asked. A plugin's own `script_run` runs
|
||||
under the plugin's identity and grants.
|
||||
|
||||
**The setting.** One switch, `python_scripts_unrestricted`, off by default, decides how scripts are judged. Off, a
|
||||
script's own code is held to OrcaSlicer's folders and denied programs, threads and the network; on, it may do what
|
||||
the audit allows any plugin. The audit is a Python audit hook, not a sandbox: the tools a script calls run
|
||||
OrcaSlicer's own code and are not judged. Only a person changes the switch, in a dialog no tool reaches, and
|
||||
`app_state.python.scripts_unrestricted` tells an agent what its script may do.
|
||||
|
||||
The Run Script panel is a dock pane where a person runs a file, a `# %%` cell or a console line in a live session,
|
||||
which keeps its globals between pieces of work and is an unjournaled person's job. Its Stop interrupts the work now
|
||||
running while the session goes on; Restart session, opening or closing a script and quitting end the session as a
|
||||
stopped run ends.
|
||||
|
||||
## Plugins and the tools
|
||||
|
||||
A plugin's code calls the commands through `orca.host.tools` only with the tools permission or full access, asked for
|
||||
at load or when it first calls, as its other permissions are ("Calling OrcaSlicer's tools" in
|
||||
[plugin-permissions.md](plugin-permissions.md)). The tools run OrcaSlicer's own code, which the plugin audit doesn't
|
||||
judge, so a plugin's other grants bound its Python code and not what it asks the tools to do, and each call is logged
|
||||
with the plugin's key. A call runs as a job owned by the plugin, never journaled, so the session tools are scoped to the
|
||||
plugin, and what its calls leave behind ends when it unloads or loses the permission, from which moment its calls are
|
||||
refused; a call made before that leaves nothing behind for the client.
|
||||
|
||||
A plugin may offer operations, `plugin.<plugin>.<name>`, which `tool_list` lists and `tool_call`, scripts and replay
|
||||
steps run. They are a source of the command catalog, looked up after its own commands, and run as jobs under the
|
||||
plugin's identity, guarded and journaled as a change when the plugin declares one.
|
||||
|
||||
## Agent Activity pane
|
||||
|
||||
View › Agent Activity shows a dock pane that lists, live, every call automation makes in the app, reads included:
|
||||
an agent's, a replay's, a script's and a plugin's, with the dialogs auto-answer rules answered. A person's own picks
|
||||
are left out. Each call into the core names its origin, and `ActivityLog` (no wx) lists only while the pane is open.
|
||||
It masks what captions mask, and fails closed where masking can't be complete. The pane only watches.
|
||||
|
||||
## stdio bridge
|
||||
|
||||
`orca-slicer --mcp-stdio [--datadir DIR] [--mcp-port N]` serves clients that speak only stdio. It forwards each
|
||||
message to the instance the discovery file names, and starts OrcaSlicer only for a tool call, so a session
|
||||
registered user-wide that never calls a tool never opens the app. Until an instance answers, it answers the handshake,
|
||||
`tools/list` and the rest itself from the same command catalog, with the server's exact replies, which needs a
|
||||
catalog built without the runtime, so registering a command never reads app state. A tool call with nothing
|
||||
answering starts `orca-slicer --mcp` and waits for it to be ready. If a running instance without MCP takes that
|
||||
launch over, each tool call says to turn the server on in Preferences, and a failed start is not tried again, so a
|
||||
stuck start never makes every call another launch. A request that could not be sent, or was refused because the
|
||||
token changed, is sent once more; one that lost its reply is never sent again, since it may have run. Every request
|
||||
has a deadline, so a server that never replies can't hang the agent.
|
||||
|
||||
## Making a feature reachable
|
||||
|
||||
A change to the GUI needs nothing for automation until someone writes its command: until then the GUI commands (GUI
|
||||
automation) reach it as a person does. A menu item of the Design tab is an entry of `tool_atlas.json` either way (A
|
||||
Design command, below).
|
||||
|
||||
A feature is a command, named for its place, then its verb (mcp-tools.md, Naming), declared in its place's file:
|
||||
|
||||
1. **Build it** with `inspect_tool()` for pure observation or `mutate_tool()` for a change, label it, give it a
|
||||
schema, a description in the order above and one to three examples. A new place word goes in `kPlaceWords`, and
|
||||
a new heading in `kHeadingOrder`.
|
||||
2. **Put what it does in an operation** of `GUI/Operations` and name it with `reaching()`, or join
|
||||
`test_operations`' exception list with a reason. The handler reads its arguments, resolves its targets, calls
|
||||
the operation and shapes the reply; all wx work is in `ctx.run_ui()`, and a change ends with `settle()`.
|
||||
3. **Make its menu items its actions** (`NativeCommands::action()`), with the arguments that pick the variant, and
|
||||
give the command its person's form. The call with arguments must not prompt.
|
||||
|
||||
The command then appears in `tools/list` or `tool_list`, `tool_describe`, the Speed Dial and replays. A new or
|
||||
changed command changes the command reference, `tests/data/command_catalog.json`, where a reader outside the app sees
|
||||
every command and which the skill's action list is written from (`tools/mcp/gen_skill_reference.py`). The test "the
|
||||
checked-in command reference matches the catalog" fails until it is regenerated: run
|
||||
`slic3rutils_tests "[Reference]"` with `ORCA_UPDATE_COMMAND_REFERENCE=1` and check the file in.
|
||||
|
||||
#### A Design command
|
||||
|
||||
A Design command is an entry of `scripts/CAD/tool_atlas.json` instead:
|
||||
|
||||
1. Name it by its place, then its verb (`solid_shell`), and add its entry under its heading: a menu item with its
|
||||
argument form (a `tool` block), a menu-only item, an argument-only command, or a folded variant of a command that
|
||||
exists.
|
||||
2. Wire a menu item's handler in `DesignPanel`, which the entry's `action` names.
|
||||
3. Run `scripts/CAD/gen_offer_table.py`, which writes `DesignOffer.hpp` and refuses a table that breaks its rules.
|
||||
4. Write its silent form in its heading's `Design<Heading>Tools.cpp` and bind it by id. A change an operation stands
|
||||
for goes through the operation, and several Prepare edits share one outer snapshot, so the call is one undo step.
|
||||
5. Update the counts and names `tests/slic3rutils/test_mcp_cad.cpp` pins, keep `tool_list`'s names index within 4096
|
||||
characters, and regenerate the command reference. A new heading also needs its file in `src/slic3r/CMakeLists.txt`
|
||||
and `localization/i18n/list.txt`.
|
||||
|
||||
## Configuration
|
||||
|
||||
- `--mcp` opens the endpoint at startup, and `--mcp-port N` on that port (0 takes the preference's).
|
||||
- `--mcp-stdio` runs the stdio bridge in place of the app.
|
||||
- `--run FILE` with `--outputdir DIR` runs a replay or a script (Replays and the journal).
|
||||
- `--unrestricted-scripts` lets scripts run unrestricted for the run, and `--cad` turns the Design tab on.
|
||||
|
||||
A flag turns its setting on for the run and never writes the configuration. AppConfig holds `mcp_enabled` (off) and
|
||||
`mcp_port` (13619). Preferences › General › AI features turns the server on, shows its port and address, and copies
|
||||
the setup for an agent (Claude Code, Codex, opencode and others). HTTP is the default, since its URL stays the same
|
||||
whichever build runs and nothing runs on the agent's side; the cost is that OrcaSlicer must be running with the
|
||||
server on, and a registration holds the token, so a new token or port means copying the setup again. Stdio suits an
|
||||
agent that should open OrcaSlicer on demand, and its setup names this executable, so it breaks when the program
|
||||
moves. `--run` beside a slicing action, where no GUI starts, is refused rather than left unrun.
|
||||
|
||||
## Testing
|
||||
|
||||
The wx-free core is tested by `automation_tests` (`tests/automation/`), which links nothing of the GUI library, so a
|
||||
wx include in a core unit fails to compile. What needs the GUI library is tested in `tests/slic3rutils/`
|
||||
(`slic3rutils_tests "[Mcp],[CommandCatalog],[Operations],[ImGuiWrapper]"`). `[CommandCatalog]` checks the catalog's
|
||||
rules, `[Reference]` the checked-in command reference, and `[Mcp][CAD]` the Design commands (design-tab.md,
|
||||
Verification); `tests/AGENTS.md` says where a new case goes.
|
||||
|
||||
End to end, the MCP sweep (`tools/mcp/run_sweep.py`) drives the built app through its server, as an agent does:
|
||||
[tools/mcp/TESTS.md](../../tools/mcp/TESTS.md) holds its rules and the index of its tests, and
|
||||
[tools/mcp/README.md](../../tools/mcp/README.md) says how to run it. No sweep test sends a print job or reaches a
|
||||
physical printer.
|
||||
1687
docs/HLSD/mcp-tools.md
Normal file
1687
docs/HLSD/mcp-tools.md
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,7 @@ Permissions are stored per plugin key. A plugin can hold:
|
|||
| `threading` | boolean | Permission to start a Python thread with `_thread.start_new_thread`. |
|
||||
| `events` | target list | Audited events that expose no target, keyed as `<Category>:<event>`, for example `Socket:socket.__new__`. Matched verbatim. |
|
||||
| `full_access` | boolean | Turns off the permission decision for the plugin. See "Full access". |
|
||||
| `tools` | boolean | Permission to call OrcaSlicer's tools through `orca.host.tools`. See "Calling OrcaSlicer's tools". |
|
||||
|
||||
Create and delete grants are independent of read and read/write grants. An empty list grants
|
||||
no folders; an absolute folder path grants operations directly inside that folder, while a path
|
||||
|
|
@ -172,6 +173,22 @@ order:
|
|||
After a granted root event with a target, the hook records the operation frame so the
|
||||
nested events of the same operation are not asked again.
|
||||
|
||||
### Python scripts
|
||||
|
||||
A Python script run from the Run Script panel, with `--run` or by an agent's `script_run`
|
||||
is not a plugin, but its events are judged here under an identity of its own, `(script)` or `(mcp)`
|
||||
(see "Python scripts" in [mcp-server.md](mcp-server.md)). A script has no sidecar, so it holds
|
||||
no grant and is never asked: steps 1 to 3 apply to it, and any other event is denied with a
|
||||
`PermissionError` that names the setting below. A file run also reads the folder of its file,
|
||||
through a per-call scoped root.
|
||||
|
||||
The "Run Python scripts unrestricted" setting (`python_scripts_unrestricted`: Preferences, AI features,
|
||||
Python scripts; off by default) lifts this for every script, and so does the command line's
|
||||
`--unrestricted-scripts` for one run, without writing the setting: while either is on, a script's event
|
||||
is allowed right after step 1, so only the denied paths stay blocked. No plugin's key is a script identity: a
|
||||
local plugin's key keeps only the letters, digits, `_`, `-` and `.` of its file name, and a cloud plugin's is
|
||||
its UUID.
|
||||
|
||||
## Permission prompts
|
||||
|
||||
### Declared permissions during load
|
||||
|
|
@ -185,6 +202,8 @@ GUI-thread caller is rejected when another prompt is active instead of blocking
|
|||
Denying the request aborts the load. A readable sidecar with `full_access` accepts the
|
||||
declaration without a prompt and without adding a grant.
|
||||
|
||||
`request_permissions(tools=True)` is one more bucket of that combined prompt, as `threading=True` is.
|
||||
|
||||
Network URLs passed to `request_permissions(network=...)` are normalized to
|
||||
`scheme://host` before prompting or storing, so one approval covers every path and port
|
||||
on that host and also authorizes raw sockets to it. A relative filesystem tree grant is
|
||||
|
|
@ -196,7 +215,8 @@ sidecar show the absolute scope it covers.
|
|||
An event that is not covered by a saved grant or an implicit rule is either put to the
|
||||
user or denied. If the caller is on the wx main thread and no audit prompt is active, the
|
||||
modal runs inline. Otherwise, as on the Script workflow, the plugin-load worker, or the
|
||||
slicing worker, the current event is denied and the prompt is queued for the GUI thread.
|
||||
slicing worker, the current event is denied and the prompt is queued for the GUI thread. A
|
||||
plugin's tool call without the tools grant takes the same path from its Script worker.
|
||||
`AuditPromptQueue` serializes runtime prompts, one-time recursive-delete consent, and
|
||||
load-time declarations, so at most one is shown at a time,
|
||||
including during a modal dialog's nested event loop. An event raised inside that loop is
|
||||
|
|
@ -279,7 +299,7 @@ The following are denied before any allowed root or full-access check:
|
|||
|
||||
Grants and install state live in `.install_state.json` in the plugin root. The
|
||||
`permissions` object stores `fs_read`, `fs_readwrite`, `fs_create`, `fs_delete`, `network_http`,
|
||||
`network_socket`, `process`, `threading`, `events`, and `full_access`. It never stores a
|
||||
`network_socket`, `process`, `threading`, `tools`, `events`, and `full_access`. It never stores a
|
||||
recursive-delete consent: that approval and any retry approval are in memory only, so accepting
|
||||
one does not widen the plugin's saved delete scope. The file is
|
||||
written by `write_install_state`, the single writer for the sidecar schema. In-process
|
||||
|
|
@ -295,6 +315,7 @@ Reading is deliberately fail-closed:
|
|||
form. Reading never rewrites the file.
|
||||
- `full_access` is enabled only by an explicit JSON boolean. A missing key, a string, a
|
||||
number, or any other type reads as false.
|
||||
- `tools` is granted only by a JSON `true`; a missing key or any other value reads as `false`.
|
||||
|
||||
A sidecar that exists but cannot be read is never overwritten, because it may still hold
|
||||
grants and capability choices. The one exception is a plugin load: if the sidecar is a
|
||||
|
|
@ -343,8 +364,8 @@ lowercase `scheme://host`, dropping port, path, query and fragment. Bare hosts,
|
|||
schemes, wildcards and URLs carrying userinfo are refused rather than guessed. Network
|
||||
entries cover every port, path and query on the host.
|
||||
|
||||
The dialog warns before enabling full access. Grants stored
|
||||
while full access is on are inert and apply again when full access is off. Turning full access
|
||||
The dialog warns before enabling full access. The OrcaSlicer tools switch is a yes/no switch like
|
||||
Threading's. Grants stored while full access is on are inert and apply again when full access is off. Turning full access
|
||||
on does not delete the stored lists. A permission change affects subsequent audit decisions,
|
||||
not operations already authorized.
|
||||
|
||||
|
|
@ -353,6 +374,35 @@ On Linux and macOS, create and delete operations using a directory file descript
|
|||
against its resolved path. If that path cannot be resolved, the operation is denied, even with
|
||||
full access.
|
||||
|
||||
## Calling OrcaSlicer's tools
|
||||
|
||||
`orca.host.tools` lets a plugin call every command a plugin caller has: an agent's commands, less the few
|
||||
[mcp-tools.md](mcp-tools.md) refuses a plugin (`replay_export`) or limits to its own jobs. Through them it reaches
|
||||
the project, presets and files, post-processing scripts (which run as programs), the window, and its dialogs,
|
||||
permission requests included. A plugin holding it can therefore give itself any other permission,
|
||||
which is why its prompt says so. `orca.host.tools.list()` and `describe()` only read the
|
||||
catalog and need no permission, and operations a plugin offers with `orca.register_operation` stay
|
||||
free; a Python script a person or an agent runs is not a plugin and is unaffected.
|
||||
|
||||
The grant is `tools` true or full access, read from the sidecar on every call. A plugin's own call asks
|
||||
for it as an undeclared audited event does, on the plugin's Script worker before the call is admitted
|
||||
(`PluginAuditManager::request_tools_permission` in `admit_plugin_call`): without the grant the call is
|
||||
refused and the prompt queued (see "Runtime prompts"), and a Yes is saved, so the plugin's next call
|
||||
works. A sidecar that exists but cannot be read refuses the call without asking, as a declaration is refused,
|
||||
since a Yes could not be saved there. The admission on the UI thread checks the grant again without asking
|
||||
(`PluginManager::plugin_may_call_tools`), so a grant withdrawn in between cannot reopen the plugin's
|
||||
scope, and every call a plugin owns, its script and replay runs' children included, is checked again
|
||||
where the MCP core runs it (`JobRegistry::tools_refused` in `McpCore::run`). Each refuses with
|
||||
`orca.host.tools.ToolError`, `details["code"] == "tools_not_allowed"`.
|
||||
|
||||
When a Plugins-dialog edit leaves a plugin without the tools, `AutomationRuntime::plugin_tools_withdrawn`
|
||||
asks its running calls to stop and ends its scope and its running runs' scopes, popping their
|
||||
auto-answer rules, ending their recording and releasing their held presses, as an unload does, but
|
||||
without blocking it, so a later grant works without a reload. A call that passed its check just before
|
||||
is refused the moment it would leave such an effect behind: the plugin is marked withdrawn until a call
|
||||
admitted under a new grant opens its scope again, and the places that publish a press or start a
|
||||
recording check the scope is still open (`require_owner_scope`).
|
||||
|
||||
## Full access
|
||||
|
||||
Full access is a per-plugin boolean that turns off the permission decision. It does not
|
||||
|
|
@ -360,7 +410,8 @@ remove the audit hook. For recognized events it is reached after the uncondition
|
|||
denied-path check, so the application configuration, the cloud user-secret file,
|
||||
certificates, configuration paths, and `.install_state.json` stay blocked from direct
|
||||
Python access. Everything else that the audit hook recognizes is allowed without a grant
|
||||
or a prompt, and declared permissions are accepted without prompting. The read-only
|
||||
or a prompt, and declared permissions are accepted without prompting. It also allows the plugin's
|
||||
tool calls. The read-only
|
||||
`resources_dir()` root is a normal-mode restriction only: full access permits writes there
|
||||
when the operating system allows them. The denied `cert` keyword still blocks the bundled
|
||||
certificate.
|
||||
|
|
@ -405,7 +456,10 @@ never treated as an opt-out.
|
|||
- **Host APIs are not audit events.** Calls into OrcaSlicer's Python host APIs, such as
|
||||
preset updates or UI actions, execute C++ host code and follow that API's contract. The
|
||||
audit hook judges the Python-level filesystem, network, process and thread events it is
|
||||
given, not the host API's internal work.
|
||||
given, not the host API's internal work. `orca.host.tools` is gated by the tools permission
|
||||
instead (see "Calling OrcaSlicer's tools"), and once granted it reaches every command a plugin
|
||||
caller has: the files those tools write, post-processing scripts, and dialogs, permission
|
||||
prompts included.
|
||||
- **Denied paths are a direct-access block.** Path laundering through a symlink,
|
||||
hardlink, subprocess, or Windows 8.3 short name is outside the model. A tree grant is
|
||||
canonicalized for matching, but the deny check itself is base-name and component based.
|
||||
|
|
@ -461,7 +515,10 @@ never treated as an opt-out.
|
|||
- `src/slic3r/plugin/PluginManager.hpp` / `.cpp` - `mutate_plugin_permissions`,
|
||||
`revoke_plugin_permissions`, `get_install_state`.
|
||||
- `src/slic3r/GUI/PluginsDialog.cpp` - permission editor payloads, native confirmations,
|
||||
and the full-access request path.
|
||||
the full-access request path, the tools switch and its withdrawal call.
|
||||
- `src/slic3r/GUI/Mcp/McpPluginCaller.cpp`, `JobRegistry.hpp` / `.cpp`, `McpCore.cpp`,
|
||||
`AutomationRuntime.hpp` / `.cpp` - the tools checks (`admit_plugin_call`, `tools_refused`),
|
||||
`plugin_tools_withdrawn` and `require_owner_scope`.
|
||||
- `tests/slic3rutils/test_plugin_audit.cpp`, `tests/slic3rutils/test_plugin_install.cpp`,
|
||||
`tests/slic3rutils/test_plugin_lifecycle.cpp` - audit decision, sidecar, and permission
|
||||
mutation coverage.
|
||||
|
|
|
|||
|
|
@ -42,10 +42,18 @@ retypes, and where needed adds, the candidates inside its intersection, like
|
|||
painting does.
|
||||
|
||||
An **intersection** is a continuous part of the external perimeter's centerline
|
||||
that lies inside the modifier's slice on that layer. It is a portion of the
|
||||
perimeter, never a chord through the object. The centerline lies half an
|
||||
extrusion width inside the model surface and depends on print settings, so a
|
||||
modifier must reach clearly past the surface to cross it unambiguously.
|
||||
whose model surface lies inside the modifier's slice on that layer. It is a
|
||||
portion of the perimeter, never a chord through the object. The centerline lies
|
||||
about half an extrusion width inside the printed wall and is invisible to the user,
|
||||
who places modifiers against the model surface. Extraction therefore
|
||||
reconstructs that surface from the centerline, clips it, and carries the
|
||||
result back onto the centerline along the normal (see
|
||||
[Surface reconstruction](#surface-reconstruction)). A modifier acts when it
|
||||
reaches the reconstructed surface, which lies a margin of 5 µm inside the model
|
||||
surface, and has no effect when it stays inside the body, even if it crosses the
|
||||
centerline. A modifier that enters the model by less than the margin does not
|
||||
act. An open extrusion (a thin wall printed as one line) is left out: its
|
||||
G-code does not depend on where the seam is.
|
||||
|
||||
### Terms
|
||||
|
||||
|
|
@ -133,7 +141,11 @@ threads without locking.
|
|||
## Perimeter preparation
|
||||
|
||||
The seam placer works on external perimeter loops, including the walls of
|
||||
holes. For objects with Precise Seam volumes, consecutive duplicate points and
|
||||
holes. Precise Seam processes closed loops only: an open extrusion (a thin wall
|
||||
printed as one line) keeps its ordinary seam candidates, and modifiers are not
|
||||
evaluated on it. A modifier that crosses only such a wall has no effect, and the
|
||||
"had no effect" warning names it when it was evaluated on a closed loop. For
|
||||
objects with Precise Seam volumes, consecutive duplicate points and
|
||||
the repeated closing point of each extrusion loop are removed: adjacent
|
||||
extrusion paths share endpoints, and the resulting zero-length edges would
|
||||
prevent point insertion at their junctions. Distinct visits to one point of a
|
||||
|
|
@ -142,13 +154,197 @@ original points, so ordinary seam candidates are unaffected.
|
|||
|
||||
Each polygon is made counter-clockwise. A single `PreparedPerimeter` is then
|
||||
built for all modifiers of that perimeter. It holds a validity check (at least
|
||||
three points, no consecutive or closing duplicates), the bounding box, and the
|
||||
clipping line: the polygon as an open polyline with its first point repeated at
|
||||
the end. The preparation borrows the polygon and is used only while the polygon
|
||||
three points, no consecutive or closing duplicates), the bounding box, the
|
||||
clipping line (the polygon as an open polyline with its first point repeated at
|
||||
the end), the side of the air (outside a contour, inside a hole, by the loop
|
||||
role) and the surface shift. The surface line is built from it on the first
|
||||
request, so perimeters that no modifier approaches never pay for it.
|
||||
|
||||
The **surface shift** is the distance from the centerline to the model surface
|
||||
the user sees, less a margin. Its nominal value is `d = w/2 - c - m`:
|
||||
|
||||
- `w` is the region's nominal external perimeter width, the flow the perimeter
|
||||
generator uses for the outer loop on that layer, first layer included. A loop
|
||||
of the classic generator takes the width of its own outer wall line instead
|
||||
(`ExtrusionPath::width` of its first external perimeter path): with thin wall
|
||||
detection off, an island too narrow for two lines and short enough is printed
|
||||
with a thinner line, inset by half of that width. Bridged paths lie on the
|
||||
same centerline with the overhang flow's width and are not asked; a loop
|
||||
without an external perimeter path keeps the region's width.
|
||||
- `c` is the XY compensation that moved this wall away from the model,
|
||||
positive towards air: `xy_contour_compensation` for a contour and minus
|
||||
`xy_hole_compensation` for a hole (a positive value enlarges holes). It is
|
||||
zero where slicing skips compensation, for multi-material painting with
|
||||
several filaments. It is also zero for a hole on a layer with several
|
||||
regions when the hole setting is negative: slicing then clips the regions by
|
||||
the compensated islands, and clipping cannot add the material that would make
|
||||
the hole smaller. Both values are taken once per object in
|
||||
`SeamPlacer::init()`, so they describe the outer contours and holes of the
|
||||
object. A wall on the boundary between two regions of one object is
|
||||
compensated differently by slicing, and there the surface is not restored
|
||||
exactly (see [Known limitations](#known-limitations)). Modifier slices are not
|
||||
compensated, so they stay in the frame of the model.
|
||||
- `m` is `SURFACE_MARGIN` (5 µm). A modifier face placed flush against a model
|
||||
face would otherwise touch the reconstructed surface by rounding noise and
|
||||
act on some layers only; the margin moves that unstable position 5 µm deep,
|
||||
where it is not reached by accident.
|
||||
|
||||
**Measured shift.** On the layers with elephant foot compensation (printing
|
||||
directly on the bed, below `elefant_foot_compensation_layers`) and on every
|
||||
layer of Arachne perimeters (not in spiral vase mode, which uses the classic
|
||||
generator), the centerline does not lie at depth `w/2`: elephant foot
|
||||
compensation shrinks the contour the perimeters are built on by an amount that
|
||||
changes along it, and Arachne lines vary in width. There the shift is measured:
|
||||
`d(P) = D(P) - c' - m` at a point `P` of the centerline, where `D(P)` is the
|
||||
depth of `P` below the boundary of the layer's islands (`Layer::lslices`) and
|
||||
`c'` the part of `c` those islands contain. The depth is the offset from `P` to
|
||||
the nearest point of the boundary, projected on the normal of the edge (at a
|
||||
vertex, the larger of the projections on its two edges' normals). At an inner
|
||||
corner the nearest point is the corner of the boundary, farther away than
|
||||
either side; its projections are the distances to the sides.
|
||||
|
||||
- Slicing stores the islands of an elephant foot layer from before that
|
||||
compensation, and those of other layers as the perimeters see them, so `D`
|
||||
includes the elephant foot compensation at that point and the half width of
|
||||
the line actually printed there. The islands contain the XY compensation
|
||||
(`c' = c`), except on an elephant foot layer with several regions: slicing
|
||||
keeps those islands from before a negative contour compensation and applies
|
||||
it to the perimeters only, so there `c'` is zero for contours.
|
||||
- A distance is accepted only within the range of the wall's own line: from half
|
||||
the narrowest line the generator prints to half the widest, widened by the
|
||||
elephant foot compensation of the layer, by the part of `c` missing from the
|
||||
islands, by half the difference between line width and spacing (Arachne keeps
|
||||
a precise outer wall that much deeper where it prints one line) and by the
|
||||
slicing resolution plus 1 µm. The narrowest line is half the nominal width for
|
||||
Arachne, which splits a wall into two lines narrower than its minimum bead
|
||||
width, and slightly under it for the classic generator, which prints narrow
|
||||
loops thinner; the widest is twice the nominal width for Arachne and the
|
||||
nominal width for the classic generator. A distance outside that range does not
|
||||
come from the wall's own surface: the wall is thinner than a line, or it lies
|
||||
on the boundary between two regions, which the islands do not contain. Such a
|
||||
point takes the nominal shift.
|
||||
- Every vertex is measured, and an edge longer than 0.5 mm (the step at which
|
||||
elephant foot compensation is resampled) also at points at most 0.5 mm apart
|
||||
along it. If they all follow the straight change between its vertices within
|
||||
the snapping radius, the edge stays one piece; otherwise they all split it.
|
||||
- A negative value is taken as zero. A perimeter whose values all equal the
|
||||
nominal shift within the snapping radius keeps the constant shift, so a wall at
|
||||
its nominal depth gives exactly the result of the nominal shift. A perimeter
|
||||
whose largest value is within the snapping radius keeps the centerline; a
|
||||
single point at zero does not change that.
|
||||
- The measurement is decided per loop. A loop with fuzzy skin is measured on its
|
||||
smooth centerline (see [Fuzzy skin](#fuzzy-skin)). A noisy line itself is never
|
||||
measured: the noise moves it off the smooth outline, so measuring would pull
|
||||
its points within the range back to the outline while the points outside it
|
||||
kept the noise. A loop without a smooth centerline on a layer where any region
|
||||
adds fuzzy skin to the outer walls of that kind of loop keeps the nominal shift,
|
||||
since nothing tells an unchanged loop from a noisy one that lost its centerline.
|
||||
- The islands are indexed once per layer and only on layers where a Precise
|
||||
Seam modifier has a region, and only loops that some modifier on the layer
|
||||
approaches are measured.
|
||||
|
||||
A shift within the snapping radius is treated as zero: extraction then clips the
|
||||
centerline itself. The preparation borrows the polygon and is used only while the polygon
|
||||
is unchanged: strong processing returns immediately after inserting its point,
|
||||
and weak processing collects all segments before it inserts anything. An
|
||||
invalid perimeter receives no Precise Seam processing.
|
||||
|
||||
### Fuzzy skin
|
||||
|
||||
Fuzzy skin is applied by the perimeter generator, which resamples a loop and moves
|
||||
its points off the smooth centerline (Arachne's extrusion mode changes the line
|
||||
width instead). Only the noisy line reaches the seam placer, and a surface
|
||||
shifted from it would repeat the noise. The generator therefore keeps the
|
||||
centerline before texturing of an external loop whose points the texture
|
||||
changed, in `ExtrusionLoop::untextured` (classic `traverse_loops()`, Arachne
|
||||
`traverse_extrusions()`, which copies the junctions only where the layer has
|
||||
fuzzy skin on that kind of loop). A list of points equal to the printed one is
|
||||
not kept. The field is kept for every such loop, whether or not the object has
|
||||
Precise Seam volumes, because adding a volume does not regenerate perimeters
|
||||
(see [Print invalidation](#print-invalidation)). Copying, moving, reversing or
|
||||
turning the start of the loop keeps it, and so do the simplification and arc
|
||||
fitting of its paths after the generator, which leave the same textured loop;
|
||||
giving the loop other geometry must reset it.
|
||||
|
||||
For such a loop the preparation has two polygons: the smooth centerline, from
|
||||
which the surface is reconstructed and on which the shift is measured, clipping,
|
||||
binding, segments, lengths, Center and full containment are worked out; and the
|
||||
noisy loop, into which the results are inserted. Both are normalized alike (no
|
||||
repeated points, counterclockwise).
|
||||
|
||||
- **Pairs.** A segment keeps the surface points its ends were carried from, and
|
||||
merging intervals keeps the pair of the outer end, also across vertex zero. An
|
||||
arc still collapses into its vertex, but the end keeps its real point on the
|
||||
arc: a zero-length segment has the two ends of its piece of arc, and separate
|
||||
pieces of one arc make one vertex point from the piece nearest the arc's start
|
||||
to the end of the farthest. A vertex point that continues a segment gives the
|
||||
segment's end its arc point. Left and Right take the pair of their end.
|
||||
Center, the middle by length of the smooth segment, takes as its pair the point
|
||||
of the shifted edge at the same parameter (shift profile included), the middle
|
||||
of the arc or bridge at a vertex (of the piece covered, for a zero-length
|
||||
segment), the point where the shifted edges meet at a vertex without either
|
||||
(collinear edges; the smooth point itself, as an emergency fallback, should
|
||||
the edge have no element left), or the crossing `K` in the dead stretch of a
|
||||
concave corner.
|
||||
- **Transfer.** The line through the surface point and the smooth point is
|
||||
intersected with the edges of the noisy loop within a window of the smooth
|
||||
point, and the crossing nearest to it is taken; an edge lying along the line
|
||||
gives its point nearest to the smooth point. The window is an estimate from the
|
||||
settings, not a measured distance or a proven bound, computed separately for
|
||||
contours and holes: only the regions that texture the loop's kind count, as
|
||||
FuzzySkin.cpp decides it. Regions texture a loop one after another, each over the
|
||||
result of the previous ones, so it adds up the amplitudes of their different
|
||||
noises (regions that differ only in which walls they texture make one noise).
|
||||
An amplitude is the thickness times the largest value of its noise module:
|
||||
Perlin, Billow and RidgedMulti add octaves and can exceed one. These bounds rest
|
||||
on the range libnoise states for its coherent noise, from -1 to 1.
|
||||
Arachne's combined mode moves a point by half its change of width, which adds
|
||||
half the smallest width it keeps. On top come the largest point distance, the
|
||||
farthest a chord cutting a convex corner passes from the smooth point, and a
|
||||
micrometre of rounding. There are three outcomes:
|
||||
- **exact**: such a crossing exists;
|
||||
- **approximate**: the pair coincides (the centerline path, where the surface
|
||||
is the centerline) or the line crosses nothing within the window; the
|
||||
nearest point of the noisy loop within the window is taken, and counted in
|
||||
the log;
|
||||
- **failed**: not even that; the point is a discarded fragment, with its
|
||||
counter, log marker and the type in the warning. A strong segment whose point
|
||||
fails takes no part; a weak zone with a failed boundary is dropped.
|
||||
- **Strong modifiers** choose the segment and the point on the smooth loop, ties
|
||||
included, and insert the carried point into the noisy one. Among candidates
|
||||
that are carried the noise never changes the winner; a candidate whose
|
||||
transfer fails drops out, and the next one wins.
|
||||
- **Weak zones** carry each boundary separately. Before anything is inserted, a
|
||||
policy, not a proven guarantee, tells some zones whose boundaries came out in
|
||||
the reverse order. It assumes that the points of a zone's true noisy arc lie
|
||||
within the window of the smooth zone, as its carried boundaries do; the window
|
||||
is an estimate. A short zone's true arc then stays within a circle around its
|
||||
smooth boundary, however much the noise lengthens it, while the arc round the
|
||||
rest of the loop leaves that circle wherever the loop spreads beyond it; its
|
||||
length tells nothing, as the noise may lengthen a stretch many times over. With
|
||||
a threshold of four windows on the smooth loop:
|
||||
- for a zone shorter than that, the circle lies around its smooth left boundary
|
||||
with the zone's length plus a window for radius. The zone is reversed when the
|
||||
noisy arc from its carried left boundary forward to its right one leaves the
|
||||
circle; otherwise it keeps its order when the arc from the right boundary
|
||||
forward to the left one leaves it; with both arcs inside, it is reversed when
|
||||
the first arc is the longer;
|
||||
- otherwise, for a zone whose rest of the loop is that short, the same holds
|
||||
around its smooth right boundary, with the rest's length plus a window for
|
||||
radius and the arcs swapped: the arc from the right boundary forward to the
|
||||
left one is the rest's;
|
||||
- otherwise the order is not checked; a transfer onto another part of the loop
|
||||
there is a limitation of the direct transfer.
|
||||
|
||||
An arc leaves the circle when either carried boundary or a vertex of the noisy
|
||||
loop between them, across its start, lies outside; boundaries on one edge with
|
||||
the second behind the first make an arc round the whole loop. A reversed zone
|
||||
is reduced to its left boundary, a zero-length zone that types the one
|
||||
candidate there. This is a declared degradation, counted in the log: it
|
||||
happens, for example, for a piece of a convex corner's arc where the noisy
|
||||
loop cuts the corner inside it, since the lines through the corner then cross
|
||||
the noise behind it in the reverse order.
|
||||
|
||||
## Segment extraction
|
||||
|
||||
`extract_perimeter_segments()` turns one modifier's regions on one layer into
|
||||
|
|
@ -156,24 +352,79 @@ segments of the perimeter, each with its geometry and its position on the
|
|||
source contour. Both modifier kinds consume these segments; the extractor is
|
||||
told the modifier type so that it prepares only the data that type needs.
|
||||
|
||||
### Surface reconstruction
|
||||
|
||||
The surface is the set of points on the air side at the shift `d` from the
|
||||
centerline. `build_surface_line()` builds it as a closed line whose every edge
|
||||
remembers its source:
|
||||
|
||||
- **Shifted edge.** Each source edge moved along its normal into the air. With a
|
||||
constant shift along the edge, the shift is rounded once per edge, so the
|
||||
shifted edge is an exact integer translate of its source and keeps its
|
||||
parameters. Where a measured shift changes along the edge, the shifted edge is
|
||||
a chain of straight parts through the points moved by the shift at its
|
||||
vertices and at its measured interior points; each part maps linearly onto the
|
||||
range of parameters of the source edge between those points.
|
||||
- **Arc.** Where shifted edges diverge (a convex vertex as seen from the air),
|
||||
an arc around the vertex whose radius is the shift at that vertex,
|
||||
approximated by chords with a sagitta of at most 40 units. Both shifted edges
|
||||
take that shift at the vertex, so the line stays continuous; with no shift
|
||||
there they meet at the vertex itself. A reversal of direction turns by half a
|
||||
circle.
|
||||
- **Crossing.** Where shifted edges cross (a concave vertex) at a point `K`
|
||||
inside both of the parts meeting there, they end exactly at `K`: no part of
|
||||
them lies beyond it. A part trimmed this way covers only part of its range of
|
||||
the source edge, and its parameters are carried over proportionally. Both
|
||||
trims of one part must leave at least 4 units of it.
|
||||
- **Bridge.** At any other concave vertex (shifted edges crossing beyond the end
|
||||
of one of them, as in a fillet finer than the shift), a straight edge between
|
||||
the ends of the full shifted edges, carried onto the vertex like an arc. The
|
||||
shifted edges keep their tails beyond the crossing.
|
||||
|
||||
Each crossing is the end of a **dead stretch**: the part of the centerline
|
||||
around the vertex that has no surface of its own. It is recorded at once, with
|
||||
the elements of the surface line that end and start at `K`. Resolving these
|
||||
corners exactly matters on shallow corners, such as the many vertices of a
|
||||
tessellated hole: there the parts of the full shifted edges beyond `K` stay
|
||||
within micrometers of the surface, and a modifier boundary crossing them would
|
||||
split the segment.
|
||||
|
||||
The surface line is not filtered further: every part of it counts as surface,
|
||||
even where it comes closer than `d` to another part of the centerline. The
|
||||
centerline is itself the model contour shifted inwards by half the line width,
|
||||
so shifting it back by slightly less returns to that contour and does not fold:
|
||||
a concave fillet of radius `r` on the surface is a fillet of radius `r + d` on
|
||||
the centerline, and a sharp inner corner stays sharp and resolves exactly. The
|
||||
line folds only on corners that are not resolved exactly: a very sharp inner
|
||||
corner that the slicer bevels, a sharp change of the measured shift, or relief
|
||||
finer than the shift (see [Known limitations](#known-limitations)). There the tails and bridges
|
||||
of the line stay part of it, and the user's rule that a modifier enters the wall
|
||||
by a clear depth keeps such corners out of play. A general offset of the polygon
|
||||
could not replace the surface line: it rounds and cuts corners and loses the
|
||||
link to source edges.
|
||||
|
||||
### Clipping
|
||||
|
||||
Regions whose bounding box does not overlap the perimeter's are skipped. The
|
||||
clipping line is intersected with each remaining region by `intersection_pl()`,
|
||||
which clips an open path against an `ExPolygon` with its holes attached, using
|
||||
the nonzero rule. Clipping an open line yields only pieces of the perimeter, so
|
||||
a modifier crossing the whole object produces two separate pieces rather than a
|
||||
chord through the body. Holes in a modifier and several regions of one modifier
|
||||
simply produce more pieces. The line is cut at vertex zero, so a piece crossing
|
||||
that vertex arrives as two fragments. A border that only touches the line can
|
||||
come back as a single point; such fragments carry no coverage and are dropped
|
||||
before binding.
|
||||
Regions whose bounding box does not overlap the perimeter's, enlarged by the
|
||||
shift, are skipped. The surface line, as an open path closed at its start, is
|
||||
intersected with each remaining region by `intersection_pl()`, which clips open
|
||||
paths against an `ExPolygon` with its holes attached, using the nonzero rule.
|
||||
Clipping an open line yields only pieces of the surface, so a modifier crossing
|
||||
the whole object produces two separate pieces rather than a chord through the
|
||||
body. Holes in a modifier and several regions of one modifier simply produce
|
||||
more pieces. The line is cut at its start, so a piece crossing it arrives as two
|
||||
fragments. A border that
|
||||
only touches the surface can come back as a single point; such fragments carry
|
||||
no coverage and are dropped before binding. With a shift of zero the
|
||||
centerline's own clipping line is clipped instead, without offsets or contact
|
||||
rules.
|
||||
|
||||
### Binding fragments to source edges
|
||||
|
||||
Clipper returns coordinates only. Insertion needs the source edge of every
|
||||
point, and coordinates alone are ambiguous where a contour visits the same
|
||||
point twice. Each fragment is therefore bound to the source edges it covers,
|
||||
point twice. Each fragment is therefore bound to the edges of the line it was
|
||||
clipped from (the surface line, or the centerline for a shift of zero),
|
||||
producing intervals: an edge index with a parameter range on that edge.
|
||||
|
||||
- **Exact path.** For fragments with interior points, the second point is used
|
||||
|
|
@ -214,11 +465,39 @@ normal path never pays for them:
|
|||
Both outcomes are recoveries, not failures: they show no user warning but leave
|
||||
a log marker.
|
||||
|
||||
### Carrying the surface onto the centerline
|
||||
|
||||
Intervals on the surface line are carried onto the centerline through their
|
||||
source:
|
||||
|
||||
| Surface | Centerline |
|
||||
| --- | --- |
|
||||
| Shifted edge, parameters `t0..t1` | the same source edge, the same parameters (proportionally on a trimmed part or a part of a split edge) |
|
||||
| Arc or bridge around a vertex | that vertex, as a **vertex point** |
|
||||
| Both ends of a dead stretch covered | the whole centerline between them |
|
||||
|
||||
A point of an edge with a constant shift moves back by subtracting that edge's
|
||||
integer shift, which is the same as following the normal. On an edge whose
|
||||
shift changes, the point is the one at the same parameter of the source edge.
|
||||
|
||||
The last rule covers the crossing point `K` of a concave corner: when the
|
||||
modifier covers the surface on both sides of `K`, the centerline around the
|
||||
vertex, which has no surface of its own, joins them. When only one side is
|
||||
covered, the segment ends under the modifier's crossing, outside the dead
|
||||
stretch. An end counts as covered when coverage ends within the snapping radius
|
||||
of it on the same edge of the surface line, so a modifier boundary passing
|
||||
exactly through `K` covers it.
|
||||
|
||||
### Assembling segments
|
||||
|
||||
The intervals are sorted by edge and parameter. Intervals on the same occurrence
|
||||
of an edge are united when they overlap or meet, by parameter or at the same
|
||||
integer point; equal coordinates on different edges are never united. A
|
||||
integer point; equal coordinates on different edges are never united. A vertex
|
||||
point adds no edge: next to coverage that reaches its vertex it disappears, and
|
||||
alone it forms a **zero-length segment**, a single point with no edges, where
|
||||
the modifier reached the surface only around a convex corner. Its strong target
|
||||
is the vertex in every mode, and as a weak zone it types the one candidate
|
||||
there. A
|
||||
parameter of 1 is stored as parameter 0 of the next edge, so intervals on
|
||||
adjacent edges meet exactly at their shared vertex. Consecutive intervals that
|
||||
meet form one `PerimeterSegment`, and the last segment is joined with the first
|
||||
|
|
@ -250,8 +529,12 @@ Enforced, Neutral and Blocked take part in the usual priority order (see
|
|||
[Weak modifiers](#weak-modifiers)).
|
||||
|
||||
The perimeter is fully contained when the united intervals cover every source
|
||||
edge from parameter 0 to 1. A modifier boundary that merely touches the
|
||||
perimeter counts as well:
|
||||
edge from parameter 0 to 1, which is the case when the modifier covers the whole
|
||||
surface: every shifted edge and every dead stretch. A modifier that covers the
|
||||
whole centerline but leaves part of the surface outside gives ordinary segments.
|
||||
An uncovered part of a single arc carries onto one vertex, a gap of zero
|
||||
length, and so still counts as full containment. A modifier boundary that merely
|
||||
touches the perimeter counts as well:
|
||||
|
||||
- At a vertex or on an axis-aligned edge, clipping splits the line exactly at the
|
||||
touch, the pieces meet at one point, and the coverage is complete.
|
||||
|
|
@ -270,7 +553,8 @@ where insertion collapses it, exactly up to edges shorter than 2 µm:
|
|||
each end then snaps onto it from its own edge.
|
||||
|
||||
A cheap filter runs first: both cases bring the segment's ends within 2 µm of
|
||||
each other.
|
||||
each other. A zero-length segment covers nothing and is never full containment,
|
||||
although its ends coincide.
|
||||
|
||||
## Strong modifiers
|
||||
|
||||
|
|
@ -284,7 +568,7 @@ before anything is inserted, together with the source edge it lies on:
|
|||
Arc length is the sum of Euclidean edge lengths, not the chord or a vertex count.
|
||||
|
||||
`insert_strong_seam_point()` selects the longest segment of the first modifier
|
||||
that has one. Exactly equal lengths are resolved by the prepared target points:
|
||||
that has one; a zero-length segment loses to any other. Exactly equal lengths are resolved by the prepared target points:
|
||||
greater bed Y first, then smaller X; a complete tie keeps the first segment.
|
||||
Slice coordinates already include instance rotation and have the bed axes;
|
||||
centering and XY translation do not change this order. Nearly equal lengths are
|
||||
|
|
@ -348,6 +632,16 @@ lowest priority first; a whole-perimeter zone types every candidate. Blocked
|
|||
and Enforced zones therefore take precedence over painting, and Neutral clears
|
||||
painting inside its zone.
|
||||
|
||||
A loop on which a candidate is left Enforced by a zone has exact ends (see
|
||||
[Seam alignment](seam-alignment.md)): the zone ends at its inserted boundaries,
|
||||
so alignment and the Random position keep the seam between them. The mark is one
|
||||
per loop and is set after painting has typed the candidates. A run enforced on
|
||||
the same loop only by paint near the layer keeps its candidates, but the seam no
|
||||
longer passes its ends either. A zone reduced to a single candidate holds the
|
||||
aligned seam on that candidate: alignment cannot smooth its shift between
|
||||
layers, which may show where the loop differs from layer to layer, as with
|
||||
fuzzy skin.
|
||||
|
||||
## Numeric tolerances
|
||||
|
||||
Coordinates are integers in scaled units: 1 nm by default, and 10 nm when a bed
|
||||
|
|
@ -363,7 +657,11 @@ larger. The enforced subdivision step is a physical distance and stays 0.2 mm.
|
|||
| Value | Role |
|
||||
| --- | --- |
|
||||
| `MACHINE_PRECISION_SQUARED` (2.5 units², about 1.6 nm) | A point lies on an edge if it is this close. It absorbs Clipper's truncation of cuts to whole units (under √2 units from the edge) and never bridges a real gap: a one-unit uncovered gap stays a gap. |
|
||||
| `TOLERANCE_LINEAR` (1000 units, 1 µm) | Insertion snaps points this close to an existing vertex, and helper points are placed this far from boundaries. The same radius bounds the rounding fallback, contacts and the sub-micron full-containment rule, so those decisions match what insertion would produce anyway. |
|
||||
| `TOLERANCE_LINEAR` (1000 units, 1 µm) | Insertion snaps points this close to an existing vertex, and helper points are placed this far from boundaries. The same radius bounds the rounding fallback, contacts and the sub-micron full-containment rule, so those decisions match what insertion would produce anyway. It is also the reach of a dead-stretch end, the smallest surface shift, and the agreement of measured shifts with the nominal shift and with a straight change along an edge. |
|
||||
| `SURFACE_MARGIN` (5000 units, 5 µm) | The reconstructed surface lies this far inside the model surface, so a modifier flush with a model face does not act. |
|
||||
| `SURFACE_ARC_SAGITTA` (40 units) | Maximum sagitta of the chords of surface arcs. |
|
||||
| `SHIFT_SAMPLING_STEP` (0.5 mm) | Largest spacing of shift measurements along an edge, the step at which elephant foot compensation is resampled. |
|
||||
| Slicing resolution plus 1 µm | Widens the accepted range of measured depths: perimeters are built on a contour simplified by the resolution. |
|
||||
| `enforcer_oversampling_distance` (0.2 mm) | Maximum step of enforced subdivision. |
|
||||
|
||||
Raising the on-edge tolerance would not help with cuts beside a vertex: more
|
||||
|
|
@ -409,18 +707,19 @@ The causes are:
|
|||
the first flagged modifier in print and volume order is named, followed by
|
||||
"(N in total)" when there are several. The type name reuses the menu's
|
||||
translation.
|
||||
- **modifier "<name>" of "<object>" had no effect on the seam (it might not reach
|
||||
the centerline of the printed perimeter):** a modifier was evaluated on at
|
||||
least one perimeter and never gave a segment, full containment or a discarded
|
||||
fragment. Only the first such modifier in print and volume order is named,
|
||||
followed by "(N in total)" when there are several.
|
||||
- **modifier "<name>" of "<object>" had no effect on the seam:** a modifier was
|
||||
evaluated on at least one perimeter and never gave a segment, full containment
|
||||
or a discarded fragment. Only the first such modifier in print and volume order
|
||||
is named, followed by "(N in total)" when there are several.
|
||||
|
||||
Only the effect is certain, so the cause is given as a hint. A modifier is
|
||||
Only the effect is certain, so the text names no cause. A modifier is
|
||||
evaluated only when its turn comes: on a perimeter where a higher strong
|
||||
modifier placed the seam, lower strong and all weak modifiers are not
|
||||
evaluated. A modifier that was never evaluated is not reported, since nothing
|
||||
is known about it. A point contact gives no segment and does not count as
|
||||
reaching the perimeter.
|
||||
is known about it. One that was overridden on the perimeters it crosses and
|
||||
evaluated only on others it does not reach is reported, although it does reach
|
||||
the model surface; a cause given in the text would mislead there. A point
|
||||
contact gives no segment and does not count as reaching the perimeter.
|
||||
|
||||
The log records the following diagnostic markers:
|
||||
|
||||
|
|
@ -437,16 +736,73 @@ The log records the following diagnostic markers:
|
|||
|
||||
Failures and recoveries are counted separately. The first 10 of each per
|
||||
`init()` call are logged in detail, in parallel processing order; if a limit is
|
||||
exceeded, one summary marker reports the total and the number omitted.
|
||||
exceeded, one summary marker reports the total.
|
||||
|
||||
## Known limitations
|
||||
|
||||
- **The modifier must reach the perimeter centerline.** Contacts are taken as
|
||||
clipping returns them, without offsets or tangency rules, so boundaries that
|
||||
only graze the centerline are the user's responsibility. Several near-touches
|
||||
on inclined edges can leave several segments separated by gaps of a few units;
|
||||
their zones then cover nearly the whole perimeter instead of being treated as
|
||||
full containment.
|
||||
- **Where the shift is not measured, or only approximately.** A noisy loop
|
||||
without its smooth centerline
|
||||
(sliced data loaded from a cache) gets a surface that repeats the noise. A
|
||||
measured point moves along the normal of its
|
||||
edge by the depth projected on that normal: where elephant foot compensation
|
||||
changes along a wall, the centerline's edges are inclined to the outline, and
|
||||
the surface falls short of it by `D * (1 / cos a - cos a)` for an inclination
|
||||
`a`, a few micrometers for usual changes. A closed Arachne loop of
|
||||
a single line (a ring thinner than two lines) gets a surface on its contour or
|
||||
hole side only.
|
||||
- **Fuzzy skin.** The crossing nearest to the smooth point is taken without
|
||||
knowing which part of the noisy loop a noisy point came from: with steep noise,
|
||||
or where another part of the same loop lies within the window (a thin part, an
|
||||
acute corner), the nearest crossing may belong to another place than the one
|
||||
the smooth point was textured into. Points carried without the line
|
||||
(approximate outcome) do not lie on it, and weak zones whose boundaries reverse
|
||||
are reduced to one point. The window is estimated from the settings. A transfer
|
||||
fails only when neither a crossing nor a nearest point of the noisy loop lies
|
||||
within the window, so a boundary that the noise moved farther may be carried
|
||||
onto another crossing or point within it instead; inner points of a noisy arc
|
||||
farther than the window can mislead the order policy. The order of a
|
||||
weak zone's boundaries is checked only where the zone or the rest of the loop is
|
||||
shorter than four windows; where both are longer, boundaries carried onto
|
||||
another part of the loop are not noticed. A loop that lies wholly within the
|
||||
circle of that check (its spread comparable with the window) leaves the
|
||||
decision to the lengths of the two noisy arcs: noise lengthening one of them
|
||||
unevenly may then reduce a correct zone or miss a reversal. When both smooth
|
||||
arcs are shorter than four windows, the zone's rule takes priority. Sliced data loaded from a cache keeps only the
|
||||
extrusions, without the untextured centerline: such loops keep the noisy
|
||||
surface and the nominal shift, so the same project may get another seam after
|
||||
loading. The tests only clear the field by hand; they do not go through
|
||||
writing and loading the cache. A closed thin wall that the classic generator
|
||||
builds outside its loops has no untextured centerline either.
|
||||
- **Grazing contacts.** Contacts are taken as clipping returns them, without
|
||||
tangency rules, so boundaries that only graze the surface are the user's
|
||||
responsibility. Several near-touches on inclined edges can leave several
|
||||
segments separated by gaps of a few units; their zones then cover nearly the
|
||||
whole perimeter instead of being treated as full containment.
|
||||
- **Concave corners not resolved exactly.** At a very sharp inner corner that
|
||||
the slicer bevels, at a sharp change of the measured shift, with a noisy loop
|
||||
without its smooth centerline whose points are closer than the trim of a corner
|
||||
(`d * tan(turn / 2)`) or with
|
||||
artificially fine relief, the surface line keeps its tails and bridges. A modifier boundary
|
||||
closer than `d` to such a corner can give an extra segment, the
|
||||
multiple-intersection warning and a local distortion of the segment of up to
|
||||
`d`; a modifier in the air closer than `d` to such a corner can act. `d`
|
||||
bounds the distortion, not the movement of the seam: if the distortion changes
|
||||
which segment of a strong modifier is the longest, the seam moves to another
|
||||
segment, which may lie at any distance.
|
||||
- **Walls between regions.** XY compensation is taken once per object, for its
|
||||
outer contours and its holes. Where an external perimeter runs along the
|
||||
boundary between two regions of one object (regions whose perimeters are
|
||||
generated separately), slicing compensates that boundary differently: a
|
||||
negative compensation does not move it, and a positive one moves it according
|
||||
to the order of the regions. With a nonzero compensation the reconstructed
|
||||
surface of such a wall is therefore off the real region boundary by the
|
||||
amount of the compensation, and a modifier near that boundary may act or not
|
||||
act accordingly. Restoring it exactly would need the shift actually applied to
|
||||
each part of the loop, since one loop can contain both such a boundary and a
|
||||
compensated outer contour. The measured shift does not change this: the
|
||||
islands do not contain such a boundary, so its points fall outside the
|
||||
accepted range and take the nominal shift, except near the place where the
|
||||
boundary meets the outer contour.
|
||||
- **Self-touching perimeters.** Extraction keeps distinct visits of one
|
||||
coordinate apart through its source-edge bindings, but the consumers locate
|
||||
inserted points by coordinates. A weak zone is typed and subdivided from the
|
||||
|
|
@ -566,6 +922,26 @@ last modifier would.
|
|||
type changes and ordering; [3DScene.cpp](../../src/slic3r/GUI/3DScene.cpp)
|
||||
defines the colors.
|
||||
- [Segment extraction tests](../../tests/libslic3r/test_precise_seam.cpp) cover
|
||||
surface reconstruction (convex and concave corners, holes), crossing the surface without reaching the centerline, modifiers
|
||||
inside the body, arcs giving zero-length segments, dead stretches covered or
|
||||
not, contacts and flush faces on straight, inclined and tessellated walls,
|
||||
full containment of the surface versus the centerline (also with part of one
|
||||
arc uncovered), a fully covered concave fillet finer than the shift, reversals, nearly collinear vertices,
|
||||
vertex points at vertex zero and on holes, the bounds of the surface shift,
|
||||
and independence of contour origin and direction. A shift that changes along
|
||||
the perimeter is checked at vertices, arcs and a vertex without shift, at a
|
||||
resolved concave corner and on a split long edge swept by a boundary; its
|
||||
measurement against an outline at the nominal depth, deeper, beyond the
|
||||
accepted range, with compensation inside and outside the outline, within the
|
||||
margin, and with a step along an edge. Fuzzy skin: the transfer onto hand-made
|
||||
noisy loops across a straight edge, at an acute corner, with several crossings,
|
||||
along an edge on the line, and its three outcomes; the surface pairs of segment
|
||||
ends, of a piece of arc, of separate pieces of one arc, across the start of the
|
||||
loop, and of Center inside an edge, at a vertex, at a collinear vertex (also
|
||||
vertex zero and a changing shift) and in a dead stretch; a loop keeping its
|
||||
untextured centerline when copied, reversed or turned. A boundary swept in sub-micron steps across shallow concave
|
||||
vertices of tessellated holes and notches must move a single segment end
|
||||
monotonically. On the centerline they cover
|
||||
clipping and binding: holes and components, contour origin and reversal,
|
||||
repeated coordinates, collinear vertices and rounding, rollback and the
|
||||
diagnostic limits, the rounding fallback on synthetic and real Clipper
|
||||
|
|
@ -573,8 +949,15 @@ last modifier would.
|
|||
gaps on inclined edges and around vertices.
|
||||
- [Precise Seam tests](../../tests/fff_print/test_precise_seam.cpp) cover the
|
||||
consumers: strong targets in every mode, including a midpoint on an existing
|
||||
vertex or the closing edge, longest-arc selection and tie order in bed axes,
|
||||
priorities, weak boundaries that coincide or share an edge, enforced
|
||||
vertex or the closing edge and a zero-length segment, longest-arc selection
|
||||
(also of a longer segment over a zero-length one) and tie order in bed axes,
|
||||
zero-length weak zones of every type, with fuzzy skin strong points chosen on
|
||||
the smooth loop and inserted into the noisy one or discarded when they cannot be
|
||||
carried, and weak zones short, zero-length at a convex corner, reversed (for
|
||||
every type, also on a loop that lies wholly within the circle of the order
|
||||
check), across the start of both loops, long or short with noise
|
||||
lengthening only their part of the loop and almost all round, also with noise
|
||||
lengthening only the short rest (each for every type), priorities, weak boundaries that coincide or share an edge, enforced
|
||||
subdivision, whole-perimeter weak zones with painting and priorities, weak
|
||||
zones over painting's oversampled candidates, the warning type masks, usage
|
||||
tracking for the "had no effect" and whole-perimeter Blocked warnings, volume
|
||||
|
|
@ -582,7 +965,21 @@ last modifier would.
|
|||
alignment, raft layer indexing and structured slices. End-to-end tests slice
|
||||
a real object with Precise Seam
|
||||
volumes and check the outer wall starts in the exported G-code: every strong
|
||||
mode under several seam positions and with a raft, Enforced and Blocked zones,
|
||||
mode under several seam positions and with a raft, a modifier reaching only
|
||||
0.1 mm into the model, contour and hole walls under positive and negative XY
|
||||
compensation with both generators, a first layer with a wider line, a narrow
|
||||
island the classic generator prints with a thinner line, the
|
||||
measured shift on elephant foot layers with both generators (the same
|
||||
modifier depth as above, flush and slightly deeper modifiers, a hole, a thin
|
||||
part they cannot shrink fully, a raft), XY compensation together with elephant
|
||||
foot compensation in one region and in several, an Arachne wall narrower than
|
||||
its line, fuzzy skin on contours or holes (measured on the smooth centerline;
|
||||
which loops keep it; with sine noise a modifier acts at the model surface, not
|
||||
at the noise, also on part of a wall; a weak zone; Arachne's combined mode with
|
||||
the smallest noise; elephant foot compensation in one region and in several; a
|
||||
closed classic thin wall; loops whose untextured centerline is cleared by hand,
|
||||
as loading cached data leaves them), a modifier
|
||||
crossing only an open thin wall, Enforced and Blocked zones,
|
||||
a perimeter blocked all round under every seam position, a modifier with a
|
||||
hole, and the user warning.
|
||||
- [Seam placer tests](../../tests/fff_print/test_seam_placer.cpp) cover
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ presets are never serialized — they have their own storage and their own lifec
|
|||
| `resources/profiles/` | `<vendor>.opc` alone — the profile and its preset JSONs both pruned | What the app ships with and what installing copies from; read directly for vendors not installed |
|
||||
| `<data_dir>/system/` | `<vendor>.opc` alone, or `<vendor>.json` + `<vendor>/` after an update | What the user has installed |
|
||||
| `<data_dir>/system/` (dev build) | `<vendor>.json` + `<vendor>/` + `<vendor>.opc` written at runtime | A developer tree caches as it parses |
|
||||
| `<data_dir>/cache/wizard_profile_data.json` | The wizard's derived vendor catalog plus the stamps it was built from | Written and read by the setup wizard only; never shipped (see "The wizard's profile-data cache") |
|
||||
| `<data_dir>/cache/wizard_profile_data.json` | The wizard's derived vendor catalog plus the stamps it was built from | Written and read by the setup wizard and the commands that list and install printer models (`Ops::printer_profile_data()`); never shipped (see "The wizard's profile-data cache") |
|
||||
|
||||
Two forms of the same vendor therefore exist, and the system's central rule is that
|
||||
**a vendor's cache is the whole of it**. Where a cache ships or is installed, no profile
|
||||
|
|
@ -273,7 +273,9 @@ function of the vendor set: each vendor's name and version, in load order. A pro
|
|||
change requires a version bump, so name and version determine a vendor's content
|
||||
wherever its copy sits; which directory served it is deliberately **not** stamped,
|
||||
and installing or removing a copy at an unchanged version leaves the cache valid. So
|
||||
the wizard caches the *derived JSON*, not another form of the inputs:
|
||||
the wizard caches the *derived JSON*, not another form of the inputs
|
||||
(`Ops::printer_profile_data()`, `GUI/Operations/InstallOps.cpp`, which `printer_list_models`,
|
||||
`printer_install` and `printer_uninstall` read the catalog through too):
|
||||
`<data_dir>/cache/wizard_profile_data.json` holds the stamp list and the catalog. On
|
||||
open, the wizard computes the current stamps (one version peek per vendor) and, when
|
||||
they match, serves the catalog from the file — no bundle built, no preset installed.
|
||||
|
|
|
|||
|
|
@ -70,9 +70,10 @@ coroutine loop are described in
|
|||
- **Filament:** `slot_number` identifies the slot. If `preset_name` is omitted,
|
||||
the transaction targets the preset currently assigned to that slot. If supplied,
|
||||
it requests that preset for the slot and selects it through the normal UI flow;
|
||||
the name must be among the presets offered by that slot's dropdown, with one
|
||||
exception: the preset currently assigned to the slot stays targetable even when the
|
||||
slot's dropdown hides it (for example an incompatible-but-selected preset). Selecting
|
||||
the name must be among the presets offered by that slot's dropdown, with two
|
||||
exceptions: a hidden preset that suits the printer is shown in the selectors first,
|
||||
and the preset currently assigned to the slot stays targetable even when the
|
||||
slot's dropdown omits it (for example an incompatible-but-selected preset). Selecting
|
||||
a different preset changes the slot-to-preset mapping. In both cases the transaction
|
||||
edits the shared preset, not an isolated slot override.
|
||||
- **Process and printer:** omitting `preset_name` targets the currently active
|
||||
|
|
@ -80,6 +81,9 @@ coroutine loop are described in
|
|||
dropdown. It must be one of the choices the dropdown currently offers, rather
|
||||
than merely any preset present in the collection. This is particularly important
|
||||
for process presets, whose selectable choices can depend on the current context.
|
||||
A hidden preset that suits the printer (a system printer or filament the setup
|
||||
wizard has not added) is shown in the selectors first and stays shown until the
|
||||
app restarts.
|
||||
- A transaction targets exactly one preset. Multi-preset transactions are not
|
||||
supported: applying them would require switching among targets while the
|
||||
application has only one managed edited copy per collection.
|
||||
|
|
@ -216,21 +220,30 @@ undo decisions the user already accepted in an earlier dialog. Target resolution
|
|||
preserves those side effects and then verifies the resulting edited target.
|
||||
|
||||
Filament `preset_name` is an additional integration on top of `Tab::select_preset()`:
|
||||
selecting a different name for a slot also updates the slot-to-preset mapping and its
|
||||
dependent UI/configuration state, mirroring the filament branch of the Plater's normal
|
||||
selection path (`PresetBundle::set_filament_preset()` plus the project/selection refresh,
|
||||
the dynamic filament list, the conditional support-filament flushing recalc, the slot
|
||||
combo refresh and its AMS sync badge). A mixed-color virtual slot is not targetable.
|
||||
once the filament tab edits the preset, a different name for a slot is assigned to the
|
||||
slot by `GUI::Ops::assign_filament_preset()`, the operation the MCP `preset_select` command
|
||||
calls too (docs/HLSD/mcp-server.md, "The operations layer"). It does what picking the
|
||||
preset in the slot's sidebar selector does (`Sidebar::select_filament_preset()`): the
|
||||
slot's colour settings follow the preset, the slot-to-preset mapping, the dynamic
|
||||
filament list and the slot's AMS sync badge are updated, the flushing volumes are
|
||||
recalculated as the automatic calculation's setting says, the project is marked changed
|
||||
and every plate's slice result is invalidated. The tab is not switched a second time,
|
||||
which would ask again about changes the first switch transferred. A mixed-color virtual
|
||||
slot is not targetable.
|
||||
|
||||
Process and printer dropdown choices are constrained by visibility and compatibility,
|
||||
and compatibility may depend on the active context. Target resolution checks the tab
|
||||
and compatibility may depend on the active context. Target resolution
|
||||
(`GUI::Ops::resolve_preset()`, the rule the `preset_select` command resolves by, which
|
||||
words its refusals) checks the tab
|
||||
dropdown's actual items before the selection flow, so a target the user cannot pick
|
||||
fails without raising that flow's unsaved-edit prompt; a name two entries carry is
|
||||
rejected as ambiguous. A filament `preset_name` resolves against the requested slot's
|
||||
own sidebar selector rather than the tab's, so that slot's compatibility filter is the
|
||||
one that applies. A name the slot's dropdown does not show is rejected unless it names
|
||||
that slot's current assignment (a hidden or incompatible-but-selected preset), which
|
||||
stays targetable.
|
||||
rejected as ambiguous. A hidden preset that suits the printer is shown in the
|
||||
selectors first, as for the command, and a process or printer selection that leaves
|
||||
another preset edited is refused by `GUI::Ops::select_preset()`. A filament
|
||||
`preset_name` resolves against the requested slot's own sidebar selector rather than
|
||||
the tab's, so that slot's compatibility filter is the one that applies. A name the
|
||||
slot's dropdown still does not show is rejected unless it names that slot's current
|
||||
assignment (an incompatible-but-selected preset), which stays targetable.
|
||||
|
||||
`commit()` applies its batch through `Tab::apply_preset_config_values`, which parses and
|
||||
validates the whole batch before touching the edited preset and restores the edited
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ can be pasted into an issue.
|
|||
## What it does
|
||||
|
||||
`run_scene_benchmark()` in `src/slic3r/GUI/SceneBenchmark.cpp` is reached from Help >
|
||||
Benchmark 3D Scene, the command palette and Preferences > Graphics. After a confirmation
|
||||
Benchmark 3D Scene, the Speed Dial and Preferences > Graphics. After a confirmation
|
||||
it starts a new project, which asks to save the current one if needed, loads the
|
||||
OrcaSliced Combo handy model and arranges it. A small dialog in a corner of the 3D view
|
||||
then shows the progress; every other window is disabled until the run ends, so a click
|
||||
|
|
|
|||
|
|
@ -49,8 +49,9 @@ no penalty and do not change candidate ranking. Precise Seam modifiers apply aft
|
|||
classification and take priority over it.
|
||||
|
||||
Random placement samples an outgoing edge of its selected candidate. On loops with exact
|
||||
green ranges, an Enforced candidate followed by a non-Enforced candidate contributes no outgoing
|
||||
edge length: the endpoint belongs to the paint, but the following segment leaves the permitted run.
|
||||
green ranges, and on loops with an Enforced zone of a Precise Seam modifier in effect, an Enforced
|
||||
candidate followed by a non-Enforced candidate contributes no outgoing edge length: the endpoint
|
||||
belongs to the paint or the zone, but the following segment leaves the permitted run.
|
||||
This also respects weak modifiers that retype part of a painted run as Blocked or Neutral.
|
||||
On loops with exact red ranges, a permitted candidate followed by a Blocked candidate contributes no outgoing
|
||||
edge length, so Random cannot sample toward the closed red boundary. A zero-length selected
|
||||
|
|
@ -243,6 +244,9 @@ Properties:
|
|||
### Allowed arc
|
||||
|
||||
- For an Enforced C on a loop with exact ends: the Enforced run itself, which ends at the paint.
|
||||
A loop with an Enforced zone of a Precise Seam modifier in effect counts as one here and for
|
||||
Random placement only: the zone ends at its inserted boundaries, and its candidates are typed by
|
||||
the zone, not by painted ranges.
|
||||
- For another Enforced C: the Enforced run, extended past each open end by the oversampling distance
|
||||
(0.2 mm) but never into a Blocked candidate. The run ends sit on candidates and move in sampling
|
||||
steps between layers, and Rear tends to choose the candidate right at an end; without the
|
||||
|
|
|
|||
|
|
@ -13623,11 +13623,11 @@ msgid "%1% modifier \"%2%\" of \"%3%\" (%4% in total) covers an entire perimeter
|
|||
msgstr ""
|
||||
|
||||
#, possible-boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr ""
|
||||
|
||||
#, possible-boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr ""
|
||||
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15449,13 +15449,13 @@ msgstr "El modificador %1% \"%2%\" de \"%3%\" (%4% en total) cobreix un perímet
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "el modificador \"%1%\" de \"%2%\" no ha tingut cap efecte sobre la costura (potser no arriba a la línia central del perímetre imprès)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "el modificador \"%1%\" de \"%2%\" no ha tingut cap efecte sobre la costura"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "el modificador \"%1%\" de \"%2%\" (%3% en total) no ha tingut cap efecte sobre la costura (potser no arriba a la línia central del perímetre imprès)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "el modificador \"%1%\" de \"%2%\" (%3% en total) no ha tingut cap efecte sobre la costura"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15501,13 +15501,13 @@ msgstr "Modifikátor %1% „%2%“ objektu „%3%“ (celkem %4%) pokrývá cel
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "modifikátor „%1%“ objektu „%2%“ neměl na šev žádný vliv (možná nezasahuje ke středové linii tištěného obvodu)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "modifikátor „%1%“ objektu „%2%“ neměl na šev žádný vliv"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "modifikátor „%1%“ objektu „%2%“ (celkem %3%) neměl na šev žádný vliv (možná nezasahuje ke středové linii tištěného obvodu)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "modifikátor „%1%“ objektu „%2%“ (celkem %3%) neměl na šev žádný vliv"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15218,13 +15218,13 @@ msgstr "Modifizierer „%2%“ (%1%) von „%3%“ (%4% insgesamt) deckt eine ga
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "Modifizierer „%1%“ von „%2%“ hatte keine Auswirkung auf die Naht (er erreicht möglicherweise nicht die Mittellinie der gedruckten Wand)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "Modifizierer „%1%“ von „%2%“ hatte keine Auswirkung auf die Naht"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "Modifizierer „%1%“ von „%2%“ (%3% insgesamt) hatte keine Auswirkung auf die Naht (er erreicht möglicherweise nicht die Mittellinie der gedruckten Wand)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "Modifizierer „%1%“ von „%2%“ (%3% insgesamt) hatte keine Auswirkung auf die Naht"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -13619,11 +13619,11 @@ msgid "%1% modifier \"%2%\" of \"%3%\" (%4% in total) covers an entire perimeter
|
|||
msgstr ""
|
||||
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr ""
|
||||
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr ""
|
||||
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -14883,13 +14883,13 @@ msgstr "El modificador %1% «%2%» de «%3%» (%4% en total) cubre un perímetro
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "el modificador \"%1%\" de \"%2%\" no tuvo efecto en la costura (puede que no alcance la línea central del perímetro impreso)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "el modificador \"%1%\" de \"%2%\" no tuvo efecto en la costura"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "el modificador \"%1%\" de \"%2%\" (%3% en total) no tuvo efecto en la costura (puede que no alcance la línea central del perímetro impreso)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "el modificador \"%1%\" de \"%2%\" (%3% en total) no tuvo efecto en la costura"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15044,13 +15044,13 @@ msgstr "%1% motako \"%2%\" aldatzaileak (\"%3%\" objektukoak, guztira %4%) perim
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "\"%2%\" objektuaren \"%1%\" aldatzaileak ez du eraginik izan josturan (baliteke inprimatutako perimetroaren erdiko lerrora ez iristea)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "\"%2%\" objektuaren \"%1%\" aldatzaileak ez du eraginik izan josturan"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "\"%2%\" objektuaren \"%1%\" aldatzaileak (%3% guztira) ez du eraginik izan josturan (baliteke inprimatutako perimetroaren erdiko lerrora ez iristea)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "\"%2%\" objektuaren \"%1%\" aldatzaileak (%3% guztira) ez du eraginik izan josturan"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15028,13 +15028,13 @@ msgstr "Le modificateur %1% « %2% » de « %3% » (%4% au total) couvre un pér
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "le modificateur « %1% » de « %2% » n’a eu aucun effet sur la couture (il n’atteint peut-être pas la ligne médiane du périmètre imprimé)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "le modificateur « %1% » de « %2% » n’a eu aucun effet sur la couture"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "le modificateur « %1% » de « %2% » (%3% au total) n’a eu aucun effet sur la couture (il n’atteint peut-être pas la ligne médiane du périmètre imprimé)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "le modificateur « %1% » de « %2% » (%3% au total) n’a eu aucun effet sur la couture"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15368,13 +15368,13 @@ msgstr "%1% módosító „%2%” (objektum: „%3%”, összesen: %4%) a teljes
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "a(z) \"%2%\" \"%1%\" módosítója nem volt hatással a varratra (lehet, hogy nem éri el a nyomtatott kerület középvonalát)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "a(z) \"%2%\" \"%1%\" módosítója nem volt hatással a varratra"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "a(z) \"%2%\" \"%1%\" módosítója (összesen %3%) nem volt hatással a varratra (lehet, hogy nem éri el a nyomtatott kerület középvonalát)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "a(z) \"%2%\" \"%1%\" módosítója (összesen %3%) nem volt hatással a varratra"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15294,13 +15294,13 @@ msgstr "Il modificatore %1% \"%2%\" di \"%3%\" (%4% in totale) copre un intero p
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "il modificatore \"%1%\" di \"%2%\" non ha avuto effetto sulla cucitura (potrebbe non raggiungere la linea centrale del perimetro stampato)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "il modificatore \"%1%\" di \"%2%\" non ha avuto effetto sulla cucitura"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "il modificatore \"%1%\" di \"%2%\" (%3% in totale) non ha avuto effetto sulla cucitura (potrebbe non raggiungere la linea centrale del perimetro stampato)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "il modificatore \"%1%\" di \"%2%\" (%3% in totale) non ha avuto effetto sulla cucitura"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15808,13 +15808,13 @@ msgstr "「%3%」の %1% モディファイア「%2%」(合計%4%個) は外周
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "「%2%」のモディファイア「%1%」は継ぎ目に影響しませんでした (印刷される外周の中心線に届いていない可能性があります)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "「%2%」のモディファイア「%1%」は継ぎ目に影響しませんでした"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "「%2%」のモディファイア「%1%」(合計%3%個) は継ぎ目に影響しませんでした (印刷される外周の中心線に届いていない可能性があります)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "「%2%」のモディファイア「%1%」(合計%3%個) は継ぎ目に影響しませんでした"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15521,13 +15521,13 @@ msgstr "\"%3%\"의 %1% 수정자 \"%2%\"(총 %4%개)이(가) 둘레 전체를
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "\"%2%\"의 수정자 \"%1%\"이(가) 재봉선에 영향을 주지 않았습니다(출력된 둘레의 중심선에 닿지 않았을 수 있습니다)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "\"%2%\"의 수정자 \"%1%\"이(가) 재봉선에 영향을 주지 않았습니다"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "\"%2%\"의 수정자 \"%1%\"(총 %3%개)이(가) 재봉선에 영향을 주지 않았습니다(출력된 둘레의 중심선에 닿지 않았을 수 있습니다)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "\"%2%\"의 수정자 \"%1%\"(총 %3%개)이(가) 재봉선에 영향을 주지 않았습니다"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -127,6 +127,8 @@ src/slic3r/GUI/Jobs/SLAImportJob.cpp
|
|||
src/slic3r/GUI/Jobs/UpgradeNetworkJob.cpp
|
||||
src/slic3r/GUI/AboutDialog.cpp
|
||||
src/slic3r/GUI/ActionRegistry.cpp
|
||||
src/slic3r/GUI/ActionReplayDialog.cpp
|
||||
src/slic3r/GUI/AgentActivityPanel.cpp
|
||||
src/slic3r/GUI/AMSMaterialsSetting.cpp
|
||||
src/slic3r/GUI/ExtrusionCalibration.cpp
|
||||
src/slic3r/GUI/AmsMappingPopup.cpp
|
||||
|
|
@ -152,6 +154,32 @@ src/slic3r/GUI/CameraPopup.cpp
|
|||
src/slic3r/GUI/ConnectPrinter.cpp
|
||||
src/slic3r/GUI/HMSPanel.cpp
|
||||
src/slic3r/GUI/MainFrame.cpp
|
||||
src/slic3r/GUI/Mcp/McpPersonContext.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/AppTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/CatalogTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/DesignBodyTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/DesignConstructTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/DesignHistoryTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/DesignInspectTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/DesignSketchTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/DesignSolidTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/DesignSurfaceTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/DesignTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/FilamentTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/GuiTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/ObjectTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/PlateTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/PluginTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/PresetTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/PrinterTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/ProjectTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/RecordingTools.cpp
|
||||
src/slic3r/GUI/Mcp/Tools/ViewTools.cpp
|
||||
src/slic3r/GUI/Mcp/PythonScriptsDialog.cpp
|
||||
src/slic3r/GUI/Mcp/RecordingSettings.cpp
|
||||
src/slic3r/GUI/RecordingDialog.cpp
|
||||
src/slic3r/GUI/RecordingIndicator.cpp
|
||||
src/slic3r/GUI/RunScriptPanel.cpp
|
||||
src/slic3r/GUI/MediaPlayCtrl.cpp
|
||||
src/slic3r/GUI/MediaFilePanel.cpp
|
||||
src/slic3r/GUI/ImageGrid.cpp
|
||||
|
|
@ -167,6 +195,16 @@ src/slic3r/GUI/NotificationManager.hpp
|
|||
src/slic3r/GUI/NotificationManager.cpp
|
||||
src/slic3r/GUI/ObjectDataViewModel.cpp
|
||||
src/slic3r/GUI/OpenGLManager.cpp
|
||||
src/slic3r/GUI/Operations/ExportOps.cpp
|
||||
src/slic3r/GUI/Operations/InstallOps.cpp
|
||||
src/slic3r/GUI/Operations/GizmoOps.cpp
|
||||
src/slic3r/GUI/Operations/ObjectOps.cpp
|
||||
src/slic3r/GUI/Operations/PlateOps.cpp
|
||||
src/slic3r/GUI/Operations/PluginOps.cpp
|
||||
src/slic3r/GUI/Operations/PreferenceOps.cpp
|
||||
src/slic3r/GUI/Operations/PresetOps.cpp
|
||||
src/slic3r/GUI/Operations/PrinterOps.cpp
|
||||
src/slic3r/GUI/Operations/ProjectOps.cpp
|
||||
src/slic3r/GUI/OptionsGroup.cpp
|
||||
src/slic3r/GUI/OptionStateRegistry.cpp
|
||||
src/slic3r/GUI/PrintOptionsDialog.cpp
|
||||
|
|
@ -398,3 +436,4 @@ src/slic3r/GUI/PostProcessor.cpp
|
|||
src/slic3r/GUI/TaskManager.cpp
|
||||
src/slic3r/GUI/Widgets/ProgressDialog.hpp
|
||||
src/slic3r/GUI/Widgets/StepCtrl.cpp
|
||||
src/slic3r/GUI/Widgets/WebViewHostDialog.cpp
|
||||
|
|
|
|||
|
|
@ -15325,13 +15325,13 @@ msgstr "Modifikatorius %1% „%2%“ objekto „%3%“ (iš viso %4%) apima vis
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "objekto „%2%“ modifikatorius „%1%“ neturėjo įtakos siūlei (galbūt jis nesiekia spausdinamo perimetro vidurio linijos)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "objekto „%2%“ modifikatorius „%1%“ neturėjo įtakos siūlei"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "objekto „%2%“ modifikatorius „%1%“ (iš viso %3%) neturėjo įtakos siūlei (galbūt jis nesiekia spausdinamo perimetro vidurio linijos)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "objekto „%2%“ modifikatorius „%1%“ (iš viso %3%) neturėjo įtakos siūlei"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -16362,13 +16362,13 @@ msgstr "Aanpasser \"%2%\" (%1%) van \"%3%\" (%4% in totaal) bedekt een volledige
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "aanpasser \"%1%\" van \"%2%\" had geen effect op de naad (mogelijk reikt deze niet tot de middellijn van de geprinte perimeter)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "aanpasser \"%1%\" van \"%2%\" had geen effect op de naad"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "aanpasser \"%1%\" van \"%2%\" (%3% in totaal) had geen effect op de naad (mogelijk reikt deze niet tot de middellijn van de geprinte perimeter)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "aanpasser \"%1%\" van \"%2%\" (%3% in totaal) had geen effect op de naad"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15632,13 +15632,13 @@ msgstr "Modyfikator „%2%” (%1%) obiektu „%3%” (łącznie %4%) obejmuje c
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "modyfikator „%1%” obiektu „%2%” nie wpłynął na szew (może nie sięgać linii środkowej drukowanego obrysu)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "modyfikator „%1%” obiektu „%2%” nie wpłynął na szew"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "modyfikator „%1%” obiektu „%2%” (łącznie %3%) nie wpłynął na szew (może nie sięgać linii środkowej drukowanego obrysu)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "modyfikator „%1%” obiektu „%2%” (łącznie %3%) nie wpłynął na szew"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -14375,12 +14375,12 @@ msgid "%1% modifier \"%2%\" of \"%3%\" (%4% in total) covers an entire perimeter
|
|||
msgstr "O modificador %1% \"%2%\" de \"%3%\" (%4% no total) cobre um perímetro inteiro"
|
||||
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "o modificador \"%1%\" de \"%2%\" não teve efeito na costura (talvez não alcance a linha central do perímetro impresso)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "o modificador \"%1%\" de \"%2%\" não teve efeito na costura"
|
||||
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "o modificador \"%1%\" de \"%2%\" (%3% no total) não teve efeito na costura (talvez não alcance a linha central do perímetro impresso)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "o modificador \"%1%\" de \"%2%\" (%3% no total) não teve efeito na costura"
|
||||
|
||||
msgid "Seam placement may differ from expected."
|
||||
msgstr "A posição da costura pode diferir do esperado."
|
||||
|
|
|
|||
|
|
@ -14849,12 +14849,12 @@ msgid "%1% modifier \"%2%\" of \"%3%\" (%4% in total) covers an entire perimeter
|
|||
msgstr "Модификатор «%2%» (%1%) модели «%3%» (всего: %4%) охватывает периметр целиком"
|
||||
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "модификатор «%1%» модели «%2%» не повлиял на шов (возможно, он не достигает осевой линии печатаемого периметра)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "модификатор «%1%» модели «%2%» не повлиял на шов"
|
||||
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "модификатор «%1%» модели «%2%» (всего: %3%) не повлиял на шов (возможно, он не достигает осевой линии печатаемого периметра)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "модификатор «%1%» модели «%2%» (всего: %3%) не повлиял на шов"
|
||||
|
||||
msgid "Seam placement may differ from expected."
|
||||
msgstr "Размещение шва может отличаться от ожидаемого."
|
||||
|
|
|
|||
|
|
@ -16548,13 +16548,13 @@ msgstr "Modifieraren \"%2%\" (%1%) för \"%3%\" (%4% totalt) täcker en hel peri
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "modifieraren \"%1%\" för \"%2%\" hade ingen effekt på sömmen (den kanske inte når mittlinjen för den utskrivna perimetern)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "modifieraren \"%1%\" för \"%2%\" hade ingen effekt på sömmen"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "modifieraren \"%1%\" för \"%2%\" (%3% totalt) hade ingen effekt på sömmen (den kanske inte når mittlinjen för den utskrivna perimetern)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "modifieraren \"%1%\" för \"%2%\" (%3% totalt) hade ingen effekt på sömmen"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15255,13 +15255,13 @@ msgstr "ตัวปรับแต่ง %1% \"%2%\" ของ \"%3%\" (ทั
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "ตัวปรับแต่ง \"%1%\" ของ \"%2%\" ไม่มีผลต่อรอยตะเข็บ (อาจไม่ถึงเส้นกึ่งกลางของเส้นรอบวงที่พิมพ์)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "ตัวปรับแต่ง \"%1%\" ของ \"%2%\" ไม่มีผลต่อรอยตะเข็บ"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "ตัวปรับแต่ง \"%1%\" ของ \"%2%\" (ทั้งหมด %3% รายการ) ไม่มีผลต่อรอยตะเข็บ (อาจไม่ถึงเส้นกึ่งกลางของเส้นรอบวงที่พิมพ์)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "ตัวปรับแต่ง \"%1%\" ของ \"%2%\" (ทั้งหมด %3% รายการ) ไม่มีผลต่อรอยตะเข็บ"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15182,13 +15182,13 @@ msgstr "\"%3%\" nesnesinin %1% değiştiricisi \"%2%\" (toplam %4%), bir çevren
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "\"%2%\" nesnesinin \"%1%\" değiştiricisinin dikiş üzerinde etkisi olmadı (basılan çevrenin merkez çizgisine ulaşmıyor olabilir)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "\"%2%\" nesnesinin \"%1%\" değiştiricisinin dikiş üzerinde etkisi olmadı"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "\"%2%\" nesnesinin \"%1%\" değiştiricisinin (toplam %3%) dikiş üzerinde etkisi olmadı (basılan çevrenin merkez çizgisine ulaşmıyor olabilir)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "\"%2%\" nesnesinin \"%1%\" değiştiricisinin (toplam %3%) dikiş üzerinde etkisi olmadı"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15533,13 +15533,13 @@ msgstr "Модифікатор «%2%» (%1%) обʼєкта «%3%» (усьог
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "модифікатор \"%1%\" обʼєкта \"%2%\" не вплинув на шов (можливо, він не досягає осьової лінії надрукованого периметра)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "модифікатор \"%1%\" обʼєкта \"%2%\" не вплинув на шов"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "модифікатор \"%1%\" обʼєкта \"%2%\" (усього %3%) не вплинув на шов (можливо, він не досягає осьової лінії надрукованого периметра)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "модифікатор \"%1%\" обʼєкта \"%2%\" (усього %3%) не вплинув на шов"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15982,13 +15982,13 @@ msgstr "Modifier %1% \"%2%\" của \"%3%\" (tổng cộng %4%) bao phủ toàn b
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "modifier \"%1%\" của \"%2%\" không có tác dụng lên đường nối (có thể nó không chạm tới đường tâm của chu vi được in)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "modifier \"%1%\" của \"%2%\" không có tác dụng lên đường nối"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "modifier \"%1%\" của \"%2%\" (tổng cộng %3%) không có tác dụng lên đường nối (có thể nó không chạm tới đường tâm của chu vi được in)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "modifier \"%1%\" của \"%2%\" (tổng cộng %3%) không có tác dụng lên đường nối"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15641,13 +15641,13 @@ msgstr "“%3%”的%1%修改器“%2%”(共 %4% 个)覆盖了整条墙"
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "“%2%”的修改器“%1%”对接缝没有影响(它可能未触及所打印墙的中心线)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "“%2%”的修改器“%1%”对接缝没有影响"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "“%2%”的修改器“%1%”(共 %3% 个)对接缝没有影响(它们可能未触及所打印墙的中心线)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "“%2%”的修改器“%1%”(共 %3% 个)对接缝没有影响"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
|
|
@ -15937,13 +15937,13 @@ msgstr "「%3%」的%1%修改器「%2%」(共 %4% 個)覆蓋整道牆"
|
|||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "「%2%」的修改器「%1%」對接縫沒有作用(可能未觸及所列印牆的中心線)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" had no effect on the seam"
|
||||
msgstr "「%2%」的修改器「%1%」對接縫沒有作用"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam (it might not reach the centerline of the printed perimeter)"
|
||||
msgstr "「%2%」的修改器「%1%」(共 %3% 個)對接縫沒有作用(可能未觸及所列印牆的中心線)"
|
||||
msgid "modifier \"%1%\" of \"%2%\" (%3% in total) had no effect on the seam"
|
||||
msgstr "「%2%」的修改器「%1%」(共 %3% 個)對接縫沒有作用"
|
||||
|
||||
# AI Translated
|
||||
msgid "Seam placement may differ from expected."
|
||||
|
|
|
|||
1
resources/images/recording_start.svg
Normal file
1
resources/images/recording_start.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="7.5" cy="7.5" r="7" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><circle cx="7.5" cy="7.5" r="3.5" style="fill:#f04438"/></svg>
|
||||
|
After Width: | Height: | Size: 255 B |
1
resources/images/recording_stop.svg
Normal file
1
resources/images/recording_stop.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="7.5" cy="7.5" r="7" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><rect x="4.5" y="4.5" width="6" height="6" rx="1" style="fill:#f04438"/></svg>
|
||||
|
After Width: | Height: | Size: 271 B |
1
resources/images/screenshot.svg
Normal file
1
resources/images/screenshot.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1.5,3.5H4l1.5-2h4l1.5,2h2.5a1,1,0,0,1,1,1v8a1,1,0,0,1-1,1H1.5a1,1,0,0,1-1-1v-8A1,1,0,0,1,1.5,3.5Z" style="fill:none;stroke:#949494;stroke-linecap:round;stroke-linejoin:round"/><circle cx="7.5" cy="8.5" r="3" style="fill:none;stroke:#009688;stroke-linecap:round;stroke-linejoin:round"/></svg>
|
||||
|
After Width: | Height: | Size: 385 B |
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Anycubic",
|
||||
"version": "02.04.00.10",
|
||||
"version": "02.04.00.11",
|
||||
"force_update": "0",
|
||||
"description": "Anycubic configurations",
|
||||
"machine_model_list": [
|
||||
|
|
@ -48,6 +48,10 @@
|
|||
"name": "Anycubic Kobra 3 Max",
|
||||
"sub_path": "machine/Anycubic Kobra 3 Max.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic Kobra 3 Max V2",
|
||||
"sub_path": "machine/Anycubic Kobra 3 Max V2.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic Kobra 3 V2",
|
||||
"sub_path": "machine/Anycubic Kobra 3 V2.json"
|
||||
|
|
@ -518,6 +522,10 @@
|
|||
"name": "0.56mm Standard @Anycubic Kobra S1 Max 0.8 nozzle",
|
||||
"sub_path": "process/0.56mm Standard @Anycubic Kobra S1 Max 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "fdm_process_anycubic_kobra_3_max_v2_common",
|
||||
"sub_path": "process/fdm_process_anycubic_kobra_3_max_v2_common.json"
|
||||
},
|
||||
{
|
||||
"name": "0.12mm High Quality @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "process/0.12mm High Quality @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -545,6 +553,110 @@
|
|||
{
|
||||
"name": "0.48mm Standard @Anycubic Kobra 3 V2 0.8 nozzle",
|
||||
"sub_path": "process/0.48mm Standard @Anycubic Kobra 3 V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "fdm_process_anycubic_kobra_3_max_v2_nozzle_0.25",
|
||||
"sub_path": "process/fdm_process_anycubic_kobra_3_max_v2_nozzle_0.25.json"
|
||||
},
|
||||
{
|
||||
"name": "fdm_process_anycubic_kobra_3_max_v2_nozzle_0.4",
|
||||
"sub_path": "process/fdm_process_anycubic_kobra_3_max_v2_nozzle_0.4.json"
|
||||
},
|
||||
{
|
||||
"name": "fdm_process_anycubic_kobra_3_max_v2_nozzle_0.6",
|
||||
"sub_path": "process/fdm_process_anycubic_kobra_3_max_v2_nozzle_0.6.json"
|
||||
},
|
||||
{
|
||||
"name": "fdm_process_anycubic_kobra_3_max_v2_nozzle_0.8",
|
||||
"sub_path": "process/fdm_process_anycubic_kobra_3_max_v2_nozzle_0.8.json"
|
||||
},
|
||||
{
|
||||
"name": "0.06mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "process/0.06mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.08mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "process/0.08mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.10mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "process/0.10mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.12mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "process/0.12mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.14mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "process/0.14mm Standard @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.08mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "process/0.08mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.12mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "process/0.12mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.16mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "process/0.16mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.20mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "process/0.20mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.24mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "process/0.24mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.28mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "process/0.28mm Standard @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.18mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "process/0.18mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.24mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "process/0.24mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.30mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "process/0.30mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.36mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "process/0.36mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.42mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "process/0.42mm Standard @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.20mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "process/0.20mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.24mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "process/0.24mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.32mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "process/0.32mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.40mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "process/0.40mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.48mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "process/0.48mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "0.56mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "process/0.56mm Standard @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
}
|
||||
],
|
||||
"filament_list": [
|
||||
|
|
@ -596,6 +708,10 @@
|
|||
"name": "Anycubic ABS @Anycubic Kobra 3 Max 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic ABS @Anycubic Kobra 3 Max 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic ABS @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -636,6 +752,10 @@
|
|||
"name": "Anycubic ASA @Anycubic Kobra 3 Max 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic ASA @Anycubic Kobra 3 Max 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic ASA @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic ASA @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -780,6 +900,10 @@
|
|||
"name": "Anycubic PETG @Anycubic Kobra 3 Max 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PETG @Anycubic Kobra 3 Max 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PETG @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -848,6 +972,10 @@
|
|||
"name": "Anycubic PLA @Anycubic Kobra 3 Max 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA @Anycubic Kobra 3 Max 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 V2 0.2 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA @Anycubic Kobra 3 V2 0.2 nozzle.json"
|
||||
|
|
@ -900,6 +1028,10 @@
|
|||
"name": "Anycubic PLA Galaxy @Anycubic Kobra 3 V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Galaxy @Anycubic Kobra 3 V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Glow @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Glow @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -912,6 +1044,10 @@
|
|||
"name": "Anycubic PLA High Speed @Anycubic Kobra 3 Max 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA High Speed @Anycubic Kobra 3 Max 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA High Speed @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA High Speed @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -956,6 +1092,10 @@
|
|||
"name": "Anycubic PLA Matte @Anycubic Kobra 3 Max 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Matte @Anycubic Kobra 3 Max 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Matte @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Matte @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -996,6 +1136,10 @@
|
|||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 Max 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Silk @Anycubic Kobra 3 Max 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Silk @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -1032,6 +1176,10 @@
|
|||
"name": "Anycubic PLA+ @Anycubic Kobra 3 Max 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA+ @Anycubic Kobra 3 Max 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA+ @Anycubic Kobra S1 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA+ @Anycubic Kobra S1 0.4 nozzle.json"
|
||||
|
|
@ -1096,6 +1244,10 @@
|
|||
"name": "Anycubic PEBA 95A @Anycubic Kobra 3 Max 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PEBA 95A @Anycubic Kobra 3 Max 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PEBA 95A @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PEBA 95A @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PEBA @Anycubic Kobra S1 Max 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PEBA @Anycubic Kobra S1 Max 0.4 nozzle.json"
|
||||
|
|
@ -1136,6 +1288,10 @@
|
|||
"name": "Anycubic TPU @Anycubic Kobra 3 Max 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic TPU @Anycubic Kobra 3 Max 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic TPU @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic TPU @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic TPU @Anycubic Kobra 3 V2 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic TPU @Anycubic Kobra 3 V2 0.4 nozzle.json"
|
||||
|
|
@ -1164,18 +1320,78 @@
|
|||
"name": "Generic TPU @Anycubic",
|
||||
"sub_path": "filament/Generic TPU @Anycubic.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "filament/Anycubic ABS @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic ABS @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic ABS @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Generic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Generic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Generic ABS @Anycubic Kobra 3 0.4 nozzle",
|
||||
"sub_path": "filament/Generic ABS @Anycubic Kobra 3 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "filament/Anycubic ASA @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic ASA @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic ASA @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic ASA @Anycubic Kobra 3 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "filament/Anycubic PETG @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic PETG @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PETG @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Generic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Generic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PETG @Anycubic Kobra 3 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA @Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Generic PLA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Generic PLA @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic PETG @Anycubic Kobra 3 V2 0.6 nozzle.json"
|
||||
|
|
@ -1192,6 +1408,50 @@
|
|||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Silk @Anycubic Kobra 3 V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Generic PLA Silk @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Generic PLA Silk @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic PLA @Anycubic Kobra 2 Max 0.4 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA @Anycubic Kobra 2 Max 0.4 nozzle.json"
|
||||
|
|
@ -1276,6 +1536,18 @@
|
|||
"name": "Anycubic PLA-CF @Anycubic Kobra S1 Max 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic PLA-CF @Anycubic Kobra S1 Max 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic TPU @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "filament/Anycubic TPU @Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic TPU @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "filament/Anycubic TPU @Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Generic TPU @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "filament/Generic TPU @Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Generic TPU @Anycubic Kobra 3 0.4 nozzle",
|
||||
"sub_path": "filament/Generic TPU @Anycubic Kobra 3 0.4 nozzle.json"
|
||||
|
|
@ -1413,6 +1685,26 @@
|
|||
{
|
||||
"name": "Anycubic i3 Mega S 0.4 nozzle",
|
||||
"sub_path": "machine/Anycubic i3 Mega S 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "fdm_anycubic_kobra_3_max_v2_common",
|
||||
"sub_path": "machine/fdm_anycubic_kobra_3_max_v2_common.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"sub_path": "machine/Anycubic Kobra 3 Max V2 0.25 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"sub_path": "machine/Anycubic Kobra 3 Max V2 0.4 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"sub_path": "machine/Anycubic Kobra 3 Max V2 0.6 nozzle.json"
|
||||
},
|
||||
{
|
||||
"name": "Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"sub_path": "machine/Anycubic Kobra 3 Max V2 0.8 nozzle.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
BIN
resources/profiles/Anycubic/Anycubic Kobra 3 Max V2_cover.png
Normal file
BIN
resources/profiles/Anycubic/Anycubic Kobra 3 Max V2_cover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
|
|
@ -1,23 +1,8 @@
|
|||
<svg width="430" height="430" viewBox="0 0 430 430" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path opacity="0.9" fill-rule="evenodd" clip-rule="evenodd" d="M368.377 412.523L374.006 417.939L377.421 418.271L372.967 414.354L368.377 412.523Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M373.927 417.992L368.301 412.558L364.834 418.797L368.702 424.569L373.927 417.992Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M368.777 424.583L374.014 418.026L377.441 418.331L373.326 422.933L368.777 424.583Z" fill="white"/>
|
||||
<path d="M393.901 415.736H392.397L393.928 417.902L394.694 416.863L393.901 415.736Z" fill="white"/>
|
||||
<path d="M390.735 418.926L386.924 415.551V417.182L391.963 421.632V415.736H390.735V418.926Z" fill="white"/>
|
||||
<path d="M396.399 415.736L394.363 418.522V421.449H395.597V418.921L397.921 415.736H396.399Z" fill="white"/>
|
||||
<path d="M382.474 416.806L383.764 419.294H383.281L382.668 420.494H384.373L384.871 421.449H386.248L383.17 415.474L382.474 416.806Z" fill="white"/>
|
||||
<path d="M386.924 421.449V421.452H388.152V419.166L386.924 418.087V421.449Z" fill="white"/>
|
||||
<path d="M382.103 417.545L380.096 421.45H381.468L382.787 418.887L382.103 417.545Z" fill="white"/>
|
||||
<path d="M413.853 419.118C414.05 419.069 414.235 418.982 414.398 418.862C414.619 418.701 414.797 418.489 414.917 418.242C415.036 417.996 415.093 417.724 415.082 417.45C415.089 417.185 415.031 416.922 414.913 416.684C414.794 416.447 414.619 416.243 414.402 416.09C414.23 415.961 414.035 415.868 413.827 415.814C413.544 415.754 413.255 415.727 412.966 415.736H412.657V416.95H413.098C413.289 416.935 413.48 416.965 413.657 417.038C413.729 417.079 413.788 417.141 413.827 417.214C413.867 417.288 413.884 417.372 413.878 417.454C413.884 417.551 413.861 417.647 413.811 417.731C413.761 417.815 413.687 417.88 413.599 417.92C413.424 417.982 413.238 418.008 413.052 417.997H412.657V419.197H413.098C413.352 419.202 413.606 419.175 413.853 419.118Z" fill="white"/>
|
||||
<path d="M398.496 416.768C398.086 417.291 397.866 417.939 397.872 418.604C397.873 419.063 397.98 419.516 398.183 419.928C398.386 420.34 398.681 420.699 399.046 420.979C399.487 421.316 400.008 421.532 400.559 421.603V420.364C400.101 420.266 399.697 419.997 399.43 419.611C399.254 419.358 399.146 419.064 399.118 418.757C399.091 418.45 399.143 418.141 399.271 417.86C399.372 417.626 399.523 417.418 399.712 417.249C399.957 417.04 400.249 416.895 400.564 416.828V415.586C400.158 415.634 399.764 415.763 399.409 415.966C399.055 416.169 398.744 416.442 398.496 416.768Z" fill="white"/>
|
||||
<path d="M402.331 417.525L403.293 416.76C403.057 416.439 402.756 416.171 402.411 415.972C402.052 415.772 401.658 415.644 401.25 415.595V416.837C401.684 416.923 402.07 417.169 402.331 417.525Z" fill="white"/>
|
||||
<path d="M423.393 417.525L424.357 416.76C424.12 416.44 423.82 416.171 423.475 415.972C423.117 415.772 422.723 415.644 422.314 415.595V416.837C422.747 416.924 423.133 417.169 423.393 417.525Z" fill="white"/>
|
||||
<path d="M413.886 419.578C413.895 419.618 413.9 419.659 413.9 419.7C413.91 419.805 413.883 419.911 413.825 419.999C413.766 420.088 413.679 420.154 413.578 420.186C413.41 420.231 413.236 420.251 413.062 420.244H412.667V421.445H413.07C413.335 421.45 413.599 421.426 413.858 421.374C414.053 421.33 414.236 421.249 414.399 421.134C414.621 420.977 414.801 420.768 414.923 420.525C415.051 420.277 415.118 420.002 415.118 419.724C415.12 419.469 415.069 419.215 414.967 418.981C414.692 419.305 414.307 419.518 413.886 419.578Z" fill="white"/>
|
||||
<path d="M419.56 416.768C419.15 417.291 418.93 417.939 418.938 418.604C418.939 419.063 419.044 419.517 419.248 419.928C419.451 420.34 419.747 420.699 420.111 420.979C420.552 421.317 421.074 421.532 421.625 421.603V420.364C421.165 420.266 420.76 419.997 420.493 419.611C420.317 419.358 420.211 419.064 420.183 418.757C420.155 418.45 420.208 418.141 420.334 417.86C420.435 417.626 420.585 417.417 420.775 417.249C421.019 417.039 421.313 416.895 421.627 416.828V415.586C421.221 415.634 420.828 415.763 420.473 415.966C420.118 416.169 419.808 416.442 419.56 416.768Z" fill="white"/>
|
||||
<path d="M401.243 420.366V421.608C401.649 421.564 402.041 421.438 402.396 421.237C402.75 421.036 403.061 420.764 403.306 420.439L402.335 419.687C402.067 420.04 401.679 420.282 401.243 420.366Z" fill="white"/>
|
||||
<path d="M423.398 419.687C423.128 420.042 422.735 420.285 422.295 420.366V421.608C422.701 421.564 423.093 421.438 423.449 421.237C423.803 421.036 424.113 420.764 424.359 420.439L423.398 419.687Z" fill="white"/>
|
||||
<path d="M417.626 415.736H416.396V421.449H417.626V415.736Z" fill="white"/>
|
||||
<path d="M405.92 419.832C405.795 419.532 405.74 419.206 405.761 418.882V415.736H404.528V418.994C404.517 419.344 404.564 419.692 404.665 420.026C404.76 420.31 404.915 420.571 405.119 420.79C405.302 420.994 405.519 421.164 405.761 421.292C406.002 421.426 406.264 421.517 406.536 421.564V420.309C406.28 420.229 406.062 420.06 405.92 419.832Z" fill="white"/>
|
||||
<path d="M407.999 418.886C408.02 419.216 407.962 419.547 407.832 419.85C407.689 420.074 407.468 420.237 407.212 420.309V421.564C407.485 421.52 407.748 421.43 407.99 421.297C408.231 421.164 408.449 420.993 408.634 420.79C408.84 420.571 408.996 420.311 409.091 420.026C409.191 419.692 409.237 419.344 409.228 418.994V415.736H407.999V418.886Z" fill="white"/>
|
||||
<path d="M411.97 415.736H410.74V421.449H411.97V415.736Z" fill="white"/>
|
||||
<g fill="#fff">
|
||||
<path opacity=".9" fill-rule="evenodd" clip-rule="evenodd" d="m358.377 382.523 5.629 5.416 3.415.332-4.454-3.917z"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="m363.927 387.992-5.626-5.434-3.467 6.239 3.868 5.772zm-5.15 6.591 5.237-6.557 3.427.305-4.115 4.602z"/>
|
||||
<path d="M383.901 385.736h-1.504l1.531 2.166.766-1.039zm-3.166 3.19-3.811-3.375v1.631l5.039 4.45v-5.896h-1.228zm5.664-3.19-2.036 2.786v2.927h1.234v-2.528l2.324-3.185zm-13.925 1.07 1.29 2.488h-.483l-.613 1.2h1.705l.498.955h1.377l-3.078-5.975zm4.45 4.643v.003h1.228v-2.286l-1.228-1.079z"/>
|
||||
<path d="m372.103 387.545-2.007 3.905h1.372l1.319-2.563zm31.75 1.573a1.6 1.6 0 0 0 .545-.256 1.67 1.67 0 0 0 .684-1.412 1.61 1.61 0 0 0-.68-1.36 1.7 1.7 0 0 0-.575-.276 3.6 3.6 0 0 0-.861-.078h-.309v1.214h.441c.191-.015.382.015.559.088a.44.44 0 0 1 .221.416.48.48 0 0 1-.279.466 1.4 1.4 0 0 1-.547.077h-.395v1.2h.441a3 3 0 0 0 .755-.079m-15.357-2.35a2.93 2.93 0 0 0-.624 1.836 3.01 3.01 0 0 0 1.174 2.375c.441.337.962.553 1.513.624v-1.239a1.84 1.84 0 0 1-1.129-.753 1.78 1.78 0 0 1-.159-1.751 1.75 1.75 0 0 1 .441-.611c.245-.209.537-.354.852-.421v-1.242a3.05 3.05 0 0 0-2.068 1.182m3.835.757.962-.765a2.9 2.9 0 0 0-.882-.788 3.2 3.2 0 0 0-1.161-.377v1.242c.434.086.82.332 1.081.688m21.062 0 .964-.765a2.9 2.9 0 0 0-.882-.788 3.2 3.2 0 0 0-1.161-.377v1.242c.433.087.819.332 1.079.688m-9.507 2.053q.014.06.014.122a.465.465 0 0 1-.322.486 1.7 1.7 0 0 1-.516.058h-.395v1.201h.403q.399.007.788-.071.295-.067.541-.24a1.75 1.75 0 0 0 .719-1.41 1.8 1.8 0 0 0-.151-.743c-.275.324-.66.537-1.081.597m5.674-2.81a2.92 2.92 0 0 0-.622 1.836 3 3 0 0 0 1.173 2.375 3.15 3.15 0 0 0 1.514.624v-1.239a1.84 1.84 0 0 1-1.132-.753 1.78 1.78 0 0 1-.159-1.751 1.7 1.7 0 0 1 .441-.611 1.9 1.9 0 0 1 .852-.421v-1.242a3.05 3.05 0 0 0-2.067 1.182m-18.317 3.598v1.242a3 3 0 0 0 2.063-1.169l-.971-.752a1.8 1.8 0 0 1-1.092.679m22.155-.679c-.27.355-.663.598-1.103.679v1.242c.406-.044.798-.17 1.154-.371a3 3 0 0 0 .91-.798zm-5.772-3.951h-1.23v5.713h1.23zm-11.706 4.096c-.125-.3-.18-.626-.159-.95v-3.146h-1.233v3.258c-.011.35.036.698.137 1.032.095.284.25.545.454.764.183.204.4.374.642.502.241.134.503.225.775.272v-1.255a1.12 1.12 0 0 1-.616-.477m2.079-.946c.021.33-.037.661-.167.964a1.08 1.08 0 0 1-.62.459v1.255a2.4 2.4 0 0 0 .778-.267c.241-.133.459-.304.644-.507a2.1 2.1 0 0 0 .457-.764 3.3 3.3 0 0 0 .137-1.032v-3.258h-1.229zm3.971-3.15h-1.23v5.713h1.23z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 2.5 KiB |
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"inherits": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "cT93s5AV0CWH0vvn",
|
||||
"filament_id": "OF223rZv",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"2"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"0"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"0"
|
||||
],
|
||||
"filament_flush_temp": [
|
||||
"nil"
|
||||
],
|
||||
"filament_flush_volumetric_speed": [
|
||||
"nil"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.25 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,141 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_abs",
|
||||
"from": "system",
|
||||
"setting_id": "LuWN1dGaxVTOpo0a",
|
||||
"filament_id": "OF223rZv",
|
||||
"instantiation": "true",
|
||||
"fan_min_speed": [
|
||||
"1"
|
||||
],
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.98"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"5"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"5"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"fan_cooling_layer_time": [
|
||||
"20"
|
||||
],
|
||||
"fan_max_speed": [
|
||||
"15"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.05"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"100"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"95"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"95"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"250"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"230"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.03"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"16"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"temperature_vitrification": [
|
||||
"60"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"95"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"95"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,120 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "5VahPpqYLS5YwvcU",
|
||||
"filament_id": "OF223rZv",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"15"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"1"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"0"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.24"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"280"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"240"
|
||||
],
|
||||
"overhang_fan_speed": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,99 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "WjlPY49zlt2N1RaN",
|
||||
"filament_id": "OF223rZv",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"15"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"1"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"0"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"0"
|
||||
],
|
||||
"fan_max_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.24"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"250"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"280"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"240"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"inherits": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "0jsqGTQLJLkfskLu",
|
||||
"filament_id": "OF0yFLkY",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"2"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"0"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"0"
|
||||
],
|
||||
"filament_flush_temp": [
|
||||
"nil"
|
||||
],
|
||||
"filament_flush_volumetric_speed": [
|
||||
"nil"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.25 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,141 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_asa",
|
||||
"from": "system",
|
||||
"setting_id": "4404uvVbaWSULdPV",
|
||||
"filament_id": "OF0yFLkY",
|
||||
"instantiation": "true",
|
||||
"fan_min_speed": [
|
||||
"1"
|
||||
],
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.98"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"5"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"5"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"fan_cooling_layer_time": [
|
||||
"20"
|
||||
],
|
||||
"fan_max_speed": [
|
||||
"15"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.05"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"100"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"95"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"95"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"250"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"230"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.03"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"16"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"temperature_vitrification": [
|
||||
"60"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"95"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"95"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "XeTzbVQTCuElEAQV",
|
||||
"filament_id": "OF0yFLkY",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"15"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"1"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"0"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.24"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"1.4"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"45"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"280"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"240"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,99 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic ASA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "idVQgRzVM99sVPNN",
|
||||
"filament_id": "OF0yFLkY",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"15"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"1"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"0"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"0"
|
||||
],
|
||||
"fan_max_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.24"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"1.4"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"45"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"250"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"280"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"240"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,129 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PEBA 95A @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_tpu",
|
||||
"from": "system",
|
||||
"setting_id": "RZlFadfb4vk4Id9z",
|
||||
"filament_id": "OFUaHEO9",
|
||||
"instantiation": "true",
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_type": [
|
||||
"PEBA"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"5"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"230"
|
||||
],
|
||||
"additional_cooling_fan_speed": [
|
||||
"0"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.08"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"8"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"100%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"1.6"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"60"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"60"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"230"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"230"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"190"
|
||||
],
|
||||
"overhang_fan_threshold": [
|
||||
"50%"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"inherits": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "bCVYACr5SISq9yEh",
|
||||
"filament_id": "OFo6n2pB",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"2"
|
||||
],
|
||||
"filament_flush_temp": [
|
||||
"nil"
|
||||
],
|
||||
"filament_flush_volumetric_speed": [
|
||||
"nil"
|
||||
],
|
||||
"supertack_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"supertack_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.25 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,150 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_pet",
|
||||
"from": "system",
|
||||
"setting_id": "GYAym2WhB9k29s3a",
|
||||
"filament_id": "OFo6n2pB",
|
||||
"instantiation": "true",
|
||||
"fan_max_speed": [
|
||||
"80"
|
||||
],
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"8"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"5"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"fan_min_speed": [
|
||||
"50"
|
||||
],
|
||||
"filament_cost": [
|
||||
"20"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.3"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"6"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"75"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"75"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"225"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"235"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"270"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"215"
|
||||
],
|
||||
"overhang_fan_threshold": [
|
||||
"10%"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.035"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"10"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"temperature_vitrification": [
|
||||
"60"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"75"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"75"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,102 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "wrKL77B508lb5Ad5",
|
||||
"filament_id": "OFo6n2pB",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.96"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"70"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"70"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.24"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"250"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"230"
|
||||
],
|
||||
"overhang_fan_threshold": [
|
||||
"50%"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.036"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "rzpwh8h7Mz7Lmsss",
|
||||
"filament_id": "OFo6n2pB",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.96"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"70"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"70"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.24"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"250"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"230"
|
||||
],
|
||||
"overhang_fan_threshold": [
|
||||
"50%"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.036"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.25 nozzle",
|
||||
"inherits": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "AIkM2PqhzX7VVIPW",
|
||||
"filament_id": "OFmjN2bc",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"2"
|
||||
],
|
||||
"filament_flush_temp": [
|
||||
"nil"
|
||||
],
|
||||
"filament_flush_volumetric_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.25 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_pla",
|
||||
"from": "system",
|
||||
"setting_id": "OJWR4GTyk5sIWytG",
|
||||
"filament_id": "OFmjN2bc",
|
||||
"instantiation": "true",
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.96"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"13"
|
||||
],
|
||||
"additional_cooling_fan_speed": [
|
||||
"0"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"3"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"210"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.03"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"9"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,84 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "4FFYuYAqVILdx7fF",
|
||||
"filament_id": "OFmjN2bc",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"8"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.036"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic PLA @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "wURL4iRUB0yeN1Ay",
|
||||
"filament_id": "OFmjN2bc",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"12"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.036"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,120 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_pla",
|
||||
"from": "system",
|
||||
"setting_id": "yHdp6N0rUpH96Pqt",
|
||||
"filament_id": "OF5PtjTp",
|
||||
"instantiation": "true",
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"13"
|
||||
],
|
||||
"additional_cooling_fan_speed": [
|
||||
"0"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"3"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"190"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"200"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.03"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"9"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "tMmwO6rO93QPHvvB",
|
||||
"filament_id": "OF5PtjTp",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"12"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.033"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic PLA Glow @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "8yv9WLDXGVfw0C7i",
|
||||
"filament_id": "OF5PtjTp",
|
||||
"instantiation": "true",
|
||||
"filament_max_volumetric_speed": [
|
||||
"12"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.033"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_pla",
|
||||
"from": "system",
|
||||
"setting_id": "yVKrkpL8Llj63pcK",
|
||||
"filament_id": "OFjVOWfJ",
|
||||
"instantiation": "true",
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.97"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"18"
|
||||
],
|
||||
"additional_cooling_fan_speed": [
|
||||
"0"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"3"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"205"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.026"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"8"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "XMZjfbQq4AyroDpy",
|
||||
"filament_id": "OFjVOWfJ",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.96"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.035"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"9"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic PLA High Speed @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "aotegu1BjfHiLYqF",
|
||||
"filament_id": "OFjVOWfJ",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.96"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.035"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"9"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_pla",
|
||||
"from": "system",
|
||||
"setting_id": "svFyLFWmxSxDKIaG",
|
||||
"filament_id": "OFIE3vOf",
|
||||
"instantiation": "true",
|
||||
"additional_cooling_fan_speed": [
|
||||
"0"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.98"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"13"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"3"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"210"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.03"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"9"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,102 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "3YoN68ppP7sqOXTN",
|
||||
"filament_id": "OFIE3vOf",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.97"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"8"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"60"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"60"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"60"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"60"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic PLA Matte @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "WxomG0jk8KgZgUou",
|
||||
"filament_id": "OFIE3vOf",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"12"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"60"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"60"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"60"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"60"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_pla",
|
||||
"from": "system",
|
||||
"setting_id": "Bsm5fHsN7bG4eZ1M",
|
||||
"filament_id": "OFFwJWea",
|
||||
"instantiation": "true",
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.96"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"13"
|
||||
],
|
||||
"additional_cooling_fan_speed": [
|
||||
"0"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"3"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"210"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"210"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.04"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"9"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "bcod7Z8UNlcR1Hg7",
|
||||
"filament_id": "OFFwJWea",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"12"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.032"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic PLA Silk @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "rYajHRGstEnZUEGK",
|
||||
"filament_id": "OFFwJWea",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"12"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"90"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"100"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.032"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,120 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_pla",
|
||||
"from": "system",
|
||||
"setting_id": "k01mI3GyJ2EFDJYw",
|
||||
"filament_id": "OFnmp6rt",
|
||||
"instantiation": "true",
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.97"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"14"
|
||||
],
|
||||
"additional_cooling_fan_speed": [
|
||||
"0"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"3"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"205"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"215"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.03"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"9"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "GKYyVfrIX6IlWnX2",
|
||||
"filament_id": "OFnmp6rt",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.96"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.033"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic PLA+ @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "lM6UhYloEJRvY1DX",
|
||||
"filament_id": "OFnmp6rt",
|
||||
"instantiation": "true",
|
||||
"filament_flow_ratio": [
|
||||
"0.96"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"0"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"220"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"220"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.033"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,135 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic TPU @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "fdm_filament_tpu",
|
||||
"from": "system",
|
||||
"setting_id": "kTsJQE4Dyt6pyT91",
|
||||
"filament_id": "OFMsDGbs",
|
||||
"instantiation": "true",
|
||||
"additional_cooling_fan_speed": [
|
||||
"0"
|
||||
],
|
||||
"cool_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"cool_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"1"
|
||||
],
|
||||
"eng_plate_temp": [
|
||||
"45"
|
||||
],
|
||||
"eng_plate_temp_initial_layer": [
|
||||
"45"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.08"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_end_gcode": [
|
||||
"; filament end gcode"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"0.95"
|
||||
],
|
||||
"filament_long_retractions_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_max_volumetric_speed": [
|
||||
"3.2"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"41"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"0%"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"0.3"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"499"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"All Surfaces"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_distances_when_cut": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"0.8"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"1"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"30"
|
||||
],
|
||||
"filament_start_gcode": [
|
||||
"; filament start gcode"
|
||||
],
|
||||
"filament_vendor": [
|
||||
"Anycubic"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"1"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"1"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"0.4"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"Slope Lift"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"3"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"205"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"215"
|
||||
],
|
||||
"nozzle_temperature_range_high": [
|
||||
"230"
|
||||
],
|
||||
"nozzle_temperature_range_low": [
|
||||
"190"
|
||||
],
|
||||
"overhang_fan_threshold": [
|
||||
"50%"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.02"
|
||||
],
|
||||
"slow_down_min_speed": [
|
||||
"20"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"65"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"65"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic TPU @Anycubic Kobra 3 Max V2 0.6 nozzle",
|
||||
"inherits": "Anycubic TPU @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "HiLLxOk6W9lpFVg0",
|
||||
"filament_id": "OFMsDGbs",
|
||||
"instantiation": "true",
|
||||
"fan_max_speed": [
|
||||
"80"
|
||||
],
|
||||
"fan_min_speed": [
|
||||
"50"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"1"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"240"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"5"
|
||||
],
|
||||
"fan_cooling_layer_time": [
|
||||
"20"
|
||||
],
|
||||
"filament_cooling_final_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_initial_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_cooling_moves": [
|
||||
"0"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.24"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_loading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_loading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_minimal_purge_on_wipe_tower": [
|
||||
"0"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_unloading_speed": [
|
||||
"0"
|
||||
],
|
||||
"filament_unloading_speed_start": [
|
||||
"0"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"6"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"240"
|
||||
],
|
||||
"overhang_fan_threshold": [
|
||||
"95%"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.036"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"10"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.6 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Anycubic TPU @Anycubic Kobra 3 Max V2 0.8 nozzle",
|
||||
"inherits": "Anycubic TPU @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "RQ3EXw0jXeWeWr0L",
|
||||
"filament_id": "OFMsDGbs",
|
||||
"instantiation": "true",
|
||||
"fan_max_speed": [
|
||||
"80"
|
||||
],
|
||||
"fan_min_speed": [
|
||||
"50"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"1"
|
||||
],
|
||||
"close_fan_the_first_x_layers": [
|
||||
"5"
|
||||
],
|
||||
"enable_pressure_advance": [
|
||||
"0"
|
||||
],
|
||||
"fan_cooling_layer_time": [
|
||||
"20"
|
||||
],
|
||||
"filament_density": [
|
||||
"1.24"
|
||||
],
|
||||
"filament_deretraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_before_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_above": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_below": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_lift_enforce": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_restart_extra": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retract_when_changing_layer": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_length": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_minimum_travel": [
|
||||
"nil"
|
||||
],
|
||||
"filament_retraction_speed": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe": [
|
||||
"nil"
|
||||
],
|
||||
"filament_wipe_distance": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop": [
|
||||
"nil"
|
||||
],
|
||||
"filament_z_hop_types": [
|
||||
"nil"
|
||||
],
|
||||
"full_fan_speed_layer": [
|
||||
"6"
|
||||
],
|
||||
"hot_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"hot_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"240"
|
||||
],
|
||||
"nozzle_temperature_initial_layer": [
|
||||
"240"
|
||||
],
|
||||
"overhang_fan_threshold": [
|
||||
"95%"
|
||||
],
|
||||
"pressure_advance": [
|
||||
"0.036"
|
||||
],
|
||||
"slow_down_layer_time": [
|
||||
"10"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"35"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"35"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.8 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Generic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "Anycubic ABS @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "MSwqVnaB3CqAl76d",
|
||||
"filament_id": "OFY9muEs",
|
||||
"instantiation": "true",
|
||||
"filament_vendor": [
|
||||
"Generic"
|
||||
],
|
||||
"filament_flow_ratio": [
|
||||
"1"
|
||||
],
|
||||
"textured_plate_temp": [
|
||||
"100"
|
||||
],
|
||||
"textured_plate_temp_initial_layer": [
|
||||
"100"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"type": "filament",
|
||||
"name": "Generic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"inherits": "Anycubic PETG @Anycubic Kobra 3 Max V2 0.4 nozzle",
|
||||
"from": "system",
|
||||
"setting_id": "McU40ysmhrHhdvGr",
|
||||
"filament_id": "OFYPdQJh",
|
||||
"instantiation": "true",
|
||||
"filament_vendor": [
|
||||
"Generic"
|
||||
],
|
||||
"nozzle_temperature": [
|
||||
"235"
|
||||
],
|
||||
"compatible_printers": [
|
||||
"Anycubic Kobra 3 Max V2 0.4 nozzle"
|
||||
]
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue