mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
Do let cgal handle planar adv brep #4915
This commit is contained in:
@@ -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) {
|
bool CgalKernel::convert(const taxonomy::shell::ptr l, cgal_shape_t& shape) {
|
||||||
for (auto& f : l->children) {
|
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");
|
Logger::Error("Non-planar faces not supported at the moment");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user