Skip to content

Instantly share code, notes, and snippets.

thickness=1;
text_01="Christmas";
text_01_y=60;
text_02="2007";
text_02_y=30;
myFont="Revamped:style=Regular";
fontSize=18;
$fn=200;
pipes=[35,35,35];
spacing=8;
height=120;
thickness=15;
bottom_thickness=4;
//Function for adding a list up
$fn=100;
grand_teton="grand_tetons.stl";
adjust=[0,0,2]; // X,Y,Z adjustments
just_display=false; //Set to false to split
split=true;//Set to false to adjust
//Split size in mm
edge=20;
//split per side
$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;
$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
@patmandenver
patmandenver / stacking_prusa_rc3.scad
Created April 7, 2020 03:07
openscad code to stack Prusa RC3 Faceshields
$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 / stacking.scad
Created April 6, 2020 23:14
With Squares
$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 April 5, 2020 23:48
For justin to fix a model
$fn=100;
stl_file="mount_file.stl";
remove=3.0;
union(){
difference(){
translate([-120,-90]){
import(stl_file, convexity=3);
$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;
$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;