Skip to content

COMBINE: operation failed #10564

Todo

Description

@wehrcraft

Actual behavior

i am trying to combine two relatively easy bodys into one part

Reproduction

Not provided

Expected behavior

they should just join together

Operation context

"boolean Union: the operation failed: no result"

A failed preview may display the last valid geometry; that geometry is not evidence that the failed operation succeeded.

Settings and selection

[
  [
    "solid.combine",
    {
      "keep_tools": false,
      "operation": "join",
      "target": "Body1",
      "tools": [
        "Body2"
      ]
    }
  ]
]

Selected items (including occurrence paths):
[]

Failing features: none

Messages (last 8 of 55):
10 min ago info: "Line: click points; right-click or Esc to finish" (×2)
10 min ago info: "Arc: click centre and start, go round either way and click the end, or type a signed sweep"
8 min ago info: "Line: click points; right-click or Esc to finish"
8 min ago info: "Arc: click centre and start, go round either way and click the end, or type a signed sweep"
7 min ago info: "Rectangle: click two opposite corners"
6 min ago info: "Dimension applied"
4 min ago info: "Circle: click the centre, then a point on the circle"
56 s ago error: "Create Components from Bodies: bodies must be an array of body names"

Environment

"SolidCraft 0.29.0 (3a5195b, built 2026-10-31)\nOS: linux x86_64\nRenderer: GPU, Intel(R) Iris(R) Xe Graphics (ADL GT2) (Vulkan, IntegratedGpu)\nWindow: custom title bar\nDesign: Untitled (11 features, 2 bodies)"

Revision: 1132
Camera: Camera {
target: Vec3 {
x: 28.856784936755346,
y: 6.552643081528004,
z: 9.438361422057715,
},
yaw: -0.6090765977250204,
pitch: 0.2199983415748086,
roll: -8.805712378926265e-23,
distance: 232.60716978520938,
fov: 0.0,
up: Z,
}

Visual context

Attach the reviewed screenshot or a short example showing the problem.

Window: 1536×832 logical points; 1.25 physical pixels/point

Image

Activity

  1. added
    area:kernel
    bug
    needs-triage
    on Nov 1, 2026
  2. dudedagger42 commented on Nov 1, 2026

    @dudedagger42
    Collaborator

    Triage by dudedagger42: The join stops inside the geometry kernel, and kernel work is paused upstream (#3992).

    Your design is what would pin this case down: save it first (the title bar shows Untitled), then right-click the .sc file, choose Compress to ZIP, and drag the .zip into a comment.

  3. wehrcraft commented on Nov 1, 2026

    @wehrcraft
    Author

    here you go

    Test Piece.zip

  4. dudedagger42 commented on Nov 3, 2026

    @dudedagger42
    Collaborator

    Reproduced on the official solidcraft-cli 0.30.1 (CLI only; you reported 0.29.0). On your Test Piece design, Combine join of Body2 (a ring, outer radius 19, inner 8, 25 long) into Body1 fails with "boolean Union: the operation failed: no result"; cut and intersect of the same pair fail the same way.

    One change flips it: moving Body2 0.5 mm in z or in y first lets the join work (Body1 volume 104611.5 and 104784.6 mm3). Moved 0.5 mm in x it still fails.

    Boundary: your face selections and the 0.29.0 build were not tried; app not run.

    Root cause (likely): crates/kernel/src/ops.rs:truck_boolean returns this message when the shape-ops call gives nothing; what in the two bodies' faces defeats it was not found. Kernel work is paused upstream (#3992). Your zipped design was enough to reproduce it.

  5. dudedagger42 commented on Nov 29, 2026

    @dudedagger42
    Collaborator

    Still fails on 0.52.0 (checked in #24144): opening the attached Test Piece design with solidcraft-cli eval --allow-errors, feature Extrude4 (Join) fails with 'SMLib boolean: operation: solidcore: SmApiBoolean: boolean::merge::p4::manifold_boolean: the union deleted face 16 and the solid it bounded merged into the outside', and the features after it fail on the lost projected edge. The ring body from the Combine join was not reached. Leaving this open.

  6. thocsmith commented on Dec 6, 2026

    @thocsmith
    Contributor

    /claim

  7. added
    in progress
    on Dec 6, 2026
  8. github-actions commented on Dec 6, 2026

    @github-actions
    Contributor

    Claimed by @thocsmith. Please open a draft PR referencing #10564 within 72 h; the claim lapses otherwise. /unclaim releases it.

  9. thocsmith commented on Dec 6, 2026

    @thocsmith
    Contributor

    The fix is in #27061. The literature it follows, as solidcore/AGENTS.md asks:

    • Vertex-neighbourhood classification. M. Mäntylä, Boolean operations of 2-manifolds through vertex neighborhood classification, ACM TOG 5(1), 1986, is what sector_classify_curve_on implements. A curve leaving a vertex is classified by which sector of the face's edges around that vertex it enters. Each sector is ordered by the edges' turn into the face. That ordering, not the size of the angle between the two edges, says whether a sector is the narrow wedge or everything around the vertex except that wedge. Upstream's "sector too small" rule took the unsigned angle, so at a sliver notch's tip the reflex sector (360° minus the notch) read as the notch.
    • Filtered predicates. J. R. Shewchuk, Adaptive precision floating-point arithmetic and fast robust geometric predicates, DCG 18, 1997, and C. K. Yap, Towards exact geometric computation, CGTA 7, 1997. A sign decision is trusted only when it clears its error bound, and otherwise falls back to a safe answer. The new test decides "reflex" only when the second tangent's lean away from the binormal is negative past both a rounding floor and half the angle's sine. Otherwise it keeps upstream's reading. That covers collinear tangents, rounding noise, and tangents out of the plane, as at a sphere's pole, where a test without the floor moved a golden through noise alone. The floor is a practical threshold, not a proved bound. An exact or certified sector predicate (docs/booleans.md §10, "Open") would replace it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:kernelbugin progressneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions