A curved block with a helical groove milled through it by a tapered cutter screwed across it.
The block is a sector of a ring about the z axis: everything with distance from the z axis between 8 and 12, with z between −1 and 1, and with polar angle between 0° and 60° (measured from +x toward +y).
The cutter is a frustum of a cone about the vertical line through (10, 0): radius 0.4 at z = −0.6, widening to radius 1 at z = 1.4, its ends flat. It stands out through the block's top.
It is carried along a screw about the z axis: it turns right-handed about it (from +x toward +y) and rises 2 for every whole turn, rigidly, from a turn of −140° to one of +140°. It starts clear of the block, passes wholly through it, and ends clear of it. Cut from the block everything the cutter passes through.
expected
closed form
volume
65.20000349
no closed form: OCCT and next.BREP agree to 9e-10; the mean of their values
area
160.4637705
no closed form: OCCT and next.BREP agree to 3e-9; the mean of their values; cadrs, which agrees with next.BREP but not OCCT, is 1e-8 from it
Drawing
TopIsometricFrontRight
Third-angle projection, the three views at one scale. Drawn from occt's result, which passed.
† works around a missing feature. Pick an entry to see its solid, its measures and its code.
Drag to turn, scroll or pinch to zoom, right-drag to move. The solid as its STEP file has it, meshed in the browser by Open CASCADE (occt-import-js): each face colored by the kind of its surface, and the edges that bound each face drawn between them.
Drag to turn, scroll or pinch to zoom, right-drag to move. Black lines are where the surface turns sharply; red ones, seen through the solid, are open edges, where the mesh is not closed.
cad-kernel left no solid to show.
Time
1.91 s; CPU time 3.54 s; peak memory 21.6 MB
Notes
refused the cutter's sweep not built: Wrong { at: [9.768755047325977, 0.953940976076544, -0.3354290513787419], held: true }
//! A ring sector (radii 8 to 12 about z, z from −1 to 1, polar angle 0° to 60°) with a helical//! groove milled through it by a frustum about the vertical line through (10, 0), radius 0.4 at//! z = −0.6 widening to 1 at z = 1.4, screwed about z — right-handed, rising 2 a turn — from a turn//! of −140° to +140°.//!//! Refused by the kernel at run time. `cut_from` takes the frustum (a cone about an axis along the//! screw's) and builds a solid, but its own judge (`swept::closed::judge`) finds it disagreeing//! with the sweep's membership at a witness point inside the sweep and refuses it rather than//! return it wrong (`Unbuilt::Wrong`). The same witness stands with the cutter meshed twice and//! four times as finely and with the frustum built as its section revolved; the closed sweep built//! alone (`swept::closed::closed`) is refused in its arrangement instead.usecrate::sketch::polygon;
use cad_kernel::build::{cone, revolve};
use cad_kernel::geom::tolerance;
use cad_kernel::swept::closed::cut_from;
use cad_kernel::topo::Brep;
use cad_kernel::trajectory::{Screw, Trajectory};
constSECTOR: f64 = 60f64.to_radians();
constLEAD: f64 = 2.;
constROLL: [f64; 2] = [-140f64.to_radians(), 140f64.to_radians()];
/// How closely the cutter is meshed for the sweep's membership reads: a hundredth of its least/// radius.constBAR: f64 = 0.004;
/// The ring sector about z: radii 8 to 12, heights −1 to 1, polar angles 0° to 60° — its section in/// the half-plane y = 0, x > 0 turned right-handed about z.fnsector() -> Result<Brep, String> {
let section = polygon(&[[8., 0., -1.], [12., 0., -1.], [12., 0., 1.], [8., 0., 1.]]);
revolve(§ion, [0., 0., 0.], [0., 0., 1.], SECTOR)
}
pubfnbuild() -> Result<Brep, String> {
let up = [0., 0., 1.];
let cutter = cone([10., 0., -0.6], up, 0.4, 1., 2.)?;
// the screw about z: a radian a radian of the roll, rising the lead a turnlet path = Trajectory::Twist(Screw {
origin: [0., 0., 0.], axis: up, ratio: 1., advance: LEAD,
});
// the kernel's swept solid cut from the sector on one arrangement: a cone about an axis along// the screw's, touching along the two rulings where its normal is square to the screw's// velocity, its rims' discs screwed into rampslet blank = sector()?;
let size = blank.size().max(cutter.size());
cut_from(&blank, &cutter, &path, ROLL, BAR, tolerance(size))
.map_err(|why| format!("the cutter's sweep not built: {why:?}"))
}
Time
1.09 s; CPU time 1.09 s; peak memory 379.8 MB
Notes
pass Its volume and area are the expected ones, and its mesh is closed.
Workaround † no sweep of a solid
Its volume and area are its STEP file's, as the harness measures them from the file's exact geometry (harness/mass/); its triangles are Open CASCADE's mesh of the file, for the pictures.
Data
its STEP's
expected
rel. error
volume
65.20000352
65.20000349
4.5e-10
area
160.4637708
160.4637705
1.7e-09
agrees with
next.BREP, springrep
mesh
43784 triangles, closed
centre of gravity
(8.3706, 4.92009, -0.10253) its STEP's solid
inertia
about it, of unit density: Ixx 490.647; Iyy 253.204; Izz 700.517; Ixy 210.286; Iyz -0.61342; Izx -0.71131
"""A helical groove milled by a tapered cutter. A curved block with a helical groove milled through
it by a tapered cutter screwed across it.
The block is a sector of a ring about the z axis: everything with distance from the z axis between
8 and 12, with z between −1 and 1, and with polar angle between 0° and 60° (measured from +x toward
+y).
The cutter is a frustum of a cone about the vertical line through (10, 0): radius 0.4 at z = −0.6,
widening to radius 1 at z = 1.4, its ends flat. It stands out through the block's top.
It is carried along a screw about the z axis: it turns right-handed about it (from +x toward +y)
and rises 2 for every whole turn, rigidly, from a turn of −140° to one of +140°. It starts clear of
the block, passes wholly through it, and ends clear of it. Cut from the block everything the cutter
passes through."""import math
fromOCP.BRepPrimAPIimportBRepPrimAPI_MakeConefromOCP.gp import gp, gp_Ax2, gp_Pnt
from sweep import cut, plane, ring_sector, screw, screwed
BLOCK = (8, 12, -1, 1, 0, 60) # radii, heights and polar anglesAXIS = 10# the cutter's axis is the vertical line through (10, 0)LOW, HIGH = -0.6, 1.4LOW_RADIUS, HIGH_RADIUS = 0.4, 1LEAD = 2# rise per whole turnSTART, STOP = -140, 140# degreesdefbuild():
frustum = BRepPrimAPI_MakeCone(gp_Ax2(gp_Pnt(AXIS, 0, LOW), gp.DZ_s()), LOW_RADIUS,
HIGH_RADIUS, HIGH - LOW).Shape()
tool = screw(frustum, LEAD, START)
# The cone widens upward at α, tan α = 0.6/2, from its apex A = (10, 0, −0.6 − 0.4/tan α).# At its line at angle θ about its axis, its normal is cos α·r̂(θ) − sin α·ẑ, and a point p# there moves with velocity ẑ × p + kẑ, k = 2/2π: the two are square where# 10 cos α sin θ = k sin α, sin θ = k tan α/10, on two lines through A symmetric about the# plane x = 10. Those two lines span the plane through A containing x̂ and the line's# direction (0, sin α sin θ, cos α), whose normal is (0, −cos α, sin α sin θ): it cuts the# cone along its contact. Its flat ends rise or sink all over.
alpha = math.atan((HIGH_RADIUS - LOW_RADIUS) / (HIGH - LOW))
apex = (AXIS, 0, LOW - LOW_RADIUS / math.tan(alpha))
sin_theta = LEAD / (2 * math.pi) * math.tan(alpha) / AXIS
contact = screw(plane(apex, (0, -math.cos(alpha), math.sin(alpha) * sin_theta)), LEAD, START)
returncut(ring_sector(*BLOCK), screwed(tool, LEAD, START, STOP, [contact]))
arris left no solid to show.
Time
It has not run.
Notes
missing no implementation
Data
No measures: it built no solid to measure.
Implementation
No implementation yet.
Time
106 ms; CPU time 120 ms; peak memory 23.1 MB
Notes
pass Its volume and area are the expected ones, and its mesh is closed.
Its volume and area are its STEP file's, as the harness measures them from the file's exact geometry (harness/mass/); its triangles are Open CASCADE's mesh of the file, for the pictures.
Data
its STEP's
expected
rel. error
volume
65.20003014
65.20000349
4.1e-07
area
160.4637869
160.4637705
1.0e-07
agrees with
no other kernel
mesh
41199 triangles, closed, 1 degenerate
centre of gravity
(8.3706, 4.92009, -0.10253) its STEP's solid
inertia
about it, of unit density: Ixx 490.648; Iyy 253.204; Izz 700.518; Ixy 210.286; Iyz -0.613473; Izx -0.711305
//! A curved block, the sector of the ring about the z axis between radii 8 and 12, z from −1 to 1//! and polar angle from 0° to 60°, with a helical groove milled through it by a tapered cutter://! the frustum about the vertical line through (10, 0), of radius 0.4 at z = −0.6 widening to 1 at//! z = 1.4, carried along the screw about the z axis, right-handed, rising 2 a turn, from a turn//! of −140° to +140°. Everything the cutter passes through, cut.//!//! The cutter's sweep is kentron's sweep of a solid (`sweep::solid`, one screw), cut from the block.usecrate::bench::{d, frame, p};
usecrate::shared::swept::ring_sector;
use kentron::math::{Axis, Direction};
use kentron::primitives::Cone;
use kentron::sweep::{self, RigidMotion};
use kentron::topology::{Model, Shape};
pubfnbuild(m: &mutModel) -> kentron::Result<Shape> {
let block = ring_sector(m)?;
let cutter = Cone::new(0.4, 1.0, 2.0).with_frame(frame(p(10.0, 0.0, -0.6), d(0.0, 0.0, 1.0))).build(m)?;
let screw = RigidMotion::Screw { axis: Axis::new(p(0.0, 0.0, 0.0), Direction::Z), lead: 2.0, from: (-140f64).to_radians(), to: 140f64.to_radians() };
let swept = sweep::solid(m, cutter, &screw)?;
kentron::boolean::difference(m, block, swept)
}
vcad left no solid to show.
Time
It has not run.
Notes
missing no implementation
Data
No measures: it built no solid to measure.
Implementation
No implementation yet.
Time
8.46 s; CPU time 8.46 s; peak memory 58.6 MB
Notes
pass Its volume and area are the expected ones, and its mesh is closed.
Workaround † no sweep of a solid
Its volume and area are its STEP file's, as the harness measures them from the file's exact geometry (harness/mass/); its triangles are Open CASCADE's mesh of the file, for the pictures.
Data
its STEP's
expected
rel. error
volume
65.20003857
65.20000349
5.4e-07
area
160.463798
160.4637705
1.7e-07
agrees with
no other kernel
mesh
40090 triangles, closed
centre of gravity
(8.3706, 4.92009, -0.10253) its STEP's solid
inertia
about it, of unit density: Ixx 490.648; Iyy 253.204; Izz 700.519; Ixy 210.286; Iyz -0.613434; Izx -0.711308
//! A sector of a ring about the z axis (radii 8 to 12, z from −1 to 1, polar angles 0° to 60°)//! with a helical groove milled by a frustum about the upright line through (10, 0), of radius 0.4//! at z = −0.6 and 1 at z = 1.4, carried along the screw about the z axis that rises 2 a turn,//! from a turn of −140° to one of +140°.//!//! No layer has a sweep of a solid, so the cutter's sweep is built by elementary geometry from//! the screw sweep of planar regions, on solidcore-ops (`screw_sweep`, held to the runner's//! `SCREW_TOLERANCE`), since solidcraft-kernel's `sweep_helix` holds its walls only to a//! ten-thousandth of the lead, twice as loose here. The cone widens at//! α, tan α = 0.3, from its apex A = (10, 0, −0.6 − 0.4/tan α). On its line at angle ψ about its//! axis (ψ = 0 along +x) the outward normal is (cos α cos ψ, cos α sin ψ, −sin α), and a point//! there moves with (−y, x, k), k = 2/2π, per radian of the screw: the two are square where//! 10 cos α sin ψ = k sin α, on two whole lines through A, at ψ and 180° − ψ, sin ψ = k tan α/10.//! They span the plane through A along x and along (0, sin α sin ψ, cos α), which cuts the cutter//! in a trapezoid. Split by that plane, the half towards +y moves away from a point only through//! its bottom and the cut, so a point it passes over and leaves before the end is left through//! one of those; the other half likewise first reaches a point through its top or the cut. So the//! cutter's sweep is the cutter where it starts and where it ends, clear of the block, with the//! screw sweeps of the trapezoid and the two ends, each of which crosses the motion, never moving//! along itself.usesuper::square_bar_screwed_through_rod::screw_ops;
usecrate::bench as ops;
usecrate::solids::*;
usecrate::Refusal;
use std::f64::consts::TAU;
pubfnbuild() -> Result<solidcore_ops::Body, Refusal> {
let (lead, start, stop) = (2.0, -140.0, 140.0);
let (low, high, r_low, r_high): (f64, f64, f64, f64) = (-0.6, 1.4, 0.4, 1.0);
let alpha = ((r_high - r_low) / (high - low)).atan();
let apex = v3(10.0, 0.0, low - r_low / alpha.tan());
let sin_psi = lead / TAU * alpha.tan() / 10.0;
let cos_psi = (1.0 - sin_psi * sin_psi).sqrt();
// the contact plane: sketch x along +x, sketch y up the plane, midway between the two lineslet up = v3(0.0, alpha.sin() * sin_psi, alpha.cos());
let up_len = up.len();
let plane = Plane { origin: apex, x: Vec3::X, y: up * (1.0 / up_len) };
// the point b up the plane is b cos α / |up| above the apex, and the lines there are// b sin α cos ψ / |up| either side of itlet along = |z: f64| (z - apex.z) * up_len / alpha.cos();
let half = alpha.sin() * cos_psi / up_len;
let (b0, b1) = (along(low), along(high));
let at = |a: f64, b: f64| {
let p = plane.origin + plane.x * a + plane.y * b;
[p.x, p.y, p.z]
};
let trapezoid = ops::polygon(&[at(-half * b0, b0), at(half * b0, b0), at(half * b1, b1), at(-half * b1, b1)]);
let section = ops::polygon(&[[8.0, 0.0, -1.0], [12.0, 0.0, -1.0], [12.0, 0.0, 1.0], [8.0, 0.0, 1.0]]);
letmut block = solidcore_ops::sweep::revolve(§ion, [0.0; 3], [0.0, 0.0, 1.0], 60f64.to_radians(), true)?;
block = ops::cut(block, screw_ops(&trapezoid, lead, start, stop)?)?;
for (z, r) in [(high, r_high), (low, r_low)] {
let end = ops::circle([10.0, 0.0, z], [0.0, 0.0, 1.0], [1.0, 0.0, 0.0], r);
block = ops::cut(block, screw_ops(&[end], lead, start, stop)?)?;
}
Ok(block)
}
brepkit left no solid to show.
Time
It has not run.
Notes
missing no implementation
Data
No measures: it built no solid to measure.
Implementation
No implementation yet.
popkern left no solid to show.
Time
4.1 ms; CPU time 3.8 ms; peak memory 11.4 MB
Notes
refused popkern has no sweep of a solid, and this sweep's wall is an envelope its other operations do not make
// A helical groove milled by a tapered cutter.//// Refused: popkern has no sweep of a solid (its sweeps carry a profile along a path), and this// one's boundary is an envelope of the moving solid that its other operations do not make.throw"popkern has no sweep of a solid, and this sweep's wall is an envelope its other operations do not make";
aetheris left no solid to show.
Time
It has not run.
Notes
missing no implementation
Data
No measures: it built no solid to measure.
Implementation
No implementation yet.
Time
204 ms; CPU time 203 ms; peak memory 28 MB
Notes
pass Its volume and area are the expected ones, and its mesh is closed.
Its volume and area are its STEP file's, as the harness measures them from the file's exact geometry (harness/mass/); its triangles are Open CASCADE's mesh of the file, for the pictures.
Data
its STEP's
expected
rel. error
volume
65.20000348
65.20000349
1.2e-10
area
160.4637701
160.4637705
2.6e-09
agrees with
occt, cadrs, springrep
mesh
46302 triangles, closed
centre of gravity
(8.3706, 4.92009, -0.10253) its STEP's solid
inertia
about it, of unit density: Ixx 490.647; Iyy 253.204; Izz 700.517; Ixy 210.286; Iyz -0.61342; Izx -0.71131
//! A ring sector grooved by a tapered cutter screwed across it.//!//! The kernel's whole sweep of a solid (`sweep_solid`): the cutter is a solid of revolution about//! the vertical line through (10, 0), its meridian the trapezoid from radius 0.4 at z = −0.6 to//! radius 1 at z = 1.4, swept by the screw about the z axis that rises 2 a turn, from −140° to//! +140°; cut from the block (the rectangle 8 ≤ x ≤ 12, |z| ≤ 1 revolved from 0° to 60°).usecrate::solids::{p, polygon};
usecrate::Refusal;
use brep_kernel::{
boolean_operation_nary, revolve_profile_brep, sweep_solid, BooleanOperation, BrepSolid,
OutlinePiece, ScrewStep, SolidMotion, SolidTool,
};
#[allow(unused_imports)]use std::f64::consts::{FRAC_PI_2, PI, TAU};
pubfnbuild() -> Result<BrepSolid, Refusal> {
let z = p(0.0, 0.0, 1.0);
let section = [p(8.0, 0.0, -1.0), p(12.0, 0.0, -1.0), p(12.0, 0.0, 1.0), p(8.0, 0.0, 1.0)];
let block = revolve_profile_brep(&polygon(§ion)?, p(0.0, 0.0, 0.0), z, 60f64.to_radians())?;
let tool = SolidTool::Revolved {
axis_origin: p(10.0, 0.0, 0.0),
axis_direction: z,
radial: p(1.0, 0.0, 0.0),
meridian: vec![
OutlinePiece::Line { from: [0.0, -0.6], to: [0.4, -0.6] },
OutlinePiece::Line { from: [0.4, -0.6], to: [1.0, 1.4] },
OutlinePiece::Line { from: [1.0, 1.4], to: [0.0, 1.4] },
OutlinePiece::Line { from: [0.0, 1.4], to: [0.0, -0.6] },
],
};
let motion = SolidMotion {
steps: vec![ScrewStep { axis_origin: p(0.0, 0.0, 0.0), axis_direction: z, turn: 1.0, advance: 2.0 / TAU }],
from: (-140.0f64).to_radians(),
to: 140.0f64.to_radians(),
};
letmut operands = vec![block];
operands.push(sweep_solid(&tool, &motion)?);
Ok(boolean_operation_nary(&operands, BooleanOperation::Subtract)?)
}
geop left no solid to show.
Time
It has not run.
Notes
missing no implementation
Data
No measures: it built no solid to measure.
Implementation
No implementation yet.
Time
52 ms; CPU time 110 ms; peak memory 13 MB
Notes
pass Its volume and area are the expected ones, and its mesh is closed.
Its volume and area are its STEP file's, as the harness measures them from the file's exact geometry (harness/mass/); its triangles are Open CASCADE's mesh of the file, for the pictures.
Data
its STEP's
expected
rel. error
volume
65.20000351
65.20000349
2.8e-10
area
160.4637689
160.4637705
1.0e-08
agrees with
next.BREP, springrep
mesh
34318 triangles, open: 4 edges unmatched
centre of gravity
(8.3706, 4.92009, -0.10253) its STEP's solid
inertia
about it, of unit density: Ixx 490.647; Iyy 253.204; Izz 700.517; Ixy 210.286; Iyz -0.61342; Izx -0.71131
//! A curved block (the ring sector between radii 8 and 12, heights ±1, polar angles 0° to 60°)//! with a helical groove milled by a frustum (about the upright through (10, 0), radius 0.4 at//! z = −0.6 widening to 1 at z = 1.4) screwed about the z axis, rising 2 a turn, from a turn of//! −140° to +140°.//!//! The frustum is cadrs's cone primitive; what it passes through is cadrs's sweep of a solid (a//! turn and a slide along its axis at once: a screw), cut from the block (cadrs's cylindrical//! box).usecrate::bench::{cone, cut, p3, v3};
usecrate::shared::swept::{ring_sector, screwed, z_axis};
usecrate::Refusal;
use cadrs_kernel::{BodyId, DefaultKernel};
pubfnbuild(k: &mutDefaultKernel) -> Result<BodyId, Refusal> {
let block = ring_sector(k, (8.0, 12.0), (-1.0, 1.0), (0.0, 60.0))?;
let cutter = cone(k, p3(10.0, 0.0, -0.6), v3(0.0, 0.0, 1.0), 0.4, 1.0, 2.0)?;
let swept = screwed(k, cutter, z_axis(), 2.0, -140.0, 140.0)?;
cut(k, block, swept)
}
smlib left no solid to show.
Time
It has not run.
Notes
missing no implementation
Data
No measures: it built no solid to measure.
Implementation
No implementation yet.
Time
302 ms; CPU time 301 ms; peak memory 11.7 MB
Notes
pass Its volume and area are the expected ones, and its mesh is closed.
Its volume and area are its STEP file's, as the harness measures them from the file's exact geometry (harness/mass/); its triangles are Open CASCADE's mesh of the file, for the pictures.
Data
its STEP's
expected
rel. error
volume
65.20000347
65.20000349
2.9e-10
area
160.4637701
160.4637705
2.5e-09
agrees with
occt, next.BREP, cadrs
mesh
41076 triangles, closed
centre of gravity
(8.3706, 4.92009, -0.10253) its STEP's solid
inertia
about it, of unit density: Ixx 490.647; Iyy 253.204; Izz 700.517; Ixy 210.286; Iyz -0.61342; Izx -0.71131
//! The ring sector (radii 8 to 12, heights −1 to 1, angles 0° to 60°) less everything a frustum//! about the upright line through (10, 0) (radius 0.4 at z = −0.6 to 1 at z = 1.4) passes//! through as it is screwed about the z axis, rising 2 a turn, from −140° to 140°.use springrep::boolean::difference;
use springrep::primitive::cone;
use springrep::sweep::solid;
use springrep::topo::Brep;
usecrate::shared::e;
usecrate::shared::swept::{deg, screwing, sector_block};
pubfnbuild() -> Result<Brep, String> {
let foot = crate::shared::at([10.0, 0.0, -0.6]);
let cutter = cone(&foot, 0.4, 1.0, 2.0, "cutter").map_err(e)?;
let swept = solid(&cutter, &screwing(2.0, deg(-140.0), deg(140.0)), "screw").map_err(e)?;
difference(§or_block()?, &swept).map_err(e)
}
geomsolver left no solid to show.
Time
1.92 s; CPU time 4.13 s; peak memory 37.5 MB
Notes
refused error[E080]: `part`: less `groove` (C3: every cell the sweep's candidate faces split the blank into is read in or out of the sweep at a point clear of its boundary): the built solid holds a point the sweep's definition leaves out: refused, not returned wrong at (9.7688, 0.9539, -0.3354) mm
// A curved block, the ring sector between radii 8 and 12 about the z axis, z within 1, polar angle// from 0 to 60 degrees: its section in the front plane (x, z) turned 60 degrees about the z axis.// A tapered cutter, the frustum about the upright line through (10, 0) from radius 0.4 at z = -0.6// to radius 1 at z = 1.4, a turn of its half-section in the front plane; carried by a screw about// the z axis that turns right-handed (from +x toward +y) and rises 2 a turn, from a turn of -140// degrees to one of +140, and everything it passes through cut from the block.unit mm
use std
use std.solids
use std.solids (cut)
use std.motion (screws)
in std.front {
a := point
b := point hint((12, -1))
c := point hint((12, 1))
d := point hint((8, 1))
meridian := horizontal line(a, b) -> vertical line(b, c) ->
horizontal line(c, d) -> vertical line(d, a) -> close
fix((8, -1)) a
a distance(4) b
b distance(2) c
}
part := solid(std.solids.Revolution(meridian, about: std.z, to: 60deg))
in std.front {
foot := point
toe := point hint((10.4, -0.6))
brim := point hint((11, 1.4))
crown := point hint((10, 1.4))
fix((10, -0.6)) foot
fix((10, 1.4)) crown
foot distance(0.4) toe
crown distance(1) brim
half := horizontal line(foot, toe) -> line(toe, brim) -> horizontal line(brim, crown) ->
vertical (spindle := line(crown, foot)) -> close
}
cutter := solid(std.solids.Revolution(half, about: spindle))
climb := frame
climb screws(2mm) std.z
groove := solid({ p | some t in (-140deg, 140deg): p in cutter at(under: climb) t })
groove cut part
anvilcad left no solid to show.
Time
1.3 ms; CPU time 1.1 ms; peak memory 3.6 MB
Notes
refused anvil-brep has no sweep of a solid and no helical curve: a body screwed along an axis sweeps envelopes of its surfaces under the screw, which it cannot make from its profile sweeps
//! A helical groove milled by a tapered cutter.use anvil_brep::Solid;
pubfnbuild() -> Result<Solid, String> {
Err("anvil-brep has no sweep of a solid and no helical curve: a body screwed along an axis sweeps envelopes of its surfaces under the screw, which it cannot make from its profile sweeps".into())
}