kennetek / gridfinity-rebuilt-openscad

A ground-up rebuild of the stock gridfinity bins in OpenSCAD
Other
1.13k stars 164 forks source link

ERROR: Rendering cancelled by exception boost::bad_any_cast: failed conversion using boost::any_cast #154

Open ctzurcanu opened 5 months ago

ctzurcanu commented 5 months ago

Changed:

// length of a grid unit // originally 42 l_grid = 45;

Rendering:

Parsing design (AST generation)... Compiling design (CSG Tree generation)... Rendering Polygon Mesh using CGAL... WARNING: [fast-csg] Corefinement corefinement mesh difference #21 failed with an error: CGAL ERROR: assertion violation! Expr: nodes.size() == std::set(nodes.begin(), nodes.end()).size() File: /Users/distiller/libraries/install/include/CGAL/Polygon_mesh_processing/internal/Corefinement/intersection_nodes.h Line: 440

ERROR: Rendering cancelled by exception boost::bad_any_cast: failed conversion using boost::any_cast WARNING: No top level geometry to render

aderusha commented 4 months ago

This error also appears on the model gridfinity-rebuilt-baseplate.scad when setting style_plate = to 2 or 3, no other values changed.

starthal commented 3 months ago

@aderusha Workaround for the baseplate: Change line 191 from

        circle(r_skel);

to

        circle(r_skel / 2);

That circle seems to describe this fillet:

Screen Shot 2024-03-18 at 4 08 05 PM

If the radius is r_skel, the cutout is flush with the grid square:

Screen Shot 2024-03-18 at 4 13 05 PM

And Something Bad happens... I'm not sure what.