Weirdness with both December release and current git head

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Weirdness with both December release and current git head

Alan Cox
64bit Linux

Importing an STL file and rendering it leads to

import_stl("/home/alan/chassis.stl");

Compilation finished.
Rendering Polygon Mesh using CGAL...
CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation!
Expr: pe_prev->is_border()
|| !internal::Plane_constructor<Plane>::get_plane(pe_prev->facet(),pe_prev->facet()->plane()).is_degenerate()
File: /usr/include/CGAL/Nef_3/polyhedron_3_to_nef_3.h Line: 252

tested with various STL inputs such as extrusions from BRLcad and output
from OpenSCAD itself. It's doing this even with stuff that Shapeways
accepted for input.

Otherwise apart from the fact opencsg won't give any output (blank
window) but is found at build time it seems to be behaving.

Alan

Reply | Threaded
Open this post in threaded view
|

Re: Weirdness with both December release and current git head

kintel
Administrator
Alan,

Thanks for the report.

This sounds like an occurrence of this issue:
https://github.com/openscad/openscad/issues/13

It's annoying but is pretty high up on the list of things do deal with.
If you subscribe to that issue, you'll be notified when something happens.

 -Marius

On Jan 23, 2012, at 17:43 PM, Alan Cox wrote:

> 64bit Linux
>
> Importing an STL file and rendering it leads to
>
> import_stl("/home/alan/chassis.stl");
>
> Compilation finished.
> Rendering Polygon Mesh using CGAL...
> CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation!
> Expr: pe_prev->is_border()
> || !internal::Plane_constructor<Plane>::get_plane(pe_prev->facet(),pe_prev->facet()->plane()).is_degenerate()
> File: /usr/include/CGAL/Nef_3/polyhedron_3_to_nef_3.h Line: 252
>
> tested with various STL inputs such as extrusions from BRLcad and output
> from OpenSCAD itself. It's doing this even with stuff that Shapeways
> accepted for input.
>
> Otherwise apart from the fact opencsg won't give any output (blank
> window) but is found at build time it seems to be behaving.
>
> Alan
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad


Reply | Threaded
Open this post in threaded view
|

Re: Weirdness with both December release and current git head

Alan Cox
On Mon, 23 Jan 2012 18:24:49 +0100
Marius Kintel <[hidden email]> wrote:

> Alan,
>
> Thanks for the report.
>
> This sounds like an occurrence of this issue:
> https://github.com/openscad/openscad/issues/13
>
> It's annoying but is pretty high up on the list of things do deal with.
> If you subscribe to that issue, you'll be notified when something happens.

Certainly fits as I have small triangles.

Alan