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

Small gears with too large backlash cause CGAL assertion errors #20

Open
hyperair opened this issue May 13, 2014 · 1 comment
Open

Small gears with too large backlash cause CGAL assertion errors #20

hyperair opened this issue May 13, 2014 · 1 comment

Comments

@hyperair
Copy link

The following causes CGAL assertions as per openscad/openscad#791.

use <MCAD/involute_gears.scad>

function convert_circular_pitch (circular_pitch) = circular_pitch * 180 / PI;

gear (
    circular_pitch = convert_circular_pitch (3),
    number_of_teeth = 8,
    backlash = 0.4,
    clearance = 0.4,
    bore_diameter = 0,
    rim_width = 999,
    rim_thickness = 10,
    gear_thickness = 10,
    hub_thickness = 10,
    hub_diameter = 0);

This appears to be caused by two points of the thinnest involute_gear_tooth polygon being inverted, possibly due to a rounding error.

@hyperair hyperair changed the title Small gears cause CGAL assertion errors Small gears with too large backlash cause CGAL assertion errors May 13, 2014
@hyperair
Copy link
Author

Reducing the backlash fixes the issue, but I think that it would be better to avoid having that triangle altogether.

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

1 participant