[refactor] extract globals from headband to separate file

This commit is contained in:
djerun 2024-05-25 19:48:08 +02:00
commit 5463192ec9
4 changed files with 27 additions and 21 deletions

View file

@ -1,20 +1,5 @@
$fn=360;
DEBUG=false;
SIZE=60;
HEIGHT=4.6;
THICKNESS=3;
PART=0.7;
STRETCH_LEN=40;
TIP_LEN=0.05;
TIP_BEND=20;
RAKE_DEPTH=1;
RAKE_WIDTH=1;
RAKE_STRETCH=1;
RAKE_CHAMFER=0.5;
CHAMFER=1;
CHAMFER_SHAPE="cone";
use <chamfer.scad>
include <chamfer.scad>
include <globals.scad>
module partial_ring(part, radius, thickness, height) {
rotate(180-180*part, [0, 0, 1])