Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 mm hole size #2

Open
Thoky81 opened this issue Jun 7, 2020 · 3 comments
Open

4 mm hole size #2

Thoky81 opened this issue Jun 7, 2020 · 3 comments

Comments

@Thoky81
Copy link

Thoky81 commented Jun 7, 2020

Hi,
I would like to ask you how can I change the pins to fit EU pegboard hole size which is approx. 3.5-4.0 mm in diameter.
When I open the scad file in OpenScad I found these settings:

// dimensions the same outside US?
hole_spacing = 25.4;
hole_size = 6.0035;
board_thickness = 5;

But when I change the hole_size to let say 3.5 the corner of the pins are strange and not in line. See the picture:

Screenshot 2020-06-07 at 11 36 17

Thank a lot

@martinvw
Copy link

martinvw commented Jun 7, 2020

I created a fork for my pegboard I don’t know whether you have the same board but you could check out my fork: https://www.thingiverse.com/thing:4333614

The first image shows the holes of my board, if it helps your feedback is appreciated!

@Thoky81
Copy link
Author

Thoky81 commented Jun 7, 2020

Thanks for reply. I have checked your fork but its not working for my. My one its not metal and I have just round holes. Do you have any idea how to solve it?

@raulvera59
Copy link

I had the same problem, so I fixed the pin function. I don't feel up to doing a full pull request, but if you replace the pin module, from line 109 to line 134, with the following, the clips are a bit different and the pins and clips scale properly with the hole size and board thickness.

clip_radius = 5;
pin_length = board_thickness;

module pin(clip)
{
    rotate([0,0,15])
    cylinder(r=hole_size/2, h=board_thickness*1.5+epsilon, center=true, $fn=12);

    if (clip) {
        rotate([0,0,-90])
        translate([0,-clip_radius, pin_length/2])
        intersection() {
            rotate([0,90,0])
            rotate_extrude(convexity = 5, $fn =20)
            translate([clip_radius,0,0])
            circle(r = (hole_size*0.95)/2);

            translate([-hole_size/2, 0, 0])
            cube([hole_size+2*epsilon, clip_radius+hole_size, clip_radius+hole_size], center = false);
        }
    }
}

damncabbage added a commit to damncabbage/pegstr that referenced this issue Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants