@willcgage/module-schematic 0.77.0 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +62 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +62 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1413,9 +1413,29 @@ var ATLAS_CODE55_N = [
|
|
|
1413
1413
|
partNumbers: { single: "2056" },
|
|
1414
1414
|
frogNumber: 2.5,
|
|
1415
1415
|
lead: {
|
|
1416
|
-
inches: 2.5
|
|
1417
|
-
source: "
|
|
1418
|
-
note: "
|
|
1416
|
+
inches: 2.5,
|
|
1417
|
+
source: "measured",
|
|
1418
|
+
note: "Will Gage, physical Atlas 2056, 2026-07-26: points at 1\u2075\u2044\u2088\u2033, frog at 4\u215B\u2033 \u21D2 2.5\u2033 \u2014 the difference of the two offsets, per the rule above. \u26A0\uFE0F RETIRES a `derived` 1.205\u2033 (2.5 \xD7 TURNOUT_LEAD_INCHES_PER_FROG) \u2014 the real lead is more than DOUBLE it. Third independent refutation of the per-frog rule, and the largest: at low N it is not merely mis-sloped, it is nowhere near."
|
|
1419
|
+
},
|
|
1420
|
+
pointsOffset: {
|
|
1421
|
+
inches: 1.625,
|
|
1422
|
+
source: "measured",
|
|
1423
|
+
note: "Will Gage, physical Atlas 2056 \u2014 end of tie strip to point tips (1\xB9\u2070\u2044\u2081\u2086\u2033)"
|
|
1424
|
+
},
|
|
1425
|
+
frogOffset: {
|
|
1426
|
+
inches: 4.125,
|
|
1427
|
+
source: "measured",
|
|
1428
|
+
note: "Will Gage, physical Atlas 2056 \u2014 tie end to the apex of the V (4\xB2\u2044\u2081\u2086\u2033)"
|
|
1429
|
+
},
|
|
1430
|
+
overallLength: {
|
|
1431
|
+
inches: 6.5,
|
|
1432
|
+
source: "measured",
|
|
1433
|
+
note: "Will Gage, physical Atlas 2056 \u2014 end to end"
|
|
1434
|
+
},
|
|
1435
|
+
divergingLength: {
|
|
1436
|
+
inches: 2.4375,
|
|
1437
|
+
source: "measured",
|
|
1438
|
+
note: "Will Gage, physical Atlas 2056 \u2014 frog to the end of each diverging rail (2\u2077\u2044\u2081\u2086\u2033, both legs equal). \u2714 CROSS-CHECKS the frog: axial past-frog is 6.5 \u2212 4.125 = 2.375\u2033, and the rail is \xB9\u2044\u2081\u2086\u2033 longer than its own projection, which is the right sign and the right order of magnitude."
|
|
1419
1439
|
}
|
|
1420
1440
|
},
|
|
1421
1441
|
{
|
|
@@ -1423,11 +1443,17 @@ var ATLAS_CODE55_N = [
|
|
|
1423
1443
|
// wyes are different FROG NUMBERS, not a left/right pair of one part. The
|
|
1424
1444
|
// 2056 half of that confirms the entry above; this is the one we didn't have.
|
|
1425
1445
|
//
|
|
1426
|
-
//
|
|
1427
|
-
//
|
|
1428
|
-
//
|
|
1429
|
-
//
|
|
1430
|
-
//
|
|
1446
|
+
// Fully measured 2026-07-26, after one reading was caught and re-read.
|
|
1447
|
+
//
|
|
1448
|
+
// ⚠️ WORKED EXAMPLE OF WHY THIS LIBRARY CROSS-CHECKS. The frog first came in
|
|
1449
|
+
// at 5⁵⁄₃₂″, which is PAST the part's own 5″ overall length — the apex would
|
|
1450
|
+
// have sat beyond the end of the moulding. Two independent lines said ~3⅛″:
|
|
1451
|
+
// · points ¾″ + points→frog 2⅜″ = 3.125″
|
|
1452
|
+
// · overall 5″ − diverging rail 1³⁰⁄₃₂″ ≈ 3.06″ axial
|
|
1453
|
+
// Queried, and Will re-read it as 3⁵⁄₃₂″ — a leading-digit slip, exactly what
|
|
1454
|
+
// the arithmetic implied. That re-read is the number recorded here; it was
|
|
1455
|
+
// NOT inferred. Had it been taken at face value the wye would have drawn its
|
|
1456
|
+
// frog off the end of itself.
|
|
1431
1457
|
id: "atlas-c55-n-wye-35",
|
|
1432
1458
|
manufacturer: "Atlas",
|
|
1433
1459
|
line: "Code 55",
|
|
@@ -1435,7 +1461,32 @@ var ATLAS_CODE55_N = [
|
|
|
1435
1461
|
name: "#3.5 Wye",
|
|
1436
1462
|
kind: "wye",
|
|
1437
1463
|
partNumbers: { single: "2057" },
|
|
1438
|
-
frogNumber: 3.5
|
|
1464
|
+
frogNumber: 3.5,
|
|
1465
|
+
lead: {
|
|
1466
|
+
inches: 2.40625,
|
|
1467
|
+
source: "measured",
|
|
1468
|
+
note: "Will Gage, physical Atlas 2057, 2026-07-26: points at \xBE\u2033, frog at 3\u2075\u2044\u2083\u2082\u2033 \u21D2 2.40625\u2033 \u2014 the difference of the two offsets, per the rule above. His direct points\u2192frog reading was 2\u215C\u2033, \xB9\u2044\u2083\u2082\u2033 short; the offsets win. \u26A0\uFE0F RETIRES the reasoning in this entry's original note, which left the lead unset so `leadInchesForSize` would interpolate at the wye's effective frog (3.5 \xD7 2 = 7) and land on the measured #7's 3.59375\u2033. That substitution was 49% over."
|
|
1469
|
+
},
|
|
1470
|
+
pointsOffset: {
|
|
1471
|
+
inches: 0.75,
|
|
1472
|
+
source: "measured",
|
|
1473
|
+
note: "Will Gage, physical Atlas 2057 \u2014 end of tie strip to point tips (\xBE\u2033)"
|
|
1474
|
+
},
|
|
1475
|
+
frogOffset: {
|
|
1476
|
+
inches: 3.15625,
|
|
1477
|
+
source: "measured",
|
|
1478
|
+
note: "Will Gage, physical Atlas 2057 \u2014 tie end to the apex of the V (3\u2075\u2044\u2083\u2082\u2033). This is his RE-READ after the first reading (5\u2075\u2044\u2083\u2082\u2033) was queried for landing past the part's 5\u2033 end; see the comment above this entry."
|
|
1479
|
+
},
|
|
1480
|
+
overallLength: {
|
|
1481
|
+
inches: 5,
|
|
1482
|
+
source: "measured",
|
|
1483
|
+
note: "Will Gage, physical Atlas 2057 \u2014 end to end"
|
|
1484
|
+
},
|
|
1485
|
+
divergingLength: {
|
|
1486
|
+
inches: 1.9375,
|
|
1487
|
+
source: "measured",
|
|
1488
|
+
note: "Will Gage, physical Atlas 2057 \u2014 frog to the end of each diverging rail (1\xB3\u2070\u2044\u2083\u2082\u2033, both legs equal). \u2714 THE READING THAT CAUGHT THE BAD FROG: against the first 5\u2075\u2044\u2083\u2082\u2033 the axial past-frog is NEGATIVE, which a 1.9375\u2033 rail flatly contradicts. Against the re-read 3\u2075\u2044\u2083\u2082\u2033 it is 5 \u2212 3.15625 = 1.84375\u2033, so the rail runs \xB3\u2044\u2083\u2082\u2033 longer than its own projection \u2014 right sign, same order as the 2056's \xB9\u2044\u2081\u2086\u2033. (The two differ because this is a cos() residual on a small angle, which is why the field doc says not to read an angle back out of it.)"
|
|
1489
|
+
}
|
|
1439
1490
|
},
|
|
1440
1491
|
{
|
|
1441
1492
|
id: "atlas-c55-n-curved-21-15",
|
|
@@ -1791,6 +1842,8 @@ function storedPartToTrackPart(row) {
|
|
|
1791
1842
|
if (frog) part.frogOffset = frog;
|
|
1792
1843
|
const overall = dim(row.overallLengthInches, row.overallLengthSource);
|
|
1793
1844
|
if (overall) part.overallLength = overall;
|
|
1845
|
+
const diverging = dim(row.divergingLengthInches, row.divergingLengthSource);
|
|
1846
|
+
if (diverging) part.divergingLength = diverging;
|
|
1794
1847
|
if (lead) part.lead = lead;
|
|
1795
1848
|
const outer = dim(row.outerRadiusInches, row.radiusSource);
|
|
1796
1849
|
const inner = dim(row.innerRadiusInches, row.radiusSource);
|