PolyDiceGenerator icon indicating copy to clipboard operation
PolyDiceGenerator copied to clipboard

Fails to render anything

Open jeijeirenee opened this issue 4 years ago • 5 comments

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

jeijeirenee avatar Jan 15 '22 03:01 jeijeirenee

What are the versions of openscad, polydicegenerator, and bosl2?

charmaur avatar Jan 15 '22 06:01 charmaur

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.

jeijeirenee avatar Jan 18 '22 18:01 jeijeirenee

Make sure you're using the bosl2 version that is included with the polydicegenerator download. It should be version '2.0.525'.

charmaur avatar Jan 18 '22 21:01 charmaur

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

jeijeirenee avatar Feb 20 '22 20:02 jeijeirenee

Is PolyDiceGenerator.scad and the BOSL2/ directory in the same location? Can you try OpenSCAD 2021.01?

charmaur avatar Feb 20 '22 22:02 charmaur