carve icon indicating copy to clipboard operation
carve copied to clipboard

Example test_carve_polyhedrons_2 crashed

Open GoogleCodeExporter opened this issue 10 years ago • 2 comments

What steps will reproduce the problem?
1. Create the project for VS2010 in windows 7 64 bit machine by CMake 2.8.9.  
2. Used boost_1_54_0 and /MT in CMAKE option.
3. Unselected 'BUILD_SHARED_LIBS'. 
4. 

What is the expected output? What do you see instead?
I don't know what is the expected output.

The program crashed and the following error message outputted:
WARNING! <0,0,0>==<0,0,1.0230769175768134e-008>
FACE LOOP ERROR: 0000000000AE3A10-0000000000EC0080 : 1
FACE LOOP ERROR: 0000000000AE3A60-0000000000EC00A8 : 1
FACE LOOP ERROR: 0000000000AE3A10-0000000000EC00A8 : -1
FACE LOOP ERROR: 0000000000AE3A38-0000000000EC0080 : -1
FACE LOOP ERROR: 0000000000AE3A38-0000000000AE3A60 : 1

What version of the product are you using? On what operating system?
Create the project for VS2010 in windows 7 64 bit machine by CMake 2.8.9.  

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Apr 2014 at 8:40

GoogleCodeExporter avatar Dec 12 '15 18:12 GoogleCodeExporter

Sorry, I didn't find the latest version has already fixed this bug. Now the 
problem is that how to output the result to OFF file (I don't know how to pick 
up the vertices and facets information from the result). Could anyone help me 
to write a output function?

Thanks,
Tang Laoya



void write_off(carve::mesh::MeshSet<3> *poly,char *file)
{
/// how to write this function to pick up the vertices and facets information 
from poly?
}


int main()
{
...
  carve::mesh::MeshSet<3> *is_poly = carve::csg::CSG().compute(&poly1,
                                                               &poly2,
                                                               carve::csg::CSG::A_MINUS_B);
    file="E:\\Users\\tang\\tang\\mesh\\CSG\\carve-clone\\mytest\\a3.off";
    write_off(is_poly,file);
...
}

Original comment by [email protected] on 16 Apr 2014 at 5:13

GoogleCodeExporter avatar Dec 12 '15 18:12 GoogleCodeExporter

Problem solved after got latest version. 
Thanks

Original comment by [email protected] on 17 Apr 2014 at 5:07

GoogleCodeExporter avatar Dec 12 '15 18:12 GoogleCodeExporter