Merge remote-tracking branch 'origin/v0.8.0' into ifcviewer-wgpu

This commit is contained in:
Thomas Krijnen
2026-07-09 13:21:39 +02:00
373 changed files with 22411 additions and 4242 deletions
+3 -3
View File
@@ -861,7 +861,7 @@ std::optional<function_item::ptr> ifcopenshell::geometry::taxonomy::loop_to_func
spans.emplace_back(taxonomy::make<taxonomy::functor_item>(l, fn));
} else if (edge_->start.index() == 1 && edge_->end.index() == 1) {
if (edge_->basis && edge_->basis->kind() != LINE) {
logger::message(logger::Severity::LOG_WARNING, "Basis curve not supported - edge is treated as a straight line edge");
Logger::Root().Message(Logger::Severity::LOG_WARNING, "UNS", 20, "Basis curve not supported - edge is treated as a straight line edge");
}
const auto& s = std::get<point3::ptr>(edge_->start)->ccomponents();
const auto& e = std::get<point3::ptr>(edge_->end)->ccomponents();
@@ -876,8 +876,8 @@ std::optional<function_item::ptr> ifcopenshell::geometry::taxonomy::loop_to_func
};
spans.emplace_back(taxonomy::make<taxonomy::functor_item>(l, fn));
} else {
logger::message(logger::Severity::LOG_ERROR, "Basis curve not supported");
return std::nullopt;
Logger::Root().Message(Logger::Severity::LOG_ERROR, "UNS", 21, "Basis curve not supported");
return boost::none;
}
}
fi_ = make<piecewise_function>(0.0,spans);