render fails with polyhedron + cylinder union()
Author: poindexter9Created May 21, 2018Updated Sep 27, 2026
LabelsDep: CGALType: Render Issue
It seems that this code:
polyhedron([
[4, 0, 1], [0, 4, 1], [-4, 0, 1], [0, -4, 1],
[4, 0, 5], [0, 4, 5], [-4, 0, 5], [0, -4, 5],
[15, 0, 5], [0, 15, 5], [-15, 0, 5], [0, -15, 5],
[15, 0, 6], [0, 15, 12], [-15, 0, 18], [0, -15, 24],
[0, 15, 6], [-15, 0, 12], [0, -15, 18], [15, 0, 24],
[50, 0, 6], [0, 50, 12], [-50, 0, 18], [0, -50, 24],
[0, 50, 6], [-50, 0, 12], [0, -50, 18], [50, 0, 24],
[50, 0, 0], [0, 50, 0], [-50, 0, 0], [0, -50, 0],
[0, 0, 0],
[0, 0, 1],
], [
[20, 24, 29],
[29, 28, 20],
[21, 25, 30],
[30, 29, 21],
[22, 26, 31],
[31, 30, 22],
[23, 27, 28],
[28, 31, 23],
[28, 29, 32],
[29, 30, 32],
[30, 31, 32],
[31, 28, 32],
[0, 3, 33],
[3, 2, 33],
[2, 1, 33],
[1, 0, 33],
[5, 4, 0],
[0, 1, 5],
[6, 5, 1],
[1, 2, 6],
[7, 6, 2],
[2, 3, 7],
[4, 7, 3],
[3, 0, 4],
[9, 8, 4],
[4, 5, 9],
[10, 9, 5],
[5, 6, 10],
[11, 10, 6],
[6, 7, 11],
[8, 11, 7],
[7, 4, 8],
[16, 12, 8],
[8, 9, 16],
[17, 13, 9],
[9, 10, 17],
[18, 14, 10],
[10, 11, 18],
[19, 15, 11],
[11, 8, 19],
[24, 20, 12],
[12, 16, 24],
[25, 21, 13],
[13, 17, 25],
[26, 22, 14],
[14, 18, 26],
[27, 23, 15],
[15, 19, 27],
[21, 24, 16],
[16, 13, 21],
[22, 25, 17],
[17, 14, 22],
[23, 26, 18],
[18, 15, 23],
[20, 27, 19],
[19, 12, 20],
]);
cylinder(d=120, h=0.3);Crashes both OpenSCAD-Nightly and OpenSCAD with this error message:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_any_cast>>'
what(): boost::bad_any_cast: failed conversion using boost::any_cast
AbortedWhen you click Render.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Source: openscad/openscad