@ifc-lite/drawing-2d 1.18.4 → 1.18.6

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 +4 -4
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -74,7 +74,7 @@ import {
74
74
  } from '@ifc-lite/drawing-2d';
75
75
 
76
76
  // Use a built-in preset
77
- const fireSafety = getBuiltInPreset('fire-safety');
77
+ const fireSafety = getBuiltInPreset('preset-fire-safety');
78
78
  const engine = createOverrideEngine(fireSafety?.rules);
79
79
 
80
80
  // Or define custom rules
@@ -98,7 +98,7 @@ const result = engine.applyOverrides({
98
98
  console.log(result.style);
99
99
  ```
100
100
 
101
- Built-in presets: `architectural` (default), `structural`, `mep`, `fire-safety`, `monochrome`. List them via `BUILT_IN_PRESETS` or look one up with `getBuiltInPreset(id)`.
101
+ Built-in presets: `preset-3d-colors` (default), `preset-architectural`, `preset-structural`, `preset-mep`, `preset-fire-safety`, `preset-monochrome`. List them via `BUILT_IN_PRESETS` or look one up with `getBuiltInPreset(id)`.
102
102
 
103
103
  ## Drawing sheets
104
104
 
@@ -124,11 +124,11 @@ import {
124
124
  } from '@ifc-lite/drawing-2d';
125
125
  ```
126
126
 
127
- Each renderer returns SVG fragments that you wrap in your own `<svg>` document — see the [2D Drawings Guide](https://ltplus-ag.github.io/ifc-lite/guide/drawing-2d/) for a worked sheet-composition example.
127
+ Each renderer returns SVG fragments that you wrap in your own `<svg>` document — see the [2D Drawings Guide](https://ifclite.dev/docs/guide/drawing-2d/) for a worked sheet-composition example.
128
128
 
129
129
  ## API
130
130
 
131
- See the [2D Drawings Guide](https://ltplus-ag.github.io/ifc-lite/guide/drawing-2d/) and [API Reference](https://ltplus-ag.github.io/ifc-lite/api/typescript/#ifc-litedrawing-2d).
131
+ See the [2D Drawings Guide](https://ifclite.dev/docs/guide/drawing-2d/) and [API Reference](https://ifclite.dev/docs/api/typescript/#ifc-litedrawing-2d).
132
132
 
133
133
  ## License
134
134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifc-lite/drawing-2d",
3
- "version": "1.18.4",
3
+ "version": "1.18.6",
4
4
  "description": "2D architectural drawing generation from IFC models - section cuts, floor plans, and elevations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,10 +13,10 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@ifc-lite/geometry": "^2.10.0"
16
+ "@ifc-lite/geometry": "^3.1.4"
17
17
  },
18
18
  "devDependencies": {
19
- "@webgpu/types": "^0.1.70",
19
+ "@webgpu/types": "^0.1.71",
20
20
  "typescript": "^6.0.3",
21
21
  "vitest": "^4.1.9"
22
22
  },
@@ -27,7 +27,7 @@
27
27
  "url": "https://github.com/LTplus-AG/ifc-lite.git",
28
28
  "directory": "packages/drawing-2d"
29
29
  },
30
- "homepage": "https://ltplus-ag.github.io/ifc-lite/",
30
+ "homepage": "https://ifclite.dev/docs/",
31
31
  "bugs": "https://github.com/LTplus-AG/ifc-lite/issues",
32
32
  "keywords": [
33
33
  "ifc",