@tscircuit/core 0.0.660 → 0.0.661

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -9282,7 +9282,8 @@ var Group_doInitialPcbLayoutPack = (group) => {
9282
9282
  const packInput = {
9283
9283
  ...convertPackOutputToPackInput(
9284
9284
  convertCircuitJsonToPackOutput(db.toArray(), {
9285
- source_group_id: group.source_group_id
9285
+ source_group_id: group.source_group_id,
9286
+ shouldAddInnerObstacles: true
9286
9287
  })
9287
9288
  ),
9288
9289
  // @ts-expect-error we're missing some pack order strategies
@@ -9290,6 +9291,13 @@ var Group_doInitialPcbLayoutPack = (group) => {
9290
9291
  placementStrategy: packPlacementStrategy ?? "minimum_sum_squared_distance_to_network",
9291
9292
  minGap: gapMm
9292
9293
  };
9294
+ if (debug6.enabled) {
9295
+ global.debugOutputs?.add(
9296
+ `packInput-circuitjson-${group.name}`,
9297
+ JSON.stringify(db.toArray())
9298
+ );
9299
+ global.debugOutputs?.add(`packInput-${group.name}`, packInput);
9300
+ }
9293
9301
  const packOutput = pack(packInput);
9294
9302
  if (debug6.enabled) {
9295
9303
  const graphics = getGraphicsFromPackOutput(packOutput);
@@ -13767,7 +13775,7 @@ import { identity as identity5 } from "transformation-matrix";
13767
13775
  var package_default = {
13768
13776
  name: "@tscircuit/core",
13769
13777
  type: "module",
13770
- version: "0.0.659",
13778
+ version: "0.0.660",
13771
13779
  types: "dist/index.d.ts",
13772
13780
  main: "dist/index.js",
13773
13781
  module: "dist/index.js",
@@ -13861,7 +13869,7 @@ var package_default = {
13861
13869
  dependencies: {
13862
13870
  "@flatten-js/core": "^1.6.2",
13863
13871
  "@lume/kiwi": "^0.4.3",
13864
- "calculate-packing": "0.0.28",
13872
+ "calculate-packing": "0.0.29",
13865
13873
  "css-select": "5.1.0",
13866
13874
  "format-si-unit": "^0.0.3",
13867
13875
  nanoid: "^5.0.7",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.660",
4
+ "version": "0.0.661",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -95,7 +95,7 @@
95
95
  "dependencies": {
96
96
  "@flatten-js/core": "^1.6.2",
97
97
  "@lume/kiwi": "^0.4.3",
98
- "calculate-packing": "0.0.28",
98
+ "calculate-packing": "0.0.29",
99
99
  "css-select": "5.1.0",
100
100
  "format-si-unit": "^0.0.3",
101
101
  "nanoid": "^5.0.7",