Since the OCCT 8.0.1 update, some STEP files imported with cone faces missing. OCCT told the two seam pcurves of a cone apart with a 1e-7 threshold, which fails when the neighboring pcurves end slightly past the seam. The OCCT patch now picks the closer pcurve. The #16290 fix is kept.
Also stops admesh from merging unrelated edges of open meshes from STEP and SVG import on ARM64. A mesh built in memory reaches the nearby check with a tolerance of 0, and dividing by it was undefined. The check now returns early, which is what x86-64 already did.
A SPARKX i7 with a CFS Lite reports "cfsConnect": 0 and then answers the slot query. The query stopped at that status, so filament sync found no slots. It now keeps reading for a short no-CFS deadline and treats the printer as having no CFS only when no slots arrive.
* Trim Trailing Zeros at the Decimal Separator wxWidgets Wrote
double_to_string formats with wxNumberFormatter, which writes the UI locale's decimal separator, but trimmed after the C locale's separator. When the two differ, as reported on macOS in Czech and Russian, nothing was trimmed and fields showed 0.2000. Trim at wxNumberFormatter::GetDecimalSeparator() instead.
* Parse Point Fields Whichever Decimal Separator They Show
Point fields write X and Y with the UI locale's decimal separator but read them back with ToDouble, which uses the C locale's. When the two differ, any value with decimals fails with Invalid numeric and resets. Read them with string_to_double_any_separator, which converts the other separator to the C locale's before ToDouble, so every input ToDouble accepted before still parses.
* feat: initial migration to let UV install plugins for .whls
* fix: clang-tidy
* Simplify plugin wheel loading through uv
* fix: use legacy loader for plugins loaded with legacy method
* fix: use same unzip name as old one
* fix: keep legacy plugins on the same path
* fix: unit tests
* fix: allow epoch versions in wheel filenames
* fix: clang-tidy
* fix: pass Unicode paths to uv on Windows
* fix: cleanup
* fix: support Windows long paths when installing wheel plugins
* fix: recognize uppercase .whl extensions in plugin discovery and dependencies
* fix: keep plain import paths for short namespace and compiled packages
* refactor: fold duplicate wheel import and cache migration branches
* fix: treat an absent package directory as a single-module import
* fix: windows long path deletion (#17703)
* fix: handle long Windows plugin cleanup paths
* fix: warn when plugin deletion removes no files
The solid model capped the section view's cut with the body's wall colour, while the two layer caps already took the infill's. The section cap now takes the infill colour sampled over every layer the solid stands for, as the body takes the wall colour, falling back to the body's colour where a body has no infill. Views that colour by filament are unchanged.
Expat 2.10.0 has UTF-8 quotes in a comment in random_rand_s.c. cl.exe reads source files in the system code page, so on code page 936 it reads the line break as part of a double-byte character. The next line becomes part of the comment and the build fails with C1020.
Pass /utf-8 to Expat's C compiler when building with MSVC, keeping the existing C flags.
* fix: audit process execution by name, ignore args
* test: fix stale test expectations
* fix: resolve Windows subprocess audit targets from command line
* fix: preserve quoted Windows paths in process audit grants
* fix: grant shell permissions for os.system commands
* fix: require grants for all possible os.system shells
* fix: clarify process permission scope in prompts
* refactor: simplify audit target handling
* fix: handle ambiguous Windows process commands
* test: fix for ambigous calls on windows
stale.yml only removes the label when its daily run gets back to an
issue or PR, which can take a few days. A new workflow removes it when
a user comments on an open item that has the label.
The stale bot also checks exemptions before activity, so a stale item
that later gets an assignee or milestone, becomes a draft, or loses
"wait for response" is never checked again and keeps its label. A new
step in stale.yml removes the label from those.
Enhancement issues are no longer exempt. Many old feature requests may
no longer apply, and the stale notice lets the author say whether they
still want it. The stale and close messages now fit both bugs and
feature requests.
operations-per-run goes from 300 to 800. At 300, one pass over the open
issues and PRs took 7 runs, so a reply could keep the stale label for
up to a week. 800 still keeps each run under GitHub's limit of 500
comments an hour.
Mouse ear placement no longer depends on where the outline starts. The old code simplified the outline with Douglas-Peucker, which is anchored on its first vertex, so rotating a part changed which rounded corners got an ear.
make_brim_ear_points() now measures the turn at each vertex over a window of arc length on both sides, and doubles the window while the outline keeps turning. Corners with large fillets now get an ear at the default settings. A candidate whose window already reached a placed ear is dropped, so a sharp corner next to a curve gets one ear. The Brim Ears tool's Auto-generate uses the same function.
Behavior change: a smooth closed outline such as a disc gets no ears at the default 125 degree max angle. Raising the max angle to 135 or more still gives it ears.
Fixes#17119
The Type 1 prime tower purges the prime volume of each filament, and no tab showed it, so on Bambu Lab printers the process Prime volume looked like the setting but changed nothing. The filament's Multimaterial page now has a Prime volume group with Filament change, and Hotend change on a printer whose extruder holds more than one nozzle, such as the H2C. On a Type 1 tower the process Prime volume is greyed out. Slicing is unchanged.
Fixes#16350
Save and load the plate's skirt start angle in the project file. Before this, a skirt start point set in Plate Settings was lost on save. Adds a round-trip check to the plate test in test_3mf.cpp.
The Texture displacement gizmo made every volume visible again on each frame, so modifiers, negative volumes and support blockers/enforcers from other objects and instances showed through. It now restores only the selected instance, and hides the selected object's non-part volumes while the gizmo is open.
Load the Device tab page only once the tab is on screen
The idle prebuild of the main window panels builds the Device tab's web
view while the tab is hidden and loads the print host page into it at
once, because a new panel counts as shown. The page, and the camera
stream it opens, then run from startup until the app closes, whether
the tab is ever opened or not. load_url() now defers the page unless
the view is on screen, as it did before the prebuild.
After slicing a calibration, the preview shows the value it varies:
Pressure Advance for the PA line, pattern and tower, Temperature for the
temperature tower, Flow for the max flowrate and flow rate tests, Speed for
VFA and Jerk for the cornering test. Retraction and input shaping have no
matching view and keep the normal default.
It goes through apply_default_view_type, so it takes precedence over the
default view type preference and a view picked by hand survives a reslice.
The flow rate test sets no calibration mode on the print, because that would
change its G-code, so the Plater remembers it until other files are loaded.
* Fix korean translations for left and right extruder
Updated translations for 'left extruder' and 'right extruder' to use '압출기' instead of '익스트루더'.
I showed 'extruder' and 'Extruder' has different translation in Korean. So i firstly fixed it
* Update Korean translations for extruder terms
Thanks for the review and for pointing out the remaining inconsistencies!
I've updated the eight additional strings in the same PR to use "압출기" consistently with the Korean localization.
PrusaSlicer's overhang_speed_0..3 count from the steepest overhang
(0% overlap) up, while Orca's overhang_1_4..4_4_speed count from the
mildest. The MK4S base preset maps them that way (_3 -> 1_4, _2 -> 2_4,
_1 -> 3_4, _0 -> 4_4), but the CORE One process presets put
PrusaSlicer's _2 and _3 overrides in the 50% and 75% slots, and the
CORE One L presets put _3 in the 50% slot. As a result steeper
overhangs could print faster than milder ones, e.g. 0.20mm STRUCTURAL
@CORE One 0.4 ran 25% overhangs at 30 mm/s and 50% overhangs at
45 mm/s.
Rename the keys to the slots the mapping gives, without changing any
value. Five CORE One MMU3 presets also wrote their own overhang speeds
in a mixed-up order, including 0 (no slowdown) for the mildest
overhangs; drop those keys so they inherit their corrected CORE One
parents. PrusaSlicer has no separate MMU3 print presets.
* Skip Arachne Toolpaths When the Voronoi Diagram Cannot Be Repaired
When the Voronoi repair fails, the skeletal graph built from the
diagram has edges without twins, and the later stages dereference
them. Leave the graph empty and log an error instead, so that outline
gets no toolpaths rather than crashing the slice.
* Cast the Far Sliver Coordinates to `coord_t` in the Unrepairable Voronoi Test
On macOS int64_t is long long, so a literal of type long matched no Point constructor exactly and the call was ambiguous.
* Treat a filament_map Nozzle Outside the Printer as Nozzle 1
A filament_map entry of 0, a negative number or a number above the
nozzle count made Extruder::extruder_id() wrap or run past the end, and
print_machine_envelope then took the std::max over the per-extruder
machine limits out of bounds on a flavour that emits them.
Print::apply now treats an entry outside [1, nozzle count] as nozzle 1,
before the variant expansion and the config snapshot, and logs it once.
After the clamp the slicing engine only sees in-range values. It works
on this print's copy of the config; readers of the plate or project
config are not changed, and in-range maps are left alone.
* Skip a physical_extruder_map Entry Outside the Per-Nozzle Table on Export
The first-filament table built for the start G-code is sized by the
nozzle count, and the export wrote it at the index named by
physical_extruder_map. An entry outside that range corrupted the heap,
and a negative one aborted or hung the export.
The value is a firmware tool number that is also emitted elsewhere, so
it is left as it is; only the write into the table is bounded.
* Treat a filament_map Nozzle Outside the Printer as Nozzle 1 in the CLI
With --filament-map-mode Manual on a multi-nozzle profile, the CLI
indexed the per-nozzle unprintable-filament sets, and shifted the
per-filament printable status, with the raw filament_map value. A value
of 0, a negative number or one above the nozzle count read out of bounds
and crashed before the print was configured.
The checks now use a local copy of the map in which an entry outside
[1, nozzle count] is nozzle 1, the same policy Print::apply applies.
In-range maps are unchanged.
simplify() may move a vertex to the intersection of its neighbouring
lines, guarded by a check that the point stays near them. The check
squared the distance in int64, which overflows when nearly parallel
lines meet more than about 3 m away, so the far point was accepted.
The broken outline gave a Voronoi diagram the repair could not fix,
and SkeletalTrapezoidation then dereferenced an edge without a twin.
Compute the squared distances in double.
* Arrange items almost as wide as the bed again
An arrange spacing lets a rectangular bed grow by the part of the spacing
past every item's brim or tree support, the way printing by object
already grows it. The spacing is kept in full and a part that fits the
bed is not refused for it. The bed does not grow when an item that can
be placed would keep less inflation than the growth, beyond the EPSILON
slack, so a part that fills the bed may sit up to EPSILON past its edge,
within BuildVolume::BedEpsilon. A round bed never grows for a spacing,
since moving its points along each axis would grow it unevenly.
The cap on an item's inflation measures the item as the nester packs it,
inflated with square joins and turned, so it holds for an item turned to
the Y axis or by hand, and it leaves room for the skirt. An item too big
for the bed keeps its full inflation, so it is still refused on a grown
bed, and it no longer sets the bed margin given back to the other items.
Printing by object, this keeps the 5 mm margin for the placed objects
when another one is refused.
The arrange bed keeps EPSILON on each side of the largest item for every
print sequence, since the nester cannot place an item beside one that
fills the bed exactly.
The skirt room reads a percent first layer line width against the
nozzle diameter instead of as millimeters, and accepts a width stored as
a plain number.
update_arrange_items() runs the arrange setup in the order it depends on
for the arrange job and the CLI.
* Arrange items the nester has to turn
With rotations allowed the nester turns an item that does not fit as it
lies, even onto the bed's diagonal, so no item counts as too big. An item
that has to turn is measured at an angle where it fits along the bed's
axes, if there is one, so it keeps its spacing.
* feat: keep plugins activated/deactivated based on pre-update state
* fix: preserve plugin capability choices across updates
Cloud plugin replacement resets the install-state sidecar, which silently
re-enabled capabilities the user had disabled. Snapshot the installed sidecar
before replacing the package, then write the pre-update capability choices and
activation intent back after the install. Permissions stay cleared so the new
package must request them again, and the reload now waits until that state is
persisted.
Add regression tests for updating both an active and a deactivated cloud
plugin.
* fix: roll back a failed plugin update and keep the old package usable
Download the replacement before unloading or deleting the installed package, so
a download failure leaves the old package and its sidecar untouched. Refuse to
replace a package whose sidecar exists but cannot be read, rather than resetting
the user's capability choices and grants.
Extract the install-from-package step so the updater can reuse it. When the
install fails, restore the previous sidecar (activation intent, capability
choices and grants) that the unload step overwrote, and reload the old package
if it was active. Keep a stale package from another cloud directory until the
new one is committed.
In install_plugin, use one rollback helper for every failure path and give
backups a "__" prefix so an abandoned backup is never discovered as a plugin.
Add regression tests for failed download and failed install.
* fix: prevent a plugin load and an update from racing
Claim a plugin key for the duration of update_cloud_plugin under m_mutex, and
make load_plugin refuse a key that an update owns. An update that starts while
a load is still running now fails with a clear error instead of unloading the
package underneath the loader; the claim is released before the replacement is
reloaded and on every failure path.
Keep the dialog's Update button disabled while the selected plugin is loading,
so the UI cannot start an update the manager would refuse. Add a JavaScript
test for the button state and a C++ test for the load refusal and claim
release.
* fix: clang-tidy
* fix: plugin update safety and simplify state handling
* fix: plugin update rollback and error reporting
* refactor: simplify plugin update state handling and tests
* fix: avoid marking plugins as errored on update conflicts
* IMPROVEMENT - show the Orca logo instead of Bambu's placeholder before a non-Bambu printer's camera plays in MediaPlayCtrl and wxMediaCtrl3
* IMPROVEMENT - pick the camera placeholder from image files in MediaPlayCtrl: Bambu's as live_stream_bambu.png for Bambu presets, Orca's as live_stream_default.png for the rest, set when the view is shown
* Keep Heavy Boost and Plugin Headers Out of Widely Included Headers
Several headers that most of the code includes pulled in large libraries they barely use, so hundreds of files compiled them for nothing:
- Point.hpp, Line.hpp, Polygon.hpp and ExPolygon.hpp included all of Boost.Polygon to declare traits. Point and Line now include only the concept headers they need, and the polygon traits move to BoostPolygonTraits.hpp, included by BridgeDetector.cpp, the one file that runs Boost.Polygon algorithms on polygons.
- ProjectTask.hpp included Boost.Thread and the filesystem streams but only uses boost::filesystem::path.
- Utils.hpp included Boost.DateTime for one inline function, which moves to utils.cpp.
- Semver.hpp used boost::format for two version strings; std::to_string prints the same.
- MainFrame.hpp held PluginPages by value, which brought in the web view and plugin headers; it now holds it by unique_ptr.
- Model.hpp included STEP.hpp, and with it OpenCASCADE, for a forward-declarable type and two typedefs.
Files that relied on these headers arriving indirectly now include what they use.
* Include What the Polygon Traits and the End-Time Helper Use
* Drop Two Unneeded Includes and Include the Filesystem Directory Header
cpack now runs in the background while the portable zip and the PDB archive are packed, and a later step waits for it, prints its log and fails on its exit code. makensis compresses on one core, so the two archive steps no longer add to the job's length.
The windows-11-vs2026-arm runner image 20261112.217.1 moved from MSVC 14.51 to 14.52, and its cl.exe crashes with C1001 while optimizing OCCT's BRepGraph_LayerTopoSupplement.cxx. clang-cl builds compile OCCT with cl on ARM64, so every Windows arm64 deps build on that image fails.
A second OCCT patch compiles that one file without optimization when the compiler is cl targeting ARM64. Other compilers and architectures see no change.
* init
* extend feature set
* update
* fix tidy
* fix tidy
* Update calib_dlg.cpp
* simplify class
* update
* align labels with RadioGroup
* replace ImportCheckBox
* Update LabeledCheckBox.cpp
* apply to more dialog
* add to ai skills
* update
* fix Tooltip only reaches the children on the first call
* fix Label can stay grey after a theme switch
* Update release dialog
* change focus target for all platforms
---------
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>