1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:16:27 +02:00
CAE Tools, Small tools to assist Computer-Aided Engineering http://projects.qi-hardware.com/index.php/p/cae-tools/
Go to file
Werner Almesberger 53fe70950d poly2d/: try to work around spurious aborts in CGAL::create_interior_skeleton_and_offset_polygons_with_holes_2
cameo encountered spurious aborts with the following message:

  terminate called after throwing an instance of 'CGAL::Precondition_exception
  what():  CGAL ERROR: precondition violation!
  Expr: is_simple_2(first, last, traits)
  File: /usr/include/CGAL/Polygon_2/Polygon_2_algorithms_impl.h
  Line: 420

These aborts come and go even if just the coordinate origin is slightly
changed. Setting CGAL_POLYGON_NO_PRECONDITIONS in p2d_area_holes.cpp
made them go away in some cases, but cameo could still run into an
assertion violation (in CGAL).

We now check all the polygons, outer boundary and holes, being sent to
CGAL::create_interior_skeleton_and_offset_polygons_with_holes_2 for
simplicity, and stop recursing if there is any hint of a problem.

This seems to avoid trouble for now, but the issue deserves further
investigation.
2012-08-22 13:50:19 -03:00
cameo cameo/: experimental command "outside" to detect real outer borders 2012-06-12 15:23:01 -03:00
cngt cngt/cngt.c: added small steps (default) and long steps (with shift) 2011-08-31 17:21:59 -03:00
dxf2x dxf2x/dxf2gp: simple DXF to Gnuplot converter 2011-12-15 16:24:14 -03:00
gp2rml gp2rml: properly calculate pen down time 2012-03-21 01:15:05 -03:00
poly2d poly2d/: try to work around spurious aborts in CGAL::create_interior_skeleton_and_offset_polygons_with_holes_2 2012-08-22 13:50:19 -03:00
ptrude ptrude/: many major math fixes, especially in stretch_path 2011-07-31 19:17:05 -03:00
solidify Added the license (GPLv2+) 2010-09-29 13:56:50 -03:00
spool spool: support jobs with more than one file 2012-03-21 16:57:05 -03:00