Need of C/C++ simple example for OpenCascade Programming

Hello

I am using FreeCAD source file to learn about FreeCAD. There In the AppPartpy.cpp File i saw a function name Makebox(). In that function,
BRepPrimAPI_MakeBox mkBox(gp_Ax2(p,d), length, width, height);
TopoDS_Shape ResultShape = mkBox.Shape();

Do anyone have full example with all the header files and libraries needed so that atleast I can start programming in Opencascade like MAKE A BOX type. I am using windows to compile files.

Thanks for your kind help
Shawon Hoque

michelwijnja_165292's picture

At github there is Jellycad. This is a nice place to start !