Add Cable recess
This commit is contained in:
parent
7f92362360
commit
73657421a4
@ -1,4 +1,4 @@
|
||||
round_psu_plane(300, 200, 5, 20, 20, 10, 40, 90);
|
||||
round_cable_plane(300, 200, 5, 20, 20, 10, 40, 90);
|
||||
RESOLUTION=36;
|
||||
|
||||
module base_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y) {
|
||||
@ -45,6 +45,14 @@ module round_psu_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y,
|
||||
square([psu_width, psu_height]);
|
||||
}
|
||||
}
|
||||
module round_cable_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y, radius, cable_width, cable_height) {
|
||||
difference() {
|
||||
round_base_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y, radius);
|
||||
|
||||
translate([0, height/2-cable_height/2])
|
||||
square([cable_width, cable_height]);
|
||||
}
|
||||
}
|
||||
|
||||
module __radius_cutout(radius) {
|
||||
difference() {
|
||||
|
Loading…
Reference in New Issue
Block a user