This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include <BOSL2/std.scad> | |
$fn=200; | |
//Warning: the tolerances here follow the shape of the bar *very* closely and it's too snug of a fit. | |
//Probably adjust another several tenths of a mm out or scale the whole thing up a few percent in your slicer | |
//82,65.5, depth 24.75 | |
//base | |
difference(){ | |
linear_extrude(28) ellipse(r=[82/2+1.1,65.5/2+1.1]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*tested on flat bed, 0.2mm layer height. YMMV on textured. | |
be careful on bold/black fonts; | |
your printer may or may not like large overhangs even ~3 layers up. | |
bring the default flatbox top STL with you into the directory where this file is saved*/ | |
xshift = 10; | |
yshift = -55; | |
rotation = 0; //degrees | |
deboss_string = "sample text"; | |
font_name = "DejaVu Sans"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
outer_hex = 1; | |
inner_hex = .9; | |
wall_depth = outer_hex - inner_hex; | |
tile_height = .5; | |
module hexagon(x) circle(r=x, $fn=6); | |
module hollow_hex(x, inner_x) difference(){hexagon(x); hexagon(inner_x);} | |
module hex_cylinder(height=0.1) linear_extrude(height=height, center=true) hollow_hex(outer_hex, inner_hex); | |
bump_y_vec = [0,(outer_hex * sqrt(3))-wall_depth/2,0]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/python3 | |
import json | |
from datetime import datetime | |
import sys | |
import subprocess | |
import os | |
def readJson(s): | |
j = json.loads(s) | |
return (j["documents"], j["highlights"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: link-to-rm [URI] (keep) | |
# Deps: pandoc, wget, rmapi (make sure you're signed in and /link-to-rm exists) | |
name=$(basename "$1") | |
ext="${name##*.}" | |
mkdir -p /tmp/link-to-rm | |
cd /tmp/link-to-rm || exit | |
if [ "$ext" = "pdf" ] || [ "$ext" = "epub" ] |