mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-19 08:37:55 +01:00
191 lines
12 KiB
HTML
191 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>settings</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta id="Viewport" name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
|
|
|
<link href="css/settings.min.css" rel="stylesheet" media="screen">
|
|
<!--link href="css/settings.css" rel="stylesheet" media="screen"-->
|
|
</head>
|
|
<body>
|
|
<div class="settingsContainer">
|
|
<form id="settingsForm">
|
|
<fieldset id="printerPanel">
|
|
<legend>3D printer</legend>
|
|
<label for="printerType">Type:</label>
|
|
<select id="printerType" name="printer.type"></select>
|
|
<!-- <option value="rigidbot">Rigidbot</option>
|
|
<option value="ultimaker">Ultimaker</option>
|
|
<option value="ultimaker2">Ultimaker2</option>
|
|
<option value="makerbot_replicator2">MakerBot Replicator2</option>
|
|
<option value="makerbot_replicator2x">MakerBot Replicator2x</option>
|
|
<option value="makerbot_thingomatic">MakerBot Thing-o-matic</option>
|
|
<option value="printrbot">Printrbot</option>
|
|
<option value="bukobot">Bukobot</option>
|
|
<option value="cartesio">Cartesio</option>
|
|
<option value="cyrus">Cyrus</option>
|
|
<option value="delta_rostockmax">Delta RostockMax</option>
|
|
<option value="deltamaker">Deltamaker</option>
|
|
<option value="eventorbot">EventorBot</option>
|
|
<option value="felix">Felix</option>
|
|
<option value="gigabot">Gigabot</option>
|
|
<option value="kossel">Kossel</option>
|
|
<option value="leapfrog_creatr">LeapFrog Creatr</option>
|
|
<option value="lulzbot_aO_101">LulzBot AO-101</option>
|
|
<option value="makergear_m2">MakerGear M2</option>
|
|
<option value="makergear_prusa">MakerGear Prusa</option>
|
|
<option value="makibox">Makibox</option>
|
|
<option value="orca_0_3">Orca 0.3</option>
|
|
<option value="ord_bot_hadron">ORD Bot Hadron</option>
|
|
<option value="printxel_3d">Printxel 3D</option>
|
|
<option value="prusa_i3">Prusa I3</option>
|
|
<option value="prusa_iteration_2">Prusa Iteration 2</option>
|
|
<option value="rapman">RapMan</option>
|
|
<option value="reprappro_huxley">RepRapPro Huxley</option>
|
|
<option value="reprappro_mendel">RepRapPro Mendel</option>
|
|
<option value="robo_3d_printer">RoBo 3D Printer</option>
|
|
<option value="shapercube">ShaperCube</option>
|
|
<option value="tantillus">Tantillus</option>
|
|
<option value="vision_3d_printer">Vision 3D Printer</option>
|
|
<option value="marlin_generic">Generic Marlin Printer</option>
|
|
<option value="makerbot_generic">Generic Makerbot Printer</option>
|
|
</select> --><br/>
|
|
|
|
<label for="printerDimensionsX">Dimensions:</label>
|
|
x:<input id="printerDimensionsX" type="number" class="small" name="printer.dimensions.x" placeholder="x">mm<br>
|
|
<label for="printerDimensionsY"></label>
|
|
y:<input id="printerDimensionsY" type="number" class="small" name="printer.dimensions.y" placeholder="y">mm<br>
|
|
<label for="printerDimensionsZ"></label>
|
|
z:<input id="printerDimensionsZ" type="number" class="small" name="printer.dimensions.z" placeholder="z">mm<br>
|
|
<label for="heatedBed">Heated bed:</label><input id="heatedBed" type="checkbox" name="printer.heatedbed" value="heatedbed"><br>
|
|
<fieldset id="gcodePanel">
|
|
<legend>GCODE settings</legend>
|
|
<div>
|
|
<div class="startgcode_left">
|
|
<label for="startgcode">Start:</label><br/>
|
|
<textarea id="startgcode" class="gcode" name="printer.startcode"></textarea>
|
|
</div>
|
|
<div>
|
|
<label for="endgcode">End:</label><br/>
|
|
<textarea id="endgcode" class="gcode" name="printer.endcode"></textarea>
|
|
</div>
|
|
<small>
|
|
The following texts are replaced:
|
|
<dl>
|
|
<dt>{printingTemp}</dt><dd>Printing temperature</dd>
|
|
<dt>{printingBedTemp}</dt><dd>Printing bed temperature</dd>
|
|
<dt>{preheatTemp}</dt><dd>Preheat temperature</dd>
|
|
<dt>{preheatBedTemp}</dt><dd>Preheat bed temperature</dd>
|
|
<dt>{printerType}</dt><dd>Printer type</dd>
|
|
<dt>{if heatedBed}</dt><dd>Enable line if printer has heated bed</dd>
|
|
|
|
</dl>
|
|
</small>
|
|
</div>
|
|
</fieldset>
|
|
</fieldset>
|
|
|
|
<fieldset id="printersettings">
|
|
<legend>Print settings</legend>
|
|
<label for="layerHeight">Layer height:</label><input id="layerHeight" type="number" step="0.01" class="small" name="printer.layerHeight">mm<br>
|
|
<label for="wallThickness">Wall thickness:</label><input id="wallThickness" type="number" step="0.1" class="small" name="printer.wallThickness">mm<br>
|
|
<label for="filamentThickness">Filament thickness:</label><input id="filamentThickness" step="0.01" type="number" class="small" name="printer.filamentThickness">mm<br>
|
|
<label for="temperature">Temperature:</label><input id="temperature" type="number" class="small" name="printer.temperature">degrees C<br>
|
|
<label for="bedTemperature">Bed temperature:</label><input id="bedTemperature" type="number" class="small" name="printer.bed.temperature">degrees C<br>
|
|
<br>
|
|
<label for="speed">Speed:</label><input id="speed" type="number" name="printer.speed" class="small">mm/s<br>
|
|
<label for="bottomLayerSpeed">Bottom layer speed:</label><input id="bottomLayerSpeed" type="number" name="printer.bottomLayerSpeed" class="small">mm/s<br>
|
|
<label for="travelSpeed">Travel speed:</label><input id="travelSpeed" type="number" name="printer.travelSpeed" class="small">mm/s<br>
|
|
<label for="enableTraveling">Enable traveling:</label><input id="enableTraveling" type="checkbox" name="printer.enableTraveling" value="enableTraveling"><br>
|
|
<label for="firstLayerSlow">Bottom layers slow:</label><input id="firstLayerSlow" type="checkbox" name="printer.firstLayerSlow" value="firstLayerSlow"><br>
|
|
<label for="bottomFlowRate">Bottom layers flow rate*:</label><input id="bottomFlowRate" type="number" name="printer.bottomFlowRate" class="small"><br>
|
|
<small>* Multiplier for extrusion rate in first few layers</small>
|
|
<label for="useSubLayers">Use sub-layers*:</label><input id="useSubLayers" type="checkbox" name="printer.useSubLayers" value="useSubLayers"><br>
|
|
<small>* Continuously move platform while printing instead of once per layer</small>
|
|
<br>
|
|
<label for="useRetraction">Use retraction:</label><input id="useRetraction" type="checkbox" name="printer.retraction.enabled" value="useRetraction"><br>
|
|
<label for="retractionAmount">Retraction amount:</label><input id="retractionAmount" type="number" step="0.5" class="small" name="printer.retraction.amount">mm<br>
|
|
<label for="retractionMinDistance">Retraction min distance:</label><input id="retractionMinDistance" type="number" class="small" name="printer.retraction.minDistance">mm<br>
|
|
<label for="retractionSpeed">Retraction speed:</label><input id="retractionSpeed" type="number" class="small" name="printer.retraction.speed">mm/s<br>
|
|
<br>
|
|
<label for="heatupEnabled">Auto preheat:</label><input id="heatupEnabled" type="checkbox" name="printer.heatup.enabled" value="heatupEnabled"><br>
|
|
<label for="heatupTemperature">Preheat temperature:</label><input id="heatupTemperature" type="number" class="small" name="printer.heatup.temperature"><br>
|
|
<label for="heatupBedTemperature">Preheat bed temperature:</label><input id="heatupBedTemperature" type="number" class="small" name="printer.heatup.bed.temperature"><br>
|
|
</fieldset>
|
|
|
|
<fieldset id="doodlesettings">
|
|
<legend>Doodle3D settings</legend>
|
|
<label for="simplifyMinDistance">Minimal line distance:</label><input id="simplifyMinDistance" type="number" class="small" name="doodle3d.simplify.minDistance">px<br>
|
|
<!-- <label for="maxObjectHeight">Max object height:</label><input id="maxObjectHeight" type="number" class="small" name="printer.maxObjectHeight">mm<br> -->
|
|
<label for="screenToMillimeterScale">Pixels to mm scale:</label><input id="screenToMillimeterScale" type="number" step="0.1" class="small" name="printer.screenToMillimeterScale"><br>
|
|
<label for="tourEnabled">Enable tour:</label><input id="tourEnabled" type="checkbox" name="doodle3d.tour.enabled" value="tourEnabled"><br>
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend>Network settings</legend>
|
|
<label>Connection type:</label>
|
|
<div>
|
|
<label for="ap"><input type="radio" name="connectiontype" value="ap" id="ap">Access point mode</label>
|
|
<label for="client"><input type="radio" name="connectiontype" value="client" id="client">Client mode</label>
|
|
</div>
|
|
|
|
<fieldset id="apSettings">
|
|
<legend>Access point settings</legend>
|
|
<label for="ssid">Wi-Fi box ssid*:</label><input type="text" class="large" name="network.ap.ssid" id="ssid"> <br>
|
|
<small>* The text <em>%%MAC_ADDR_TAIL%%</em> will be replaced by the last 6 digits of your Doodle3D Wi-Fi box's MAC address.</small>
|
|
<br>
|
|
<label for="apKey">Password:</label><input type="text" class="large" name="network.ap.key" id="apKey"> <br>
|
|
<label for="ipaddress">Wi-Fi box IP address:</label><input type="text" name="network.ap.address" id="ipaddress"><br>
|
|
<label for="netmask">Wi-Fi box netmask:</label><input type="text" name="network.ap.netmask" id="netmask"><br>
|
|
<input type="button" name="create" value="Create" class="button" id="createAP"/>
|
|
<span id="apModeState"></span><br/>
|
|
<br/>
|
|
<small>When you can't connect to your device, you can always use an ethernet cable and go to <a href="http://connect.doodle3d.com">connect.doodle3d.com</a>.</small>
|
|
</fieldset>
|
|
|
|
<fieldset id="clientSettings">
|
|
<legend>Client mode settings</legend>
|
|
|
|
<label for="wifiboxid">Wi-Fi box id*:</label><input type="text" name="network.cl.wifiboxid" id="wifiboxid"><br>
|
|
<small>* Is used on <a href="http://connect.doodle3d.com">connect.doodle3d.com</a>. <br/>
|
|
The text <em>%%MAC_ADDR_TAIL%%</em> will be replaced by the last 6 digits of your Doodle3D Wi-Fi box's MAC address.</small>
|
|
<br>
|
|
<label for="network">Network:</label>
|
|
<select id="network" name=""></select>
|
|
<input type="button" name="refresh" value="Refresh" class="button" id="refreshNetworks"/><br>
|
|
<label for="password" id="passwordLabel">Password:</label><input type="password" name="network.client.password" id="password"><br>
|
|
<input type="button" name="connect" value="Connect" class="button" id="connectToNetwork"/>
|
|
<span id="clientModeState"></span><br/>
|
|
<br/>
|
|
<small>When you can't connect to your device, you can always use an ethernet cable and go to <a href="http://connect.doodle3d.com">connect.doodle3d.com</a>.</small>
|
|
</fieldset>
|
|
</fieldset>
|
|
|
|
<fieldset id="updatePanel">
|
|
<legend>Update</legend>
|
|
<input id="retainConfiguration" type="checkbox" name="" value="retainConfiguration" checked="true"> <label for="retainConfiguration" id="retainConfigurationLabel">Preserve personal sketches and settings</label>
|
|
<br/><br/>
|
|
<input type="button" name="update" value="Update" class="button" id="update"/>
|
|
<span id="updateState"></span><br/>
|
|
<small id="updateInfo"></small>
|
|
</fieldset>
|
|
|
|
<fieldset id="debugPanel">
|
|
<legend>Debug</legend>
|
|
<input type="button" onclick="settingsWindow.downloadlogs()" name="downloadlogs" value="Download logs" class="button" id="downloadlogs"/>
|
|
<input type="button" onclick="settingsWindow.downloadGcode()" name="downloadGcode" value="Download GCODE" class="button" id="downloadGcode"/>
|
|
<input type="button" onclick="settingsWindow.downloadSvg()" name="downloadSvg" value="Download SVG" class="button" id="downloadSvg"/>
|
|
</fieldset>
|
|
|
|
<fieldset id="restorePanel">
|
|
<legend>Restore</legend>
|
|
<input type="button" name="restoresettings" value="Restore settings to defaults" class="button" id="restoreSettings"/>
|
|
<span id="restoreState"></span>
|
|
</fieldset>
|
|
</form><br/>
|
|
</div>
|
|
</body>
|
|
</html>
|