Skip to content

Instantly share code, notes, and snippets.

Chris Whiteford pyjamasam

Block or report user

Report or block pyjamasam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View SortSelect.jquery.js - Converted to natural language sorting
var SortSelect = function(select) {
var options = jQuery.makeArray(select.find('option'));
var sorted = options.sort(function($a, $b) {
jQuery(a).text() > jQuery(b).text()
var a = jQuery($a).text();
var b = jQuery($b).text();
var ax = [], bx = [];
View gist:b3b719518d0c5388a3a3a1df6b49b628
# Delta Geometry
# ---------------------------------------------------------------------
gamma_max 264
arm_solution linear_delta
arm_length 186.78
arm_radius 102.20
View gist:37562e794d3011fd357e4f8cd98879d8
; config override present: /sd/config-override
;Steps per unit:
M92 X200.00000 Y200.00000 Z200.00000
;Acceleration mm/sec^2:
M204 S3500.00000
;X- Junction Deviation, Z- Z junction deviation, S - Minimum Planner speed mm/sec:
M205 X0.05000 Z-1.00000 S0.00000
;Max cartesian feedrates in mm/sec:
M203 X500.00000 Y500.00000 Z500.00000
View config
# Delta Geometry
# ---------------------------------------------------------------------
gamma_max 264
arm_solution linear_delta
arm_length 186.78
arm_radius 102.20
pyjamasam / gist:7b1cc52be3647a16e075
Last active Dec 31, 2015
Script to plot the dm_surface_transform file from 626Pilot's fork of smothieware
View gist:7b1cc52be3647a16e075
#Pull your dm_surface_transform file off smothie's sd card and update the path below to point to where you put
#it on your computer
dmSurfaceTransformPath = "<Path to your dm_surface_transform file>"
#Then you can just run the script python <> with no arguments.
#I have tested this on OS X 10.11.2 and all required python modules are available.
#The numbering in the Y axis is backwards. It should count from 1 to 7 from the top to bottom. Presently it is reversed.
from mpl_toolkits.mplot3d import Axes3D
View gist:86bdcdd8022f62a79cb3
<!-- Solution brought to you by Caroline Schnapp -->
<!-- See this: -->
{% assign number_of_related_products_to_show = 3 %}
{% assign image_size = 'compact' %}
{% assign heading = 'Other fine products' %}
{% assign number_of_related_products_to_fetch = number_of_related_products_to_show | plus: 1 %}
You can’t perform that action at this time.