brepjs-bim 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8107,7 +8107,7 @@ function writeTessellation(w, solid, geomSubContextId, _localPlacementId, tolera
8107
8107
  type: web_ifc.IFCTRIANGULATEDFACESET,
8108
8108
  Coordinates: w.ref(pointListId),
8109
8109
  Normals: null,
8110
- Closed: true,
8110
+ Closed: w.mkType(web_ifc.IFCBOOLEAN, true),
8111
8111
  CoordIndex: coordIndex.map((tri) => tri.map((idx) => w.mkType(web_ifc.IFCPOSITIVEINTEGER, idx))),
8112
8112
  PnIndex: null
8113
8113
  });
@@ -8211,7 +8211,7 @@ function writeFacetedBrepFallback(w, geomSubContextId, reason) {
8211
8211
  expressID: faceOuterBoundId,
8212
8212
  type: web_ifc.IFCFACEOUTERBOUND,
8213
8213
  Bound: w.ref(loopId),
8214
- Orientation: true
8214
+ Orientation: w.mkType(web_ifc.IFCBOOLEAN, true)
8215
8215
  });
8216
8216
  const faceId = w.nextId();
8217
8217
  w.writeLine({
@@ -8084,7 +8084,7 @@ function writeTessellation(w, solid, geomSubContextId, _localPlacementId, tolera
8084
8084
  type: WebIFC.IFCTRIANGULATEDFACESET,
8085
8085
  Coordinates: w.ref(pointListId),
8086
8086
  Normals: null,
8087
- Closed: true,
8087
+ Closed: w.mkType(WebIFC.IFCBOOLEAN, true),
8088
8088
  CoordIndex: coordIndex.map((tri) => tri.map((idx) => w.mkType(WebIFC.IFCPOSITIVEINTEGER, idx))),
8089
8089
  PnIndex: null
8090
8090
  });
@@ -8188,7 +8188,7 @@ function writeFacetedBrepFallback(w, geomSubContextId, reason) {
8188
8188
  expressID: faceOuterBoundId,
8189
8189
  type: WebIFC.IFCFACEOUTERBOUND,
8190
8190
  Bound: w.ref(loopId),
8191
- Orientation: true
8191
+ Orientation: w.mkType(WebIFC.IFCBOOLEAN, true)
8192
8192
  });
8193
8193
  const faceId = w.nextId();
8194
8194
  w.writeLine({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs-bim",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "BIM layer for brepjs — IFC4-aligned parametric building elements",
5
5
  "keywords": [
6
6
  "bim",