[OpenSCAD] A bug with rendering a solid

Marius Kintel marius at kintel.net
Fri Sep 2 17:54:22 CEST 2011


Hi,

Thanks for the report.

The error message is a bit misleading. The problem in this case is that the underlying geometry engine (CGAL) is extremely picky when it comes to polygons. All polygons must be exactly planar. In your case, there are minor deviations from planarity, which is detected by CGAL (using an exact number representation). One workaround for this is to always specify triangles, as they are guaranteed to be planar.

I'll take note on improving this.

I've attached your file converted to triangles.

 -Marius

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dodec2.scad
Type: application/octet-stream
Size: 1070 bytes
Desc: not available
Url : http://rocklinux.net/pipermail/openscad/attachments/20110902/59c9721e/dodec2.obj
-------------- next part --------------




More information about the OpenSCAD mailing list