CSG.js

Source code: http://github.com/code4fukui/CSG.js/
Documentation: http://code4fukui.github.io/CSG.js/tests/
forked from: evanw/csg.js

Gourd Test Cases

These tests involve a model that isn't convex.

gourd.union(cyl)
gourd.intersect(cyl)
gourd.subtract(cyl)
cyl.subtract(gourd)

Repeated Plane Test Cases

These tests cover some cases where identical but opposite planes occur in the same solid.

a
b
b.subtract(b).union(a)
a.subtract(b).union(b).subtract(b)
b.inverse().union(a)
b.subtract(b).union(a).subtract(b)