swept · ·

A V bit engraving a line that stops inside a block

swept/v-bit-engraving-stopped · swept, solid-sweep, slide, cone, apex, stopped, boolean, cut

A block, the box from (0, −10, −10) to (30, 10, 0), with a line engraved into its top by a V bit that stops inside it at both ends.

The bit is a solid cone whose axis is the vertical line through (5, 0), its point at (5, 0, −2), 2 below the block's top, opening upward at 90° (each side 45° from the axis) to a flat top of radius 5 at z = 3.

It slides without turning along the x axis by 15, so that its point ends at (20, 0, −2). Cut from the block everything the bit passes through.

The bit's point lies on its axis, inside the block at both ends. The groove is a V 4 wide at the top and 2 deep, along 15, its flanks planes at 45°, ended at each end by half of the cone.

expectedclosed form
volume5931.622426000 − (15·2² + (π/3)·2³): the groove's section, the triangle 4 wide and 2 deep, along 15, and the cone below the top at its two ends together
area2230.0579752200 − (4π + 60) (the opening) + two flanks 2·15·2√2 + the cone's side below the top, half at each end, π·2·2√2

Drawing

Top view
Top
Isometric view
Isometric
Front view
Front
Right view
Right

Third-angle projection, the three views at one scale. Drawn from occt's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomepasspass †–pass–pass †–pass–pass–pass–passpasspass †
volume err.4.6e-162.1e-154.6e-161.5e-163.1e-160.0e+001.5e-161.5e-164.0e-154.5e-14
area err.2.0e-163.7e-154.1e-160.0e+000.0e+002.0e-160.0e+000.0e+002.0e-158.2e-14
time2.10 s642 ms11 ms94 ms37 ms14 ms4.3 ms11 ms3.71 s7.6 ms
CPU time2.59 s642 ms11 ms94 ms41 ms13 ms4 ms9.9 ms4.17 s7.4 ms
memory20.4 MB368.5 MB11.3 MB48.1 MB26 MB18.1 MB9.6 MB8.9 MB37.3 MB5.1 MB
LOC2215112171410122710

† works around a missing feature. Pick an entry to see its solid, its measures and its code.

swept/v-bit-engraving-stopped.md, the case as written.