Skip to content

Commit 720016b

Browse files
committed
v0.8.5
1 parent 1899aae commit 720016b

File tree

7 files changed

+1643
-401
lines changed

7 files changed

+1643
-401
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ typings/
5959

6060
# next.js build output
6161
.next
62+
63+
dist
64+
dist/*

index.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,23 @@
5454

5555
<br>
5656

57-
<div ng-disabled="!conn" class="bed-measurement-tools">
58-
<label>Bed width: <input ng-disabled="!conn" ng-model="bed.width" type="number"></label><br>
59-
<label>Bed height: <input ng-disabled="!conn" ng-model="bed.height" type="number"></label><br>
60-
<label>Padding from edge of bed: <input ng-disabled="!conn" ng-model="bed.padding" type="number"></label><br>
61-
<label>Number of X/Y points: <input ng-disabled="!conn" ng-model="bed.points" min="3" step="2" type="number"></label><br>
57+
<div ng-disabled="!conn || mode == 'mapping'" class="bed-measurement-tools">
58+
<label>Bed width: <input ng-disabled="!conn || mode == 'mapping'" ng-model="bed.width" type="number"></label><br>
59+
<label>Bed height: <input ng-disabled="!conn || mode == 'mapping'" ng-model="bed.height" type="number"></label><br>
60+
<label>Padding from edge of bed: <input ng-disabled="!conn || mode == 'mapping'" ng-model="bed.padding" type="number"></label><br>
61+
<label>Number of X/Y points: <input ng-disabled="!conn || mode == 'mapping'" ng-model="bed.points" min="3" step="2" type="number"></label><br>
6262
<!-- <label>Number of X points: <input ng-model="bed.pointsX" min="3" step="2" type="number"></label><br> -->
6363
<!-- <label>Number of Y points: <input ng-model="bed.pointsY" min="3" step="2" type="number"></label><br> -->
64-
<button ng-disabled="!conn" ng-click="runBedMeasurement(bed)">Run</button>
64+
<button ng-disabled="!conn || mode == 'mapping'" ng-click="runBedMeasurement(bed)">Run</button>
6565
<button ng-disabled="!conn" ng-click="probePoints = []">Cancel</button>
6666
</div>
6767
<br>
68+
69+
<progress ng-show="mode == 'mapping' && currentProbePoint.mappingDetails.total" min="0" max="{{currentProbePoint.mappingDetails.total}}" value="{{currentProbePoint.mappingDetails.index}}"></progress>
70+
<div ng-show="mode == 'mapping' && currentProbePoint.mappingDetails.total" class="progress-text">Probing position {{currentProbePoint.mappingDetails.index}} of {{currentProbePoint.mappingDetails.total}} - X:{{currentProbePoint.x + currentProbePoint.mappingDetails.padding}} Y: {{currentProbePoint.y + + currentProbePoint.mappingDetails.padding}}</div>
71+
72+
<div ng-show="mode == 'mapping' && !currentProbePoint.mappingDetails.total" class="pre-mapping-text">Setting abosulute positioning, and homing machine</div>
73+
<br>
6874
<br>
6975
<br>
7076
<button ng-click="loadBedMap()">Load Bed map</button>

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let mainWindow
88
function createWindow () {
99
// Create the browser window.
1010
mainWindow = new BrowserWindow({
11-
width: 800,
11+
width: 1200,
1212
height: 600,
1313
webPreferences: {
1414
nodeIntegration: true

0 commit comments

Comments
 (0)