enable origin and ruler defaults. change slice label in CAM mode. fix prep to animate
This commit is contained in:
parent
a5e98bd892
commit
6555368b1a
5 changed files with 22 additions and 10 deletions
|
|
@ -611,8 +611,8 @@
|
||||||
lineType: "path",
|
lineType: "path",
|
||||||
autoSave: true,
|
autoSave: true,
|
||||||
reverseZoom: true,
|
reverseZoom: true,
|
||||||
showOrigin: false,
|
showOrigin: true,
|
||||||
showRulers: false,
|
showRulers: true,
|
||||||
showSpeeds: true,
|
showSpeeds: true,
|
||||||
freeLayout: true,
|
freeLayout: true,
|
||||||
autoLayout: true,
|
autoLayout: true,
|
||||||
|
|
@ -620,7 +620,7 @@
|
||||||
units: "mm",
|
units: "mm",
|
||||||
exportOcto: false,
|
exportOcto: false,
|
||||||
exportGhost: false,
|
exportGhost: false,
|
||||||
exportLocal: true,
|
exportLocal: false,
|
||||||
exportPreview: false,
|
exportPreview: false,
|
||||||
decimate: true,
|
decimate: true,
|
||||||
detail: "good",
|
detail: "good",
|
||||||
|
|
|
||||||
|
|
@ -1350,6 +1350,13 @@
|
||||||
export: $('act-export')
|
export: $('act-export')
|
||||||
},
|
},
|
||||||
|
|
||||||
|
label: {
|
||||||
|
slice: $('label-slice'),
|
||||||
|
preview: $('label-preview'),
|
||||||
|
animate: $('label-animate'),
|
||||||
|
export: $('label-export')
|
||||||
|
},
|
||||||
|
|
||||||
acct: {
|
acct: {
|
||||||
help: $('acct-help'),
|
help: $('acct-help'),
|
||||||
export: $('acct-export')
|
export: $('acct-export')
|
||||||
|
|
|
||||||
|
|
@ -841,6 +841,7 @@
|
||||||
|
|
||||||
function preparePreview(callback) {
|
function preparePreview(callback) {
|
||||||
if (complete.preview) {
|
if (complete.preview) {
|
||||||
|
if (callback) callback();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!complete.slice) {
|
if (!complete.slice) {
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,11 @@
|
||||||
func.tabClear();
|
func.tabClear();
|
||||||
func.traceDone();
|
func.traceDone();
|
||||||
UI.func.animate.style.display = 'none';
|
UI.func.animate.style.display = 'none';
|
||||||
|
UI.label.slice.innerText = 'slice';
|
||||||
|
UI.label.preview.innerText = 'preview';
|
||||||
|
UI.label.export.innerText = 'export';
|
||||||
} else {
|
} else {
|
||||||
|
UI.label.slice.innerText = 'scan';
|
||||||
checkOutlineSettings(api.conf.get());
|
checkOutlineSettings(api.conf.get());
|
||||||
}
|
}
|
||||||
// do not persist traces across page reloads
|
// do not persist traces across page reloads
|
||||||
|
|
|
||||||
|
|
@ -129,19 +129,19 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="act-slice" class="lt-menu lt-enabled">
|
<div id="act-slice" class="lt-menu lt-enabled">
|
||||||
<i class="fas fa-bars"></i>
|
<i class="fas fa-bars"></i>
|
||||||
<label>slice</label>
|
<label id="label-slice" title="analyze parts">slice</label>
|
||||||
<div id="pop-slice" class="pop-lcol f-row">
|
<div id="pop-slice" class="pop-lcol f-row">
|
||||||
<div id="act-preview" xclass="lt-menu">
|
<div id="act-preview">
|
||||||
<i class="fas fa-cubes"></i>
|
<i class="fas fa-cubes"></i>
|
||||||
<label>preview</label>
|
<label id="label-preview" title="show routing and paths">preview</label>
|
||||||
</div>
|
</div>
|
||||||
<div id="act-animate" xclass="lt-menu">
|
<div id="act-animate">
|
||||||
<i class="fas fa-running"></i>
|
<i class="fas fa-running"></i>
|
||||||
<label>animate</label>
|
<label id="label-animate" title="render routing on a mesh">animate</label>
|
||||||
</div>
|
</div>
|
||||||
<div id="act-export" xclass="lt-menu">
|
<div id="act-export">
|
||||||
<i class="fas fa-file-download"></i>
|
<i class="fas fa-file-download"></i>
|
||||||
<label>export</label>
|
<label id="label-export" title="generate downloadable files">export</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue