Skip to content

Offset face: widening a through hole's wall is refused as NoRoom after an offset of another hole's wall #3449

Backlog

Description

@CamWight

Offsetting one face of a plate refuses with NoRoom when an earlier offset changed another hole in the same body. There's plenty of room. Each offset alone succeeds, and so does the same pair in the other order.

Reproduction (SolidCraft commands on main, through Session::execute, 28 Nov 2026):

  1. solid.box {"length": 60, "width": 30, "height": 8, "body_name": "Plate"}
  2. solid.hole {"position": [36, 15, 8], "diameter": 5, "name": "ThruA"} (through)
  3. solid.hole {"position": [49, 15, 8], "diameter": 5, "name": "ThruB"} (through)
  4. solid.offset_face {"body": "Plate", "faces": [[38.5, 15, 6]], "distance": 0.5}: ThruA's wall, now Ø4. OK.
  5. solid.offset_face {"body": "Plate", "faces": [[51.5, 15, 6]], "distance": -0.5}: ThruB's wall, now Ø6. Refused:
    offset faces: the wall is too thick: it leaves no room inside the body (SmError::NoRoom, mapped in tangency-labs/solidcraft's crates/kernel/src/offset_backend.rs).

Other cases:

  • Step 5 with no step 4: OK.
  • Step 5 first, then step 4: both OK.
  • Step 5 after an offset of any other hole's wall, blind or through, in either direction (+0.5 or -0.5): refused the same way.
  • A blind hole's wall widened by -0.5 after another offset: OK. Only a through hole's widen is refused.

Expected: step 5 succeeds. After it the bores are about 8 mm apart, and the plate's walls around ThruB are 11 mm and 12.5 mm thick, so nothing is left without room.

A kernel-level form of the recipe above would fit under crates/solidcore/tests/kernel_cases/offset-and-shell/.

I found it with the hole-callout test for tangency-labs/solidcraft#17009, which now widens ThruB first. Once this is fixed, the test can go back to its first order. Not checked: whether the refusal is older than solidcraft's b5d879b682 (27 Nov), which brought its wording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions