diff --git a/crates/smlib/src/core/offset_tests.rs b/crates/smlib/src/core/offset_tests.rs index 9110aff540..dbbb0f9df4 100644 --- a/crates/smlib/src/core/offset_tests.rs +++ b/crates/smlib/src/core/offset_tests.rs @@ -612,7 +612,6 @@ mod history { /// A 5 degree draft of the front about the bottom plane: the front tilts, its neighbours' /// edges move with it. #[test] - #[ignore = "solidcore's draft (its local operation) does not carry the body's attributes yet: every face comes out untagged"] fn tags_cross_a_draft() { let a = tagged_box(); let front = [[10.0, 0.0, 5.0]]; diff --git a/crates/smlib/src/lib.rs b/crates/smlib/src/lib.rs index 34fe70bde4..982915f524 100644 --- a/crates/smlib/src/lib.rs +++ b/crates/smlib/src/lib.rs @@ -264,12 +264,6 @@ impl Brep { Brep { untracked: Some("the history of a blend on solidcore (solidcore#1594)"), ..Brep::made_core(b) } } - /// A body a solidcore draft made: its local operation does not carry the body's attributes - /// yet (every face comes out with none), so its history is not read. - fn made_core_draft(b: core::Body) -> Brep { - Brep { untracked: Some("the history of a draft on solidcore, whose local operation does not carry attributes yet"), ..Brep::made_core(b) } - } - /// The C++ kernel's body: converted from solidcore's the first time it is asked for (and /// tagged as solidcore's is, for a [`Brep::tagged`] body). fn cpp(&self) -> Result<&ffi::Handle> { diff --git a/crates/smlib/src/ops.rs b/crates/smlib/src/ops.rs index 1d0d4c9bb5..c025280ecb 100644 --- a/crates/smlib/src/ops.rs +++ b/crates/smlib/src/ops.rs @@ -396,7 +396,7 @@ impl Brep { return Err(Error::Argument); } if route::Op::Split.backend() == route::Backend::Solidcore { - return core::offset::draft(self.core()?, faces, tolerance, neutral_origin, neutral_normal, pull, angle).map(Brep::made_core_draft); + return core::offset::draft(self.core()?, faces, tolerance, neutral_origin, neutral_normal, pull, angle).map(Brep::made_core); } init()?; ffi::ops::draft(self.cpp()?, faces, tolerance, &neutral_origin, &neutral_normal, &pull, angle).map(Brep::made).map_err(pick_error)