Roadmap 0.13, From GitHub (to review)

GH.18 Foundation check: a footing shear Vy shifts the soil pressure the wrong way (sign of h·Vy in foundation.js)

  • Feature
  • Built · Live
  • DetailCraft

sheets-detail-12 (sheets-detail-12 2026-11-28): reproduced, and already fixed after 0.10. 0.10/foundation.js lines 169 and 198 read '... - moment(Mx) - h * Vy', 0.10.1, 0.11 and /lab read '+ h * Vy' (and the combined-footing cut at line 212 matches). Numbers worked by hand, 64-bit: A = 6.6193416 m2, W = 24 A 0.762 = 121.05451918080001 kN, N = 187.7778191808 kN. Vy 8.8964 alone: ey = 0.762 x 8.8964 / N = +36.101477957164114 mm; with Mx -24.4047 as well: ey = (24.4047 + 6.7786) / N = 166.06730728923327 mm, bearing 40.7 kPa, overturning FS 1143 / 166.0673 = 6.88 (0.10 gives 93.86435137490507 mm and FS 12.18, as the reporter saw). The released 0.10 is the one that under-reports. /lab Foundation tab, real page: 166.1 mm, 40.7 kPa, FS 6.88 (browser-gh17-gh18.mjs 7/0); test-foundation.mjs 57/0 carries the Vy case. For triage-12: the fix is the one-line sign in 0.10.1 (done); nothing to change in code, mark Done; the note for people on 0.10 is in the 0.10.1 notes.

Was: ### App

DetailCraft

### Platform

Windows

### Version and system

CadCraft Studio 0.10.0 (DetailCraft 0.10), Windows 11 x64

### What happened

**What happens:** a horizontal force **Vy** on top of a footing shifts the soil pressure toward **−y**. Physically it should shift it toward +y. **Vx** behaves correctly. So when a wind or fault shear and its own moment act together in y, the two partly cancel instead of adding. Bearing pressure is then under-reported, and the overturning factor of safety over-reported (unconservative).

### Steps or commands to reproduce

1. Add a pad footing: L 2895.6 × B 2286 × H 762 mm, 4000 psi, #7 bottom mat, no starter bars. Soil: qa 119.701 kPa, μ 0.35, no fill, 18.85 kN/m³.
2. Add one service column load at the centre with P = 66.7233 kN and nothing else except one of the following:

| Only this load | Reported e (mm) | Expected e (mm) |
|---|---|---|
| Vx = +8.8964 kN | (36.1, 0) | (+36.1, 0) ✅ |
| **Vy = +8.8964 kN** | **(0, −36.1)** | **(0, +36.1)** ❌ |
| My = +24.4047 kN·m | (130, 0) | ✅ |
| Mx = +24.4047 kN·m | (0, −130) | ✅ (right-hand rule, as documented) |

3. Combine them consistently: a +Vy force applied 9 ft above the footing top comes with Mx = −Vy·2.7432 m = −24.4047 kN·m. With Vy = +8.8964 and Mx = −24.4047:
- Reported: e = (0, 93.9 mm), q = 35.4 kPa, overturning FS 12.18.
- Expected: e = (0, 166.1 mm), q = 40.7 kPa, overturning FS 6.88. The base moment is |Mx| + H·Vy = 24.405 + 0.762 × 8.896 = 31.18 kN·m, and N = 187.8 kN.

We checked the expected values with an independent calculation.

**Where:** `apps/detailcraft/0.10/foundation.js`

```js
168 const ex = ... + moment('My') + h * Vx) / N ... // correct: (0,…

Opened on GitHub by a Discord member: https://github.com/getcadcraft/detailcraft/issues/4

gh-triage 2026-12-03: fixed by FX.373 in 0.11 (sign of h*Vy in ey, eyu and the y cut). Answered on GitHub and closed (detailcraft#4); the reporter was asked to re-run 0.10 checks that had a non-zero Vy.

From: a Discord member

detailcraft#4 closed

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.