Skip to content

Fixed screw hole#5

Open
ollie-d wants to merge 1 commit into
hugokernel:masterfrom
ollie-d:master
Open

Fixed screw hole#5
ollie-d wants to merge 1 commit into
hugokernel:masterfrom
ollie-d:master

Conversation

@ollie-d

@ollie-d ollie-d commented Aug 21, 2023

Copy link
Copy Markdown

Previous code had the screw hole height hard-coded to 10mm. This fix utilizes the head_height variable to create a hole for any shaft height.

Previous screw hole was set to 10. I discovered this when trying to make a 10mm long shaft. New fix utilizes the head_height variable.
@hugokernel

Copy link
Copy Markdown
Owner

Nice, but you can simplify the fix like that:

    difference() {
        translate([0, 0, 0.1]) {
            cylinder(r = head_diameter / 2 + head_thickness, h = head_height + 1);
        }

        cylinder(r = head_screw_diameter / 2, h = head_height * 2);

        servo_head(params);
    }

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

Successfully merging this pull request may close these issues.

2 participants