This is for design task T67744, Boolean Redesign. It adds a choice of solver to the Boolean modifier and the Intersect (Boolean) and Intersect (Knife) tools. The 'Fast' choice is the current Bmesh boolean. The new 'Exact' choice is a more advanced algorithm that supports overlapping geometry and uses more robust calculations, but is slower than the Fast choice. The default with this commit is set to 'Exact'. We can decide before the 2.91 release whether or not this is the right choice, but this choice now will get us more testing and feedback on the new code.
48 lines
1.4 KiB
C++
48 lines
1.4 KiB
C++
/*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup bmesh
|
|
*
|
|
* Utility functions that operate directly on the BMesh,
|
|
* These can be used by both Modifiers and BMesh-Operators.
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "tools/bmesh_beautify.h"
|
|
#include "tools/bmesh_bevel.h"
|
|
#include "tools/bmesh_bisect_plane.h"
|
|
#include "tools/bmesh_boolean.h"
|
|
#include "tools/bmesh_decimate.h"
|
|
#include "tools/bmesh_edgenet.h"
|
|
#include "tools/bmesh_edgesplit.h"
|
|
#include "tools/bmesh_path.h"
|
|
#include "tools/bmesh_path_region.h"
|
|
#include "tools/bmesh_path_region_uv.h"
|
|
#include "tools/bmesh_path_uv.h"
|
|
#include "tools/bmesh_region_match.h"
|
|
#include "tools/bmesh_separate.h"
|
|
#include "tools/bmesh_triangulate.h"
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|