Do let cgal handle planar adv brep #4915

This commit is contained in:
Thomas Krijnen
2024-09-24 08:54:52 +02:00
parent 4bee80edc5
commit 2557fcf628
+1 -1
View File
@@ -154,7 +154,7 @@ CGAL::Nef_polyhedron_3<Kernel_> ifcopenshell::geometry::utils::create_nef_polyhe
bool CgalKernel::convert(const taxonomy::shell::ptr l, cgal_shape_t& shape) {
for (auto& f : l->children) {
if (f->basis) {
if (f->basis && f->basis->kind() != taxonomy::PLANE) {
Logger::Error("Non-planar faces not supported at the moment");
return false;
}