Update Nespresso insert
This commit is contained in:
@@ -102,11 +102,13 @@ Model files:
|
|||||||
|
|
||||||
## hex-nespresso-insert
|
## hex-nespresso-insert
|
||||||
|
|
||||||
|

|
||||||

|

|
||||||
|
|
||||||
Model files:
|
Model files:
|
||||||
|
|
||||||
* hex-nespresso-insert-variant.scad
|
* hex-nespresso-insert-variant.scad
|
||||||
|
* hex-nespresso-insert-variant-2.scad
|
||||||
* hex-nespresso-insert.scad
|
* hex-nespresso-insert.scad
|
||||||
|
|
||||||
## home-assistant-voice-wall-mount
|
## home-assistant-voice-wall-mount
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 178 KiB |
@@ -0,0 +1,63 @@
|
|||||||
|
/* https://github.com/BelfrySCAD/BOSL2 */
|
||||||
|
include <BOSL2/std.scad>
|
||||||
|
|
||||||
|
$fn = 150;
|
||||||
|
|
||||||
|
pattern_width = 375; // Total width of pattern (mm)
|
||||||
|
pattern_height = 230; // Total height of pattern (mm)
|
||||||
|
pattern_thickness = 4; // Thickness of the entire pattern (mm)
|
||||||
|
ring_inner_diameter = 38; // Inner diameter of rings (mm)
|
||||||
|
ring_width = 2; // Width of ring walls (mm)
|
||||||
|
perimeter_width = 4; // Width of outer perimeter walls (mm)
|
||||||
|
|
||||||
|
ring_chamfer = 0.3*ring_width;
|
||||||
|
ring_spacing = ring_inner_diameter+ring_width+ring_chamfer;
|
||||||
|
|
||||||
|
module hex_insert() {
|
||||||
|
/* Outer perimeter */
|
||||||
|
difference() {
|
||||||
|
cube([pattern_width,pattern_height,pattern_thickness], anchor=[0,0,-1]);
|
||||||
|
cube([pattern_width-2*perimeter_width,pattern_height-2*perimeter_width,pattern_thickness], anchor=[0,0,-1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Circle pattern */
|
||||||
|
intersection() {
|
||||||
|
cube([pattern_width-2*perimeter_width,pattern_height-2*perimeter_width,pattern_thickness], anchor=[0,0,-1]);
|
||||||
|
|
||||||
|
/* Rings (the extra `ring_spacing` for pattern height is for better alignment) */
|
||||||
|
grid_copies(size=[pattern_width,pattern_height+ring_spacing], spacing=ring_spacing, stagger=true)
|
||||||
|
tube(id=ring_inner_diameter, wall=ring_width, h=pattern_thickness, ichamfer2=ring_chamfer, anchor=[0,0,-1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module hex_insert_left() {
|
||||||
|
difference() {
|
||||||
|
hex_insert();
|
||||||
|
|
||||||
|
group() {
|
||||||
|
right(0.75*ring_spacing)
|
||||||
|
grid_copies(size=[0.75*ring_spacing,pattern_height+ring_spacing], spacing=ring_spacing, stagger=true)
|
||||||
|
regular_prism(6, id=ring_spacing, h=3*pattern_thickness, realign=true, anchor=[0,0,0]);
|
||||||
|
right(ring_spacing/2)
|
||||||
|
cube([pattern_width/2,1.5*pattern_height,3*pattern_thickness], anchor=[-1,0,0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module hex_insert_right() {
|
||||||
|
difference() {
|
||||||
|
hex_insert();
|
||||||
|
|
||||||
|
group() {
|
||||||
|
left(0.25*ring_spacing)
|
||||||
|
grid_copies(size=[0.75*ring_spacing,pattern_height+ring_spacing], spacing=ring_spacing, stagger=true)
|
||||||
|
regular_prism(6, id=ring_spacing, h=3*pattern_thickness, realign=true, anchor=[0,0,0]);
|
||||||
|
//left(ring_spacing/2)
|
||||||
|
cube([pattern_width/2,1.5*pattern_height,3*pattern_thickness], anchor=[1,0,0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hex_insert();
|
||||||
|
//left(5) hex_insert_left();
|
||||||
|
//right(5) hex_insert_right();
|
||||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 114 KiB |
@@ -3,30 +3,28 @@ include <BOSL2/std.scad>
|
|||||||
|
|
||||||
$fn = 150;
|
$fn = 150;
|
||||||
|
|
||||||
pattern_width = 375; // Total width of pattern (mm)
|
pattern_width = 375; // Total width of pattern
|
||||||
pattern_height = 230; // Total height of pattern (mm)
|
pattern_height = 230; // Total height of pattern
|
||||||
pattern_thickness = 4; // Thickness of the entire pattern (mm)
|
pattern_thickness = 4; // Thickness of the entire pattern
|
||||||
ring_inner_diameter = 38; // Inner diameter of rings (mm)
|
ring_inner_diameter = 38; // Inner diameter of rings
|
||||||
ring_width = 2; // Width of ring walls (mm)
|
ring_width = 2; // Width of ring walls
|
||||||
perimeter_width = 4; // Width of outer perimeter walls (mm)
|
perimeter_width = 4; // Width of outer perimeter walls
|
||||||
|
bottom_thickness = 1; // Thickness of the bottom part
|
||||||
|
|
||||||
ring_chamfer = 0.3*ring_width;
|
ring_chamfer = 0.5*ring_width;
|
||||||
ring_spacing = ring_inner_diameter+ring_width+ring_chamfer;
|
ring_spacing = ring_inner_diameter+ring_width+ring_chamfer;
|
||||||
|
|
||||||
module hex_insert() {
|
module hex_insert() {
|
||||||
/* Outer perimeter */
|
|
||||||
difference() {
|
difference() {
|
||||||
cube([pattern_width,pattern_height,pattern_thickness], anchor=[0,0,-1]);
|
/* Outer perimeter + bottom */
|
||||||
cube([pattern_width-2*perimeter_width,pattern_height-2*perimeter_width,pattern_thickness], anchor=[0,0,-1]);
|
cube([pattern_width,pattern_height,pattern_thickness+bottom_thickness], anchor=[0,0,-1]);
|
||||||
}
|
|
||||||
|
|
||||||
/* Circle pattern */
|
/* Circle pattern */
|
||||||
intersection() {
|
up(bottom_thickness) {
|
||||||
cube([pattern_width-2*perimeter_width,pattern_height-2*perimeter_width,pattern_thickness], anchor=[0,0,-1]);
|
poly = rect([pattern_width-ring_inner_diameter,pattern_height-ring_inner_diameter]);
|
||||||
|
grid_copies(size=[pattern_width+ring_spacing,pattern_height+ring_spacing], spacing=ring_spacing, inside=poly, stagger=true) // adding `ring_spacing` to width and height to ensure the pattern is filled
|
||||||
/* Rings (the extra `ring_spacing` for pattern height is for better alignment) */
|
cyl(d=ring_inner_diameter, h=pattern_thickness, chamfer2=-ring_chamfer, anchor=[0,0,-1]);
|
||||||
grid_copies(size=[pattern_width,pattern_height+ring_spacing], spacing=ring_spacing, stagger=true)
|
}
|
||||||
tube(id=ring_inner_diameter, wall=ring_width, h=pattern_thickness, ichamfer2=ring_chamfer, anchor=[0,0,-1]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -35,11 +33,11 @@ module hex_insert_left() {
|
|||||||
hex_insert();
|
hex_insert();
|
||||||
|
|
||||||
group() {
|
group() {
|
||||||
right(0.75*ring_spacing)
|
right(0.25*ring_spacing)
|
||||||
grid_copies(size=[0.75*ring_spacing,pattern_height+ring_spacing], spacing=ring_spacing, stagger=true)
|
grid_copies(size=[0.75*ring_spacing,pattern_height+ring_spacing], spacing=ring_spacing, stagger=true)
|
||||||
regular_prism(6, id=ring_spacing, h=3*pattern_thickness, realign=true, anchor=[0,0,0]);
|
regular_prism(6, id=ring_spacing, h=4*pattern_thickness, realign=true, anchor=[0,0,0]);
|
||||||
right(ring_spacing/2)
|
// right(0.5*ring_spacing)
|
||||||
cube([pattern_width/2,1.5*pattern_height,3*pattern_thickness], anchor=[-1,0,0]);
|
cube([pattern_width/2,1.5*pattern_height,4*pattern_thickness], anchor=[-1,0,0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -49,15 +47,15 @@ module hex_insert_right() {
|
|||||||
hex_insert();
|
hex_insert();
|
||||||
|
|
||||||
group() {
|
group() {
|
||||||
left(0.25*ring_spacing)
|
left(0.75*ring_spacing)
|
||||||
grid_copies(size=[0.75*ring_spacing,pattern_height+ring_spacing], spacing=ring_spacing, stagger=true)
|
grid_copies(size=[0.75*ring_spacing,pattern_height+ring_spacing], spacing=ring_spacing, stagger=true)
|
||||||
regular_prism(6, id=ring_spacing, h=3*pattern_thickness, realign=true, anchor=[0,0,0]);
|
regular_prism(6, id=ring_spacing, h=4*pattern_thickness, realign=true, anchor=[0,0,0]);
|
||||||
//left(ring_spacing/2)
|
left(0.5*ring_spacing)
|
||||||
cube([pattern_width/2,1.5*pattern_height,3*pattern_thickness], anchor=[1,0,0]);
|
cube([pattern_width/2,1.5*pattern_height,4*pattern_thickness], anchor=[1,0,0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hex_insert();
|
//hex_insert();
|
||||||
//left(5) hex_insert_left();
|
//left(5) hex_insert_left();
|
||||||
//right(5) hex_insert_right();
|
right(5) hex_insert_right();
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user