@ifc-lite/ifcx 2.2.0 → 2.2.1

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -21,6 +21,8 @@ const result = await parseIfcx(buffer, {
21
21
 
22
22
  console.log(`${result.entityCount} entities, ${result.meshes.length} pre-tessellated meshes`);
23
23
  console.log(`Schema: ${result.schemaVersion}`); // 'IFC5'
24
+ // result also carries properties, quantities, relationships, spatial
25
+ // hierarchy, and decoded point clouds (result.pointClouds)
24
26
 
25
27
  // Same MeshData[] shape as @ifc-lite/parser — feed straight into renderer
26
28
  renderer.loadGeometry(result.meshes);
@@ -60,7 +62,7 @@ const result = await parseFederatedIfcx([
60
62
 
61
63
  ## Write IFCX
62
64
 
63
- The package's writer ships with `@ifc-lite/export` as `Ifc5Exporter`. See the [Export package](../export/README.md) for the full write path. Quick example:
65
+ The low-level writer (`IfcxWriter` / `exportToIfcx`) lives in this package. For the full IFC-to-IFC5 conversion path (cross-schema, geometry as USD, mutations applied), use `Ifc5Exporter` from `@ifc-lite/export`:
64
66
 
65
67
  ```typescript
66
68
  import { Ifc5Exporter } from '@ifc-lite/export';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifc-lite/ifcx",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "IFC5 (IFCX) parser for IFC-Lite",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,9 +13,9 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@ifc-lite/data": "^2.5.0",
16
+ "@ifc-lite/data": "^2.5.1",
17
17
  "@ifc-lite/mutations": "^1.18.0",
18
- "@ifc-lite/pointcloud": "^0.3.3"
18
+ "@ifc-lite/pointcloud": "^0.3.4"
19
19
  },
20
20
  "devDependencies": {
21
21
  "tsx": "^4.23.0",