@willcgage/module-schematic 0.81.0 → 0.82.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 CHANGED
@@ -1588,11 +1588,12 @@ var FAST_TRACKS_N_ME55_CROSSOVERS = [
1588
1588
  manufacturer: "Fast Tracks",
1589
1589
  line: "Code 55",
1590
1590
  scale: "N",
1591
- name: `#${n} Crossover`,
1591
+ name: `#${n} Double Crossover`,
1592
1592
  kind: "crossover",
1593
1593
  partNumbers: { single: `AF-N-C-${n}-ME55` },
1594
1594
  frogNumber: n,
1595
1595
  buildable: true,
1596
+ piecesPerAssembly: 2,
1596
1597
  actualAngle: { deg, source: manufacturer, note: `${spec}. atan(1/${n}) exactly.` },
1597
1598
  secondaryFrogAngle: {
1598
1599
  deg: second,
@@ -1602,9 +1603,13 @@ var FAST_TRACKS_N_ME55_CROSSOVERS = [
1602
1603
  overallLength: {
1603
1604
  inches: dflt,
1604
1605
  source: manufacturer,
1605
- note: `${spec}. The DEFAULT length of the whole assembly \u2014 a fixture, so the builder chooses.`
1606
+ note: `${spec}. \u26A0\uFE0F ONE HALF, NOT THE FINISHED CROSSOVER \u2014 the fixture builds a symmetrical half, which you build twice and butt together after turning the second 180\xB0. Fast Tracks gloss it as "the length of the turnout on the QuickSticks", i.e. the piece in the jig. The DEFAULT for that piece; it is a fixture, so the builder chooses.`
1607
+ },
1608
+ minimumLength: {
1609
+ inches: min,
1610
+ source: manufacturer,
1611
+ note: `${spec}. The shortest ONE HALF can be built \u2014 see the overall length's note.`
1606
1612
  },
1607
- minimumLength: { inches: min, source: manufacturer, note: spec },
1608
1613
  trackSpacing: {
1609
1614
  inches: spacing,
1610
1615
  source: manufacturer,
@@ -1953,6 +1958,8 @@ function storedPartToTrackPart(row) {
1953
1958
  ...note ? { note } : {}
1954
1959
  };
1955
1960
  if (row.buildable) part.buildable = true;
1961
+ if (typeof row.piecesPerAssembly === "number" && row.piecesPerAssembly > 1)
1962
+ part.piecesPerAssembly = row.piecesPerAssembly;
1956
1963
  if (lead) part.lead = lead;
1957
1964
  const outer = dim(row.outerRadiusInches, row.radiusSource);
1958
1965
  const inner = dim(row.innerRadiusInches, row.radiusSource);