mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-03 10:35:58 +00:00
solidcraft-smlib: a plane face takes SMLib's own trims (fork c6530bf)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017itGh5fpMEousnZ91cYcVt
This commit is contained in:
@@ -1 +1 @@
|
||||
c8a19a2497cd5bc3702b0f491d3540ca3bb0a4a3
|
||||
c6530bfb94c79f266d7d94bf9e9a04c88c2e7b6a
|
||||
|
||||
@@ -832,7 +832,9 @@ fn native_ordered(arrays: &Arrays) -> Res<(b::Brep, Report, Order)> {
|
||||
let params = nurbs.as_ref().unwrap_or(&surface);
|
||||
let natural = params.natural();
|
||||
let domain = [onto([r[0], r[2]], natural[0]), onto([r[1], r[3]], natural[1])];
|
||||
let spline = matches!(params, b::Surface::Spline { .. } | b::Surface::RationalSpline { .. });
|
||||
// SMLib's own trims are taken where the arrays carry them: B-spline faces, NURBS forms, and
|
||||
// planes (mapped onto the plane's own (u, v) by the export).
|
||||
let spline = matches!(params, b::Surface::Spline { .. } | b::Surface::RationalSpline { .. } | b::Surface::Plane { .. });
|
||||
let mut out = Vec::with_capacity(loops.len());
|
||||
let mut records = Vec::with_capacity(loops.len());
|
||||
let mut given = Vec::with_capacity(loops.len());
|
||||
|
||||
Reference in New Issue
Block a user