Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Building polyhedra.

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Building polyhedra.


Chronological Thread 
  • From: Noel Warren <>
  • To:
  • Subject: [cgal-discuss] Re: Building polyhedra.
  • Date: Sun, 9 Dec 2012 12:03:18 +0100

Upon closer inspection of the documentation, which I should have done *before* sending my previous email, I have realised the Wavefront Advanced Visualiser Object Format supports just what I was looking for and I believe I am right in saying I can use it to create my polyhedra in CGAL.  Am I right?

Sorry for the waste of bandwidth.


2012/12/9 Noel Warren <>
I need to import a series of models from Sketchup into CGAL.  Up to now I've been using the Sketchup API and a simple little script to triangulate faces which I then use to create an OFF file and build my CGAL Polyhedron.  The problem is the Sketchup API uses floats and ocasionally creates degenerate OFF files.  (This usually happens when I have two rectangular holes on a face that are closely lined up)

The Sketchup model uses a structure very similar to that of CGAL with half_facets, half_edges, loops, etc.  My question is, could I construct a Polyhedron from this type of data structure directly?  If so how would I go about doing so.

Thanks.




Archive powered by MHonArc 2.6.18.

Top of Page