catear-pedestal v0.1
This commit is contained in:
parent
541b80970c
commit
74bb13b86a
3 changed files with 56 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
include <chamfer.scad>
|
||||
include <globals.scad>
|
||||
use <chamfer.scad>
|
||||
|
||||
module partial_ring(part, radius, thickness, height) {
|
||||
rotate(180-180*part, [0, 0, 1])
|
||||
|
@ -8,7 +8,7 @@ module partial_ring(part, radius, thickness, height) {
|
|||
square([thickness, height], center=true);
|
||||
}
|
||||
|
||||
module headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND, rake_depth=RAKE_DEPTH, rake_width=RAKE_WIDTH, rake_stretch=RAKE_STRETCH, rake_chamfer=RAKE_CHAMFER, chamfer=CHAMFER, chamfer_shape=CHAMFER_SHAPE) {
|
||||
module headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND, rake_depth=RAKE_DEPTH, rake_width=RAKE_WIDTH, rake_stretch=RAKE_STRETCH, rake_chamfer=RAKE_CHAMFER, chamfer=CHAMFER, chamfer_shape=CHAMFER_SHAPE, with_rake=true) {
|
||||
union() {
|
||||
chamfer(size=chamfer, child_h=height, child_bot=-height/2, shape=chamfer_shape) union() {
|
||||
color("purple")
|
||||
|
@ -41,7 +41,7 @@ module headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part
|
|||
);
|
||||
}
|
||||
}
|
||||
for (i=[-size/2:size/2]) {
|
||||
if (with_rake) for (i=[-size/2:size/2]) {
|
||||
rotate(i*2-rake_width/2, [0, 0, 1])
|
||||
intersection() {
|
||||
scale([1, 1, rake_stretch/(rake_depth/height)])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue