gears icon indicating copy to clipboard operation
gears copied to clipboard

Mesh not closed..

Open gratefulfrog opened this issue 1 year ago • 0 comments

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

gratefulfrog avatar Feb 01 '24 09:02 gratefulfrog