mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 19:52:36 +00:00
Cleaning
This commit is contained in:
@@ -82,8 +82,7 @@ HdfSerializer::HdfSerializer(const std::string& hdf_filename, const SerializerSe
|
|||||||
|
|
||||||
|
|
||||||
bool HdfSerializer::ready() {
|
bool HdfSerializer::ready() {
|
||||||
|
//todo: check whether the file exists
|
||||||
//return obj_stream.is_open() && mtl_stream.is_open();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -97,9 +96,6 @@ void HdfSerializer::writeHeader() {
|
|||||||
void HdfSerializer::write(const IfcGeom::BRepElement<real_t>* o) {
|
void HdfSerializer::write(const IfcGeom::BRepElement<real_t>* o) {
|
||||||
|
|
||||||
std::string guid = o->guid();
|
std::string guid = o->guid();
|
||||||
//Logger::Status(guid);
|
|
||||||
//Logger::Status(o->context());
|
|
||||||
//Logger::Status("\n");
|
|
||||||
|
|
||||||
H5::Group elementGroup;
|
H5::Group elementGroup;
|
||||||
|
|
||||||
@@ -136,7 +132,6 @@ void HdfSerializer::write(const IfcGeom::BRepElement<real_t>* o) {
|
|||||||
H5::Attribute att = elementGroup.createAttribute("IFC entity type", str_type, attrdspace);
|
H5::Attribute att = elementGroup.createAttribute("IFC entity type", str_type, attrdspace);
|
||||||
att.write(str_type, value);
|
att.write(str_type, value);
|
||||||
|
|
||||||
|
|
||||||
const int RANK = 2;
|
const int RANK = 2;
|
||||||
hsize_t dimsf[2];
|
hsize_t dimsf[2];
|
||||||
dimsf[0] = vcount;
|
dimsf[0] = vcount;
|
||||||
|
|||||||
Reference in New Issue
Block a user