From 2cfe74ce098759a8891850b84981b910ccac7951 Mon Sep 17 00:00:00 2001 From: Otso Alho Date: Fri, 24 May 2019 14:57:29 +0300 Subject: [PATCH 1/3] reverse styles also when reversing surfaces --- src/ifcgeom/IfcGeomFunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index fca7f24af8..0c20ec98aa 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -2027,6 +2027,7 @@ bool IfcGeom::Kernel::convert_layerset(const IfcSchema::IfcProduct* product, std } if (positive) { + std::reverse(styles.begin(), styles.end()); std::reverse(surfaces.begin(), surfaces.end()); } From 19ed074b4a0c97aae8e8c8ea0daa6dc7b92a05b7 Mon Sep 17 00:00:00 2001 From: Otso Alho Date: Thu, 6 Jun 2019 09:09:36 +0300 Subject: [PATCH 2/3] inverse thicknesses --- src/ifcgeom/IfcGeomFunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 0c20ec98aa..de263b3755 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -2027,6 +2027,7 @@ bool IfcGeom::Kernel::convert_layerset(const IfcSchema::IfcProduct* product, std } if (positive) { + std::reverse(thicknesses.begin(), thicknesses.end()); std::reverse(styles.begin(), styles.end()); std::reverse(surfaces.begin(), surfaces.end()); } From 491dc57098b919135c5984a0084265291af8c77a Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 14 Jun 2019 10:00:42 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 122b40c7af..59c3289221 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ IfcOpenShell ============ IfcOpenShell is an open source ([LGPL]) software library for working with the Industry Foundation Classes ([IFC]) -file format. Currently supported IFC releases are [IFC2x3 TC1] and [IFC4 Add1]. +file format. Currently supported IFC releases are [IFC2x3 TC1] and [IFC4 Add2 TC1]. For more information, see * [http://ifcopenshell.org](http://ifcopenshell.org)