@faicad/faijs-fcstd 0.17.0 → 0.18.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.
@@ -582,8 +582,14 @@ filletEdgesData) {
582
582
  return {
583
583
  kind: 'translated',
584
584
  calls: [{
585
+ // GOTCHA (2026-09-25, A1 mirror E_OP_FAILED): `cad.mirror(input,
586
+ // options)` takes the SOURCE SHAPE as a POSITIONAL arg. Do NOT set
587
+ // `noPositionalArgs` here — that flag is only for ops with zero
588
+ // positional inputs (e.g. cad.compound({ members })), and setting it
589
+ // made renderArgs drop `inputs[0]`, emitting
590
+ // `cad.mirror({ normal, at })` with no geometry → E_OP_FAILED at run.
585
591
  out, op: 'cad.mirror', source: obj.name, inputs: [s],
586
- noPositionalArgs: true, params: { normal, at },
592
+ params: { normal, at },
587
593
  }],
588
594
  };
589
595
  }
@@ -1034,8 +1040,13 @@ filletEdgesData) {
1034
1040
  return {
1035
1041
  kind: 'translated',
1036
1042
  calls: [{
1043
+ // GOTCHA (2026-09-25, A3 revolve REVOLVE_FAILED): same root cause as
1044
+ // the mirror branch — `cad.revolve(input, { axis, at, angle })` takes
1045
+ // the source shape as a POSITIONAL arg. `noPositionalArgs: true` made
1046
+ // renderArgs drop `inputs[0]`, emitting `cad.revolve({ axis, at, angle })`
1047
+ // with no geometry → REVOLVE_FAILED at run.
1037
1048
  out, op: 'cad.revolve', source: obj.name, inputs: [revVar],
1038
- noPositionalArgs: true, params: { axis, at, angle: revAngle },
1049
+ params: { axis, at, angle: revAngle },
1039
1050
  }],
1040
1051
  };
1041
1052
  }