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

Mesh not closed.. #17

Open
gratefulfrog opened this issue Feb 1, 2024 · 0 comments
Open

Mesh not closed.. #17

gratefulfrog opened this issue Feb 1, 2024 · 0 comments

Comments

@gratefulfrog
Copy link

Hi,

My goal is to obtain the diameter of the top & bottom flat surfaces of a bevel gear. I could not find them in the echo outputs, although I do observe "ECHO: "Part Cone Diameter at the Cone Base = ", 30" but the dimension 30 does not correspond.

I have run into a mesh not closed error when I try to analyze the output gear with a 2D projection. This works fine if I do not use cut=true.

Any help would be much appreciated.

Thanks so much for you work on this library!

code:

$fn=100;
use <gears.scad>
projection(cut=true)
bevel_gear(modul=1, tooth_number=30, partial_cone_angle=45, tooth_width=5, bore=4, pressure_angle=20, helix_angle=0);

The console output:

Parsing design (AST generation)...
Compiling design (CSG Tree generation)...
ECHO: "Part Cone Diameter at the Cone Base = ", 30
ECHO: "Bevel Gear Height = ", 3.70249
Rendering Polygon Mesh using Manifold...
ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron.
WARNING: No top level geometry to render
Used file cache size: 1 files
Compiling design (CSG Tree generation)...
ECHO: "Part Cone Diameter at the Cone Base = ", 30
ECHO: "Bevel Gear Height = ", 3.70249
Compiling design (CSG Products generation)...
Geometries in cache: 60
Geometry cache size in bytes: 67536
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Compiling design (CSG Products normalization)...
Normalized tree has 1 elements!
Compile and preview finished.
Total rendering time: 0:00:00.026

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