mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
Vibe code an implementation that uses manifold
This commit is contained in:
@@ -277,6 +277,9 @@ int main(int argc, char** argv) {
|
||||
std::string offset_str, rotation_str;
|
||||
|
||||
std::string default_kernel;
|
||||
#ifdef IFOPSH_WITH_MANIFOLD
|
||||
default_kernel = "manifold";
|
||||
#endif
|
||||
#ifdef IFOPSH_WITH_CGAL
|
||||
default_kernel = "cgal";
|
||||
#endif
|
||||
@@ -292,7 +295,7 @@ int main(int argc, char** argv) {
|
||||
po::options_description geom_options("Geometry options");
|
||||
geom_options.add_options()
|
||||
("kernel", po::value<std::string>(&geometry_kernel)->default_value(default_kernel),
|
||||
"Geometry kernel to use (opencascade, cgal, cgal-simple, hybrid-cgal-simple-opencascade).")
|
||||
"Geometry kernel to use (opencascade, cgal, cgal-simple, manifold, hybrid-cgal-simple-opencascade).")
|
||||
("threads,j", po::value<int>(&num_threads)->default_value(1),
|
||||
"Number of parallel processing threads for geometry interpretation.")
|
||||
("center-model",
|
||||
|
||||
Reference in New Issue
Block a user