I'm trying to use the BRepTools::Dump function to display info about some shapes during debugging. Unfortunately, the program always crashes at the line of code with Dump. I'm basically using the Bottle tutorial without MFC, which I've adapted to my needs.
I've searched for an answer on the forum, but found a lot of contradictory information.
- for some people it works without any problems (clearly not the case here).
- some suggested that I should compile the program in the "Release" configuration. I did that, but now the program does not even execute (complains about a missing entry point to some library that seems to be in the Qt distribution).
- some suggested that the OCC libraries should be re-compiled with the debug option. This takes about 9 hours on my machine, so I'd like to get it right from the start.
I know I can use BRepTools::Write(shape, "path\to\file"), but the result is in Brep format which is quite un-friendly to human inspection.
So, what is the way to use the Dump function? What should I re-compile and with what options? Even better, is there some other function or pieces of software that I can use to inspect TopoDS_Shape's?