discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Error !!!!!!!!!!!!!!!!!!!!!!!

Y
yvette
Thu, Jan 8, 2015 11:10 PM

hi,

i'm running 2014.03 and learning polyhedron/face mapping, and i'm seeing

"Error !!!!!!!!!!!!!!!!!!!!!!!" (five times thus far; prev execution yielded
ten times)

on the bash session from whence i have launched openscad.

i'm sure i'm doing something incredibly stupid with my polyhedron/faces, but
openscad has already unexpectedly closed once, and i'd like to get this
drawing completed.

when i got the openscad unexpected shutdown, i spied these messaegs on my
bash session:

openscad: ../openscad_deps/include/boost/smart_ptr/shared_ptr.hpp:653:
typename boost::detail::sp_member_access<T>::type
boost::shared_ptr<T>::operator->() const [with T =
CGAL::Nef_polyhedron_3CGAL::Cartesian&lt;CGAL::Gmpq >; typename
boost::detail::sp_member_access<T>::type =
CGAL::Nef_polyhedron_3CGAL::Cartesian&lt;CGAL::Gmpq >*]: Assertion `px !=
0' failed.

fwiw, the polyhedron is a pentagram with five faces.  here's my definition
(please don't laugh!):

polyhedron
(points = [
[0, 10, 0],
[4, -7,  0],
[-4, -7, 0],
[-10, 0, 0],
[0, 0, 20]
],
faces = [
[0,1,5],
[1,2,5],
[2,3,5],
[3,4,5],
[4,0,5]
]
);

i then realized i was missing a point, so i went back and fixed that:

polyhedron
(points = [
[  0, 10,  0],
[ 10,  2,  0],
[  4, -7,  0],
[ -4, -7,  0],
[-10,  2,  0],
[  0,  0, 20]
],
faces = [
[0,1,5],
[1,2,5],
[2,3,5],
[3,4,5],
[4,0,5]
]
);

the drawing does in fact draw correctly now (i've fixed the bugs that caused
"no generation"), and the problem seems to have gone away.

as "Error !!!" is a type of debugging message, i thought i'd report it.

thanks for such a great product!
yvette

--
View this message in context: http://forum.openscad.org/Error-tp10966.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

hi, i'm running 2014.03 and learning polyhedron/face mapping, and i'm seeing "Error !!!!!!!!!!!!!!!!!!!!!!!" (five times thus far; prev execution yielded ten times) on the bash session from whence i have launched openscad. i'm sure i'm doing something incredibly stupid with my polyhedron/faces, but openscad has already unexpectedly closed once, and i'd like to get this drawing completed. when i got the openscad unexpected shutdown, i spied these messaegs on my bash session: openscad: ../openscad_deps/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = CGAL::Nef_polyhedron_3<CGAL::Cartesian&lt;CGAL::Gmpq> >; typename boost::detail::sp_member_access<T>::type = CGAL::Nef_polyhedron_3<CGAL::Cartesian&lt;CGAL::Gmpq> >*]: Assertion `px != 0' failed. fwiw, the polyhedron is a pentagram with five faces. here's my definition (please don't laugh!): polyhedron (points = [ [0, 10, 0], [4, -7, 0], [-4, -7, 0], [-10, 0, 0], [0, 0, 20] ], faces = [ [0,1,5], [1,2,5], [2,3,5], [3,4,5], [4,0,5] ] ); i then realized i was missing a point, so i went back and fixed that: polyhedron (points = [ [ 0, 10, 0], [ 10, 2, 0], [ 4, -7, 0], [ -4, -7, 0], [-10, 2, 0], [ 0, 0, 20] ], faces = [ [0,1,5], [1,2,5], [2,3,5], [3,4,5], [4,0,5] ] ); the drawing does in fact draw correctly now (i've fixed the bugs that caused "no generation"), and the problem seems to have gone away. as "Error !!!" is a type of debugging message, i thought i'd report it. thanks for such a great product! yvette -- View this message in context: http://forum.openscad.org/Error-tp10966.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Thu, Jan 8, 2015 11:22 PM

On Jan 8, 2015, at 18:10 PM, yvette yvette@dbtgroup.com wrote:

"Error !!!!!!!!!!!!!!!!!!!!!!!" (five times thus far; prev execution yielded
ten times)

This message comes from an external library (CGAL) which sometimes likes to spew out error message to the console.
It usually means that the data is somehow invalid. Instead of analyzing the data, we let CGAL handle it.
If you experience an actual crash, please try with the latest development snapshot.  A lot has happened since 2014.03..

-Marius

On Jan 8, 2015, at 18:10 PM, yvette <yvette@dbtgroup.com> wrote: > "Error !!!!!!!!!!!!!!!!!!!!!!!" (five times thus far; prev execution yielded > ten times) > This message comes from an external library (CGAL) which sometimes likes to spew out error message to the console. It usually means that the data is somehow invalid. Instead of analyzing the data, we let CGAL handle it. If you experience an actual crash, please try with the latest development snapshot. A lot has happened since 2014.03.. -Marius
YS
Yvette S. Hirth, CCP, CDP
Thu, Jan 8, 2015 11:31 PM

On 01/08/2015 03:22 PM, Marius Kintel wrote:

If you experience an actual crash, please try with the latest development snapshot.  A lot has happened since 2014.03..

Marius:

THANK YOU for writing this.

i'm happy to try the latest and greatest - i'm just "not there" yet wrt
my input specs.

thanks again!
yvette

On 01/08/2015 03:22 PM, Marius Kintel wrote: > If you experience an actual crash, please try with the latest development snapshot. A lot has happened since 2014.03.. Marius: THANK YOU for writing this. i'm happy to try the latest and greatest - i'm just "not there" yet wrt my input specs. thanks again! yvette