Skip to main content

brep_blend/blending/blend/
mod.rs

1//! General rolling-ball blends (Golovanov §4.9 + §6.9 surgery).
2//!
3//! The blend surface is the rational surface (4.9.1) built from three
4//! curves: the two support curves cr(t) ⊂ F1 and cs(t) ⊂ F2 where a
5//! sphere of radius ρ touches both faces, and the middle curve at the
6//! intersection of the two tangent planes, weighted w(t) = cos(α/2)
7//! (4.9.3).  The tangency system (4.9.2) + the section-plane constraint
8//! (4.9.5) — the sphere center pinned to the normal plane of the edge —
9//! is solved per station by Newton with a finite-difference Jacobian.
10//!
11//! Topology is rebuilt the §6.9 way, with NO tool solid and NO boolean:
12//! each mating face's loop swaps the blended edge's coedge for a coedge
13//! on its support curve (trimming the adjacent seam edge when the face
14//! is a closed carrier with seam-in-one-loop topology), and the blend
15//! face is inserted with its own seam.  Open edges take the same route
16//! (`edge/open.rs`), and a whole SELECTION goes through `network.rs`, which
17//! marches every stripe against the original solid and solves each shared
18//! corner from its ball before anything is cut.
19
20pub mod carve;
21pub mod chain;
22pub mod collapse;
23pub mod convex_parallel;
24pub mod corner;
25pub mod creased_rim;
26pub mod edge;
27pub mod fold;
28pub mod miter;
29pub mod network;
30pub use network::STRIPE_PINCH_TAPER_WHAT;
31pub mod planar_chart;
32mod restrict;
33pub mod rollover;
34pub mod rollover_surgery;
35pub mod setback;
36pub mod runout;
37pub mod split_rim;
38pub mod sheet_ends;
39pub mod stations;
40pub mod rows;
41pub mod track_fit;
42
43/// A transverse end with parallel normals needs a tapered runout, not cutter
44/// composition. The network tries that runout before propagating this refusal.
45pub const TANGENTIAL_TRANSVERSE_END: &str = "tangential_transverse_end";
46
47pub fn is_tangential_transverse_end(refusal: &crate::KernelRefusal) -> bool {
48    matches!(&refusal.class, crate::RefusalClass::UnsupportedGeometry { what }
49        if what == TANGENTIAL_TRANSVERSE_END)
50}
51
52/// Whether the open march's local station refinement runs. Escape hatch
53/// `BREP_BLEND_REFINE=0` restores the uniform ladder exactly; a test turns it
54/// off for its own thread with `set_refinement_off_for_test`.
55pub fn station_refinement_on() -> bool {
56    switch!(live "BREP_BLEND_REFINE", true)
57}
58
59thread_local! {
60    static BLEND_NOTES: std::cell::RefCell<Vec<String>> = const { std::cell::RefCell::new(Vec::new()) };
61}
62
63thread_local! {
64    /// Set only while the open-pad composition (`fillet/edges.rs`, the
65    /// 2026-10-17 face-ring report) builds its two stages on this thread.
66    static OPEN_PAD_NETWORK: std::cell::Cell<bool> = const { std::cell::Cell::new(false) };
67}
68
69/// Runs `build` as the open-pad composition's network: the open march takes
70/// a station where a contact crosses its carrier's domain boundary and the
71/// row fit breaks there (`march_open_stations_core`), and the march extends
72/// past a section end that lies outside the overshoot
73/// (`open_station_parameters`). Both are what the composition's walls need
74/// (the F6 blend rail of the reported ring stood 7.1e-5 off its carrier at
75/// the boundary; the pads' stripes start before their trims) and both move
76/// a body the plain network already built (2026-10-18: the reported model's
77/// F6 moved by a refinement rung and a broken row), so outside the
78/// composition every network is built exactly as before. Restores the flag
79/// after.
80pub fn with_open_pad_network<T>(build: impl FnOnce() -> T) -> T {
81    /// Restores the previous flag on every exit path, an unwinding panic
82    /// included, so a later network on this thread never inherits it.
83    struct Reset(bool);
84    impl Drop for Reset {
85        fn drop(&mut self) {
86            OPEN_PAD_NETWORK.with(|flag| flag.set(self.0));
87        }
88    }
89    let _reset = Reset(OPEN_PAD_NETWORK.with(|flag| flag.replace(true)));
90    build()
91}
92
93/// Whether the march runs as the open-pad composition's network (see
94/// [`with_open_pad_network`]).
95pub(in crate::blend) fn open_pad_network_on() -> bool {
96    OPEN_PAD_NETWORK.with(|flag| flag.get())
97}
98
99/// An equal-radius convex star on four planar faces with no common ball closes
100/// as the rolling ball does: a ridge cylinder between two sphere triangles.
101/// `BREP_BLEND_RIDGE_STAR=0` restores the ribbon fill.
102const RIDGE_STAR_DEFAULT: bool = true;
103
104pub fn ridge_star_on() -> bool {
105    switch!(live "BREP_BLEND_RIDGE_STAR", RIDGE_STAR_DEFAULT)
106}
107
108/// The STOPPED-END rollover of an open stripe (user bug F10, 2026-11-02):
109/// a track that leaves its mate across a tangent edge before the stripe's
110/// own vertex and never comes back — the F10 fillet's rails run 1.1e-2 past
111/// faces 13/23's boundaries onto the F8 blend faces 19/26 — has its tail
112/// re-marched on the neighbour from the crossing station and the cap's
113/// legs drawn on the neighbours. Default OFF: `BREP_BLEND_STOPPED_END_ROLLOVER=1`
114/// turns it on. Promotion owes the blend/fillet filters and both censuses
115/// with the switch on.
116const STOPPED_END_ROLLOVER_DEFAULT: bool = false;
117
118pub fn stopped_end_rollover_on() -> bool {
119    switch!(live "BREP_BLEND_STOPPED_END_ROLLOVER", STOPPED_END_ROLLOVER_DEFAULT)
120}
121
122/// Equal-length chains are unchanged either way; unequal ones move their
123/// stations, so it lands behind this switch until its census:
124/// `BREP_BLEND_CHAIN_ARC_STATIONS=1` turns it on, `=0` off;
125/// `set_chain_arc_stations_for_test` forces it on a test's own thread.
126const CHAIN_ARC_STATIONS_DEFAULT: bool = false;
127
128pub fn chain_arc_stations_on() -> bool {
129    switch!(live "BREP_BLEND_CHAIN_ARC_STATIONS", CHAIN_ARC_STATIONS_DEFAULT)
130}
131
132#[derive(Clone, Debug, PartialEq)]
133pub enum StripeRadius {
134    Constant(f64),
135    /// `(edge fraction, radius)` stops sorted by fraction, interpolated
136    /// linearly between and held flat past the ends: `blend_edge_variable`'s
137    /// convention, which the law entries sample into.
138    Stops(Vec<(f64, f64)>),
139}
140
141impl StripeRadius {
142    /// From a stop list: one constant when every stop carries the same
143    /// radius (to 1e-12 relative, the single-edge lane's own test).
144    pub fn from_stops(stops: &[(f64, f64)]) -> Self {
145        let mut sorted = stops.to_vec();
146        sorted.sort_by(|a, b| a.0.total_cmp(&b.0));
147        match sorted.first() {
148            Some(&(_, first)) if sorted.iter().all(|(_, r)| (r - first).abs() <= 1e-12 * (1.0 + first.abs())) => {
149                StripeRadius::Constant(first)
150            }
151            _ => StripeRadius::Stops(sorted),
152        }
153    }
154
155    /// The radius at an edge fraction in `[0, 1]` (clamped).
156    pub fn at_fraction(&self, fraction: f64) -> f64 {
157        match self {
158            StripeRadius::Constant(radius) => *radius,
159            StripeRadius::Stops(stops) => {
160                let fraction = fraction.clamp(0.0, 1.0);
161                if fraction <= stops[0].0 {
162                    return stops[0].1;
163                }
164                for pair in stops.windows(2) {
165                    if fraction <= pair[1].0 {
166                        let width = (pair[1].0 - pair[0].0).max(1e-12);
167                        return pair[0].1 + (pair[1].1 - pair[0].1) * (fraction - pair[0].0) / width;
168                    }
169                }
170                stops[stops.len() - 1].1
171            }
172        }
173    }
174
175    /// The constant, for a constant law.
176    pub fn constant(&self) -> Option<f64> {
177        match self {
178            StripeRadius::Constant(radius) => Some(*radius),
179            StripeRadius::Stops(_) => None,
180        }
181    }
182
183    /// The largest radius the law takes.
184    pub fn largest(&self) -> f64 {
185        match self {
186            StripeRadius::Constant(radius) => *radius,
187            StripeRadius::Stops(stops) => stops.iter().map(|(_, r)| *r).fold(0.0, f64::max),
188        }
189    }
190
191    /// The law's END value at the edge's start (`at_start`) or finish: what
192    /// the user asked for at that vertex, and the constant every corner solve
193    /// there uses (C2).
194    pub fn end(&self, at_start: bool) -> f64 {
195        self.at_fraction(if at_start { 0.0 } else { 1.0 })
196    }
197
198    /// Whether every radius is positive and finite.
199    pub fn is_positive(&self) -> bool {
200        match self {
201            StripeRadius::Constant(radius) => radius.is_finite() && *radius > 0.0,
202            StripeRadius::Stops(stops) => !stops.is_empty() && stops.iter().all(|(_, r)| r.is_finite() && *r > 0.0),
203        }
204    }
205}
206
207
208/// Record what a blend that SHIPS needs its feature to say about it — today,
209/// a march whose rails still stand off their carriers after its station
210/// ladder and local refinement ran out. Drained per feature by the history
211/// loop ([`take_blend_notes`]), beside the soundness acceptance's repairs.
212pub fn record_blend_note(note: String) {
213    BLEND_NOTES.with(|notes| notes.borrow_mut().push(note));
214}
215
216/// Take every blend note recorded on this thread since the last call.
217/// Blending runs on the feature's own thread (no parallel march), so the
218/// history loop's drain sees every note its feature recorded.
219pub fn take_blend_notes() -> Vec<String> {
220    BLEND_NOTES.with(|notes| std::mem::take(&mut *notes.borrow_mut()))
221}
222
223/// The ledger's length, and a way back to it: a lane that refuses takes back
224/// the notes it recorded, so a note never describes a wall that did not ship.
225pub fn blend_notes_mark() -> usize {
226    BLEND_NOTES.with(|notes| notes.borrow().len())
227}
228
229pub fn blend_notes_truncate(mark: usize) {
230    BLEND_NOTES.with(|notes| notes.borrow_mut().truncate(mark));
231}
232
233/// A fillet chain wall that SHIPPED short of the construction request its
234/// accepted rung made (`KernelTolerances::model` on the wall between its
235/// rails): which wall — the blend face's name and its exact surface — what
236/// was asked, what the wall reads, and the typed budget that ran out.
237#[derive(Clone, Debug)]
238pub struct WallModelReport {
239    pub name: Option<String>,
240    pub surface: crate::NurbsSurface,
241    pub request: f64,
242    pub residual: f64,
243    /// What else the lane measured that the message must say (an unaccepted
244    /// rung's deficit, a ladder rung's local refinement), verbatim.
245    pub detail: Option<String>,
246    pub budget: crate::ApproximationBudget,
247}
248
249thread_local! {
250    static BLEND_APPROXIMATIONS: std::cell::RefCell<Vec<WallModelReport>> = const { std::cell::RefCell::new(Vec::new()) };
251}
252
253thread_local! {
254    static BLEND_OPERATION_DEPTH: std::cell::Cell<usize> = const { std::cell::Cell::new(0) };
255}
256
257/// One blend OPERATION's scope on this thread: every public blend entry point
258/// (and the history loop, around each feature) holds one. The OUTERMOST
259/// entry drops whatever an earlier operation recorded and nobody consumed —
260/// a direct API caller consumes ([`take_blend_approximations`]) after the
261/// operation whose reports it wants, before starting the next — while a
262/// nested entry (a fillet's per-edge chain blend) clears nothing, so every
263/// report of the operation in flight is kept, however many there are.
264pub struct BlendOperation;
265
266impl BlendOperation {
267    pub fn enter() -> BlendOperation {
268        BLEND_OPERATION_DEPTH.with(|depth| {
269            if depth.get() == 0 {
270                BLEND_APPROXIMATIONS.with(|reports| reports.borrow_mut().clear());
271                timing::begin_operation();
272            }
273            depth.set(depth.get() + 1);
274        });
275        BlendOperation
276    }
277}
278
279/// Whether the innermost open blend operation is the outermost one (no
280/// nested operation inside another).
281pub fn blend_operation_outermost() -> bool {
282    BLEND_OPERATION_DEPTH.with(|depth| depth.get() <= 1)
283}
284
285impl Drop for BlendOperation {
286    fn drop(&mut self) {
287        BLEND_OPERATION_DEPTH.with(|depth| {
288            depth.set(depth.get().saturating_sub(1));
289            if depth.get() == 0 {
290                timing::end_operation();
291            }
292        });
293    }
294}
295pub use crate::blend_timing as timing;
296pub use timing::{blend_timing_capture, take_blend_timings, BlendTiming};
297pub use timing::{record_count, BlendTimer};
298
299/// Record a wall that ships with its request unmet. Written by the rung that
300/// keeps its body; whether the body reaches a caller is decided at
301/// consumption ([`take_blend_approximations`]), not here. Every report of
302/// the operation in flight is kept (see [`BlendOperation`]).
303pub fn record_wall_model_report(report: WallModelReport) {
304    BLEND_APPROXIMATIONS.with(|reports| reports.borrow_mut().push(report));
305}
306
307
308/// Whether any wall-model report is waiting (the history loop reads the
309/// returned bodies only then).
310pub fn blend_approximations_pending() -> bool {
311    BLEND_APPROXIMATIONS.with(|reports| !reports.borrow().is_empty())
312}
313
314/// Bit-identical surfaces: the same degrees, knots and homogeneous control
315/// points, compared by their bits.
316pub fn same_surface(a: &crate::NurbsSurface, b: &crate::NurbsSurface) -> bool {
317    let bits = |values: &[f64]| values.iter().map(|value| value.to_bits()).collect::<Vec<_>>();
318    a.degree_u == b.degree_u
319        && a.degree_v == b.degree_v
320        && bits(&a.knots_u) == bits(&b.knots_u)
321        && bits(&a.knots_v) == bits(&b.knots_v)
322        && a.control_points.len() == b.control_points.len()
323        && a.control_points.iter().zip(&b.control_points).all(|(row_a, row_b)| {
324            row_a.len() == row_b.len()
325                && row_a.iter().zip(row_b).all(|(p, q)| {
326                    [p.x, p.y, p.z, p.w].map(f64::to_bits) == [q.x, q.y, q.z, q.w].map(f64::to_bits)
327                })
328        })
329}
330
331/// Whether `face_name` names the report's wall: its exact name, or that
332/// name with the `[k]` (decimal) suffix `ensure_unique_face_names` gives a
333/// colliding name at registration. Nothing else: no prefix, no other suffix.
334fn names_the_wall(face_name: &Option<String>, report_name: &Option<String>) -> bool {
335    match (face_name, report_name) {
336        (Some(face), Some(report)) => {
337            face == report
338                || face.strip_prefix(report.as_str()).and_then(|rest| rest.strip_prefix('[')).and_then(|rest| rest.strip_suffix(']')).is_some_and(
339                    |index| !index.is_empty() && index.bytes().all(|byte| byte.is_ascii_digit()),
340                )
341        }
342        (None, None) => true,
343        _ => false,
344    }
345}
346
347/// Consume EVERY wall-model report recorded on this thread since the last
348/// call, in ONE snapshot, against ALL the bodies a call returned
349/// (`(body name, solid)`): a report becomes a typed `blend.wall_model`
350/// [`crate::Approximation`] on each body carrying its wall — a face with a
351/// bit-identical surface AND the report's name, exactly or as registration
352/// renamed it (`NAME[k]`) — and is dropped when no returned body carries it
353/// (a lane that refused, a body a later step discarded). A wall carried by
354/// two returned bodies (one surface, bit for bit, in both) is reported on
355/// both: the reading is a property of that surface. Reports for one wall
356/// collapse to the last. Never a match by name alone.
357/// `take_blend_approximations(&[])` discards everything recorded (the
358/// history loop's stale drain before a feature runs).
359pub fn take_blend_approximations(bodies: &[(&str, &crate::BrepSolid)]) -> Vec<crate::Approximation> {
360    let snapshot = BLEND_APPROXIMATIONS.with(|reports| std::mem::take(&mut *reports.borrow_mut()));
361    let mut unique: Vec<WallModelReport> = Vec::new();
362    for report in snapshot {
363        unique.retain(|kept| !(kept.name == report.name && same_surface(&kept.surface, &report.surface)));
364        unique.push(report);
365    }
366    let mut approximations = Vec::new();
367    for (body, solid) in bodies {
368        for report in &unique {
369            let carried = solid.shells.iter().flat_map(|shell| &shell.faces).any(|face| {
370                names_the_wall(&face.name, &report.name) && same_surface(&face.surface, &report.surface)
371            });
372            if carried {
373                let wall = report.name.as_deref().unwrap_or("(unnamed)");
374                let unaccepted = matches!(report.budget.reason, crate::BudgetReason::Unaccepted | crate::BudgetReason::Unread);
375                let budget = match report.budget.mechanism {
376                    crate::BudgetMechanism::LocalRounds => format!(
377                        "local refinement stopped: {:?} after {} of {} rounds, {} of {} stations per segment",
378                        report.budget.reason, report.budget.rounds_used, report.budget.rounds_limit,
379                        report.budget.stations, report.budget.station_limit,
380                    ),
381                    crate::BudgetMechanism::StationRungs => format!(
382                        "the open march's station ladder stopped: {:?} after {} of {} global station rungs, {} of {} stations",
383                        report.budget.reason, report.budget.rounds_used, report.budget.rounds_limit,
384                        report.budget.stations, report.budget.station_limit,
385                    ),
386                };
387                let unknown = report.budget.unread > 0;
388                let rails = report.budget.measured_component == crate::MeasuredComponent::Rails;
389                let mut message = if !unaccepted && (rails || unknown) {
390                    // A request that covers the rails and the wall says WHICH
391                    // it measured, and never offers a partial reading as the
392                    // worst: with unread intervals the worst is unknown.
393                    let what = if rails {
394                        format!("the fillet wall {wall}'s support rails stand")
395                    } else {
396                        format!("the fillet wall {wall} stands")
397                    };
398                    let against = if rails {
399                        "off their exact construction (their carriers / the exact ball contacts)"
400                    } else {
401                        "from the rolling ball between its rails"
402                    };
403                    let reading = if unknown {
404                        format!(
405                            "an UNKNOWN distance {against}: {} interval(s) could not be read (the largest READABLE reading is {:.3e} mm, not the worst)",
406                            report.budget.unread, report.residual
407                        )
408                    } else {
409                        format!("{:.3e} mm {against}", report.residual)
410                    };
411                    format!(
412                        "{what} {reading}, against a construction request of {:.3e} mm (accepted at the intersection-fit bar); {budget}",
413                        report.request,
414                    )
415                } else if unaccepted {
416                    format!(
417                        "the blend wall {wall} ships from a rung that never met acceptance: its worst reading \
418                         {:.3e} mm against its acceptance bar {:.3e} mm; {budget}",
419                        report.residual, report.request,
420                    )
421                } else {
422                    format!(
423                        "the fillet wall {wall} stands {:.3e} mm from the rolling ball between its rails, against a \
424                         construction request of {:.3e} mm (accepted at the intersection-fit bar); {budget}",
425                        report.residual, report.request,
426                    )
427                };
428                if let Some(detail) = &report.detail {
429                    message = format!("{message} ({detail})");
430                }
431                approximations.push(crate::Approximation {
432                    code: if unaccepted { "blend.wall_acceptance" } else { "blend.wall_model" }.to_string(),
433                    body: body.to_string(),
434                    measured: report.residual,
435                    bar: report.request,
436                    volume_bound: None,
437                    edges: Vec::new(),
438                    budget: Some(report.budget.clone()),
439                    message,
440                });
441            }
442        }
443    }
444    approximations
445}
446
447
448pub use chain::{blend_smooth_chain, blend_smooth_chain_if_closed};
449pub use chain::smooth_chain_members;
450pub use corner::round_concave_chain_corner;
451pub use corner::round_convex_corner;
452pub use edge::{blend_closed_edge, blend_closed_edge_knot_aware, blend_edge_variable, blend_open_edge, is_pcurve_floor_refusal, with_pcurve_knot_retry};
453pub use collapse::is_full_width_collapse;
454pub use planar_chart::{
455    fit_planar_charts_to_trims, is_planar_chart_refusal, planar_chart_overrun,
456};
457pub use track_fit::PCURVE_OFF_FLOOR;
458pub use edge::{consumed_band, is_consumed_snap, is_rail_collapse};
459pub use network::{
460    blend_star_network, blend_star_network_laws, blend_star_network_with_corner_policy, degenerate_corner_setbacks, mixed_convexity_corner, mixed_convexity_corners, selection_convexity, MixedCorner,
461};
462pub use miter::{is_marched_fit_off_carriers, is_miter_support_overrun};
463/// The two faces each selected edge lies on, in the network's mate order
464/// (the open-pad composition reads which is planar and which is the boss).
465pub fn selection_mates<'a>(
466    solid: &'a crate::topology::BrepSolid,
467    edge_ids: &[u64],
468    radius: f64,
469) -> Result<Vec<(&'a crate::topology::EdgeRecord, [&'a crate::topology::FaceRecord; 2])>, crate::KernelRefusal> {
470    Ok(network::stripe_mates(solid, edge_ids, radius)?
471        .into_iter()
472        .map(|(edge, first, second)| (edge, [first.face, second.face]))
473        .collect())
474}
475
476pub use runout::{build_runout_walls, plan_runout, RunoutPlan};
477pub use fold::{is_rail_fold, is_wall_fold, wall_loop_refusal, WALL_FOLDS};
478pub use stations::is_ball_off_carrier;
479pub use network::is_ball_does_not_fit;
480
481/// Off the switch every closed rim's two support pcurves are refitted to their
482/// rail's projected track (`edge/closed.rs::refit_closed_support_pcurve`, the
483/// closed chain's support-piece fitter: a dense track of analytic feet, a
484/// verified fit ladder and the shipped read), 96 of the half torus's 98 ms of
485/// rows. On the switch each trim is first READ as shipped at the same floor
486/// (`track_fit::read_shipped_pcurve`, `PCURVE_REFINEMENT_TOLERANCE`): a plane
487/// mate's trim is the rail's own control points through the plane's affine
488/// chart (exact by construction, the exact revolution lane's rule); any other
489/// mate's trim, or an image that misses, takes the refit as before (the
490/// march's own interpolated pcurve was measured as a candidate and dropped:
491/// 8.5e-5 off on the half torus's torus mate). The shipped contract is
492/// unchanged (every trim read within the floor); the bytes are not, so it
493/// landed OFF and was promoted by its census (the kernel battery, the case
494/// manifest and hlr_tests with the switch on). ON by default;
495/// `BREP_BLEND_CLOSED_TRIM_READ_FIRST=0` is the escape hatch back to the refit
496/// road, `=1` forces it on; `set_closed_trim_read_first_for_test` forces
497/// either way on a test's thread.
498const CLOSED_TRIM_READ_FIRST_DEFAULT: bool = true;
499
500pub fn closed_trim_read_first_on() -> bool {
501    switch!(live "BREP_BLEND_CLOSED_TRIM_READ_FIRST", CLOSED_TRIM_READ_FIRST_DEFAULT)
502}
503
504
505/// The check solves 31 centres per interval by continuation from the
506/// neighbour, each a full station Newton with a finite-difference Jacobian
507/// rebuilt at every iteration (eleven evaluations of the tangency system a
508/// centre, 89 of the half torus's 169 ms of march). On the switch each centre
509/// is seeded by a quadratic extrapolation through the last three and solved
510/// by the chord method with the Jacobian carried from centre to centre
511/// (`stations::solve_station_state_chord`), to the plain solver's own stop;
512/// the plain solver from the neighbour is the fall-back for anything the
513/// chord cannot finish. The centres are the same roots to the same tolerance,
514/// not the same bits: the declared wall reading moves in its last digits, its
515/// verdict and the body do not, which is why it landed OFF and was promoted
516/// by its census. ON by default; `BREP_BLEND_CLOSED_WALL_PREDICT=0` is the
517/// escape hatch back to the plain continuation solves, `=1` forces it on;
518/// `set_closed_wall_predict_for_test` forces either way on a test's thread.
519const CLOSED_WALL_PREDICT_DEFAULT: bool = true;
520
521pub fn closed_wall_predict_on() -> bool {
522    switch!(live "BREP_BLEND_CLOSED_WALL_PREDICT", CLOSED_WALL_PREDICT_DEFAULT)
523}
524
525
526// BREP lane L: begin keyway_floor_open_mixed_corner_20261014
527pub use corner::round_mixed_concave_open_corner;
528// BREP lane L: end keyway_floor_open_mixed_corner_20261014
529
530
531// Lane R7 (2026-10-19): the tapered cusp runout; `BREP_BLEND_TAPER_RUNOUT`.
532pub mod taper_runout;
533
534// 2026-10-21: the local radius relief of a folding constant fillet;
535// `BREP_BLEND_RADIUS_RELIEF`.
536pub mod relief;