mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Change file extension
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include <iomanip>
|
||||
|
||||
|
||||
const H5std_string FILE_NAME("output_file2.hdf5");
|
||||
const H5std_string FILE_NAME("output_file.h5");
|
||||
|
||||
|
||||
HdfSerializer::HdfSerializer(const std::string& obj_filename, const std::string& mtl_filename, const SerializerSettings& settings)
|
||||
@@ -42,8 +42,6 @@ HdfSerializer::HdfSerializer(const std::string& obj_filename, const std::string&
|
||||
, file(FILE_NAME, H5F_ACC_TRUNC)
|
||||
|
||||
|
||||
|
||||
|
||||
{
|
||||
obj_stream << std::setprecision(settings.precision);
|
||||
mtl_stream << std::setprecision(settings.precision);
|
||||
@@ -101,8 +99,6 @@ void HdfSerializer::writeMaterial(const IfcGeom::Material& style)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void HdfSerializer::write(const IfcGeom::TriangulationElement<real_t>* o){
|
||||
|
||||
std::string guid = o->guid();
|
||||
@@ -157,21 +153,6 @@ void HdfSerializer::write(const IfcGeom::TriangulationElement<real_t>* o){
|
||||
dataset.write(data_container.data(), H5::PredType::NATIVE_DOUBLE);
|
||||
data_container.clear();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user