calculate-packing 0.0.25 → 0.0.27

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 +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -555,7 +555,7 @@ var makeNumbersRounded = (obj) => {
555
555
 
556
556
  // lib/solver-utils/BaseSolver.ts
557
557
  var BaseSolver = class {
558
- MAX_ITERATIONS = 1e3;
558
+ MAX_ITERATIONS = 1e5;
559
559
  solved = false;
560
560
  failed = false;
561
561
  iterations = 0;
@@ -2797,7 +2797,6 @@ var SingleComponentPackSolver = class extends BaseSolver {
2797
2797
  this.currentRotationIndex = 0;
2798
2798
  }
2799
2799
  executeSegmentCandidatePhase() {
2800
- console.log("executeSegmentCandidatePhase");
2801
2800
  if (this.activeSubSolver?.solved || this.activeSubSolver?.failed) {
2802
2801
  const queuedSegment = this.queuedOutlineSegments[this.currentSegmentIndex];
2803
2802
  const rotation = queuedSegment.availableRotations[this.currentRotationIndex];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "calculate-packing",
3
3
  "main": "dist/index.js",
4
4
  "type": "module",
5
- "version": "0.0.25",
5
+ "version": "0.0.27",
6
6
  "description": "Calculate a packing layout with support for different strategy configurations",
7
7
  "scripts": {
8
8
  "start": "cosmos",