@mlightcad/cad-simple-viewer-cli 1.6.2 → 1.7.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.
@@ -0,0 +1,13 @@
1
+ ; Export a multi-file ACEX package as a zip (-chtml Multi).
2
+ ; Unzip before hosting so the offline viewer can fetch chunks progressively.
3
+ ; Prompts: export format / export invisible layers / export layouts /
4
+ ; initial view / viewer mode.
5
+ ; Usage:
6
+ ; cad-simple-viewer-cli -i drawing.dwg -s examples/export-html-multi.scr -o ./out
7
+ -chtml
8
+ Multi
9
+ Yes
10
+ Yes
11
+ Extents
12
+ Measure
13
+ quit
@@ -1,8 +1,10 @@
1
1
  ; Export a self-contained offline HTML viewer (-chtml).
2
- ; Prompts: export invisible layers / export layouts / initial view / viewer mode.
2
+ ; Prompts: export format / export invisible layers / export layouts /
3
+ ; initial view / viewer mode.
3
4
  ; Usage:
4
5
  ; cad-simple-viewer-cli -i drawing.dwg -s examples/export-html.scr -o ./out
5
6
  -chtml
7
+ Single
6
8
  Yes
7
9
  Yes
8
10
  Extents
@@ -47,6 +47,15 @@
47
47
  "inputKind": "file",
48
48
  "runnable": true
49
49
  },
50
+ {
51
+ "id": "export-html-multi",
52
+ "title": "Export HTML (multi-file)",
53
+ "description": "Export a multi-file ACEX package zip for progressive loading (-chtml Multi).",
54
+ "script": "export-html-multi.scr",
55
+ "mode": "read",
56
+ "inputKind": "file",
57
+ "runnable": true
58
+ },
50
59
  {
51
60
  "id": "export-dxf",
52
61
  "title": "Export DXF",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/cad-simple-viewer-cli",
3
- "version": "1.6.2",
3
+ "version": "1.7.0",
4
4
  "description": "AcCoreConsole-style headless CLI: run .scr command scripts against DXF/DWG drawings",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -42,15 +42,15 @@
42
42
  "script"
43
43
  ],
44
44
  "dependencies": {
45
- "@mlightcad/data-model": "^1.14.1",
46
- "@mlightcad/libredwg-converter": "^3.14.1",
47
- "@mlightcad/mtext-renderer": "^0.12.4",
45
+ "@mlightcad/data-model": "^1.14.5",
46
+ "@mlightcad/libredwg-converter": "^3.14.5",
47
+ "@mlightcad/mtext-renderer": "^0.12.7",
48
48
  "commander": "^12.1.0",
49
49
  "playwright": "^1.49.1",
50
- "@mlightcad/cad-html-plugin": "1.6.2",
51
- "@mlightcad/cad-simple-viewer": "1.6.2",
52
- "@mlightcad/cad-pdf-plugin": "1.6.2",
53
- "@mlightcad/cad-svg-plugin": "1.6.2"
50
+ "@mlightcad/cad-html-plugin": "1.7.0",
51
+ "@mlightcad/cad-svg-plugin": "1.7.0",
52
+ "@mlightcad/cad-simple-viewer": "1.7.0",
53
+ "@mlightcad/cad-pdf-plugin": "1.7.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/node": "^20.14.9",