Skip to content
This repository has been archived by the owner on Jan 29, 2018. It is now read-only.

G0 Optimisations #237

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
14 changes: 12 additions & 2 deletions public/js/simple-cam.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ function fillEasyCam() {
<span class="input-group-addon">mm/s</span>
</div>
</div>
<div class="form-group">
<label>Optimization Method</label>
<div class="input-group">
<select id="optimization_mode`+i+`" class="form-control">
<option value="none">None</option>
<option value="standard">Cartesian Distance (Experimental)</option>
<option value="manhattan">Manhattan Distance (Experimental)</option>
</select>
</div>
</div>
<div class="form-group">
<label>Multipass Cutting</label>
<div class="input-group">
Expand Down Expand Up @@ -204,7 +214,7 @@ function fillEasyCam() {
layerprep += template;
}
} else if (objectsInScene[i].type == 'Mesh') {

if (typeof(object) != 'undefined') {
scene.remove(object);
};
Expand All @@ -216,7 +226,7 @@ function fillEasyCam() {
var xpos = objectsInScene[i].position.x
var ypos = objectsInScene[i].position.y
// var seq = objectsInScene[i].userData.seq;

var scale = objectsInScene[i].scale.y;
// scale was already initialized during bitmap load, and may have been changed
// We want to set the UI to the actual scale value instead of a default value here
Expand Down
Loading