#include "vde/brep/brep.h" #include "vde/brep/modeling.h" #include "vde/foundation/io_collada.h" #include int main() { auto b = vde::brep::make_box(10,10,10); std::cout << "faces: " << b.num_faces() << std::endl; std::vector bodies = {b}; std::cout << "export..." << std::endl; bool ok = vde::foundation::export_collada(bodies, "/tmp/test.dae"); std::cout << "export=" << ok << std::endl; auto r = vde::foundation::import_collada("/tmp/test.dae"); std::cout << "import=" << r.size() << std::endl; }