You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: Assertion 'is_3_vector(p)' failed: "Invalid polyhedron: [[7.62, 7.62, -6.91289], [22.1529, 7.62, -6.91289], [22.1529, 7.62, 22.1529], [8.32711, 7.62, 22.1529], [nan, nan, -inf]]" in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-polyhedra.scad, line 79 TRACE: called by 'make_poly', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-polyhedra.scad, line 594. TRACE: called by 'make_beveled_poly_normalized', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-polyhedra.scad, line 405. TRACE: called by 'make_beveled_poly', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 518. TRACE: called by 'burr_piece_component_diag', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 179. TRACE: called by 'if', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 177. TRACE: called by 'if', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 176. TRACE: called by 'for', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 175. TRACE: called by 'union', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 171. TRACE: called by 'difference', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 169. TRACE: called by 'burr_piece_base', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 118. TRACE: called by 'rotate', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 117. TRACE: called by 'translate', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 116.
The text was updated successfully, but these errors were encountered:
It seems like the problem occurs in the beveling logic, so I'm currently working around it with $burr_bevel = 0;, which obviously won't work for every use case.
I'm trying to create a rectangular burr piece with a diagonal wedge. Some combinations of diagonal geometry components result in the error below.
This renders fine:
["x{components={z-,x+,y-z-,y-x+,y+z-,y+x+}}x"]
But add some voxels around the wedge:
["x{components={z-,x+,y-z-,y-x+,y+z-,y+x+}}x|x.",".x"]
And the following error results:
ERROR: Assertion 'is_3_vector(p)' failed: "Invalid polyhedron: [[7.62, 7.62, -6.91289], [22.1529, 7.62, -6.91289], [22.1529, 7.62, 22.1529], [8.32711, 7.62, 22.1529], [nan, nan, -inf]]" in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-polyhedra.scad, line 79 TRACE: called by 'make_poly', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-polyhedra.scad, line 594. TRACE: called by 'make_beveled_poly_normalized', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-polyhedra.scad, line 405. TRACE: called by 'make_beveled_poly', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 518. TRACE: called by 'burr_piece_component_diag', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 179. TRACE: called by 'if', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 177. TRACE: called by 'if', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 176. TRACE: called by 'for', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 175. TRACE: called by 'union', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 171. TRACE: called by 'difference', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 169. TRACE: called by 'burr_piece_base', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 118. TRACE: called by 'rotate', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 117. TRACE: called by 'translate', in file ../OpenSCAD/libraries/puzzlecad/puzzlecad-burr.scad, line 116.
The text was updated successfully, but these errors were encountered: