Skip to content

Fuzzes your bools for you, so you don't have to.

License

Notifications You must be signed in to change notification settings

QuimMoya/fuzzy-bools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fuzzy-bools

Warning: this is pre-alpha software, awaiting a proper benchmark. There is no guarantee of stability.

Rabbits.

Fuzzy bools is a 3D boolean lib specialized for the CAD boolean domain. Its main use is inside web-ifc, where it solves problems with coplanar surfaces and tolerances that other libraries overlook because they are not relevant to most domains.

Usage

This is a header only lib with two dependencies: glm and cdt, both can be found checked in to this repo under /deps.

The main entry point of the library can be used like this:

#include "fuzzy-bools.h"

fuzzybools::Geometry A;
fuzzybools::Geometry B;

// fill A and B with your geometry data
// An easy way to do this is with Geometry::AddFace()

// subtract A from B
auto result = fuzzybools::Subtract(A, B);

// result now contains a triangulated mesh

About

Fuzzes your bools for you, so you don't have to.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 99.2%
  • CMake 0.8%