Untrim: holes removed and a face restored to its natural bounds (#1150)
Adds surface.untrim (#761); the SurfaceUntrim feature is first saved in format 21.
This commit is contained in:
1 parent
734f69ad72
commit
16c49c3e86
25 files changed
+961
-18
No files matched your search
@@ -11,7 +11,7 @@ mod brep;
|
||||
pub(crate) mod geom;
|
||||
pub(crate) mod p21;
|
||||
mod parallel;
|
||||
mod split;
|
||||
pub(crate) mod split;
|
||||
|
||||
use std::collections::{BTreeMap, HashMap, HashSet};
|
||||
use std::sync::Arc;
|
||||
|
||||
@@ -207,7 +207,7 @@ fn iso_curve(s: &mt::Surface, d: Dir, mid: f64, q1: mt::Point3, q2: mt::Point3,
|
||||
}
|
||||
|
||||
/// The iso-curve of a homogeneous B-spline surface at `v = w` (`along_u`) or `u = w`.
|
||||
fn iso_bsp(b: &mt::BSplineSurface<mt::Vector4>, w: f64, along_u: bool) -> R<mt::NurbsCurve<mt::Vector4>> {
|
||||
pub(crate) fn iso_bsp(b: &mt::BSplineSurface<mt::Vector4>, w: f64, along_u: bool) -> R<mt::NurbsCurve<mt::Vector4>> {
|
||||
let (ku, kv) = b.knot_vecs();
|
||||
let ctrl = b.control_points();
|
||||
let nu = ctrl.len();
|
||||
|
||||
Reference in new issue
Block a user