Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
#
# Script to help create time-lapse videos
#
##################################################
import argparse
import sys, os
import datetime
$fn=100;
//Rows
rows = 3;
//How many paint slots per row
per_row = 2;
//How much higher a row is
//above the prior row
row_height_gain=12;
/* GNU AGPLv3 (or later at your option)
see bottom for more license info.
please do not remove this notice. */
/* measurements from misumi's 3030 aluminum extrusion data sheet
https://us.misumi-ec.com/pdf/fa/2012/p2_0545.pdf */
foot_height = 15;
//foot_length = 30;
foot_length = 5;
// Author: Patrick Bailey (iqless.com)
// Date: 12/11/2018
//
// Notes: This code makes a link of chains
// The chains have text on them
// Either Numbers or you can populate a text
// Array
//
// Code for Archemedian Spiral copied from
// Openscad code for thing 28405
#!/bin/bash
TOTAL=18
CURRENT=1
STL_DIR="stl_chain_files"
PER_SET=5
SET=0
TOTAL_SETS=$((2*TOTAL/(PER_SET + 1)))
OPENSCAD_FILE="Chain_Generator_with_text_tweaked.scad"
$fn=40;
tacos(2);
height = 60; //(9)
width_full = 36; //(5.5)
width_top = 16.5; // (2.5)
width_bottom = 10; // (1.5)
thickness = 2;
length=40;
;M600
G1 X10.000 Y200.000 E0; Stick tongue out
M1; user stop and wait for user to press knob
M105; return to current temp
$fn=100;
dia=160;
platform_9_and_3_4(dia);
module platform_9_and_3_4(dia){
base(dia);
color("#FFFFFF"){
platform_text(dia);
$fn=100;
thickness=4;
heigth=10;
heigth_brick=83;
//Part that holds to wall
grasp_depth=16;
grasp_angle=30;
//Front Arm
@patmandenver
patmandenver / createxls.py
Created January 16, 2020 21:28
simple beginner openpyxl example
#!/usr/bin/env python3
import openpyxl
from openpyxl import Workbook
#############################################
# MAIN
#############################################
if __name__ == '__main__':