Skip to content

Instantly share code, notes, and snippets.

require 'bigdecimal'
DOPLOT= false
TOFILE= false
STEPS_PER_MM= 80.0
STEP_TICKER_FREQUENCY= 100000.0
# set these
distance= 3 # total distance to move for single axis in mm
require 'bigdecimal'
DOPLOT= true
TOFILE= false
STEPS_PER_MM= 80.0
STEP_TICKER_FREQUENCY= 100000.0
# set these
distance= 1 # total distance to move for single axis in mm
require 'bigdecimal'
DOPLOT= true
TOFILE= false
STEPS_PER_MM= 80.0
STEP_TICKER_FREQUENCY= 100000.0
# set these
distance= 1 # total distance to move for single axis in mm
require 'bigdecimal'
DOPLOT= false
TOFILE= false
STEPS_PER_MM= 80.0
STEP_TICKER_FREQUENCY= 100000.0
# set these
$xdistance= 6 # total distance to move for single axis in mm
✘ arthur@aquarelle ~/dev/js/Smoothie > ack connection_log
src/connect/views/Connect.vue
17: <LogList title="Connection log" v-bind:items="communication.connection_log"></LogList>
src/index/views/Home.vue
17: <LogList title="Connection log" v-bind:items="communication.connection_log"></LogList>
dist/javascript/machine.js
137: machine.communication.connection_log.push(reason, {icon: 'times', color: 'danger'});
if( progress_answer.match(/est time/)){
var found = progress_answer.match(/file: (.+?), (\d+) % complete, elapsed time: (\d+):(\d+):(\d+), est time: (\d+):(\d+):(\d+)/);
that.status.file = found[1];
that.status.percent = found[2];
that.status.elapsed.set(found[3], found[4], found[5]);
this.status.estimated.set(found[6], found[7], found[8]);
}else{
var found = progress_answer.match(/file: (.+?), (\d+) % complete, elapsed time: (\d+):(\d+):(\d+)/);
that.status.file = found[1];
that.status.percent = found[2];
Jog </h2><div data-v-4907e307=""><svg style="display: none;"><symbol data-v-4907e307="" data-fa-symbol="home" class="svg-inline--fa fa-home fa-w-18 fa-fw" aria-hidden="true" data-prefix="fas" data-icon="home" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" data-fa-i2svg="" id="home"><path fill="currentColor" d="M488 312.7V456c0 13.3-10.7 24-24 24H348c-6.6 0-12-5.4-12-12V356c0-6.6-5.4-12-12-12h-72c-6.6 0-12 5.4-12 12v112c0 6.6-5.4 12-12 12H112c-13.3 0-24-10.7-24-24V312.7c0-3.6 1.6-7 4.4-9.3l188-154.8c4.4-3.6 10.8-3.6 15.3 0l188 154.8c2.7 2.3 4.3 5.7 4.3 9.3zm83.6-60.9L488 182.9V44.4c0-6.6-5.4-12-12-12h-56c-6.6 0-12 5.4-12 12V117l-89.5-73.7c-17.7-14.6-43.3-14.6-61 0L4.4 251.8c-5.1 4.2-5.8 11.8-1.6 16.9l25.5 31c4.2 5.1 11.8 5.8 16.9 1.6l235.2-193.7c4.4-3.6 10.8-3.6 15.3 0l235.2 193.7c5.1 4.2 12.7 3.5 16.9-1.6l25.5-31c4.2-5.2 3.4-12.7-1.7-16.9z"></path></symbol></svg><!-- <i data-v-4907e307="" data-fa-symbol="home" class="fas fa-home fa-fw"></i> --><svg style="display: none;"><symbol data-v-49
# Smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie
# NOTE Lines must not exceed 132 characters, and '#' characters mean what follows is ignored
## Robot module configurations : general handling of movement G-codes and slicing into moves
# Basic motion configuration
default_feed_rate 4000 # Default speed (mm/minute) for G1/G2/G3 moves
default_seek_rate 4000 # Default speed (mm/minute) for G0 moves
mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable
# note it is invalid for both the above be 0
# if both are used, will use largest segment length based on radius
{
"name": "wikipedia",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@google-cloud/text-to-speech": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@google-cloud/text-to-speech/-/text-to-speech-3.0.0.tgz",
"integrity": "sha512-mtNWZ2AJfC+LmL06yGuDmlr73briZ1cV7f3z+h7DmKpx+0D5/bF916y7vRd9D15MfU9yIHQ6UffveWEEa3MFKQ==",
// Yay we connected
global.page.log('Connected to database!');