Description
What happened
A Join extrude of the ring between two concentric ellipses fails when the ring is taller than the plate it surrounds:
error: step 6 (solid.extrude): boolean Union: the operation failed: no result
The same shape made of circles joins in about 30 ms, and the same ellipse ring joins when it is flush with the plate's top.
Found in a real design: an ellipse, a 1.6 mm inward offset of it, and a line splitting the sketch. The inner section was extruded 1.6 mm, then the outer ring 3.2 mm as a Join. In the app the Join dialog shows the error above.
Expected: one body, the plate with a taller rim. For the minimal repro the volume is pi * 28.4 * 15.2 * 1.6 (plate, 2169.8 mm3) + pi * (30 * 16.8 - 28.4 * 15.2) * 3.2 (ring, 726.8 mm3) = 2896.6 mm3.
Steps to reproduce
Headless, solidcraft-cli run ellipse-ring-join.json:
ellipse-ring-join.json
{
"description": "Two concentric ellipses (30 x 16.8 and 28.4 x 15.2). The inner one is extruded 1.6 mm, then the ring between them is extruded 3.2 mm as a Join. The ring's inner wall lies on the plate's wall.",
"commands": [
{"command": "sketch.create", "params": {"plane": "XY", "name": "Ellipses"}},
{"command": "sketch.ellipse", "params": {"center": [0, 0], "major": [30, 0], "minor_radius": 16.8}},
{"command": "sketch.ellipse", "params": {"center": [0, 0], "major": [28.4, 0], "minor_radius": 15.2}},
{"command": "sketch.finish", "params": {}},
{"command": "solid.extrude", "params": {"sketch": "Ellipses", "profiles": [{"point": [0, 0]}], "distance": 1.6}},
{"command": "solid.extrude", "params": {"sketch": "Ellipses", "profiles": [{"point": [0, 16]}], "distance": 3.2, "operation": "join"}}
]
}- Sketch on XY: ellipse 30 x 16.8 and a concentric ellipse 28.4 x 15.2.
- Extrude the inner profile 1.6 mm.
- Extrude the ring profile (point [0, 16]) 3.2 mm, operation Join. It fails.
Control, same with circles (radius 30 and 28.4): joins in about 27 ms.
control-circles-join.json
{
"commands": [
{
"command": "sketch.create",
"params": {
"plane": "XY",
"name": "Ellipses"
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 30
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 28.4
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"sketch": "Ellipses",
"profiles": [
{
"point": [
0,
0
]
}
],
"distance": 1.6
}
},
{
"command": "solid.extrude",
"params": {
"sketch": "Ellipses",
"profiles": [
{
"point": [
0,
16
]
}
],
"distance": 3.2,
"operation": "join"
}
}
],
"description": "Control: same as ellipse-ring-join.json with circles (radius 30 and 28.4). Joins in ~30 ms."
}What varies
Measured with solidcraft-cli run ... --results (last extrude only):
| Outline | Ring height | Plate height | Result |
|---|---|---|---|
| ellipses | 3.2 | 1.6 | fails: no result |
| ellipses | 1.6 | 1.6 | joins, 25 ms |
| ellipses | 0.8 | 1.6 | joins, 1030 ms (about 40x slower than flush) |
circles (control-circles-join.json) |
3.2 | 1.6 | joins, 27 ms |
| ellipses, ring as a separate body (operation New; diagnostic only) | 3.2 | 1.6 | works: the ring alone is fine, only the join fails |
On the original file the ring starting at 1.6 mm (stacked on the plate) did not finish in over
two minutes, and the 0.8 mm ring joined only after a retry that moved the tool by 0.11 µm.
Where it goes wrong (diagnosis, not a fix)
Traced with temporary debug output on main:
- Both bodies are prisms along Z, so
prism_booleantries the 2D route first. The 2D union of the
two outlines succeeds. - The heights differ, so the result is a stepped prism and is built by
sew_stack→sew_connected_sections(crates/kernel/src/prism.rs). - There,
edge()turns each outline segment into a sewable edge, and only knows lines, arcs and
cubic Béziers (cubic_of). An ellipse outline is a rational conic (Seg2::Conic, weight
0.9675… in this file), which is not a cubic, so it returnsNone. The route gives up
("stepped prism construction failed"). - The general B-rep boolean then runs on the two bodies, whose walls lie exactly on each other
(the ring's inner wall is the plate's wall), and fails with "no result". I did not trace why
the general boolean fails here beyond the coincident walls.
Flush heights avoid step 2 (same-height prisms are extruded directly, and crate::extrude
handles conics). Circles are arcs, which the sewing supports.
So any union of stepped prisms whose outlines contain an ellipse or another conic should hit this,
not only rings.
SolidCraft version and OS
solidcraft-cli 0.22.1 (main at 52e5bc1), macOS arm64.
Screenshots or recording
Related issues checked
No existing issue covers an ellipse or conic outline in a stepped join. Nearest, all different:
#2770 (rim ring join on a rectangular base, slow then "no result"), #3243 (concentric cylindrical
rim and tooth), #4058 (flush walls round a floor, back to back; claimed in #4059), #2360 and
#3454 (cuts).
Activity
dudedagger42 commentedon Oct 26, 2026
Triage by dudedagger42: A join of a taller ring round a plate with elliptical outlines fails with 'boolean Union: the operation failed: no result'. Joins are kernel work, which is paused upstream (#3992). The report already has a repro file, so no new file is needed. #2770 and #3243 are related but have different outlines.
flyboy-byte commentedon Nov 8, 2026
I re-ran the script from this issue on the
solidcraft-cliof each build:boolean Union: the operation failed: no result(as reported)SMLib's check refuses the result: ... Loop Orientation: Face Loop has bad orientation [owner SmFace]So the join worked on rc.2 and fails again on rc.3, with a new error. This may be worth adding to solidcore's regression cases since rc.3 moved solidcore from 8ddce9016 to a445bdaac6.
Written with Claude Code on behalf of @flyboy-byte.
dudedagger42 commentedon Nov 29, 2026
Retested on SolidCraft 0.52.0 in #24144: the reported operation now builds a valid closed body (ellipse ring join builds: 2896.9 mm3 = analytic (plate + ring)). Closing; please reopen with a design if it still fails for you.