Fix hole algorithm and update values to inner crate measurements
This commit is contained in:
parent
01d5343f5f
commit
db68ca554b
@ -1,4 +1,4 @@
|
||||
round_psu_cable_fan_plane(390, 280, 6.5, 20, 20, 10, 41, 83, 90, 90);
|
||||
round_psu_cable_fan_plane(360, 250, 6.5, 300, 180, 10, 41, 83, 90, 90);
|
||||
RESOLUTION=36;
|
||||
|
||||
/*
|
||||
@ -10,13 +10,13 @@ module base_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y) {
|
||||
square([width, height]);
|
||||
|
||||
// holes
|
||||
translate([hole_spacing_x, hole_spacing_y])
|
||||
translate([(width-hole_spacing_x)/2, (height-hole_spacing_y)/2])
|
||||
circle(d=hole_size, $fn=RESOLUTION);
|
||||
translate([width - hole_spacing_x, hole_spacing_y])
|
||||
translate([hole_spacing_x+(width-hole_spacing_x)/2, (height-hole_spacing_y)/2])
|
||||
circle(d=hole_size, $fn=RESOLUTION);
|
||||
translate([hole_spacing_x, height - hole_spacing_y])
|
||||
translate([(width-hole_spacing_x)/2, height-(height-hole_spacing_y)/2])
|
||||
circle(d=hole_size, $fn=RESOLUTION);
|
||||
translate([width - hole_spacing_x, height - hole_spacing_y])
|
||||
translate([hole_spacing_x+(width-hole_spacing_x)/2, height-(height-hole_spacing_y)/2])
|
||||
circle(d=hole_size, $fn=RESOLUTION);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user