formatting, renamed bezierExtrusion to bezier_extrusion

This commit is contained in:
tessaK9 2026-03-12 13:30:51 +01:00
commit 7ab5da4b45
6 changed files with 86 additions and 101 deletions

View file

@ -1,4 +1,4 @@
use <bezierExtrusion.scad>;
use <bezier_extrusion.scad>;
module headband(thickness, height){
rake_length = 2.5;
@ -24,8 +24,8 @@ module headband(thickness, height){
rake = function (t) (-cos(64 * 360 * t) > 0.33) ? 1 : 0.1;
union(){
bezier_extrude(ctrl = ctrl_band, shape = shape_band, sections = 128);
mirror([1,0,0]) bezier_extrude(ctrl = ctrl_band, shape = shape_band, sections = 128);
bezier_extrude(ctrl = ctrl_band, shape = shape_band, sections = 64);
mirror([1,0,0]) bezier_extrude(ctrl = ctrl_band, shape = shape_band, sections = 64);
bezier_extrude(ctrl = ctrl_end, shape = shape_band, mod_x = fillet, sections = 16);
mirror([1,0,0]) bezier_extrude(ctrl = ctrl_end, shape = shape_band, mod_x = fillet, sections = 16);
bezier_extrude(ctrl = ctrl_rake, shape = shape_rake, mod_x = rake, sections = 512);