mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-11-10 18:40:50 +00:00
Fix refined_hole.
Accidentally removed a bit too much of the bottom layer.
This commit is contained in:
parent
e9d33d7ad4
commit
dcdfa706f5
1 changed files with 3 additions and 2 deletions
|
@ -101,7 +101,8 @@ module refined_hole() {
|
|||
ptl = refined_offset + LAYER_HEIGHT; // Additional layer just in case
|
||||
poke_through_height = REFINED_HOLE_HEIGHT + ptl;
|
||||
poke_hole_radius = 2.5;
|
||||
poke_hole_center = [-12.53 + 5.60, 0, -ptl];
|
||||
magic_constant = 5.60;
|
||||
poke_hole_center = [-12.53 + magic_constant, 0, -ptl];
|
||||
|
||||
translate([0, 0, refined_offset])
|
||||
union() {
|
||||
|
@ -112,7 +113,7 @@ module refined_hole() {
|
|||
|
||||
// Poke hole
|
||||
translate([poke_hole_center.x, -poke_hole_radius/2, poke_hole_center.z])
|
||||
cube([abs(poke_hole_center.x), poke_hole_radius, poke_through_height]);
|
||||
cube([10 - magic_constant, poke_hole_radius, poke_through_height]);
|
||||
translate(poke_hole_center)
|
||||
cylinder(poke_through_height, d=poke_hole_radius);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue