@tscircuit/footprinter 0.0.25 → 0.0.26

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
@@ -11799,6 +11799,10 @@ var quadTransform = (v) => {
11799
11799
  if (!v.p && v.w && v.h && v.pw && v.pl) {
11800
11800
  v.p = (v.w - v.pl * 2) / (side_pin_count - 1);
11801
11801
  }
11802
+ if (!v.w && !v.h && v.p) {
11803
+ v.w = v.p * (side_pin_count + 4);
11804
+ v.h = v.w;
11805
+ }
11802
11806
  if (v.p && !v.pw && !v.pl) {
11803
11807
  v.pw = v.p / 2;
11804
11808
  v.pl = v.p / 2;