Christmas light clip
This commit is contained in:
@@ -9,6 +9,14 @@ The models come with
|
|||||||
* a `.png` file with a preview, and sometimes
|
* a `.png` file with a preview, and sometimes
|
||||||
* a `.3mf` file with a Bambu Lab printer profile.
|
* a `.3mf` file with a Bambu Lab printer profile.
|
||||||
|
|
||||||
|
## brio-bridge
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Model files:
|
||||||
|
|
||||||
|
* brio-bridge.scad
|
||||||
|
|
||||||
## brio-tracks
|
## brio-tracks
|
||||||
|
|
||||||

|

|
||||||
@@ -35,6 +43,14 @@ Model files:
|
|||||||
|
|
||||||
* brio-tunnel-block.scad
|
* brio-tunnel-block.scad
|
||||||
|
|
||||||
|
## c9-lights-roof-clip
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Model files:
|
||||||
|
|
||||||
|
* c9-lights-roof-clip.scad
|
||||||
|
|
||||||
## cube-with-square-hole
|
## cube-with-square-hole
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -46,7 +46,7 @@ track_support_overhang = 6;
|
|||||||
track_support_width = bridge_inner_width + side_width;
|
track_support_width = bridge_inner_width + side_width;
|
||||||
|
|
||||||
tunnel_rounding = 10;
|
tunnel_rounding = 10;
|
||||||
tunnel_width = track_width + track_tolerance;
|
tunnel_width = track_width + track_tolerance; // Double: 2 * track_width + track_tolerance + 6
|
||||||
tunnel_height = bridge_height + 3;
|
tunnel_height = bridge_height + 3;
|
||||||
|
|
||||||
$fn=150;
|
$fn=150;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
@@ -0,0 +1,91 @@
|
|||||||
|
/* https://github.com/BelfrySCAD/BOSL2 */
|
||||||
|
include <BOSL2/std.scad>
|
||||||
|
include <BOSL2/hooks.scad>
|
||||||
|
|
||||||
|
$fn = 75;
|
||||||
|
|
||||||
|
/* [Clip] */
|
||||||
|
|
||||||
|
// Thickness of the clip
|
||||||
|
roof_clip_thickness = 3;
|
||||||
|
|
||||||
|
// Width of the clip (height on the print bed)
|
||||||
|
roof_clip_width = 7;
|
||||||
|
|
||||||
|
// Length of the straight pieces of the clip
|
||||||
|
roof_clip_length = 110;
|
||||||
|
|
||||||
|
// Angle of the opening
|
||||||
|
roof_clip_opening_deg = 160; // [90:180]
|
||||||
|
|
||||||
|
// Radius of the round part at the top of the opening
|
||||||
|
roof_clip_opening_radius = 25;
|
||||||
|
|
||||||
|
/* [Light Holder] */
|
||||||
|
|
||||||
|
// Diameter of the light
|
||||||
|
light_diameter = 16.25;
|
||||||
|
|
||||||
|
// Offset of the light from the center of the roof ridge
|
||||||
|
light_offset = 25;
|
||||||
|
|
||||||
|
// Width of the opening at the light holder
|
||||||
|
light_opening = 6;
|
||||||
|
|
||||||
|
// Distance between first and second light holder
|
||||||
|
light_second_distance = 25;
|
||||||
|
|
||||||
|
assert(light_second_distance>=light_offset);
|
||||||
|
|
||||||
|
clip_path = turtle([
|
||||||
|
"left", 90,
|
||||||
|
"arcleft", roof_clip_opening_radius, roof_clip_opening_deg/2,
|
||||||
|
"move", roof_clip_length,
|
||||||
|
"left", 45,
|
||||||
|
"move", 15,
|
||||||
|
"left", 90,
|
||||||
|
"move", 15
|
||||||
|
]);
|
||||||
|
|
||||||
|
second_holder_path = turtle([
|
||||||
|
"move", light_second_distance-(light_offset-light_diameter),
|
||||||
|
"arcleft", light_offset-light_diameter, 90,
|
||||||
|
"move", light_diameter
|
||||||
|
]);
|
||||||
|
|
||||||
|
module holder_clip() {
|
||||||
|
translate([0,light_offset,0])
|
||||||
|
difference() {
|
||||||
|
ring_hook([2*roof_clip_thickness+light_diameter, roof_clip_thickness], 0.5*light_diameter+roof_clip_width, id=light_diameter, wall=roof_clip_thickness, spin=90);
|
||||||
|
up(light_diameter+roof_clip_width)
|
||||||
|
cube([roof_clip_thickness,light_opening,light_diameter], center=true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
linear_extrude(roof_clip_width)
|
||||||
|
group() {
|
||||||
|
/* left roof clip side */
|
||||||
|
stroke(clip_path, width=roof_clip_thickness, closed=false);
|
||||||
|
|
||||||
|
/* right roof clip side */
|
||||||
|
yflip()
|
||||||
|
stroke(clip_path, width=roof_clip_thickness, closed=false);
|
||||||
|
|
||||||
|
/* Second light holder */
|
||||||
|
stroke(second_holder_path, width=roof_clip_thickness, closed=false);
|
||||||
|
|
||||||
|
/* Dot for additional support */
|
||||||
|
right(roof_clip_thickness)
|
||||||
|
regular_ngon(n=3, id=2*roof_clip_thickness);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Light holder */
|
||||||
|
left(roof_clip_thickness/2)
|
||||||
|
cube([roof_clip_thickness,light_offset+light_diameter/2+roof_clip_thickness,roof_clip_width]);
|
||||||
|
|
||||||
|
/* Light holder clip */
|
||||||
|
holder_clip();
|
||||||
|
|
||||||
|
/* Second light holder clip */
|
||||||
|
right(light_second_distance)
|
||||||
|
holder_clip();
|
||||||
Binary file not shown.
Reference in New Issue
Block a user