@willcgage/module-schematic 0.46.0 → 0.47.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
@@ -474,7 +474,9 @@ function moduleFootprint(input) {
474
474
  return {
475
475
  centerline,
476
476
  band: benchworkBand(centerline, widthA, widthB, offA, offB),
477
- endplateFaces: endplateFaceSegments(centerline, widthA, widthB, offA, offB),
477
+ // A loop's centre-line ends at the throat, not a far endplate — keep only
478
+ // endplate A's face (the far face would be a spurious plate at the throat).
479
+ endplateFaces: input.loop ? endplateFaceSegments(centerline, widthA, widthB, offA, offB).slice(0, 1) : endplateFaceSegments(centerline, widthA, widthB, offA, offB),
478
480
  outline: sectionOutlines.length || !authored ? null : sampleBenchworkOutline(authored),
479
481
  sectionOutlines
480
482
  };