Add siding models
This commit is contained in:
@@ -225,6 +225,22 @@ Model files:
|
|||||||
|
|
||||||
* shoe-shelf-wall-mount.scad
|
* shoe-shelf-wall-mount.scad
|
||||||
|
|
||||||
|
## siding-bird-feeder-hanger
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Model files:
|
||||||
|
|
||||||
|
* siding-bird-feeder-hanger.scad
|
||||||
|
|
||||||
|
## siding-light-mount
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Model files:
|
||||||
|
|
||||||
|
* siding-light-mount.scad
|
||||||
|
|
||||||
## simple-figurine
|
## simple-figurine
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
@@ -0,0 +1,63 @@
|
|||||||
|
/* https://github.com/BelfrySCAD/BOSL2 */
|
||||||
|
include <BOSL2/std.scad>
|
||||||
|
include <BOSL2/screws.scad>
|
||||||
|
|
||||||
|
lap_height = 127;
|
||||||
|
lap_depth = 9;
|
||||||
|
wall_width = 500;
|
||||||
|
|
||||||
|
hanger_length = 125;
|
||||||
|
hanger_diag_length = sqrt(2)*hanger_length;
|
||||||
|
hanger_width = 20;
|
||||||
|
hanger_thickness = 7;
|
||||||
|
hanger_overlap = 20;
|
||||||
|
hanger_rounding = 2;
|
||||||
|
|
||||||
|
hook_hole_diameter = 5;
|
||||||
|
|
||||||
|
$fn = 120;
|
||||||
|
|
||||||
|
module LapPlank() {
|
||||||
|
// Define the triangular profile for the siding
|
||||||
|
// We use a polygon for the wedge shape
|
||||||
|
path = [[0, 0], [lap_depth, 0], [0, lap_height], [0, 0]];
|
||||||
|
|
||||||
|
// Sweep the profile across the width of the wall
|
||||||
|
linear_extrude(wall_width) polygon(path);
|
||||||
|
}
|
||||||
|
|
||||||
|
module BackPattern() {
|
||||||
|
rotate([90,0,0])
|
||||||
|
translate([0,-lap_height/2,-wall_width/2])
|
||||||
|
ycopies(lap_height, l=wall_width)
|
||||||
|
LapPlank();
|
||||||
|
}
|
||||||
|
|
||||||
|
module Hanger() {
|
||||||
|
/* Main beam */
|
||||||
|
right(lap_depth)
|
||||||
|
cuboid([hanger_length+hanger_overlap,hanger_width,hanger_thickness], rounding=hanger_rounding, anchor=LEFT);
|
||||||
|
|
||||||
|
/* Diag beam */
|
||||||
|
up(hanger_length) right(lap_depth)rotate([0,45,0])
|
||||||
|
cuboid([hanger_diag_length,hanger_width,hanger_thickness], rounding=hanger_rounding, anchor=LEFT);
|
||||||
|
|
||||||
|
/* Back beam */
|
||||||
|
down(hanger_overlap)
|
||||||
|
cuboid([hanger_thickness+lap_depth,hanger_width,hanger_length+2*hanger_overlap], rounding=hanger_rounding, anchor=LEFT+BOTTOM);
|
||||||
|
}
|
||||||
|
|
||||||
|
difference() {
|
||||||
|
Hanger();
|
||||||
|
group() {
|
||||||
|
BackPattern();
|
||||||
|
|
||||||
|
translate([hanger_thickness+lap_depth,0,-(hanger_thickness/2+hanger_overlap)/2]) rotate([0,90,0]) screw_hole("#8,2",head="flat",anchor=TOP);
|
||||||
|
|
||||||
|
translate([hanger_thickness+lap_depth,0,hanger_length+(hanger_thickness/2+hanger_overlap)/2]) rotate([0,90,0]) screw_hole("#8,2",head="flat",anchor=TOP);
|
||||||
|
|
||||||
|
/* Hook hole */
|
||||||
|
right(hanger_length+hanger_overlap)
|
||||||
|
zcyl(d=hook_hole_diameter, h=hanger_thickness);
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
@@ -0,0 +1,47 @@
|
|||||||
|
include <BOSL2/std.scad>
|
||||||
|
|
||||||
|
lap_height = 127;
|
||||||
|
lap_depth = 9;
|
||||||
|
wall_width = 500;
|
||||||
|
|
||||||
|
ring_outer = 120;
|
||||||
|
ring_inner = 60;
|
||||||
|
ring_thickness = lap_depth + 2;
|
||||||
|
ring_offset = -15; // -15 for left light, -55 for right light
|
||||||
|
|
||||||
|
screw_diameter = 6.5;
|
||||||
|
screw_center_offset = 45;
|
||||||
|
|
||||||
|
$fn = 200;
|
||||||
|
|
||||||
|
module lap_plank() {
|
||||||
|
// Define the triangular profile for the siding
|
||||||
|
// We use a polygon for the wedge shape
|
||||||
|
path = [[0, 0], [lap_depth, 0], [0, lap_height], [0, 0]];
|
||||||
|
|
||||||
|
// Sweep the profile across the width of the wall
|
||||||
|
linear_extrude(wall_width) polygon(path);
|
||||||
|
}
|
||||||
|
|
||||||
|
module back_pattern() {
|
||||||
|
translate([0,-lap_height/2,-wall_width/2])
|
||||||
|
ycopies(lap_height, l=wall_width)
|
||||||
|
lap_plank();
|
||||||
|
}
|
||||||
|
|
||||||
|
difference() {
|
||||||
|
translate([0,ring_offset,0])
|
||||||
|
difference() {
|
||||||
|
xcyl(l=ring_thickness, d=ring_outer, anchor=LEFT);
|
||||||
|
xcyl(l=ring_thickness, d=ring_inner, anchor=LEFT);
|
||||||
|
}
|
||||||
|
group() {
|
||||||
|
back_pattern();
|
||||||
|
|
||||||
|
/* screw holes */
|
||||||
|
translate([0,ring_offset,0]) rotate([45,0,0]) group() {
|
||||||
|
translate([0,0,screw_center_offset]) xcyl(d=screw_diameter, l=4*ring_thickness);
|
||||||
|
translate([0,0,-screw_center_offset]) xcyl(d=screw_diameter, l=4*ring_thickness);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user