offset · ·

A dumbbell shrunk until it splits into two bodies

offset/dumbbell-split · offset, shrink, planar, self-intersection, round, lumps

A dumbbell-shaped plate: its outline in the xy plane is the polygon through (0, 0), (10, 0), (10, 4), (14, 4), (14, 0), (24, 0), (24, 10), (14, 10), (14, 6), (10, 6), (10, 10) and (0, 10), two 10 × 10 squares joined by a neck 4 long and 2 wide, extruded 6 along +z.

Shrink the whole solid inward by 1.5: keep every point inside it at least 1.5 from its boundary. The neck disappears, leaving two separate bodies; keep both. The moved walls that cross in the neck are not part of either body. This is an offset of the solid, not its shell or hollowed wall.

Each body runs from z = 1.5 to z = 4.5. The left one's section is the square from (1.5, 1.5) to (8.5, 8.5), with a small bulge toward the lost neck. At its mouth the nearest original walls end at (10, 4) and (10, 6), so the bulge is bounded by arcs of radius 1.5 about those corners. The arcs leave x = 8.5 tangentially at y = 4 and y = 6 and meet at (10 − √5/2, 5). The right body is the reflection of the left in x = 12.

The bulge's area is β = 3 − √5/2 − (9/4)·asin(2/3), and each section's perimeter is 26 + 3·asin(2/3), with the angles in radians. Multiply the two section areas by height 3 for the volume; the four ends and the two perimeters times 3 give the surface area.

As a set:

$$\bigl(\operatorname{poly}\bigl((0,0),(10,0),(10,4),(14,4),(14,0),(24,0),(24,10),(14,10),(14,6),(10,6),(10,10),(0,10)\bigr)\times[0,6]\bigr) \ominus B_{1.5}$$

expectedclosed form
volume295.44047272·3(49 + β), β = 3 − √5/2 − (9/4)·asin(2/3); two sections of area 49 + β, each 3 high
area366.0954134(49 + β) + 6(26 + 3·asin(2/3)), β = 3 − √5/2 − (9/4)·asin(2/3)

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–refused–refused–pass–pass–passrefusedrefused
volume err.7.7e-161.5e-157.7e-165.8e-163.8e-165.8e-16
area err.4.7e-162.8e-153.1e-164.7e-164.7e-163.1e-16
time37 ms648 ms98 ms147 ms17 ms4.7 ms2.9 ms156 ms49 ms1.1 ms
CPU time49 ms647 ms97 ms147 ms23 ms3.7 ms3.3 ms155 ms49 ms970 µs
memory12.8 MB369 MB17.7 MB55.6 MB24.9 MB11.2 MB6.9 MB10.8 MB25.9 MB3.4 MB
LOC121412196132431364

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

offset/dumbbell-split.md, the case as written.