added version numbers into the catears model

This commit is contained in:
tessaK9 2026-07-23 11:41:02 +02:00
commit df7c90ec26
5 changed files with 66675 additions and 3 deletions

View file

@ -1,6 +1,7 @@
use <bezier_extrusion.scad>;
use <binary.scad>
module headband(thickness, height){
module headband(thickness, height, vers = false, vers_number = 0){
rake_length = 3;
shape_band = [[thickness/2,height/2-0.4],
@ -29,7 +30,14 @@ module headband(thickness, height){
ctrl_rake = [[-52,86],[-40,139.5],[40,139.5],[52,86]];
union(){
bezier_extrude(ctrl = ctrl_band, shape = shape_band, sections = 64);
difference(){
bezier_extrude(ctrl = ctrl_band, shape = shape_band, sections = 64);
if(vers){
translate([23,-1,-1])
rotate([0,0,49])
binary(n = vers_number, size = 2, depth = 1.5, sep = 1);
}
}
mirror([1,0,0]) bezier_extrude(ctrl = ctrl_band, shape = shape_band, sections = 64);
bezier_extrude(ctrl = ctrl_end, shape = shape_band, sections = 16);
translate([17,-8]){
@ -43,4 +51,5 @@ module headband(thickness, height){
}
}
headband(thickness = 2.7, height = 5.5);