
Latest git sources:
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: check_protocoll == 0
File: /usr/include/CGAL/Polyhedron_incremental_builder_3.h
Line: 198
Unfortunately I don't have the exact source that caused this; I hadn't
saved since the most recent changes. I'm about to go try to recreate
the model in question.
Is this a winding error thing? I think I got the winding order correct
on my custom polyhedra (source snippet follows), and it was rendering
fine until I added a little more complexity.
Also, is there an IRC channel? (I couldn't find mention of such on the
web site.)
Evan Daniel
// build a truncated pyramid
module pyramid_base (
base_length=12,
base_width=8,
top_length=5,
top_width=4,
skew_length=0,
skew_width=0,
height=2)
{
polyhedron (
points = [
[0,0,0],
[base_length,0,0],
[base_length,base_width,0],
[0,base_width,0],
[(base_lengthtop_length)/2+skew_length,(base_widthtop_width)/2+skew_width,height],
[(base_length+top_length)/2+skew_length,(base_widthtop_width)/2+skew_width,height],
[(base_length+top_length)/2+skew_length,(base_width+top_width)/2+skew_width,height],
[(base_lengthtop_length)/2+skew_length,(base_width+top_width)/2+skew_width,height]
],
triangles = [
[0,1,2,3],
[0,4,5,1],
[1,5,6,2],
[2,6,7,3],
[3,7,4,0],
[4,7,6,5]
]
);
}
