Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5c49f45ad | ||
|
|
bd3f87db7d | ||
|
|
2365bb4595 | ||
|
|
927ea506fd | ||
|
|
23aae4fd59 |
@@ -0,0 +1,2 @@
|
|||||||
|
lovevery-coin/*.zip
|
||||||
|
.vscode/
|
||||||
@@ -95,12 +95,6 @@ Model files:
|
|||||||
|
|
||||||
* fluke-lead-holder-hsw.scad
|
* fluke-lead-holder-hsw.scad
|
||||||
|
|
||||||
## glow-in-the-dark
|
|
||||||
|
|
||||||
|
|
||||||
Model files:
|
|
||||||
|
|
||||||
|
|
||||||
## home-assistant-voice-wall-mount
|
## home-assistant-voice-wall-mount
|
||||||
|
|
||||||

|

|
||||||
@@ -138,13 +132,6 @@ Model files:
|
|||||||
|
|
||||||
* m5-atom-echo-hsw-mount.scad
|
* m5-atom-echo-hsw-mount.scad
|
||||||
|
|
||||||
## magnet-mount
|
|
||||||
|
|
||||||
|
|
||||||
Model files:
|
|
||||||
|
|
||||||
* magnet-mount.scad
|
|
||||||
|
|
||||||
## map-wall-clamp
|
## map-wall-clamp
|
||||||
|
|
||||||

|

|
||||||
@@ -163,6 +150,14 @@ Model files:
|
|||||||
* nvidia-a2-fan-shroud.scad
|
* nvidia-a2-fan-shroud.scad
|
||||||
* nvidia-t4-fan-shroud.scad
|
* nvidia-t4-fan-shroud.scad
|
||||||
|
|
||||||
|
## oil-bottle-coaster
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Model files:
|
||||||
|
|
||||||
|
* oil-bottle-coaster.scad
|
||||||
|
|
||||||
## phone-holder-monitor
|
## phone-holder-monitor
|
||||||
|
|
||||||

|

|
||||||
@@ -229,11 +224,9 @@ Model files:
|
|||||||
|
|
||||||
## toy-cubes
|
## toy-cubes
|
||||||
|
|
||||||

|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|
|
||||||
|
|
||||||
Model files:
|
Model files:
|
||||||
|
|
||||||
|
|||||||
|
After Width: | Height: | Size: 14 KiB |
@@ -0,0 +1,22 @@
|
|||||||
|
/* https://github.com/BelfrySCAD/BOSL2 */
|
||||||
|
include <BOSL2/std.scad>
|
||||||
|
|
||||||
|
ring_diam = 58;
|
||||||
|
ring_height = 24;
|
||||||
|
ring_thickness = 1;
|
||||||
|
|
||||||
|
$fn = 150;
|
||||||
|
|
||||||
|
difference() {
|
||||||
|
tube(h=ring_height, id=ring_diam, wall=ring_thickness);
|
||||||
|
|
||||||
|
group() {
|
||||||
|
translate([-0.75*ring_diam,0,0])
|
||||||
|
regular_prism(3,r=ring_diam/2,h=ring_height);
|
||||||
|
translate([ring_diam/4,0,0])
|
||||||
|
rotate([90,0,90])
|
||||||
|
linear_extrude(ring_diam/2)
|
||||||
|
// Size: 16 for single letters, 12 for text
|
||||||
|
text("A", size = 16, font = "Saira Stencil One:style=Regular", halign = "center", valign = "center");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 43 KiB |
@@ -0,0 +1,45 @@
|
|||||||
|
/* https://github.com/BelfrySCAD/BOSL2 */
|
||||||
|
include <BOSL2/std.scad>
|
||||||
|
|
||||||
|
$fn = 150;
|
||||||
|
|
||||||
|
border_width = 5;
|
||||||
|
border_height = 5;
|
||||||
|
border_chamfer = 3;
|
||||||
|
|
||||||
|
bottle_width = 62;
|
||||||
|
bottle_rounding = 20;
|
||||||
|
|
||||||
|
coaster_height = 2;
|
||||||
|
coaster_width = bottle_width+2*border_width;
|
||||||
|
|
||||||
|
module bottle_coaster(width, height) {
|
||||||
|
cuboid(
|
||||||
|
[width,height,coaster_height],
|
||||||
|
rounding=bottle_rounding+border_width/2,
|
||||||
|
edges="Z",
|
||||||
|
anchor=[0,0,-1]
|
||||||
|
);
|
||||||
|
up(coaster_height)
|
||||||
|
rect_tube(
|
||||||
|
size=[width,height],
|
||||||
|
wall=border_width,
|
||||||
|
h=border_height-border_chamfer,
|
||||||
|
rounding=bottle_rounding+border_width/2,
|
||||||
|
irounding=bottle_rounding,
|
||||||
|
anchor=[0,0,-1]
|
||||||
|
);
|
||||||
|
up(coaster_height+border_height-border_chamfer)
|
||||||
|
rect_tube(
|
||||||
|
size1=[width,height],
|
||||||
|
size2=[width-border_chamfer,height-border_chamfer],
|
||||||
|
isize1=[width-2*border_width,height-2*border_width],
|
||||||
|
isize2=[width-2*border_width+border_chamfer,height-2*border_width+border_chamfer],
|
||||||
|
h=border_chamfer,
|
||||||
|
rounding=bottle_rounding+border_width/2,
|
||||||
|
irounding=bottle_rounding,
|
||||||
|
anchor=[0,0,-1]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
bottle_coaster(width=coaster_width, height=coaster_width);
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
SCAD=toy-cubes.scad
|
||||||
|
SUFFIX=.stl
|
||||||
|
|
||||||
|
# match "module foobar() { // `make` me"
|
||||||
|
TARGETS != sed -n 's/^module *\([A-Za-z0-9_-]*\)(.*) *.*make.* me.*$$/\1$(SUFFIX)/p' $(SCAD)
|
||||||
|
|
||||||
|
$(shell mkdir -p output)
|
||||||
|
|
||||||
|
all: ${TARGETS}
|
||||||
|
|
||||||
|
.SUFFIXES: ${SUFFIX}
|
||||||
|
|
||||||
|
${TARGETS}: $(SCAD)
|
||||||
|
echo -e 'use <$(SCAD)>;\n$*();' | openscad -m make -o output/$@ -
|
||||||
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 52 KiB |
@@ -4,8 +4,6 @@ cube_h = 40;
|
|||||||
cube_w = 40;
|
cube_w = 40;
|
||||||
rounding = 2;
|
rounding = 2;
|
||||||
|
|
||||||
cube_diag = cube_w*sqrt(2);
|
|
||||||
|
|
||||||
cutout_d = 20;
|
cutout_d = 20;
|
||||||
|
|
||||||
$fn=150;
|
$fn=150;
|
||||||
@@ -33,7 +31,7 @@ module cube_long_with_round_hole() { // make me
|
|||||||
/* Cylinders */
|
/* Cylinders */
|
||||||
|
|
||||||
module cylinder_simple() { // make me
|
module cylinder_simple() { // make me
|
||||||
cyl(d=cube_diag, h=cube_h, rounding=rounding);
|
cyl(d=(4*cube_w)/PI, h=cube_h, rounding=rounding);
|
||||||
}
|
}
|
||||||
|
|
||||||
module cylinder_with_round_hole() { // make me
|
module cylinder_with_round_hole() { // make me
|
||||||
@@ -46,7 +44,7 @@ module cylinder_with_round_hole() { // make me
|
|||||||
/* Triangle */
|
/* Triangle */
|
||||||
|
|
||||||
module triangle_simple() { // make me
|
module triangle_simple() { // make me
|
||||||
rounded_prism(regular_ngon(n=3, od=cube_diag), joint_top=rounding, joint_bot=rounding, joint_sides=rounding, h=cube_h);
|
rounded_prism(regular_ngon(n=3, side=(4*cube_w)/3), joint_top=rounding, joint_bot=rounding, joint_sides=rounding, h=cube_h);
|
||||||
}
|
}
|
||||||
|
|
||||||
module triangle_with_round_hole() { // make me
|
module triangle_with_round_hole() { // make me
|
||||||
@@ -59,7 +57,7 @@ module triangle_with_round_hole() { // make me
|
|||||||
/* Pentagon */
|
/* Pentagon */
|
||||||
|
|
||||||
module pentagon_simple() { // make me
|
module pentagon_simple() { // make me
|
||||||
rounded_prism(regular_ngon(n=5, od=cube_diag), joint_top=rounding, joint_bot=rounding, joint_sides=rounding, h=cube_h);
|
rounded_prism(regular_ngon(n=5, side=(4*cube_w)/5), joint_top=rounding, joint_bot=rounding, joint_sides=rounding, h=cube_h);
|
||||||
}
|
}
|
||||||
|
|
||||||
module pentagon_with_round_hole() { // make me
|
module pentagon_with_round_hole() { // make me
|
||||||
@@ -72,7 +70,7 @@ module pentagon_with_round_hole() { // make me
|
|||||||
/* Hexagon */
|
/* Hexagon */
|
||||||
|
|
||||||
module hexagon_simple() { // make me
|
module hexagon_simple() { // make me
|
||||||
rounded_prism(regular_ngon(n=6, od=cube_diag), joint_top=rounding, joint_bot=rounding, joint_sides=rounding, h=cube_h);
|
rounded_prism(regular_ngon(n=6, side=(4*cube_w)/6), joint_top=rounding, joint_bot=rounding, joint_sides=rounding, h=cube_h);
|
||||||
}
|
}
|
||||||
|
|
||||||
module hexagon_with_round_hole() { // make me
|
module hexagon_with_round_hole() { // make me
|
||||||
@@ -82,5 +80,15 @@ module hexagon_with_round_hole() { // make me
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Octagon */
|
||||||
|
|
||||||
cube_with_round_hole();
|
module octagon_simple() { // make me
|
||||||
|
rounded_prism(regular_ngon(n=8, side=(4*cube_w)/8), joint_top=rounding, joint_bot=rounding, joint_sides=rounding, h=cube_h);
|
||||||
|
}
|
||||||
|
|
||||||
|
module octagon_with_round_hole() { // make me
|
||||||
|
difference() {
|
||||||
|
octagon_simple();
|
||||||
|
cyl(h=cube_h, d=cutout_d, chamfer=-rounding/2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 20 KiB |