Commit Graph
33636 Commits
Author SHA1 Message Date
Ian Bassi 482ea00a1b Lift straight up in place with slope lift
A slope lift rises along a travel. Since the H2D port, a lift with no travel
after it, before a toolchange or a timelapse frame, was a spiral with Slope
Lift, though Slope never spirals elsewhere. It now goes straight up, as it did
for every Z-hop type up to 2.3.1. Auto and Spiral Lift still spiral there, as
Auto does at a layer change, and every Bambu Lab profile uses Auto Lift.
2026-11-30 14:27:08 -03:00
Ian Bassi c4a11e775b Lift before a filament change the way the Z hop type says
Without a prime tower, or with a Type 2 one, GCode::set_extruder()
lifted in a spiral before the filament change whatever the Z hop type,
so printers set to Normal Lift spiralled at every toolchange. Follow
the Z hop type, as the Type 1 tower already did: Normal Lift lifts
straight up, and Auto, Slope and Spiral Lift lift in a spiral, since a
slope needs a travel to follow. The two places that already mapped it
this way now share the helper.
2026-11-30 14:27:08 -03:00
Ian Bassi 51cfff89c6 Stop writing the fan speed marker at layer changes
Bambu Studio's cooling buffer read ;_SET_FAN_SPEED_CHANGING_LAYER to set
the layer's fan speed after the layer change. Orca's cooling buffer no
longer reads it, since the merge of Bambu Studio 1.7.4, so the marker
was left in every file as a comment. It sent no command, so nothing
else in the G-code changes.
2026-11-30 14:27:08 -03:00
Ian Bassi 1a57ea3a13 Compare floats with a tolerance in the G-code reader and fan mover tests 2026-11-30 14:27:08 -03:00
Ian Bassi f1282048d2 Report the system error of the G-code processor's writes too
The post-process and pre-heat passes of the G-code processor still
asked "Is the disk full?" only. Add the system error below, as the
G-code export does, and clear errno before each write and flush, so a
failure that sets no error code does not report an older one.
2026-11-30 14:27:08 -03:00
Ian Bassi 19982a5923 Guard the lookup of the printed layer count
ToolOrdering::tools_for_layer() only asserts that the Z it is given is
in the tool ordering, so a release build would read past its end if
the layer lists ever disagreed. A layer the tool ordering doesn't hold
is now counted, as every layer was before. The comment now says what
the count leaves out.
2026-11-30 14:27:08 -03:00
Ian Bassi fbb75de586 Retract for a toolchange on Hilbert curve surfaces
The rule that skips the retraction on Hilbert curve surfaces also
skipped the retraction for a toolchange, which GCode::set_extruder()
asks for without a role. On a first layer with Hilbert curve bottom
surfaces and no wipe, a toolchange then happened without any
retraction. Keep the skip for travels only.
2026-11-30 14:27:08 -03:00
Ian Bassi f74888580f Read the positioning mode of generated G-code from the reader
emitted_xy_after_gcode() kept a G90/G91 flag of its own, which the G-code reader now tracks.
2026-11-30 14:27:08 -03:00
Ian Bassi 5f6f61c179 Leave the relative moves of custom G-code alone in spiral vase mode
Spiral vase mode rewrote a lone G1 Z with an absolute height and let a
lift set the layer's starting height, also in relative positioning, so
custom G-code that lifts the nozzle with G91 moved it by the wrong
amount. Leave a move read in relative positioning as it is, keep it out
of the starting height, and read each layer from absolute positioning,
as it starts with Orca's own moves.
2026-11-30 14:27:08 -03:00
Ian Bassi 8700087b88 Read the moves after a role tag as absolute in the fan mover
Custom G-code that switches to G91 and back through a macro, such as
RESTORE_GCODE_STATE, left the fan mover's reader in relative positioning
for the rest of the print, so it measured every later move wrong and
split none. Orca's own moves, which follow a role tag, are absolute, or
the print itself would go wrong, so put the reader back to absolute
positioning at each role tag.
2026-11-30 14:27:08 -03:00
Ian BassiandBenJule 129481e149 Report the system error when the G-code cannot be written
The G-code writer ignored the results of fwrite() and fflush(), and a
failed export always asked "Is the disk full?". Keep the first system
error and show it below that question, so a missing permission or a
removed drive says what went wrong.

Ported from bambulab/BambuStudio@302cadf9b9

Co-authored-by: BenJule <benjamin.luetker@gmail.com>
2026-11-30 14:27:08 -03:00
Ian Bassiandlhx 7ad819a2fa Check the Type 2 prime tower for conflicts on every plate
The conflict check offsets the prime tower by the plate origin it was
given, while the objects are already at their plate positions. The
Type 1 tower passed the plate origin, but the Type 2 tower passed zero,
so on plates 2+ it was checked as if it stood on the first plate and
conflicts with the objects there were missed. #12742 makes the same
change.

Ported from Snapmaker/OrcaSlicer@c75ddaabac

Co-authored-by: lhx <luohaoxuan@snapmaker.com>
2026-11-30 14:27:08 -03:00
Ian Bassiandlhx 021c6d6e22 Follow relative positioning in the G-code reader
GCodeReader read every X, Y and Z as absolute, also after G91. Custom
G-code that lifts the nozzle with "G91 / G1 Z2 / G90" left the reader
2 mm low, and the next absolute Z move looked like a move up. When the
fan mover then split that move to place a fan command earlier, it
wrote a Z between the wrong height and the target, so the nozzle dipped
into the print. Track G90 and G91, and make the distances and targets
of a line relative while G91 is in effect. The fan mover no longer
splits a move read in relative mode, since the split writes absolute
coordinates.

Ported from Snapmaker/OrcaSlicer@99d613e354

Co-authored-by: lhx <luohaoxuan@snapmaker.com>
2026-11-30 14:27:08 -03:00
Ian BassiandJoyx a14cfc290c Don't read a G-code file that could not be opened
GCodeReader went on to fread() from the FILE* even when opening the file
had failed. On Windows that null handle aborts the app through the CRT's
invalid parameter handler; elsewhere it is undefined behaviour. Return
false instead, as for a read error.

Ported from Snapmaker/OrcaSlicer@24593a3b77

Co-authored-by: Joyx <48636909+iesteem@users.noreply.github.com>
2026-11-30 14:27:08 -03:00
Ian Bassiandlujiaxin 5a5b8c2d99 Count each filament once before adding the prime tower filament
Print::extruders() adds the prime tower filament when more than one
filament is in use, but it counted them before removing duplicates.
Supports printed with the object's filament, or a brim filament equal
to it, list that filament twice. A plate printing a single filament
then gained the prime tower filament, which kept the prime tower
enabled, printed it with that filament and heated its extruder.

Ported from Snapmaker/OrcaSlicer@40adf181d8

Co-authored-by: lujiaxin <1091917314@qq.com>
2026-11-30 14:27:08 -03:00
Ian Bassiandfire2wind 99b70ef82f Wipe toward the Type1 prime tower on every plate
After a toolchange on the Type1 prime tower, the wipe path was built in
plate coordinates while the nozzle position includes the plate origin.
On every plate but the first, the wipe that ends the toolchange headed
toward the first plate instead of along the tower. The Type2 tower and
the nozzle change path already add the plate origin.

Found through Snapmaker/OrcaSlicer@407dc6f68e,
which adds the plate origin to the same wipe in the fork's version of
the Type2 path.

Co-authored-by: fire2wind <1229725087@qq.com>
2026-11-30 14:27:08 -03:00
Ian Bassiandlujiaxin 1f88152936 Consume every support interface fan end marker
The cooling buffer only handled the end marker of a support interface
when it had acted on the start marker. When it had not, for example on
a raft printed while the fan is still held off, the end marker fell
through and ";_SUPP_INTERFACE_FAN_END" was written to the G-code.
Handle the end marker unconditionally, as the ironing one already is.

Ported from Snapmaker/OrcaSlicer@b070bcfaff

Co-authored-by: lujiaxin <1091917314@qq.com>
2026-11-30 14:27:08 -03:00
Ian Bassiandlhx f564ce39c4 Finish the retraction after a wipe on Hilbert curve surfaces
A wipe retracts only part of the length and leaves the rest, including
retract_after_wipe, to the regular retraction that follows. On the first
layer with Hilbert curve bottom surfaces, and on Hilbert curve top
surfaces, that retraction is skipped, so the rest was silently dropped.
Always finish the retraction once a wipe has started it.

Ported from Snapmaker/OrcaSlicer@b070bcfaff

Co-authored-by: lhx <luohaoxuan@snapmaker.com>
2026-11-30 14:27:08 -03:00
Ian Bassiandzengerqi 2be8e9e955 Count only the layers that are printed in the total layer count
The layer count behind [total_layer_count] and "; total layers count"
included every object and support layer. process_layer() skips a layer
whose tool ordering has no extruder, such as the tip of a cone that is
too thin for a wall, so the count could be higher than the layer changes
in the file. Printers that report progress from it with
SET_PRINT_STATS_INFO then stopped short of the last layer. On flat beds,
count only the layers their tool ordering prints. Belt printers keep
their own filter.

Found by Snapmaker/OrcaSlicer@b070bcfaff,
which rewrites the count afterwards instead.

Co-authored-by: zengerqi <zengerqi@snapmaker.com>
2026-11-30 14:27:08 -03:00
Ian Bassiandsheng.zhang a688ef7229 Trace texture color boundaries without recursion
Smoothing the color regions of an imported texture traced each
boundary by calling itself once per vertex. On a large OBJ the
boundaries have enough vertices to overflow the 512 KB stack of a macOS
worker thread, and the import crashed. Trace them in a loop instead.

Ported from bambulab/BambuStudio@fa624a2577

Co-authored-by: sheng.zhang <sheng.zhang@bambulab.com>
2026-11-30 14:12:40 -03:00
Ian Bassiandzhou.xu d3ab7b3e67 Don't read an object index from a selection of several objects
With a painting tool open, Ctrl+clicking another object in the object
list updated the tool before closing it. The selection then spanned two
objects, its object index was -1, and reading the model object at that
index crashed.

Ported from bambulab/BambuStudio@b7d083bf65

Co-authored-by: zhou.xu <zhou.xu@bambulab.com>
2026-11-30 14:12:40 -03:00
Ian Bassiandandrew hunt 9fb3425c1a Read the dragged volume again on every step of a surface drag
Dragging text or an SVG over a surface kept a pointer to its GLVolume
from the start of the drag. A "use surface" job finished between two
drags rebuilds the volume, and the next drag read the freed one and
could crash. Look the volume up again on each step.

Ported from bambulab/BambuStudio@c3b0156127

Co-authored-by: andrew hunt <andrew@hunt.codes>
2026-11-30 14:12:40 -03:00
Ian Bassiandzhenze.xu ba3d7d6e33 Release the macOS drive observer when the GUI shuts down
Rebuilding the GUI, after a language change for example, shuts the
removable drive manager down and starts it again. Shutting down did not
release the macOS observer of mounted drives, so each rebuild left one
behind that kept reporting drives, and builds with asserts aborted.
Release it, and start its pointer as null, which registering asserts:
it was null only because the manager is created with make_unique.

Ported from bambulab/BambuStudio@406cac36e7

Co-authored-by: zhenze.xu <zhenze.xu@bambulab.com>
2026-11-30 14:12:40 -03:00
Ian Bassiandbaijie 5cdf5bf8fa Keep the preset sync thread away from the app while it shuts down
Closing Orca while the startup sync of presets and plugins was running
crashed on exit. The threads only saw their cancel flag once
~PresetUpdater ran, after the main window with its plater and the app
config were gone, and the sync thread checked it in a few places only,
so it went on to call into them. Read the app settings it needs before
starting the thread, make the flag atomic and check it at each step,
and stop and join the threads when the main window closes, and again in
GUI_App::OnExit().

Ported from bambulab/BambuStudio@fc560922da

Co-authored-by: baijie <tonghao.yuan@bambulab.com>
2026-11-30 14:12:40 -03:00
Ian Bassiandzhou.xu 9b8eeb1a40 Skip drawing the Move, Rotate and Scale tools with nothing selected
The tools read the selection's bounding box when they draw, which an
empty selection doesn't have. Shift clicking empty space now closes
them, but other paths can still empty the selection while one is open.

Ported from bambulab/BambuStudio@1f3e6bd71a

Co-authored-by: zhou.xu <zhou.xu@bambulab.com>
2026-11-30 14:12:40 -03:00
Ian Bassi 5e72572227 Deselect through the canvas when a Shift click selects nothing
A Shift click, or a Shift rectangle, on empty space removed the
selection directly. The Move, Rotate or Scale tool stayed open and read
the empty selection on the next frame, which crashed with a part
selected, and the object list kept showing the old selection. Deselect
the way a plain click on empty space does, which also closes the tool.

