Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
dc12a44
test(parity): compare stock INDX and KINARB cube streams
5aaee9 Dec 3, 2026
8345d2f
test(parity): cover BenFab 1.0 and INDX 4T stock cubes
5aaee9 Dec 3, 2026
77e5f65
fix(polyhole): preserve the applied region edge cap
5aaee9 Dec 3, 2026
99cbb78
fix(gcode): honor the config block omission option
5aaee9 Dec 3, 2026
3573315
fix(belt): admit contoured two-instance objects
5aaee9 Dec 3, 2026
893949e
fix(belt): emit the none rotation header
5aaee9 Dec 3, 2026
9505c09
fix(belt): slice with in-plane Z rotation
5aaee9 Dec 3, 2026
e86fb36
fix(belt): admit shared-tool outer brim across copies
5aaee9 Dec 3, 2026
e5673b3
fix(belt): admit different outer brim tools
5aaee9 Dec 3, 2026
58a68bf
test(belt): exercise the plate Manual filament mapping mode
5aaee9 Dec 3, 2026
6275747
fix(config): reject mixed components outside the physical slot range
5aaee9 Dec 3, 2026
126aa31
fix(config): reject self and mixed-slot component references
5aaee9 Dec 3, 2026
6998b53
feat(belt): admit single-tool sequential printing
5aaee9 Dec 3, 2026
da0ca70
fix(print): count applied spiral copies
5aaee9 Dec 3, 2026
aa16f8f
feat(plater): add Lay on Face placement
5aaee9 Dec 3, 2026
b8c5bc6
feat(plugin): support typed perimeter edits
5aaee9 Dec 3, 2026
dde62be
test(gcode): flatten mixed island activity check
5aaee9 Dec 3, 2026
2542ed8
fix(config): validate positive mixed ratios and component counts
5aaee9 Dec 3, 2026
c2c8e90
fix(config): reject mixed gradients without two components
5aaee9 Dec 3, 2026
195bd5d
fix(config): validate mixed-gradient ranges and curves at load
5aaee9 Dec 3, 2026
bcef5cd
fix(config): require a mixed slot for mixed parameters
5aaee9 Dec 3, 2026
67fa0ba
test(brim): register bed exclusion under runner
5aaee9 Dec 3, 2026
a97d71a
fix(belt): report raft validation errors
5aaee9 Dec 3, 2026
931f4a4
fix(support): reject variable layers with organic trees
5aaee9 Dec 3, 2026
e363611
fix(gcode): retain fitted arcs across scarf ramp splits
5aaee9 Dec 3, 2026
625d5ec
fix(brim): clip shared volumes per outer brim owner
5aaee9 Dec 3, 2026
4e839e3
fix(brim): clip collision volumes by owner extruder
5aaee9 Dec 3, 2026
518b16d
fix(brim): clip shared volumes across brim types
5aaee9 Dec 3, 2026
c9931c2
fix(brim): clip per-extruder volumes across brim types
5aaee9 Dec 3, 2026
7bb4501
test(brim): cover brim-to-object travel gap
5aaee9 Dec 3, 2026
cdc206a
fix(perimeters): keep gradient volumes out of shared wall groups
5aaee9 Dec 3, 2026
382c496
fix(gcode): emit fixed-ratio mixed filament sublayers
5aaee9 Dec 3, 2026
3fb14a8
fix(gcode): admit fixed sublayers on two object grids
5aaee9 Dec 3, 2026
7ad6322
fix(gcode): emit mixed sublayers in layer instance order
5aaee9 Dec 3, 2026
26f3f94
fix(gcode): flush mixed object labels once per tool
5aaee9 Dec 3, 2026
2fb75f2
fix(gcode): schedule all fixed mix sublayer components
5aaee9 Dec 3, 2026
80b40e1
fix(config): validate loaded mixed component-list structure
5aaee9 Dec 3, 2026
237e571
fix(config): validate loaded mixed component tokens
5aaee9 Dec 3, 2026
82c1fad
fix(config): classify signed zero ratio tokens
5aaee9 Dec 3, 2026
48172b9
fix(config): reject out-of-range mixed ratios
5aaee9 Dec 3, 2026
afbf722
fix(config): classify hexadecimal and nonpositive ratio tokens
5aaee9 Dec 3, 2026
aedf7bb
fix(config): default loaded plates to auto for flush
5aaee9 Dec 3, 2026
361cbf3
fix(config): preserve plate spiral mode on save
5aaee9 Dec 3, 2026
2ecc54b
feat(plugin): observe generated infill before ironing
5aaee9 Dec 3, 2026
676a81e
feat(plugin): dispatch ironing observation before simplification
5aaee9 Dec 3, 2026
3d9cfe2
feat(plugin): dispatch read-only contouring observations
5aaee9 Dec 3, 2026
95d975d
feat(plugin): dispatch read-only support material observations
5aaee9 Dec 3, 2026
a828e21
feat(plugin): dispatch read-only curl estimates
5aaee9 Dec 3, 2026
9ad03b7
fix(gcode): split complementary scarf ramps by length
5aaee9 Dec 3, 2026
d19d99e
fix(gcode): keep the scarf pre-wipe tail unclipped
5aaee9 Dec 3, 2026
981c084
fix(scarf): resolve overhang speed after the flow cap
5aaee9 Dec 3, 2026
d5ef0fb
fix(belt): clip outer brim against owner support
5aaee9 Dec 3, 2026
d97c0c3
fix(belt): admit grid support brim on one placement
5aaee9 Dec 3, 2026
a4351ad
fix(belt): admit tree brim at supported angles
5aaee9 Dec 3, 2026
42a18e8
fix(belt): report brim fallback advisories
5aaee9 Dec 3, 2026
9b7986c
fix(belt): admit single-placement negative volume
5aaee9 Dec 3, 2026
d8eb365
fix: use inner wall reference speed for overhangs
5aaee9 Dec 3, 2026
d6a817b
fix: admit two negative volumes on a belt plate
5aaee9 Dec 3, 2026
ca4ab1e
fix(belt): admit a cutter with a parameter modifier
5aaee9 Dec 3, 2026
831ab5f
feat: add Web Auto Orient action
5aaee9 Dec 3, 2026
8860e4c
feat(plater): port horizontal planar cut
5aaee9 Dec 3, 2026
e9a6c7e
fix(wasm): group cut placement options
5aaee9 Dec 3, 2026
3771595
fix(web): commit a filament pick once, with its slot's recalculation
5aaee9 Dec 3, 2026
d3d9de0
fix(3mf): skip ZIP members with empty names
5aaee9 Dec 3, 2026
96f7e8c
fix(skirt): resolve start angle from the emitting object
5aaee9 Dec 3, 2026
39e67ca
fix(wipe-tower): use the outgoing cross-head ramming rate
5aaee9 Dec 3, 2026
7e55ab3
fix(gcode): admit fixed sublayers with the prime tower
5aaee9 Dec 3, 2026
86cef57
feat(plugin): dispatch read-only lift overhangs
5aaee9 Dec 3, 2026
3bb56cf
fix(config): migrate legacy plate IMEX mode on save
5aaee9 Dec 3, 2026
a6b3d40
test(belt): configure a valid mixed-slot fixture
5aaee9 Dec 3, 2026
35ffde1
test(belt): reject a cutter mixed with a support enforcer
5aaee9 Dec 3, 2026
a039b06
fix(gcode): retain sequential ordering with a prime tower
5aaee9 Dec 3, 2026
9653fe7
test(wasm): include the slicer options declaration in the package inv…
5aaee9 Dec 3, 2026
4c17570
chore: release 0.1.77
5aaee9 Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.1.76"
version = "0.1.77"
rust-version = "1.99.0"

[workspace.dependencies]
Expand Down
16 changes: 12 additions & 4 deletions crates/ares-cli/src/direct_project.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{fs, io, path::Path};
use std::{cell::RefCell, fs, io, path::Path};

use ares_core::{
CliFilamentMaps, CliPresetProject, CliProjectSliceRequest, CliUpwardMachine, ConfigOverrides,
Expand Down Expand Up @@ -208,6 +208,13 @@ pub(super) async fn run(
&output,
plate as i32 - 1,
)?;
let diagnostics = RefCell::new(args.diagnostics);
let mut log_validation_warning = |warning: &str| {
diagnostics
.borrow_mut()
.warning(format_args!("got warnings: {warning}"));
};
let context = context.with_validation_warning(&mut log_validation_warning);
enum DirectOutcome {
Buffered(ProcessedGCode),
Streamed(ares_core::StreamedGCode, PlateSink),
Expand Down Expand Up @@ -266,15 +273,16 @@ pub(super) async fn run(
streamed.map(|streamed| DirectOutcome::Streamed(streamed, sink))
}
};
let mut diagnostics = diagnostics.into_inner();
let outcome = outcome.map_err(|error| {
if matches!(&error, SliceError::CustomGCode { .. }) {
args.diagnostics.error(format_args!(
diagnostics.error(format_args!(
"found slicing or export error for partplate {plate}"
));
}
if let Some(failure) = crate::failure::slicing::path_conflict(
&error,
&mut args.diagnostics,
&mut diagnostics,
#[cfg(target_os = "linux")]
&output,
plate,
Expand All @@ -301,7 +309,7 @@ pub(super) async fn run(
failure
})?;
crate::failure::slicing::check_direct(
(&mut args.diagnostics, args.no_check, args.strict),
(&mut diagnostics, args.no_check, args.strict),
#[cfg(target_os = "linux")]
&output,
(plate, &sliced_plate),
Expand Down
16 changes: 13 additions & 3 deletions crates/ares-cli/src/slice_plates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,12 @@ pub(super) fn run(
let mut completed = Vec::new();
let mut publish_failure = None;
let mut warning_prefix_len = 0;
let mut diagnostics = args.diagnostics;
let diagnostics = RefCell::new(args.diagnostics);
let mut log_validation_warning = |warning: &str| {
if let Some(log) = diagnostics.borrow_mut().as_deref_mut() {
log.warning(format_args!("got warnings: {warning}"));
}
};
let no_check = args.no_check;
let strict = args.strict;
let request = CliPlatesRequest {
Expand All @@ -203,7 +208,9 @@ pub(super) fn run(
},
};
let metadata = GenerationMetadata::default();
let context = context.with_downward_check(&targets, &mut downward_report);
let context = context
.with_downward_check(&targets, &mut downward_report)
.with_validation_warning(&mut log_validation_warning);
let sink_error: Rc<RefCell<Option<io::Error>>> = Rc::new(RefCell::new(None));
let make_sink = |plate, _report: &ares_core::SlicedPlate| {
Ok(match directory {
Expand All @@ -218,7 +225,7 @@ pub(super) fn run(
};
let on_complete =
|plate, sink: crate::gcode_file_sink::PlateSink, report: &ares_core::SlicedPlate| {
let warning_failure = diagnostics.as_deref_mut().map_or_else(
let warning_failure = diagnostics.borrow_mut().as_deref_mut().map_or_else(
|| {
crate::failure::slicing::critical_failure(
#[cfg(target_os = "linux")]
Expand Down Expand Up @@ -264,6 +271,7 @@ pub(super) fn run(
let result =
admitted.slice_plates_to_sink(request, metadata, context, (make_sink, on_complete));
if let Err(mut error) = result {
let diagnostics = diagnostics.into_inner();
if publish_failure.is_none()
&& let Some(io_error) = sink_error.borrow_mut().take()
{
Expand All @@ -276,6 +284,8 @@ pub(super) fn run(
));
}
#[cfg(target_os = "linux")]
let mut diagnostics = diagnostics;
#[cfg(target_os = "linux")]
let conflict_failure = match &error.kind {
CliPlateFailureKind::Slice(reason) => diagnostics.as_mut().and_then(|diagnostics| {
crate::failure::slicing::path_conflict(
Expand Down
14 changes: 13 additions & 1 deletion crates/ares-cli/tests/orca_parity/belt_print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
mod active_purge;
#[path = "belt_print/brim.rs"]
mod brim;
#[cfg(target_os = "linux")]
#[path = "belt_print/brim_fallback_advisory.rs"]
mod brim_fallback_advisory;
#[path = "belt_print/contoured_toolpaths.rs"]
mod contoured_toolpaths;
#[path = "belt_print/instances.rs"]
mod instances;
#[path = "belt_print/model_landing.rs"]
Expand All @@ -16,6 +21,9 @@ mod normal_support;
mod organic_support;
#[path = "belt_print/purge.rs"]
mod purge;
#[cfg(target_os = "linux")]
#[path = "belt_print/raft.rs"]
mod raft;
#[path = "belt_print/rotation.rs"]
mod rotation;
#[path = "belt_print/seam_visibility.rs"]
Expand Down Expand Up @@ -218,9 +226,13 @@ fn duplicate_cube_along_belt(model: String) -> String {
}

fn run_ares(work: &Path) -> Output {
run_ares_with_args(work, &ARGS)
}

fn run_ares_with_args(work: &Path, args: &[&str]) -> Output {
let result = Command::new(env!("CARGO_BIN_EXE_ares"))
.current_dir(work)
.args(ARGS)
.args(args)
.output()
.unwrap();
fs::write(work.join("ares.stdout"), &result.stdout).unwrap();
Expand Down
Loading
Loading