@ifc-lite/bcf 1.16.0 → 1.16.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 +11 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -16,11 +16,11 @@ import { readBCF } from '@ifc-lite/bcf';
16
16
  const buffer = await fetch('coordination.bcf').then(r => r.arrayBuffer());
17
17
  const project = await readBCF(buffer);
18
18
 
19
- console.log(`${project.topics.length} topics, version ${project.version}`);
19
+ console.log(`${project.topics.size} topics, version ${project.version}`);
20
20
 
21
- for (const topic of project.topics) {
21
+ for (const topic of project.topics.values()) {
22
22
  console.log(`[${topic.priority}] ${topic.title}`);
23
- console.log(` by ${topic.author}, status: ${topic.status}`);
23
+ console.log(` by ${topic.creationAuthor}, status: ${topic.topicStatus}`);
24
24
  console.log(` ${topic.comments.length} comments, ${topic.viewpoints.length} viewpoints`);
25
25
  }
26
26
  ```
@@ -39,9 +39,9 @@ const topic = createBCFTopic({
39
39
  title: 'Missing fire rating on east-facade walls',
40
40
  author: 'reviewer@example.com',
41
41
  priority: 'High',
42
- status: 'Open',
42
+ topicStatus: 'Open',
43
43
  topicType: 'Issue',
44
- description: 'Walls on grid F1–F6 have no Pset_WallCommon.FireRating set.',
44
+ description: 'Walls on grid F1-F6 have no Pset_WallCommon.FireRating set.',
45
45
  });
46
46
 
47
47
  addTopicToProject(project, topic);
@@ -86,6 +86,12 @@ const back = uuidToIfcGuid(uuid);
86
86
  // → '1abc2def3GhI4jKlM5nOpQ'
87
87
  ```
88
88
 
89
+ ## Also included
90
+
91
+ - `createBCFFromIDSReport` - turn an IDS validation report into a BCF file, one topic per failing spec
92
+ - `computeMarkerPositions` + `BCFOverlayRenderer` - viewer-agnostic 3D topic markers for any renderer
93
+ - Camera round-trip helpers (`cameraToPerspective`, `orthogonalToCamera`, ...) and section-plane conversion
94
+
89
95
  ## API
90
96
 
91
97
  See the [BCF Guide](https://ltplus-ag.github.io/ifc-lite/guide/bcf/) and [API Reference](https://ltplus-ag.github.io/ifc-lite/api/typescript/#ifc-litebcf).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifc-lite/bcf",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "BIM Collaboration Format (BCF) support for IFC-Lite",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "jszip": "^3.10.0",
17
- "@ifc-lite/encoding": "^1.14.8"
17
+ "@ifc-lite/encoding": "^1.14.9"
18
18
  },
19
19
  "devDependencies": {
20
20
  "typescript": "^6.0.3",