Bambu Studio fixes the same crash by guarding the tools instead, in
bambulab/BambuStudio@1f3e6bd71a, which the
next commit ports.
2026-11-30 14:12:40 -03:00
Ian BassiandSterling G. Baird bc2749f9a9 Read a filament the CLI filament map leaves out as nozzle 1
Slicing a multi-extruder plate in manual mode from the command line
read the filament map without checking its length. A map shorter than
the plate's filaments read past its end in the printability check,
which crashed or gave a bogus "can not be printed on extruder" error.
Read a filament the map leaves out as nozzle 1, as the final map does.
Since #17476, a nozzle the printer doesn't have already maps to nozzle 1.

Ported from bambulab/BambuStudio@bdfd004de8

Co-authored-by: Sterling G. Baird <sterling.baird@byu.edu>
2026-11-30 14:12:40 -03:00
Ian Bassiandzackaree-shen 2801aec81c Decode the last folder of the open dialogs from UTF-8
The Open project, Open G-code and Load profile dialogs passed the
remembered folder, a UTF-8 string, to wxWidgets as if it were in the
local code page. On Windows a folder with non-ASCII characters in its
name was mangled, and opening the dialog could crash. The other file
dialogs already convert it with from_u8().

Ported from Snapmaker/OrcaSlicer@7f4e64294a

Co-authored-by: zackaree-shen <zackary_shen@qq.com>
2026-11-30 14:12:40 -03:00
Ian Bassiandfire2wind dc9ef93046 Don't divide by zero when hints.ini has no hints
HintDatabase::init() picks a random hint with rand() % the number of
loaded hints. When hints.ini is empty or can't be read, that number is
zero and the app crashes at startup. get_hint() already returns nothing
in that case, but only after init() has run.

Ported from Snapmaker/OrcaSlicer@05acbec702

Co-authored-by: fire2wind <1229725087@qq.com>
2026-11-30 14:12:40 -03:00
Ian Bassiandjianglinfeng abe2fba75c Check the mesh before subdividing it
igl::loop() pairs exactly two faces per edge, running along it in
opposite directions, and sizes its vertex adjacency by the largest
vertex index in use. A repeated face, in either winding, a flipped face,
an edge shared by more than two faces, a face that repeats a vertex or
an unused vertex after the used ones made it index out of bounds. None
of these shows up as an open edge, so the menu still offered the
subdivision. Drop repeated faces, faces that repeat a vertex, which have
no area, and unused vertices. Report two faces running along an edge the
same way, as around a flipped face or on an edge of more than two faces,
as an error, which the menu already turns into a request to repair the
mesh. A clean mesh subdivides as before.

Ported from Snapmaker/OrcaSlicer@b070bcfaff

Co-authored-by: jianglinfeng <jianglinfeng@snapmaker.com>
2026-11-30 14:12:40 -03:00
Ian Bassi aa18fe0b3f Leave out the first cell of a grid line when it is outside the grid
Painted lines are clipped to the edge grid's bounding box inflated by
1 µm, so the cell of a line end can fall one row or column past the
grid. EdgeGrid::visit_cells_intersecting_line() checks every cell after
the first against the grid, but only asserts on the first, so a release
build passed that cell to the visitor, and the MMU segmentation read
cell data past the end of the grid. Leave it out there, for every
visitor.

Snapmaker Orca skips these cells in the painted-line visitor only, in
Snapmaker/OrcaSlicer@b070bcfaff.
2026-11-30 14:12:40 -03:00
Ian BassiandXieJiajun 039b8c4ed9 Fix a crash in the object list after arranging
Arranging rebuilds the plates in arrange order, which re-sorts the model
objects. The object list then synced its selection from GLVolumes that
still carried the old object indices, and with a part or modifier
selected it read past the end of another object's volumes. Reload the
scene before syncing the object list, and skip indices that are out of
range.

Ported from Snapmaker/OrcaSlicer@fd6e55e734

Co-authored-by: XieJiajun <68017138+PILIPALA030@users.noreply.github.com>
2026-11-30 14:12:40 -03:00
Ian Bassiandchenpenggui e07ea09de0 Announce backup tasks queued while the main window was rebuilt
The worker only posts the event that runs the UI tasks when the queue
goes from empty to one task. A task queued while the window was being
recreated (a language change, for example) found no callback, so it was
never announced, and later tasks did not post either because the queue
was no longer empty. Backups then stalled until the app was closed.
Post the event when a new callback arrives and tasks are waiting.

Ported from Snapmaker/OrcaSlicer@99e66ae171

