Commit 322d6484 authored by Christof Metzger-Kraus's avatar Christof Metzger-Kraus
Browse files

adding argument 'normal' to method project-to-plane'

parent 60cb3c5a
......@@ -860,7 +860,10 @@ void MeshGenerator::write(const std::string &fname) {
out << indent << "exportWeb(bgcolor)\n\n";
out << "if (args.project_to_plane):\n";
out << indent << "projectToPlane(args.project_to_plane)";
out << indent << "normal = [0.0, 1.0, 0.0]\n";
out << indent << "if (args.normal):\n";
out << indent << indent << "normal = args.normal\n";
out << indent << "projectToPlane(normal)";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment