initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<div class="container">
|
||||
<h3>Something in settings</h3>
|
||||
<div class="row"><span class="title col">Actual extrusion: </span> <span class="val col" data-bind="text: $root.results.actualExtrusion"></span></div>
|
||||
<div class="row"><span class="title col">New steps value: </span> <span class="val col" data-bind="text: $root.results.newSteps"> </span></div>
|
||||
<div class="row"><span class="title col">Extrusion marking length: </span> <input class="val col" type="number" step="0.01" class="numberInputField" data-bind="value: $root.results.markLength" ></div>
|
||||
<div class="row"><span class="title col">Measured value: </span> <input class="val col" type="number" step="0.01" class="numberInputField" data-bind="value: $root.results.remainedLength" ></div>
|
||||
</div>
|
||||
@@ -0,0 +1,38 @@
|
||||
<div class="octo-tab-content">
|
||||
<div class="row-fluid header">
|
||||
<div class="span3 title">
|
||||
<p>Calibration</p>
|
||||
</div>
|
||||
<div class="span8 title">
|
||||
<!-- <button class="btn" data-bind="click: $root.tempRestart">
|
||||
RESTART
|
||||
</button> -->
|
||||
</div>
|
||||
<div class="span1 icon">
|
||||
<a data-bind="click: $root.openCalibrationSettings">
|
||||
<i class="fas fa-cog fa-lg" data-color="#ddd"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main row-fluid">
|
||||
<div class="span3">
|
||||
<ul class="nav nav-list">
|
||||
<li class="active">
|
||||
<a data-toggle="tab" href="#calibration_documentation">Documentation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" href="#calibration_x-y-z">X-Y-Z</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" href="#calibration_eSteps">E-Steps</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" href="#calibration_pid">PID</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span9">
|
||||
{% include "tabs/tab-content.jinja2" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
{% macro subSection(title, spaceBefore) %}
|
||||
{% if (spaceBefore) %} <br><br> {% endif %}
|
||||
<strong>{{ _(title) }}</strong>
|
||||
<hr>
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
{% macro card(content, class) %}
|
||||
<div class="card">
|
||||
<p class="{{ class }}">{{ _(content) }}</p>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro quote(content, class) %}
|
||||
<blockquote>
|
||||
<p class="{{ class }}">{{ _(content) }}</p>
|
||||
</blockquote>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro field(label, number, binding, enable, unit) %}
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<label for="{{ label }}" class="pull-right" style="margin-top: 5px;">
|
||||
{{ _(label) }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="input-append">
|
||||
<input type="{{ number }}" id="{{ label }}" class="input-small" step="0.01" data-bind="value: {{ binding }}, enable: {{ enable }}">
|
||||
<span class="add-on">{{ _(unit) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
<div class="tab-content">
|
||||
<div id="calibration_documentation" class="tab-pane active">
|
||||
{% include "tabs/tab-doc.jinja2" %}
|
||||
</div>
|
||||
<div id="calibration_x-y-z" visible="false" class="tab-pane">
|
||||
{% include "tabs/tab-xyz.jinja2" %}
|
||||
</div>
|
||||
<div id="calibration_eSteps" visible="false" class="tab-pane">
|
||||
{% include "tabs/tab-esteps.jinja2" %}
|
||||
</div>
|
||||
<div id="calibration_pid" visible="false" class="tab-pane">
|
||||
{% include "tabs/tab-pind.jinja2" %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
Something in documentation tab...
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{% import "macros.jinja2" as snipped %}
|
||||
|
||||
{{ snipped.subSection("EEPROM values") }}
|
||||
|
||||
{{ snipped.field("E steps", "number", "$root.steps.E", "false", "steps/mm") }}
|
||||
<div class="row-fluid">
|
||||
<div class="span6"></div>
|
||||
<div class="span6">
|
||||
<button class="btn" data-bind="click: $root.loadStepsFromEPROM, enable: $root.controlViewModel.isOperational() && (!$root.controlViewModel.isPrinting())">
|
||||
<i class="fas fa-sync-alt" style="color:false" data-color="false"></i>  
|
||||
Load EEPROM data
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ snipped.subSection("Compute", true) }}
|
||||
|
||||
{{ snipped.field("Actual extrusion", "number", "$root.results.actualExtrusion", "false", "mm") }}
|
||||
{{ snipped.field("New steps value", "number", "$root.results.newSteps", "false", "steps/mm") }}
|
||||
{{ snipped.field("Extrusion marking length", "number", "$root.results.markLength", "true", "mm") }}
|
||||
{{ snipped.field("Measured value", "number", "$root.results.remainedLength", "true", "mm") }}
|
||||
<div class="row-fluid">
|
||||
<div class="span6"></div>
|
||||
<div class="span6">
|
||||
<button class="btn btn-primary" data-bind="click: $root.calibrateESteps, enable: $root.controlViewModel.isOperational() && (!$root.controlViewModel.isPrinting())">
|
||||
<i class="fas fa-play" data-color="#000000"></i>  
|
||||
Start calibration
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ snipped.subSection("Process description", true) }}
|
||||
{{ snipped.quote("
|
||||
First <a href='https://teachingtechyt.github.io/calibration.html#esteps' target='_blank'>Read this</a><br><br>
|
||||
This calibration is best done with the extruder detached from the hot end, so no restriction is present on the movement. If it is convenient, you can partially disassemble the printer so the output of the extruder is
|
||||
open and the filament exits in free air. If this is inconvenient, the process below aims to minimise restrictions by extruding very slowly and with a slightly higher temperature. The results from this should still be
|
||||
reliable.
|
||||
", "text-warning" ) }}
|
||||
@@ -0,0 +1 @@
|
||||
Something in pid tab...
|
||||
@@ -0,0 +1 @@
|
||||
Something in xyz tab...
|
||||
Reference in New Issue
Block a user