Skip to content

Instantly share code, notes, and snippets.

Patrick Bailey patmandenver

Block or report user

Report or block patmandenver

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
@patmandenver
patmandenver / stacking_prusa_rc3.scad
Created Apr 7, 2020
openscad code to stack Prusa RC3 Faceshields
View stacking_prusa_rc3.scad
$fn=100;
//name of stl file you want to import
//to stack
headband_file="Prusa_RC3_PETG.stl";
number_of_headbands = 5;
headband_height_in_mm = 20;
layer_height_between_headbands=0.30;
//Adjustments x,y,z to nudge the file
@patmandenver
patmandenver / webserver.py
Created Feb 17, 2016
Python SimpleHTTPServer with header outputs
View webserver.py
#!/usr/bin/python
#
# Author: Patrick Bailey
# Twitter: @whiteboardoder
#
#The MIT License (MIT)
#
#Copyright (c) 2016 "whiteboardcoder" Patrick Bailey
#
#Permission is hereby granted, free of charge, to any person obtaining a copy
View iqless_upright_ear_saver.scad
$fn=100;
number_to_print=4; //42 max
arch_distance = 170; //width of the mask buckle
radius_of_arch = 150;
band_thickness=1.0;
buckle_height= 24.0;
View stacking_prusa_rc3.scad
$fn=100;
//name of stl file you want to import
//to stack
headband_file="Make4Covid_headband_rc3_PETG_Label_Upside_Down_Emboss_Bold v1.stl";
number_of_headbands = 10;
headband_height_in_mm = 20;
layer_height_between_headbands=0.25;
//Adjustments x,y,z to nudge the file
View stacking.scad
$fn=100;
headband_file="Prusa_RC3_PETG.stl";
num=4;
adjust_base=12.5;
adjust_base_x=7.8;
support_thickness=1.2;
support_bridge=1.5;
heigth=20;
@patmandenver
patmandenver / adjustable.scad
Created Apr 5, 2020
For justin to fix a model
View adjustable.scad
$fn=100;
stl_file="mount_file.stl";
remove=3.0;
union(){
difference(){
translate([-120,-90]){
import(stl_file, convexity=3);
View stack_test.scad
$fn=100;
headband_file="headband-15-mm-height-no-hex_pla.stl";
num=5;
adjust_base_z=3.28;
adjust_base_x=0;
adjust_base_y=-8.95;
support_thickness=1.2;
support_bridge=1.5;
View prusa_faceshield_rc3_square_stack.scad
$fn=100;
headband_file="Prusa_RC3_PLA.stl";
num=2;
adjust_base=12.5;
adjust_base_x=7.8;
support_thickness=1.2;
support_bridge=1.5;
heigth=20;
@patmandenver
patmandenver / prusa_faceshield_rc3.scad
Last active Apr 3, 2020
Open scad prusa faceshield stacking code
View prusa_faceshield_rc3.scad
$fn=100;
headband_file="Prusa_RC3_PLA.stl";
num=2;
adjust_base=12.5;
adjust_base_x=7.8;
support_thickness=1.2;
support_bridge=1.5;
heigth=20;
@patmandenver
patmandenver / scp-speed-test.sh
Created Sep 25, 2017
scp speed test between servers
View scp-speed-test.sh
#!/bin/bash
# scp-speed-test.sh
#
# Usage:
# ./scp-speed-test.sh user@hostname [test file size in MBs]
#
#############################################################
ssh_server=$1
test_file=".scp-test-file"
You can’t perform that action at this time.