@mlightcad/cad-simple-viewer-cli 1.7.8-preview.1 → 1.7.8-preview.3
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.
- package/dist-runner/assets/cad-html-plugin-CUddZiMN.js +1564 -0
- package/dist-runner/assets/{cad-pdf-plugin-BBOPzTrv.js → cad-pdf-plugin-DIs7aCUC.js} +2 -2
- package/dist-runner/assets/{cad-svg-plugin-CXH4E96n.js → cad-svg-plugin-B7UTagM_.js} +5 -5
- package/dist-runner/assets/index-9p3u2GX4.js +7820 -0
- package/dist-runner/index.html +1 -1
- package/dist-runner/viewer-runtime.iife.js +207 -207
- package/dist-runner/workers/libredwg-parser-worker.js +18 -18
- package/examples/export-html-multi-preview.scr +2 -1
- package/examples/export-html-multi.scr +2 -1
- package/examples/export-html.scr +2 -1
- package/package.json +8 -8
- package/dist-runner/assets/cad-html-plugin-sPFUE7nW.js +0 -1564
- package/dist-runner/assets/index-Dvp0LgkP.js +0 -7820
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
; Zoom extents, export a multi-file ACEX package zip (-chtml Multi),
|
|
2
2
|
; then export a JPEG preview of the extents view.
|
|
3
3
|
; Prompts for -chtml: export format / export invisible layers / export layouts /
|
|
4
|
-
; initial view / viewer mode / chunk size MiB / compress chunks.
|
|
4
|
+
; background (Black / White / Space) / initial view / viewer mode / chunk size MiB / compress chunks.
|
|
5
5
|
; Usage:
|
|
6
6
|
; cad-simple-viewer-cli -i drawing.dwg -s examples/export-html-multi-preview.scr -o ./out
|
|
7
7
|
zoom
|
|
@@ -10,6 +10,7 @@ e
|
|
|
10
10
|
Multi
|
|
11
11
|
Yes
|
|
12
12
|
Yes
|
|
13
|
+
Black
|
|
13
14
|
Extents
|
|
14
15
|
Measure
|
|
15
16
|
2
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
; Export a multi-file ACEX package as a zip (-chtml Multi).
|
|
2
2
|
; Unzip before hosting so the offline viewer can fetch chunks progressively.
|
|
3
3
|
; Prompts: export format / export invisible layers / export layouts /
|
|
4
|
-
; initial view / viewer mode / chunk size MiB / compress chunks.
|
|
4
|
+
; background (Black / White / Space) / initial view / viewer mode / chunk size MiB / compress chunks.
|
|
5
5
|
; Usage:
|
|
6
6
|
; cad-simple-viewer-cli -i drawing.dwg -s examples/export-html-multi.scr -o ./out
|
|
7
7
|
-chtml
|
|
8
8
|
Multi
|
|
9
9
|
Yes
|
|
10
10
|
Yes
|
|
11
|
+
Black
|
|
11
12
|
Extents
|
|
12
13
|
Measure
|
|
13
14
|
2
|
package/examples/export-html.scr
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
; Export a self-contained offline HTML viewer (-chtml).
|
|
2
2
|
; Prompts: export format / export invisible layers / export layouts /
|
|
3
|
-
; initial view / viewer mode.
|
|
3
|
+
; background (Black / White / Space) / initial view / viewer mode.
|
|
4
4
|
; Usage:
|
|
5
5
|
; cad-simple-viewer-cli -i drawing.dwg -s examples/export-html.scr -o ./out
|
|
6
6
|
-chtml
|
|
7
7
|
Single
|
|
8
8
|
Yes
|
|
9
9
|
Yes
|
|
10
|
+
Black
|
|
10
11
|
Extents
|
|
11
12
|
Measure
|
|
12
13
|
quit
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mlightcad/cad-simple-viewer-cli",
|
|
3
|
-
"version": "1.7.8-preview.
|
|
3
|
+
"version": "1.7.8-preview.3",
|
|
4
4
|
"description": "AcCoreConsole-style headless CLI: run .scr command scripts against DXF/DWG drawings",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"script"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@mlightcad/data-model": "1.15.
|
|
46
|
-
"@mlightcad/libredwg-converter": "3.15.
|
|
45
|
+
"@mlightcad/data-model": "1.15.18",
|
|
46
|
+
"@mlightcad/libredwg-converter": "3.15.18",
|
|
47
47
|
"@mlightcad/mtext-parser": "1.5.5",
|
|
48
48
|
"@mlightcad/mtext-renderer": "0.13.6",
|
|
49
49
|
"commander": "^12.1.0",
|
|
50
50
|
"playwright": "^1.49.1",
|
|
51
|
-
"@mlightcad/
|
|
52
|
-
"@mlightcad/cad-
|
|
53
|
-
"@mlightcad/
|
|
54
|
-
"@mlightcad/cad-
|
|
55
|
-
"@mlightcad/cad-
|
|
51
|
+
"@mlightcad/cad-html-plugin": "1.7.8-preview.3",
|
|
52
|
+
"@mlightcad/cad-pdf-plugin": "1.7.8-preview.3",
|
|
53
|
+
"@mlightcad/pdf-renderer": "1.7.8-preview.3",
|
|
54
|
+
"@mlightcad/cad-simple-viewer": "1.7.8-preview.3",
|
|
55
|
+
"@mlightcad/cad-svg-plugin": "1.7.8-preview.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/node": "^20.14.9",
|