Close

BREP testing framework and 73 unit test for BREP boolean operations

A project log for jsketcher

Parametric 2D and 3D modeler written in pure javascript

val-erastovVal Erastov 10/12/2017 at 06:210 Comments

After my first implementation of BREP boolean algorithm I started running into the corner cases like coincident vertices/edges/surfaces and etc. 

It was a time to create a testing framework  for BREP sub-system to track the regressions and to test the quality of the boolean algorithm on the crazy data.

Here is the view of my testing framework. I have creates 73 automated  tests for brep boolean so far:

Here are some examples of the corner case. All these objects are created by applying the boolean operations on a box.

Discussions