Co-authored-by: chenpenggui <155463329+gushanji@users.noreply.github.com>
2026-11-30 14:12:40 -03:00
Ian Bassiandchenpenggui 18787279b1 Don't call the backup callback after the main window cleared it
The backup worker copied the callback before the file I/O of a task and
called that copy afterwards. When the main window shut down in between,
it cleared the callback, and the worker still posted an event to the
destroyed window. Read the callback again after taking the lock back.

Ported from Snapmaker/OrcaSlicer@99e66ae171

Co-authored-by: chenpenggui <155463329+gushanji@users.noreply.github.com>
2026-11-30 14:12:40 -03:00
Ian Bassi 52e9e93750 Put a test comment back above the test it documents
The tests for the bridge speed and the no-overlap area went in between the comment and the test it describes.
2026-11-30 14:11:14 -03:00
Ian Bassi 1913a24c91 Give regions with their own overhang speeds walls of their own
Regions that differ in the bridge speed or flow get walls of their own,
so their overhang walls print at their own speed. The speeds of partly
overhanging walls, and the settings that turn them on, had the same
problem: a modifier changing them shared its walls with the part around
it and printed at that part's speeds. Compare them too.
2026-11-30 14:11:14 -03:00
Ian Bassi 5abe532d67 Regenerate tree supports only when the first copy of the object moves
Tree supports place the bed border at the first instance of the object,
so a change to the others, such as adding a copy, regenerated them for
nothing. Supports that avoid bed exclusion volumes still follow every
instance.
2026-11-30 14:11:14 -03:00
Ian Bassi 552788ef3f Stop normal support expansion at walls thinner than a growth step
The expansion grew in 0.5 mm steps off the layer below, so a wall
thinner than a step, such as a single 0.4 mm wall, was still crossed:
subtracting it left a strip on its far side that the next steps kept
growing. Drop each piece a step reaches only across the layer below,
which touches nothing it grew from. This takes a loop of its own, so
the tree support helper is private again. A negative expansion shrinks
with shrink() now, as expand() expects a positive delta.
2026-11-30 14:11:14 -03:00
Ian Bassi 3b9face0f6 Grow every tree support raft layer by the first layer expansion once
Slim, Strong and Hybrid tree supports size their raft by the first
layer expansion, and the GUI greys out the raft expansion for them. The
fixed 3 mm grip from BambuStudio broke that: the field no longer did
what its text says, 0 no longer gave a flush raft, and a one layer raft,
which is an interface layer only, ignored the setting. Grow every raft
layer by the setting again, and drop only the second expansion of the
first layer that made it twice as wide.
2026-11-30 14:11:14 -03:00
Ian Bassiandwenbing.shao 1c4f5a515b Build a one layer tree support raft as one first layer
With a single raft layer, the Slim, Strong and Hybrid tree supports
added a first raft layer and then the interface layer, 0.3 mm thick by
default. The interface layer reached into the first support layer under
the object, so support there was printed twice. Build the single layer
at the first layer height only. Normal and organic supports, and rafts
of more than one layer, are unchanged.

Ported from bambulab/BambuStudio@635b51c6c2,
without its first layer speed change: Orca prints the whole first
object layer over a raft at the first layer speeds on purpose.

Co-authored-by: wenbing.shao <wenbing.shao@bambulab.com>
2026-11-30 14:11:14 -03:00
Ian BassiandColajichi bfce6f4925 Give regions with their own bridge speed walls of their own
Parts and modifiers with matching wall settings share their walls,
which are generated with the settings of the first one. The check did
not compare the bridge speed and bridge volumetric flow, though
overhang walls print at the bridge speed, so a part with its own bridge
speed printed its overhang walls at the speed of another part. Only
objects whose parts differ in these settings change.

Ported from bambulab/BambuStudio@2d6f964e24

Co-authored-by: Colajichi <shubo.nie@bambulab.com>
2026-11-30 14:11:14 -03:00
Ian Bassiandjiaxi.chen 122a46c9d7 Grow normal support expansion without crossing thin walls
Normal supports grew each overhang by the support expansion in one
offset. Where a wall was thinner than the expansion, the grown area
crossed it, and that part of the overhang was carried down as support
outside the object. Grow it in steps of 0.5 mm instead, keeping it off
the layer below after each step, as tree supports already do. Only
prints with a support expansion above 0 change.

Ported from bambulab/BambuStudio@61899ad6bb

Co-authored-by: jiaxi.chen <jiaxi.chen@bambulab.com>
2026-11-30 14:11:14 -03:00
Ian BassiandMax Paperno 43c3b24731 Keep fuzzy skin off when its parameters are out of range
A region whose fuzzy skin point distance or thickness is too small has
its fuzzy skin turned off. It was set to None, but None only means no
fuzzy skin outside painted areas: painting still turns it on, while
Disabled, the default, leaves painted areas without it. So a painted
object whose region had fuzzy skin disabled got fuzzy skin anyway, and
with a point distance of 0, which older projects can hold, slicing it
never finished. Turn it off with Disabled instead.

Ported from bambulab/BambuStudio@ca564f822c

Co-authored-by: Max Paperno <max@wdg.us>
2026-11-30 14:11:14 -03:00
Ian Bassiandsongwei.li b1c28b7a90 Clear the no-overlap fill area before generating the walls again
The fill area kept clear of the walls, which gap fill and concentric
infill stay inside, is only appended to while the walls are generated.
Objects with several regions cleared it first, but the path for a
single region did not. Every time only the walls were generated again,
after a change to the wall loops for example, the old area stayed, and
gap fill reached into the overlap with the walls. The G-code then
depended on the order of the changes rather than the settings.

Ported from bambulab/BambuStudio@6df6afa784

Co-authored-by: songwei.li <songwei.li@bambulab.com>
2026-11-30 14:11:14 -03:00
Ian Bassiandjiaxi.chen 0895cd8048 Prune tree support branches that reach the first layer inside the model
With tree support on the build plate only, a branch that cannot reach
the bed is pruned when it is dropped from its layer. Nodes are never
dropped from the first layer, so a branch that reached it inside the
model, on a slab one layer thick or on the floor of a pocket, stayed
and was printed onto the model. Prune those too.

Ported from bambulab/BambuStudio@851e982b49

Co-authored-by: jiaxi.chen <jiaxi.chen@bambulab.com>
2026-11-30 14:11:14 -03:00
Ian Bassiandzackaree-shen 141aeb8a00 Expand the first layer of a tree support raft once
The non-organic tree support raft was grown by the first layer
expansion on every raft layer, and its first layer by that expansion a
second time. The default 2 mm put the first layer 4 mm out, and a
20 mm setting 40 mm. The second expansion came with BambuStudio's fix
for this setting, which assumes the fixed 3 mm grip that Orca had
replaced with the setting. Restore that grip, so the setting widens the
first layer only, as it does for the other supports.

Ported from Snapmaker/OrcaSlicer@0e572ec63a

Co-authored-by: zackaree-shen <zackary_shen@qq.com>
2026-11-30 14:11:14 -03:00
Ian Bassiandzackaree-shen 553040c43c Regenerate supports that depend on the position of a moved object
Moving an object only invalidated its skirt, brim and G-code. Tree
supports are clipped to the bed shape at the position of the instance,
and every support avoids the bed exclusion volumes at that position,
so after a move they kept the old position until a setting changed.
Regenerate supports in those cases; normal supports on a bed without
exclusion volumes are still kept.

Ported from Snapmaker/OrcaSlicer@4e0aa3acc1

Co-authored-by: zackaree-shen <zackary_shen@qq.com>
2026-11-30 14:11:14 -03:00
Ian Bassiandlhx dc86c5fbf0 Compensate every piece of a polygon that simplification splits
Elephant foot compensation measured contour widths on the polygon
simplified with SCALED_EPSILON, and kept only the first piece the
simplification returned. Where the simplification split a polygon, for
example at walls thinner than that tolerance, the other pieces were
dropped from the first layer; where it returned nothing, front() was
undefined. Compensate each piece instead. A polygon that simplifies to
a single piece is compensated exactly as before.

Ported from Snapmaker/OrcaSlicer@3412141cc7

Co-authored-by: lhx <luohaoxuan@snapmaker.com>
2026-11-30 14:11:14 -03:00
Ian Bassiandlhx 04c29af445 Keep internal bridges inside the area of their own filament
An internal bridge is expanded to anchor it, and the expansion could
reach into a neighbouring region. That area was then cut out of every
region and kept only in the bridge's own region, so on painted or
multi-filament objects part of another region printed in the bridge's
filament. On layers whose regions use more than one solid infill
filament, clip each bridge to the fill area of its own filament.
Layers with one filament are unchanged.

Ported from Snapmaker/OrcaSlicer@b070bcfaff

Co-authored-by: lhx <luohaoxuan@snapmaker.com>
2026-11-30 14:11:14 -03:00
Ian Bassi a28a42dc17 Label each overhang speed with the overhang it applies at (#18038) 2026-11-30 14:06:23 -03:00