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.
- package/dist/index.js +1 -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 =
|
|
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