Skip to content

Commit

Permalink
uncomment path optimizations for now (not sure if they fully work, ne…
Browse files Browse the repository at this point in the history
…eds more testing)
  • Loading branch information
M4GNV5 committed May 1, 2019
1 parent 5fcef34 commit 04fd768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<br />
<button onclick="genGcode()">Generate Instructions</button> <span id="status"></span>

<div id="image"></div>
<svg id="image"></svg>

<script src="svg2gcode.js"></script>
<script src="bytecode.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion interface/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function genGcode()
ops = svg2gcode(null, Array.from(svg.children));
statusEl.innerHTML = "Generated " + ops.length + " instructions";

optimizePaths(ops);
//optimizePaths(ops);

transformCoordinates(ops, svg.attributes.width.value, svg.attributes.height.value);
console.dir(ops);
Expand Down

0 comments on commit 04fd768

Please sign in to comment.