Compare commits

..

4 commits

5 changed files with 10 additions and 11 deletions

View file

@ -1,5 +1,6 @@
OctoPrint OctoPrint
========= =========
What I did was take the MrBeam fork of Octoprint (because I have a MrBeam, and I like it) - and modify it for pen plotting with an axidraw v3 clone.
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=foosel&url=https://github.com/foosel/OctoPrint&title=OctoPrint&language=&tags=github&category=software) [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=foosel&url=https://github.com/foosel/OctoPrint&title=OctoPrint&language=&tags=github&category=software)

View file

@ -97,7 +97,7 @@ def update_source(git_executable, folder, target, force=False):
raise RuntimeError("Could not update, \"git reset --hard\" failed with returncode %d: %s" % (returncode, stdout)) raise RuntimeError("Could not update, \"git reset --hard\" failed with returncode %d: %s" % (returncode, stdout))
print(">>> Running: git pull") print(">>> Running: git pull")
returncode, stdout = _git(["pull"], folder, git_executable=git_executable) returncode, stdout = _git(["pull", "origin", "stable-1.2.2"], folder, git_executable=git_executable)
if returncode != 0: if returncode != 0:
raise RuntimeError("Could not update, \"git pull\" failed with returncode %d: %s" % (returncode, stdout)) raise RuntimeError("Could not update, \"git pull\" failed with returncode %d: %s" % (returncode, stdout))
print(stdout) print(stdout)

View file

@ -279,7 +279,7 @@ $(function(){
} }
// find Illustrator comment and notify // find Illustrator comment and notify
Array.from(f.node.childNodes).forEach(function(entry) { f.node.childNodes.forEach(function(entry) {
if(entry.nodeType == 8) { // Nodetype 8 = comment if(entry.nodeType == 8) { // Nodetype 8 = comment
if(entry.textContent.indexOf('Illustrator') > -1) { if(entry.textContent.indexOf('Illustrator') > -1) {
new PNotify({title: gettext("Illustrator SVG Detected"), text: "Illustrator SVG detected! To preserve coorect scale, please go to the \'Settings\' menu and change the \'SVG dpi\' field under \'Plugins/Svg Conversion\' according to your file. And add it again.", type: "info", hide: false}); new PNotify({title: gettext("Illustrator SVG Detected"), text: "Illustrator SVG detected! To preserve coorect scale, please go to the \'Settings\' menu and change the \'SVG dpi\' field under \'Plugins/Svg Conversion\' according to your file. And add it again.", type: "info", hide: false});

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View file

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title data-bind="text: title">Mr Beam</title> <title data-bind="text: title">Mr Draw</title>
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}"> <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}">
<link rel="apple-touch-icon" sizes="114x114" href="{{ url_for('static', filename='img/apple-touch-icon-114x114.png') }}"> <link rel="apple-touch-icon" sizes="114x114" href="{{ url_for('static', filename='img/apple-touch-icon-114x114.png') }}">
@ -16,7 +16,7 @@
<div class="container"> <div class="container">
<div class="navbar-header brand" style="min-width: 272px;"> <div class="navbar-header brand" style="min-width: 272px;">
<a class="navbar-brand" href="#"> <a class="navbar-brand" href="#">
<img alt="Mr Beam Logo" src="{{ url_for('static', filename='img/mr-typo-red_x120.png') }}"> <img alt="Mr Draw Logo" src="{{ url_for('static', filename='img/mr-draw-red_x120.png') }}">
</a> </a>
</div> </div>
<!-- Navbar --> <!-- Navbar -->
@ -58,7 +58,7 @@
<div id="control" class="accordion-inner" data-bind="visible: isReady() || isLocked() || isFlashing()"> <div id="control" class="accordion-inner" data-bind="visible: isReady() || isLocked() || isFlashing()">
<div data-bind="visible: isLocked "> <div data-bind="visible: isLocked ">
Mr Beam is in a locked state as it does not know its position. Mr Draw is in a locked state as it does not know its position.
First remove any objects blocking the gantry's travel range. First remove any objects blocking the gantry's travel range.
Then do a homing cycle. Then do a homing cycle.
<div style='text-align: center; padding:.5em;'> <div style='text-align: center; padding:.5em;'>
@ -657,12 +657,10 @@
<div class="span4"> <div class="span4">
<ul class="focus_steps"> <ul class="focus_steps">
<li>1. Place your material on the working area</li> <li>1. Place your material on the working area</li>
<li>2. Move the laser over the material</li> <li>2. Move the pen over the material</li>
<li>3. Put on your safety glasses</li> <li>&RightArrow; Now enable the pen calibration mode</li>
<li>4. Turn the laser safety switch to on</li> <li>5. Adjust the pen until it touches the paper</li>
<li>&RightArrow; Now enable the focus mode</li> <li>&RightArrow; Disable the pen calibration mode. </li>
<li>5. Adjust the focus until the laser beam is as small as possible</li>
<li>&RightArrow; Disable the focus mode. </li>
</ul> </ul>
<div style="text-align:center"> <div style="text-align:center">
<div class="btn-group" role="group" aria-label="focus mode control" style=""> <div class="btn-group" role="group" aria-label="focus mode control" style="">