From c29845f40017c66107de672de4db55de56e510c4 Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Thu, 22 Oct 2026 00:43:10 -0400 Subject: [PATCH] kernel: shell, offset, boolean and sweep notes say SMLib is the kernel The module notes of offset_backend, smlib_boolean and smlib_sweeps no longer speak of a kernel switch or another kernel's behaviour; sweep_path's tests formatted. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017itGh5fpMEousnZ91cYcVt --- crates/kernel/src/offset_backend.rs | 10 ++++------ crates/kernel/src/smlib_boolean.rs | 5 ++--- crates/kernel/src/smlib_sweeps.rs | 10 +++++----- crates/kernel/src/sweep_path.rs | 9 ++++++++- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/crates/kernel/src/offset_backend.rs b/crates/kernel/src/offset_backend.rs index 784de47e4..56d056a2b 100644 --- a/crates/kernel/src/offset_backend.rs +++ b/crates/kernel/src/offset_backend.rs @@ -1,6 +1,5 @@ -//! Shell, offset faces and thicken through SMLib, when [`crate::backend`] is SMLib (the one -//! kernel setting, `SOLIDCRAFT_KERNEL`): the body goes to SMLib as its schema 4 record, -//! tagged as operand 0, SMLib runs the operation, and the result comes back with SMLib's own +//! Shell, offset faces, draft and thicken through SMLib: the body goes to SMLib as its schema 4 +//! record, tagged as operand 0, SMLib runs the operation, and the result comes back with SMLib's own //! history, renumbered into the body's and the result's face and edge order (as //! `crate::smlib_boolean` does for booleans). A result SMLib's own check refuses is an //! error, never a body. @@ -11,8 +10,7 @@ //! lie: the copy is the operation's distance from the face, the face itself on it. So a result //! face farther from its tagged face than half that distance is recorded as its offset //! ([`FaceOrigin::Offset`]), and its edges as where its faces meet. A face SMLib makes new along -//! a sheet's open edge (a thickened sheet's wall) is recorded as made in place of that edge, as -//! truck's thicken records it. +//! a sheet's open edge (a thickened sheet's wall) is recorded as made in place of that edge. #![cfg(feature = "smlib")] @@ -75,7 +73,7 @@ fn run(name: &str, b: &Body, op: impl FnOnce(&Brep) -> std::result::Result