Common Issues in using Open CASCADE

Running Open CASCADE

64-bit machines

In order to use OCC on 64bit machines, you have to use compiler flag '''_OCC64'''


Using Open CASCADE

index range

Open CASCADE is using Fortran index ranges of [1,N] instead of the typical C/C++ approach [0,N-1] (to access random access containers for example).

edge orientation

Some parts of Open CASCADE ignore edge orientation. For example, BRepAdaptor_Curve does. There's an article, collecting which edge-oriented classes of Open CASCADE respect and which ignore orientation.