Round cable cutout
This commit is contained in:
parent
b30e6d533a
commit
07b2586a7e
@ -62,8 +62,27 @@ module round_cable_plane(width, height, hole_size, hole_spacing_x, hole_spacing_
|
||||
difference() {
|
||||
round_base_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y, radius);
|
||||
|
||||
difference() {
|
||||
union() {
|
||||
translate([0, height/2-cable_height/2])
|
||||
square([cable_width, cable_height]);
|
||||
|
||||
// Outer rounds
|
||||
translate([radius, height/2-cable_height/2-radius])
|
||||
rotate([0, 0, 90])
|
||||
__radius_cutout(radius);
|
||||
translate([radius, height/2+cable_height/2+radius])
|
||||
rotate([0, 0, 180])
|
||||
__radius_cutout(radius);
|
||||
}
|
||||
|
||||
// Inner rounds
|
||||
translate([cable_width-radius, height/2+cable_height/2-radius])
|
||||
__radius_cutout(radius);
|
||||
translate([cable_width-radius, height/2-cable_height/2+radius])
|
||||
rotate([0, 0, 270])
|
||||
__radius_cutout(radius);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user