Fails to render anything
I cannot get any dice to render and I don't know what's going on.
I'm running linux.
Loaded design '/home/jei/Documents/openscad stuff/PolyDiceGenerator/PolyDiceGenerator.scad'. Compiling design (CSG Tree generation)... WARNING: Ignoring unknown function 'is_num', in file BOSL2/common.scad, line 91. ERROR: Assertion 'is_finite(x)': "The input must be a finite number." failed in file BOSL2/math.scad, line 260 TRACE: called by 'acosh', in file BOSL2/polyhedra.scad, line 378. TRACE: called by 'cosh', in file BOSL2/polyhedra.scad, line 378. Compiling design (CSG Products generation)... Geometries in cache: 0 Geometry cache size in bytes: 0 CGAL Polyhedrons in cache: 0 CGAL cache size in bytes: 0 Compiling design (CSG Products normalization)... Normalized CSG tree has 0 elements Compile and preview finished. Total rendering time: 0 hours, 0 minutes, 0 seconds
What are the versions of openscad, polydicegenerator, and bosl2?
newest version of polydicegenerator and bosl2. I downloaded it same day I submitted this error.
openscad version 2019.01-RC2-2 I downloaded it via aptitude.
Make sure you're using the bosl2 version that is included with the polydicegenerator download. It should be version '2.0.525'.
I have come back to this and have reinstalled the newest update of polydicegenerator and bosl2 from github (version [0.27.4) and this is the error I'm getting.
Loaded design '/home/jei/Documents/openscad stuff/PolyDiceGenerator-master/PolyDiceGenerator.scad'.
Compiling design (CSG Tree generation)...
WARNING: Ignoring unknown function 'is_num', in file BOSL2/common.scad, line 91.
ERROR: Assertion 'is_finite(x)': "The input must be a finite number." failed in file BOSL2/math.scad, line 260
TRACE: called by 'acosh', in file BOSL2/polyhedra.scad, line 378.
TRACE: called by 'cosh', in file BOSL2/polyhedra.scad, line 378.
Compiling design (CSG Products generation)...
Geometries in cache: 0
Geometry cache size in bytes: 0
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Compiling design (CSG Products normalization)...
Normalized CSG tree has 0 elements
Compile and preview finished.
Total rendering time: 0 hours, 0 minutes, 0 seconds
Parsing design (AST generation)...
Compiling design (CSG Tree generation)...
WARNING: Ignoring unknown function 'is_num', in file BOSL2/common.scad, line 91.
ERROR: Assertion 'is_finite(x)': "The input must be a finite number." failed in file BOSL2/math.scad, line 260
TRACE: called by 'acosh', in file BOSL2/polyhedra.scad, line 378.
TRACE: called by 'cosh', in file BOSL2/polyhedra.scad, line 378.
Compiling design (CSG Products generation)...
Geometries in cache: 0
Geometry cache size in bytes: 0
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Compiling design (CSG Products normalization)...
Normalized CSG tree has 0 elements
Compile and preview finished.
Total rendering time: 0 hours, 0 minutes, 0 seconds
Parsing design (AST generation)...
Compiling design (CSG Tree generation)...
WARNING: Ignoring unknown function 'is_num', in file BOSL2/common.scad, line 91.
ERROR: Assertion 'is_finite(x)': "The input must be a finite number." failed in file BOSL2/math.scad, line 260
TRACE: called by 'acosh', in file BOSL2/polyhedra.scad, line 378.
TRACE: called by 'cosh', in file BOSL2/polyhedra.scad, line 378.
Rendering Polygon Mesh using CGAL...
UI-WARNING: No top level geometry to render
Is PolyDiceGenerator.scad and the BOSL2/ directory in the same location? Can you try OpenSCAD 2021.01?