Skip to content

Commit 710b704

Browse files
committed
Add more cable clip renders
1 parent 419c4d1 commit 710b704

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Diff for: hardware/cable-clips/SConscript

+11-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@ b = ModelBuilder(env)
33

44
model = "cable-clips.scad"
55

6-
b.STL("cable-clips.stl", model)
6+
for opts in GenerateOptions(
7+
clip_diameter=[2, 5, 6.5], countersink=[(0, ""), (1, "-countersink")]
8+
):
9+
b.STL(
10+
f"cable-clip-{opts.clip_diameter}mm{opts.countersink_fn}.stl",
11+
model,
12+
{
13+
"Clip_Diameter": opts.clip_diameter,
14+
"Countersink_Screw": opts.countersink,
15+
},
16+
)
717
b.Image("demo.png", model, {"Print_Orientation": 0, "$fn": 100})
818

919
b.add_default_targets()

Diff for: hardware/cable-clips/cable-clips.scad

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $fs = $preview ? $fs : 0.4;
3030
width = Screw_Diameter * 2.5;
3131
clip_od = Clip_Diameter + Thickness * 2;
3232
slop = 0.001;
33-
foot_height = Clip_Diameter;
33+
foot_height = max(Clip_Diameter, Thickness);
3434

3535
// Modules //
3636

0 commit comments

Comments
 (0)