Tue, 12/12/2023 - 05:46
I use these code to read .brep, but it can work.
TopoDS_Shape shape_Brep;
BRep_Builder builder_Brep;
std::string filename = "./data/Cir_Rect_int.brep";
bool result = BRepTools::Read(shape_Brep, filename.c_str(), builder_Brep);
VS shows that result is false, and shape_Brep is null.
Tue, 12/12/2023 - 12:40
Hello, your relative path depends on binary folder. Please use absolute path.
Best regards, Dmitrii