Skip to content

Commit 1dc285b

Browse files
authored
Merge pull request #40 from petrasvestartas/reduce_build_size
REMOVE reconstruction and 2d skeleton.
2 parents 1e7dc67 + 9c73ed0 commit 1dc285b

21 files changed

+16
-1696
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3737
### Removed
3838

3939
* Remove unnecessary headers from `compas_cgal.h`.
40+
* Remove `reconstruction.h` and `reconstruction.cpp`.
41+
* Remove `straight_skeleton_2.h` and `straight_skeleton_2.cpp`.
4042

4143

4244
## [0.7.3] 2025-03-18

CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ set(CMAKE_CXX_FLAGS_DEBUG "")
1313
# =====================================================================
1414
option(ENABLE_PRECOMPILED_HEADERS "Enable precompiled headers for the build" OFF)
1515

16+
17+
# =====================================================================
18+
# Set maximum heap size for MSVC
19+
# =====================================================================
20+
21+
if(MSVC)
22+
set(CMAKE_GENERATOR_PLATFORM x64)
23+
add_compile_options(/Zm1200)
24+
endif()
25+
1626
# =====================================================================
1727
# Build size reduction.
1828
# =====================================================================

docs/api.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ API Reference
99
api/compas_cgal.intersections
1010
api/compas_cgal.measure
1111
api/compas_cgal.meshing
12-
api/compas_cgal.reconstruction
1312
api/compas_cgal.slicer
1413
api/compas_cgal.skeletonization
15-
api/compas_cgal.straight_skeleton_2
1614
api/compas_cgal.subdivision
1715
api/compas_cgal.triangulation
1816
api/compas_cgal.types

docs/api/compas_cgal.reconstruction.rst

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/api/compas_cgal.straight_skeleton_2.rst

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/compas_cgal.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ void init_meshing(nb::module_ &);
66
void init_measure(nb::module_ &);
77
void init_booleans(nb::module_ &);
88
void init_intersections(nb::module_ &);
9-
void init_reconstruction(nb::module_ &);
9+
// void init_reconstruction(nb::module_ &);
1010
void init_skeletonization(nb::module_ &);
1111
void init_slicer(nb::module_ &);
1212
void init_subdivision(nb::module_ &);
1313
void init_triangulation(nb::module_ &);
14-
void init_straight_skeleton_2(nb::module_ &);
14+
// void init_straight_skeleton_2(nb::module_ &);
1515

1616
/**
1717
* @brief Module initialization function for COMPAS CGAL extension
@@ -47,7 +47,7 @@ NB_MODULE(compas_cgal_ext, m) {
4747
nb::bind_vector<std::vector<compas::RowMatrixXd>>(m, "VectorRowMatrixXd"); // Be aware that both Pybind11 and Nanobind makes copy for vectors
4848
init_intersections(m);
4949

50-
init_reconstruction(m);
50+
// init_reconstruction(m);
5151

5252
init_skeletonization(m);
5353

@@ -59,5 +59,5 @@ NB_MODULE(compas_cgal_ext, m) {
5959

6060
init_triangulation(m);
6161

62-
init_straight_skeleton_2(m);
62+
// init_straight_skeleton_2(m);
6363
}

src/compas_cgal/reconstruction.py

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)