smlib: rustfmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MNXLXkZLQ6T7TSi4wswcmk
This commit is contained in:
1 parent
4ea96a750c
commit
7b6537e935
3 files changed
+6
-4
No files matched your search
@@ -540,7 +540,7 @@ mod history {
|
||||
#[test]
|
||||
fn object_names_stay_distinct_past_a_million() {
|
||||
use solidcore::EntityRef;
|
||||
use solidcore::topology::{BrepId, EdgeId, FaceId, FaceuseId, LoopId, LoopuseId, RegionId, ShellId, VertexId, VertexuseId, EdgeuseId};
|
||||
use solidcore::topology::{BrepId, EdgeId, EdgeuseId, FaceId, FaceuseId, LoopId, LoopuseId, RegionId, ShellId, VertexId, VertexuseId};
|
||||
|
||||
use super::boolean::{domain, named};
|
||||
let at = |i: u32| {
|
||||
|
||||
@@ -27,10 +27,10 @@ use solidcore::kernel::Kernel;
|
||||
use solidcore::math::Point2;
|
||||
use solidcore::nurbs::b_spline_surface_n_lib::p2::OrientType;
|
||||
use solidcore::nurbs::knots::Side;
|
||||
use solidcore::offset::offset_faces::{OffsetFacesExecutive, OffsetFacesRefusal};
|
||||
use solidcore::offset::offset_executive::p2::{
|
||||
OffsetNotifications, OffsetOptions, ShellCopyIdentities, ShellOptions, api_offset_brep_full, api_shell_brep_full,
|
||||
};
|
||||
use solidcore::offset::offset_faces::{OffsetFacesExecutive, OffsetFacesRefusal};
|
||||
use solidcore::query::api_queries::{BrepRef, face_bounding_box, face_classify_uv, face_closest_point_in_shape, face_internal_point};
|
||||
use solidcore::query::brep::{BrepIdentity, BrepQuery, LiveBrepObjects};
|
||||
use solidcore::surface::cone::Cone;
|
||||
@@ -42,8 +42,8 @@ use solidcore::topology::face::p2 as face_p2;
|
||||
use solidcore::topology::topology::{NotifyRecords, Topology};
|
||||
use solidcore::topology::{Brep, BrepId, EdgeId, FaceId, FaceuseId, RegionId};
|
||||
|
||||
use super::boolean::{domain, named};
|
||||
use super::blend::{Miss, on_copy, p3, pick, points_ok, status as blend_status, tolerance_ok};
|
||||
use super::boolean::{domain, named};
|
||||
use super::{Body, answer};
|
||||
use crate::{Error, Result};
|
||||
|
||||
|
||||
@@ -301,7 +301,9 @@ fn extend_case(name: &str) -> (Sheet, [f64; 3], f64, Continuation, Expect) {
|
||||
// Run-offs 5 long across the surface whatever their curvature: the strip stays its section
|
||||
// swept 10 along z. A circle's G2 run-off runs about 2.3 times what it is asked and more
|
||||
// than doubles with it (fork 0f7b209), so the ask must be solved for.
|
||||
"extend_a_cylinder_tangent_run_off" => (Sheet::QuarterCylinder, [10.0, 0.0, 5.0], 5.0, Continuation::Tangent, Expect::Sheet(10.0 * (quarter + 5.0), 1)),
|
||||
"extend_a_cylinder_tangent_run_off" => {
|
||||
(Sheet::QuarterCylinder, [10.0, 0.0, 5.0], 5.0, Continuation::Tangent, Expect::Sheet(10.0 * (quarter + 5.0), 1))
|
||||
}
|
||||
"extend_a_cylinder_curvature_run_off" => {
|
||||
(Sheet::QuarterCylinder, [10.0, 0.0, 5.0], 5.0, Continuation::Curvature, Expect::Sheet(10.0 * (quarter + 5.0), 1))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user